|
|
|
|
@ -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
|
|
|
|
|
},
|
|
|
|
|
|