同步任务页面调整

ywj_dev
wj 2 years ago
parent 2572425673
commit 4c598205d9

@ -83,7 +83,7 @@
<el-button type="text" size="small" slot="reference">下载
</el-button>
</el-popconfirm>
<el-popconfirm @confirm="deleteData(scope.row.id)" confirm-button-text='' cancel-button-text=''
<el-popconfirm v-if="scope.row.status==4" @confirm="deleteData(scope.row.id)" confirm-button-text='' cancel-button-text=''
icon="el-icon-info" icon-color="red" title="是否确认要删除这条数据?">
<el-button type="text" size="small" slot="reference">删除
</el-button>
@ -342,18 +342,15 @@ export default {
},
statusFilterType(status) {
const statusMap = {
0: "warning",
1: "success",
1: "danger",
2: "danger",
3: "danger",
4: "success",
};
return statusMap[status];
},
wmsFilterType(status) {
const statusMap = {
"未处理": "warning",
"处理成功": "success",
};
return statusMap[status];
return status?'success':'warning';
},

Loading…
Cancel
Save