考核任务修改提示添加

main
wanglei 2 months ago
parent b7e05f87f4
commit a0649b7147

@ -820,6 +820,8 @@ export default {
this.reset() this.reset()
const id = row.id || this.ids const id = row.id || this.ids
getPingce(id).then(response => { getPingce(id).then(response => {
if(response.data.state==='0'){
this.form = response.data; this.form = response.data;
if(this.form.bkhdxType==='1'){ if(this.form.bkhdxType==='1'){
this.form.pcBkhdxs.forEach(item=>{ this.form.pcBkhdxs.forEach(item=>{
@ -844,6 +846,11 @@ export default {
this.form.pcBkhdxs = []; this.form.pcBkhdxs = [];
this.open = true; this.open = true;
this.title = "修改考核任务"; this.title = "修改考核任务";
}else {
this.$alert(`当前状态不可修改,只有未开始状态下可执行修改操作!`, `提示`, {
type: 'Danger'
})
}
}) })
}, },
/** 提交按钮 */ /** 提交按钮 */

Loading…
Cancel
Save