Commit d1e80c01 authored by 13841799530's avatar 13841799530

问题上报

解润东
20211201
parent 74a6ae88
...@@ -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