|
|
|
@ -361,15 +361,22 @@ export const JeecgListMixin = { |
|
|
|
|
this.$refs.modalForm.disableSubmit = true; |
|
|
|
|
}, |
|
|
|
|
handleAddxqlx: function (num,record) { |
|
|
|
|
getAction(this.url.checkqx,{createBy:record.createBy}).then((res)=>{ |
|
|
|
|
if (res.success) { |
|
|
|
|
this.$refs.modalForm.add(num,record); |
|
|
|
|
this.$refs.modalForm.title = "新增"; |
|
|
|
|
this.$refs.modalForm.disableSubmit = false; |
|
|
|
|
}else{ |
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
if(num===1){ |
|
|
|
|
this.$refs.modalForm.add(num,record); |
|
|
|
|
this.$refs.modalForm.title = "新增"; |
|
|
|
|
this.$refs.modalForm.disableSubmit = false; |
|
|
|
|
}else{ |
|
|
|
|
getAction(this.url.checkqx,{createBy:record.createBy}).then((res)=>{ |
|
|
|
|
if (res.success) { |
|
|
|
|
this.$refs.modalForm.add(num,record); |
|
|
|
|
this.$refs.modalForm.title = "新增"; |
|
|
|
|
this.$refs.modalForm.disableSubmit = false; |
|
|
|
|
}else{ |
|
|
|
|
this.$message.warning(res.message); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
/* 导出 */ |
|
|
|
|
handleExportXls2() { |
|
|
|
|