Commit c6e829c3 authored by 黄奎's avatar 黄奎

页面修改

parent a2086d0d
...@@ -20,8 +20,18 @@ ...@@ -20,8 +20,18 @@
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<div> <div>
<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="开始值班" <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="开始值班"
@click="StartSchedule(props.row)" /> @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> </div>
</q-td> </q-td>
</template> </template>
...@@ -125,8 +135,8 @@ ...@@ -125,8 +135,8 @@
this.$router.push({ this.$router.push({
path: "/scheduling/scheduleBoard", path: "/scheduling/scheduleBoard",
query: { query: {
Id:obj.Id, Id: obj.Id,
Shift:obj.Shift 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