feat: 标准库
This commit is contained in:
@@ -743,7 +743,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="选择会签责任人" prop="zrUserName" placement="top" :color="roleForm.zrUserName ? '#66b1ff' : ''">
|
<el-timeline-item timestamp="选择会签责任人" v-if="form.signFlag === '1'" prop="zrUserName" placement="top" :color="roleForm.zrUserName ? '#66b1ff' : ''">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="zrUserName" style="margin-bottom: 0">
|
<el-form-item prop="zrUserName" style="margin-bottom: 0">
|
||||||
<h4>会签责任人</h4>
|
<h4>会签责任人</h4>
|
||||||
@@ -1946,6 +1946,7 @@
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs['userForm'].validate((valid) => {
|
this.$refs['userForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
var json = Object.assign(this.form, this.roleForm)
|
var json = Object.assign(this.form, this.roleForm)
|
||||||
json.zrUserId = this.form.zrUserId
|
json.zrUserId = this.form.zrUserId
|
||||||
json.jlUserId = this.form.jlUserId
|
json.jlUserId = this.form.jlUserId
|
||||||
@@ -1966,6 +1967,7 @@
|
|||||||
}, res => {
|
}, res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -943,6 +943,7 @@
|
|||||||
},
|
},
|
||||||
handleSave() {},
|
handleSave() {},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -957,6 +958,7 @@
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(this.approvalOpinion === '1'){
|
if(this.approvalOpinion === '1'){
|
||||||
this.$message.warning("驳回成功")
|
this.$message.warning("驳回成功")
|
||||||
|
this.isSubmit = false
|
||||||
}else{
|
}else{
|
||||||
this.processCreateStand(json)
|
this.processCreateStand(json)
|
||||||
}
|
}
|
||||||
@@ -980,8 +982,10 @@
|
|||||||
name: 'ProcessCenter'
|
name: 'ProcessCenter'
|
||||||
})
|
})
|
||||||
}, 100)
|
}, 100)
|
||||||
|
this.isSubmit = false
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
this.isSubmit = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -935,10 +935,10 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSave() {},
|
handleSave() {},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
this.isSubmit = false
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
console.log(json)
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId : this.userId,
|
userId : this.userId,
|
||||||
@@ -951,6 +951,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1542,6 +1542,7 @@ export default {
|
|||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
@@ -1557,6 +1558,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user