Merge remote-tracking branch 'origin/dev_test' into dev_test
This commit is contained in:
@@ -580,7 +580,6 @@ export default {
|
|||||||
queryTaskFirst({
|
queryTaskFirst({
|
||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
debugger
|
|
||||||
let obj = JSON.parse(res.mes)
|
let obj = JSON.parse(res.mes)
|
||||||
let mes = {}
|
let mes = {}
|
||||||
if(obj.json !== undefined){
|
if(obj.json !== undefined){
|
||||||
@@ -805,6 +804,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('id', this.bpnId || '')
|
_formData.append('id', this.bpnId || '')
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
@@ -816,11 +816,11 @@ export default {
|
|||||||
commentInfo: this.commentInfo
|
commentInfo: this.commentInfo
|
||||||
}))
|
}))
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
@@ -839,6 +839,7 @@ export default {
|
|||||||
this.$refs['roleForm'].validate((valid) => {
|
this.$refs['roleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
let paramsInfo = new FormData()
|
let paramsInfo = new FormData()
|
||||||
// paramsInfo.append('id', this.bpnId || '')
|
// paramsInfo.append('id', this.bpnId || '')
|
||||||
paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
|
paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
@@ -864,8 +865,13 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请完成流程信息的人员选择')
|
this.$message.warning('请完成流程信息的人员选择')
|
||||||
|
|||||||
@@ -208,7 +208,7 @@
|
|||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
backBTNTexts="不涉及"
|
backBTNTexts="不涉及"
|
||||||
:isSubmitBack="isBack"
|
:isSubmitBack="isSubmit"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@@ -380,7 +380,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['rh_pageData'].validate((valid) => {
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isBack = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -390,8 +390,9 @@ export default {
|
|||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isBack = false
|
}).finally(() => {
|
||||||
});
|
this.isSubmit = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -417,6 +418,7 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -467,6 +467,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
@@ -477,11 +478,11 @@ export default {
|
|||||||
commentStep3: this.commentStep3
|
commentStep3: this.commentStep3
|
||||||
}))
|
}))
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(e => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
@@ -496,6 +497,7 @@ export default {
|
|||||||
this.$refs['rh_pageData'].validate((valid) => {
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -505,8 +507,10 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(e => {
|
||||||
|
this.saveLoading = false
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -228,7 +228,7 @@
|
|||||||
show-back
|
show-back
|
||||||
backBTNTexts="驳回"
|
backBTNTexts="驳回"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:isSubmitBack="isBack"
|
:isSubmitBack="isSubmit"
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
@@ -373,7 +373,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['rh_pageData'].validate((valid) => {
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isBack = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -383,8 +383,9 @@ export default {
|
|||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isBack = false
|
}).finally(() => {
|
||||||
});
|
this.isSubmit = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -412,8 +413,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -722,6 +722,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
@@ -730,10 +731,10 @@ export default {
|
|||||||
commentStep5: this.commentStep5
|
commentStep5: this.commentStep5
|
||||||
}))
|
}))
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -748,6 +749,7 @@ export default {
|
|||||||
this.$refs['rh_pageData'].validate((valid) => {
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -757,8 +759,10 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
this.saveLoading = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -226,7 +226,7 @@
|
|||||||
v-if="taskInfo !== '标准法规工程师汇总修订完毕'"
|
v-if="taskInfo !== '标准法规工程师汇总修订完毕'"
|
||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
:isSubmitBack="isBack"
|
:isSubmitBack="isSubmit"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@@ -396,7 +396,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['rh_pageData'].validate((valid) => {
|
this.$refs['rh_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isBack = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -406,8 +406,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isBack = false
|
}).finally(() => {
|
||||||
});
|
this.isSubmit = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -446,8 +447,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -713,6 +713,7 @@ export default {
|
|||||||
/** 保存按钮*/
|
/** 保存按钮*/
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('id', this.bpnId || '')
|
_formData.append('id', this.bpnId || '')
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
@@ -725,11 +726,11 @@ export default {
|
|||||||
|
|
||||||
}))
|
}))
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
/** 提交按钮*/
|
/** 提交按钮*/
|
||||||
@@ -748,6 +749,7 @@ export default {
|
|||||||
this.$refs['roleForm'].validate((valid) => {
|
this.$refs['roleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
let paramsInfo = new FormData()
|
let paramsInfo = new FormData()
|
||||||
// paramsInfo.append('id', this.bpnId || '')
|
// paramsInfo.append('id', this.bpnId || '')
|
||||||
paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
|
paramsInfo.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
@@ -774,7 +776,11 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
})
|
})
|
||||||
|
}).catch(e => {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请完成流程信息的人员选择')
|
this.$message.warning('请完成流程信息的人员选择')
|
||||||
|
|||||||
@@ -205,7 +205,7 @@
|
|||||||
show-back
|
show-back
|
||||||
backBTNTexts="不涉及"
|
backBTNTexts="不涉及"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:isSubmitBack="isBack"
|
:isSubmitBack="isSubmit"
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
@@ -341,7 +341,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['ch_pageData'].validate((valid) => {
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isBack = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -351,8 +351,9 @@ export default {
|
|||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isBack = false
|
}).finally(() => {
|
||||||
});
|
this.isSubmit = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -379,8 +380,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -397,6 +397,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
@@ -407,11 +408,11 @@ export default {
|
|||||||
ch_pageData: this.ch_pageData,
|
ch_pageData: this.ch_pageData,
|
||||||
}))
|
}))
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
@@ -426,6 +427,7 @@ export default {
|
|||||||
this.$refs['ch_pageData'].validate((valid) => {
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -435,8 +437,10 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -209,7 +209,7 @@
|
|||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:isSubmitBack="isBack"
|
:isSubmitBack="isSubmit"
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
@@ -323,7 +323,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['ch_pageData'].validate((valid) => {
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isBack = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -333,8 +333,9 @@ export default {
|
|||||||
this.$message.success('退回成功')
|
this.$message.success('退回成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isBack = false
|
}).finally(() => {
|
||||||
});
|
this.isSubmit = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -361,8 +362,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -502,6 +502,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('taskIds', this.taskIds)
|
_formData.append('taskIds', this.taskIds)
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
@@ -510,11 +511,11 @@ export default {
|
|||||||
commentStep5: this.commentStep5
|
commentStep5: this.commentStep5
|
||||||
}))
|
}))
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
@@ -527,6 +528,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['ch_pageData'].validate((valid) => {
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.saveLoading = true
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
@@ -537,8 +539,10 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.saveLoading = false
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -212,7 +212,7 @@
|
|||||||
v-if="taskInfo !== '标准法规工程师修订完毕'"
|
v-if="taskInfo !== '标准法规工程师修订完毕'"
|
||||||
show-submit
|
show-submit
|
||||||
show-back
|
show-back
|
||||||
:isSubmitBack="isBack"
|
:isSubmitBack="isSubmit"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@back="handleSubmitNo"
|
@back="handleSubmitNo"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@@ -375,7 +375,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.$refs['ch_pageData'].validate((valid) => {
|
this.$refs['ch_pageData'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isBack = true
|
this.isSubmit = true
|
||||||
const params = new FormData();
|
const params = new FormData();
|
||||||
params.set('json', JSON.stringify(json))
|
params.set('json', JSON.stringify(json))
|
||||||
params.set('userId', this.$store.getters.userInfo.userId)
|
params.set('userId', this.$store.getters.userInfo.userId)
|
||||||
@@ -385,8 +385,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isBack = false
|
}).finally(() => {
|
||||||
});
|
this.isSubmit = false
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -425,8 +426,9 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -187,6 +187,7 @@ export default {
|
|||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs["Form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.$http.post("lawss/activiti/startProcessRollBack", {
|
this.$http.post("lawss/activiti/startProcessRollBack", {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
@@ -219,7 +220,11 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -230,6 +235,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSave(){
|
handleSave(){
|
||||||
this.saveLoading = true;
|
this.saveLoading = true;
|
||||||
|
this.isSubmit = true;
|
||||||
let _formData = new FormData();
|
let _formData = new FormData();
|
||||||
_formData.append("id", this.bpnId || "");
|
_formData.append("id", this.bpnId || "");
|
||||||
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
||||||
@@ -240,11 +246,11 @@ export default {
|
|||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
}));
|
}));
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false;
|
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.bpnId = res.result;
|
this.bpnId = res.result;
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -390,9 +390,9 @@
|
|||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
show-record
|
show-record
|
||||||
:recordLoading="recordLoading"
|
:recordLoading="isSubmit"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
@record="handleRecord"
|
@record="handleRecord"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@@ -641,6 +641,7 @@ export default {
|
|||||||
let json = {
|
let json = {
|
||||||
signFlag: '2',
|
signFlag: '2',
|
||||||
};
|
};
|
||||||
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -670,6 +671,7 @@ export default {
|
|||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
signFlag: '1',
|
signFlag: '1',
|
||||||
};
|
};
|
||||||
|
this.isSubmit = true;
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
|||||||
@@ -223,8 +223,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -369,6 +369,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -389,7 +390,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true;
|
|
||||||
if (this.participantsData.length < 1) {
|
if (this.participantsData.length < 1) {
|
||||||
this.$message.warning("项目信息不能为空");
|
this.$message.warning("项目信息不能为空");
|
||||||
} else {
|
} else {
|
||||||
@@ -406,6 +406,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -433,14 +434,13 @@ export default {
|
|||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -449,6 +449,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -223,8 +223,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -369,6 +369,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -389,7 +390,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
|
||||||
if (this.participantsData.length < 1) {
|
if (this.participantsData.length < 1) {
|
||||||
this.$message.warning("项目信息不能为空");
|
this.$message.warning("项目信息不能为空");
|
||||||
} else {
|
} else {
|
||||||
@@ -406,6 +406,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -433,14 +434,13 @@ export default {
|
|||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -449,6 +449,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -223,8 +223,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -369,6 +369,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -389,7 +390,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
|
||||||
if (this.participantsData.length < 1) {
|
if (this.participantsData.length < 1) {
|
||||||
this.$message.warning("项目信息不能为空");
|
this.$message.warning("项目信息不能为空");
|
||||||
} else {
|
} else {
|
||||||
@@ -406,6 +406,7 @@ export default {
|
|||||||
};
|
};
|
||||||
this.$refs["wbbzForm"].validate((valid) => {
|
this.$refs["wbbzForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -433,14 +434,13 @@ export default {
|
|||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -449,6 +449,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -186,6 +186,7 @@ export default {
|
|||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs["Form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.$http.post("lawss/activiti/startProcessRollBack", {
|
this.$http.post("lawss/activiti/startProcessRollBack", {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
@@ -218,7 +219,11 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -229,6 +234,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSave(){
|
handleSave(){
|
||||||
this.saveLoading = true;
|
this.saveLoading = true;
|
||||||
|
this.isSubmit = true;
|
||||||
let _formData = new FormData();
|
let _formData = new FormData();
|
||||||
_formData.append("id", this.bpnId || "");
|
_formData.append("id", this.bpnId || "");
|
||||||
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
||||||
@@ -239,11 +245,11 @@ export default {
|
|||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
}));
|
}));
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false;
|
|
||||||
this.$message.success("保存成功");
|
this.$message.success("保存成功");
|
||||||
this.bpnId = res.result;
|
this.bpnId = res.result;
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false;
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -323,9 +323,9 @@
|
|||||||
show-save
|
show-save
|
||||||
show-submit
|
show-submit
|
||||||
show-record
|
show-record
|
||||||
:recordLoading="recordLoading"
|
:recordLoading="isSubmit"
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
@record="handleRecord"
|
@record="handleRecord"
|
||||||
@save="handleSave"
|
@save="handleSave"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@@ -561,7 +561,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//不备案
|
//不备案
|
||||||
handleRecord(){
|
handleRecord(){
|
||||||
this.recordLoading = true
|
this.isSubmit = true
|
||||||
this.dlFlag = '0'
|
this.dlFlag = '0'
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.participantsData = this.participantsData
|
||||||
@@ -578,14 +578,14 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.recordLoading = false
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//流程保存
|
//流程保存
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.isSubmit = true
|
||||||
this.wbbzform.fileName = this.fileInfoList
|
this.wbbzform.fileName = this.fileInfoList
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.participantsData = this.participantsData
|
||||||
@@ -600,11 +600,10 @@ export default {
|
|||||||
form: this.wbbzform,
|
form: this.wbbzform,
|
||||||
}))
|
}))
|
||||||
saveTaskForPub(_formData).then(res => {
|
saveTaskForPub(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(() => {
|
||||||
this.saveLoading = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//流程提交
|
//流程提交
|
||||||
|
|||||||
@@ -278,8 +278,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -384,14 +384,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -400,6 +399,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
|
|||||||
@@ -278,8 +278,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -384,14 +384,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -400,6 +399,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
|
|||||||
@@ -644,6 +644,7 @@ export default {
|
|||||||
// 保存按钮
|
// 保存按钮
|
||||||
handleSave() {
|
handleSave() {
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('id', this.bpnId || '')
|
_formData.append('id', this.bpnId || '')
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
@@ -655,11 +656,11 @@ export default {
|
|||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
}))
|
}))
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
this.saveLoading = false
|
|
||||||
this.$message.success('保存成功')
|
this.$message.success('保存成功')
|
||||||
this.bpnId = res.result
|
this.bpnId = res.result
|
||||||
}).catch(e => {
|
}).finally(e => {
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 提交按钮
|
// 提交按钮
|
||||||
@@ -681,6 +682,7 @@ export default {
|
|||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs["Form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.$http.post("lawss/activiti/startProcessRollBack", {
|
this.$http.post("lawss/activiti/startProcessRollBack", {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
createUserName: this.$store.getters.userInfo.userName,
|
||||||
@@ -714,7 +716,11 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.saveLoading = false
|
||||||
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -739,6 +745,7 @@ export default {
|
|||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs["Form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.saveLoading = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
@@ -751,6 +758,7 @@ export default {
|
|||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善人员信息");
|
return this.$message.warning("请完善人员信息");
|
||||||
|
|||||||
@@ -144,8 +144,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -256,14 +256,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -272,6 +271,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
@@ -397,6 +398,7 @@ export default {
|
|||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
var json = JSON.stringify(son)
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -408,6 +410,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,8 +144,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -256,14 +256,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -272,6 +271,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
@@ -397,6 +398,7 @@ export default {
|
|||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
var json = JSON.stringify(son)
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -408,6 +410,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,8 +144,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -256,14 +256,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -272,6 +271,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
@@ -397,6 +398,7 @@ export default {
|
|||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
var json = JSON.stringify(son)
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -408,6 +410,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -144,8 +144,8 @@
|
|||||||
show-transfer
|
show-transfer
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:transfer-loading="isTransfer"
|
:isSubmitBack="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@@ -256,14 +256,13 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedTransferRole (data) {
|
checkedTransferRole (data) {
|
||||||
this.assigneeNewLoading = true
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.drawerModal = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
@@ -272,6 +271,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
@@ -397,6 +398,7 @@ export default {
|
|||||||
roleForm: this.roleForm
|
roleForm: this.roleForm
|
||||||
}
|
}
|
||||||
var json = JSON.stringify(son)
|
var json = JSON.stringify(son)
|
||||||
|
this.isSubmit = true
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -408,6 +410,7 @@ export default {
|
|||||||
this.$message.success(res.message);
|
this.$message.success(res.message);
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user