派单 查看 派单

master
lion 3 years ago
parent cbd536662d
commit dc551212f7

@ -26,9 +26,11 @@
style="margin-left: 10px;">查看</Button>
<!-- <Button ghost size="small" @click="del(scope.row)" type="error" style="margin-left: 10px;">删除</Button> -->
</div>
<div v-else-if="column.type=='user_id'">
<el-tag v-if="scope.row[column.field]==0"></el-tag>
<el-tag v-else type="success">已派单</el-tag>
<div v-else-if="column.type=='accept_status'">
<el-tag v-if="scope.row['accept_status']==0&&scope.row['user_id']==0" type="info"></el-tag>
<el-tag v-if="scope.row['accept_status']==0&&scope.row['user_id']!=0"></el-tag>
<el-tag v-if="scope.row['accept_status']==1" type="warning"></el-tag>
<el-tag v-if="scope.row['accept_status']==2" type="success"></el-tag>
</div>
<div v-else>{{scope.row[column.field]}}</div>
</template>
@ -409,9 +411,9 @@
width:180
},
{
field: "user_id",
field: "accept_status",
title: "状态",
type: "user_id",
type: "accept_status",
align: "center",
width:180
},

Loading…
Cancel
Save