Commit c6e829c3 authored by 黄奎's avatar 黄奎

页面修改

parent a2086d0d
......@@ -20,8 +20,18 @@
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
<div>
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="开始值班"
@click="StartSchedule(props.row)" />
<template v-if="props.row.DutyStatus==0">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400"
:label="props.row.DutyStatusStr" />
</template>
<template v-if="props.row.DutyStatus==1">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="开始值班"
@click="StartSchedule(props.row)" />
</template>
<template v-if="props.row.DutyStatus==2">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400"
:label="props.row.DutyStatusStr" />
</template>
</div>
</q-td>
</template>
......@@ -125,8 +135,8 @@
this.$router.push({
path: "/scheduling/scheduleBoard",
query: {
Id:obj.Id,
Shift:obj.Shift
Id: obj.Id,
Shift: obj.Shift
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment