按钮loading-手机端-企标制修订流程及企业标准库流程
This commit is contained in:
@@ -1916,6 +1916,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1934,7 +1935,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1942,6 +1942,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1916,6 +1916,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1934,7 +1935,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1942,6 +1942,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1914,6 +1914,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1932,7 +1933,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1940,6 +1940,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2024,8 +2024,6 @@ export default {
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
this.isSubmit = false
|
|
||||||
this.saveLoading = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
// this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
@@ -2040,6 +2038,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1916,6 +1916,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1934,7 +1935,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1942,6 +1942,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1915,6 +1915,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1932,7 +1933,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1940,6 +1940,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1914,6 +1914,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1931,7 +1932,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1939,6 +1939,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2260,6 +2260,7 @@ export default {
|
|||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.$refs['formTongGuo'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -2278,7 +2279,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -2286,6 +2286,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1970,8 +1970,6 @@ export default {
|
|||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
// this.processCreateLaws(json)
|
// this.processCreateLaws(json)
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
|
||||||
this.saveLoading = false
|
|
||||||
// hwh5.close()
|
// hwh5.close()
|
||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
@@ -1979,6 +1977,8 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user