修改流程

This commit is contained in:
zyx.net
2022-11-18 17:26:54 +08:00
parent 06b3fa934d
commit 6a7f520a8c
3 changed files with 27 additions and 3 deletions
@@ -3086,7 +3086,7 @@ export default {
json.prcCreateUserName = this.form.prcCreateUserName
json.standCode = this.tableData.standardData[0].standCode
this.$http.post('lawss/activiti/completeTask', {
taskIds: res.data,
taskIds: this.$route.query.taskIds,
userId : this.$store.getters.userInfo.userId,
json: JSON.stringify(json)
}, {
@@ -125,7 +125,7 @@
placeholder="请选择立项完成时间">
</el-date-picker>
</el-form-item>
<el-form-item prop="tsJson" label="体系结构" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
<el-form-item prop="tsJsonName" label="体系结构" style="width: 100%; margin-right:10px" class="add-form-item form-item-disabled">
<el-input
style="display: none;"
v-model="qbfsForm.tsJson">
@@ -757,7 +757,7 @@ export default {
endTime: [
{ required: true, message: "请选择立项完成时间", trigger: "change" }
],
tsJson: [
tsJsonName: [
{ required: true, message: "请选择体系结构", trigger: "change" }
],
area: [
@@ -1230,6 +1230,30 @@
this.addDrawer = false
this.$message.success(tips + '成功')
this.getData()
this.addForm.addFlag = '1'
var json = Object.assign(this.addForm)
this.$http.post('lawss/activiti/startProcessRollBack', {
createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName,
type: '25',
json: JSON.stringify({
addForm: this.addForm
})
}, {}, res => {
if (res.ok) {
this.$http.post('lawss/activiti/completeTask', {
taskIds: res.data,
userId : this.$store.getters.userInfo.userId,
json: JSON.stringify(json)
}, {
_this: this
}, res => {
if (res.success) {
// this.$message.success(res.message)
}
})
}
})
} else {
this.addDrawer = false
this.$message.warning(res.data)