Commit a491131c authored by 罗新东's avatar 罗新东

Merge branch 'develop' of http://git.censoft.com.cn/BCDH-HSE/bcdh-app into develop

parents c9033970 d61c0297
Pipeline #7384 passed with stage
in 12 seconds
...@@ -97,9 +97,12 @@ export default { ...@@ -97,9 +97,12 @@ export default {
}, },
/* 结束上报接口请求 */ /* 结束上报接口请求 */
end(nums){ end(nums){
if(!this.submitTroubleNumber){
this.$toast.fail('您需要至少提交一个问题才能进行提交!')
}
this.$dialog.confirm({ this.$dialog.confirm({
title: '提示', title: '提示',
message: this.submitTroubleNumber?'您已提交'+this.submitTroubleNumber+'个问题'+'确定结束检查上报?':'您未提交问题,确定结束检查上报?', message: '您已提交'+this.submitTroubleNumber+'个问题'+'确定结束检查上报?',
}).then(()=>{ }).then(()=>{
postFun('check/carry/trouble/finish',{planId:this.id}).then((Response)=>{ postFun('check/carry/trouble/finish',{planId:this.id}).then((Response)=>{
this.$toast.clear() this.$toast.clear()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment