Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -532,12 +532,23 @@ export default {
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res.ok){
|
||||
if(res.data.length){
|
||||
this.qblx_pageData.qblxData = res.data
|
||||
this.$message.success('文件上传成功')
|
||||
}else{
|
||||
alert(res.message)
|
||||
this.$message.warning('请勿上传为空的文件')
|
||||
}
|
||||
}else{
|
||||
this.$confirm(res.message, "提示", {
|
||||
confirmButtonText: "确认",
|
||||
confirmButtonClass: "common-button-primary",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
}).then(() => {
|
||||
}).catch(() => {
|
||||
});
|
||||
}
|
||||
})
|
||||
this.$message.success('文件上传成功')
|
||||
this.importModalshowflag = false
|
||||
this.$nextTick(() => {
|
||||
this.$refs.importFileAboutStand.clearFiles()
|
||||
@@ -946,6 +957,7 @@ export default {
|
||||
},
|
||||
//流程提交事件
|
||||
handleSubmit() {
|
||||
if(this.qblx_pageData.qblxData.length){
|
||||
let jsonData = this.qblx_pageData.qblxData
|
||||
this.qblx_pageData.qblxFile = this.fileInfoList
|
||||
this.qblx_pageData.commentText = this.commentText;
|
||||
@@ -975,6 +987,10 @@ export default {
|
||||
return this.$message.warning("请完善基础信息");
|
||||
}
|
||||
});
|
||||
}else{
|
||||
this.$message.warning('立项列表不能为空')
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user