同步任务页面调整

ywj_dev
wj 2 years ago
parent 2572425673
commit 4c598205d9

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

Loading…
Cancel
Save