feat: 标准库

This commit is contained in:
super_liu
2021-07-17 18:33:12 +08:00
parent 7d435619f2
commit 750a657f09
4 changed files with 11 additions and 2 deletions
@@ -743,7 +743,7 @@
</el-form-item>
</el-card>
</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-form-item prop="zrUserName" style="margin-bottom: 0">
<h4>会签责任人</h4>
@@ -1946,6 +1946,7 @@
if (valid) {
this.$refs['userForm'].validate((valid) => {
if (valid) {
this.isSubmit = true
var json = Object.assign(this.form, this.roleForm)
json.zrUserId = this.form.zrUserId
json.jlUserId = this.form.jlUserId
@@ -1966,6 +1967,7 @@
}, res => {
if (res.success) {
this.$message.success(res.message)
this.isSubmit = false
}
})
}
@@ -943,6 +943,7 @@
},
handleSave() {},
handleSubmit() {
this.isSubmit = true
this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form);
@@ -957,6 +958,7 @@
if (res.success) {
if(this.approvalOpinion === '1'){
this.$message.warning("驳回成功")
this.isSubmit = false
}else{
this.processCreateStand(json)
}
@@ -980,8 +982,10 @@
name: 'ProcessCenter'
})
}, 100)
this.isSubmit = false
} else {
this.$message.warning(res.message)
this.isSubmit = false
}
})
},
@@ -935,10 +935,10 @@ export default {
},
handleSave() {},
handleSubmit() {
this.isSubmit = false
this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form);
console.log(json)
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds,
userId : this.userId,
@@ -951,6 +951,7 @@ export default {
}else {
this.$message.success(res.message)
}
this.isSubmit = false
})
},
@@ -1542,6 +1542,7 @@ export default {
handleSubmit() {
this.$refs['form'].validate((valid) => {
if (valid) {
this.isSubmit = true
this.form.commentText = this.commentText
this.form.approvalOpinion = this.approvalOpinion
const json = JSON.stringify(this.form);
@@ -1557,6 +1558,7 @@ export default {
}else {
this.$message.success(res.message)
}
this.isSubmit = false
})
}
})