Commit 513b1ebb authored by 黄奎's avatar 黄奎

页面修改

parent 609a96fb
......@@ -76,23 +76,25 @@
</div>
</div>
</q-td>
<q-td v-if="col.name == 'DutyStatus'" style="padding-right:0px">
<q-td v-if="col.name == 'StatusStr'" style="padding-right:0px">
<div v-for="item in col.value">
<div class="border-bottom" v-if="item.DutyStatus==0" style="color:blue">
{{item.DutyStatusStr}}</div>
<div class="border-bottom" v-if="item.DutyStatus==1" style="color:green">
{{item.DutyStatusStr}}</div>
<div class="border-bottom" v-if="item.DutyStatus==2" style="color:red">
{{item.DutyStatusStr}}</div>
<div class="border-bottom" v-if="item.Status==0" style="color:blue">
{{item.StatusStr}}</div>
<div class="border-bottom" v-if="item.Status==1" style="color:green">
{{item.StatusStr}}</div>
<div class="border-bottom" v-if="item.Status==2" style="color:red">
{{item.StatusStr}}</div>
<div class="border-bottom" v-if="item.Status==3" style="color:red">
{{item.StatusStr}}</div>
</div>
</q-td>
<q-td v-else-if="col.name == 'Id'" style="width:200px;">
<div v-for="item in col.value">
<div class="border-bottom" style="border-bottom:0;">
<q-btn v-if="item.DutyStatus==0||item.DutyStatus==1"  flat size="xs"  icon="edit"
<q-btn v-if="item.Status==0||item.Status==1"  flat size="xs"  icon="edit"
 style="font-weight:400;" color="edit"  class="q-mr-xs" label="修改"  @click="EditSchedu(props.row)"
  />
<q-btn v-if="item.DutyStatus==0"  flat size="xs"  icon="delete"  style="font-weight:400;"
<q-btn v-if="item.Status==0"  flat size="xs"  icon="delete"  style="font-weight:400;"
color="negative"  class="q-mr-xs" label="删除"  @click="RemovePlan(props.row.Id)" />
<q-btn flat size="xs" icon="iconfont icon-View" style="font-weight:400;" class="q-mr-xs"  label="查看"
 @click="GoToDutyInfo(item)"   />
......@@ -160,6 +162,7 @@
field: 'StartTime',
field: row => row.PlanDetails
},
{
name: 'DutyManName',
label: '值班人员',
......@@ -168,10 +171,10 @@
field: row => row.PlanDetails
},
{
name: 'DutyStatus',
name: 'StatusStr',
label: '状态',
align: 'left',
field: 'DutyStatus',
field: 'StatusStr',
field: row => row.PlanDetails
},
{
......
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