【修改】按钮颜色

This commit is contained in:
zhoulingpo
2023-04-28 14:29:46 +08:00
parent 5e82233915
commit 06f6888595
5 changed files with 56 additions and 18 deletions
+12 -3
View File
@@ -190,6 +190,10 @@ export default {
},
// 选择转办
handleDblClick(treeNode) {
this.JuggleSub(this.taskId).then(res=> {
})
return
// taskId: this.$store.getters.getHandleInfo.taskId, // 任务id
// assignee: treeNode[0].userId, // 转办人
// userId: this.$store.getters.userInfo.userId, // dangqian人
@@ -211,12 +215,12 @@ export default {
},
handleSubmit() {
// if (this.$refs.operationRef.submit()) {
// 通过了校验 需要整合参数 拿到原来的dataJson 再把新添加的增进去 在拼成dataJson
this.JuggleSub(this.taskId).then(res=> {
if(res){
let submit = JSON.parse(this.processOld.submitJson)
let dataJson = this.processOld.dataJson
let submitJson = JSON.stringify({...submit, ...this.$refs.operationRef.examineForm})
this.completeProcess({
this.completeProcess({
dataJson,
submitJson,
taskId: this.taskId,
@@ -224,6 +228,11 @@ export default {
prcType: this.prcType
})
}
})
// if (this.$refs.operationRef.submit()) {
// 通过了校验 需要整合参数 拿到原来的dataJson 再把新添加的增进去 在拼成dataJson
}
}
}
+13 -8
View File
@@ -403,15 +403,20 @@ export default {
this.organizeData()
//如果不是第一次
if (this.initShow) {
let dataJson = JSON.stringify(this.tableData)
let submitJson = JSON.stringify({...this.assignForm, userId: this.$store.getters.userInfo.usid,approvalOpinion:this.assignForm.remark})
this.completeProcess({
dataJson,
submitJson,
taskId: this.taskId,
userId: this.$store.getters.userInfo.usid,
prcType: this.prcType
this.JuggleSub(this.taskId).then(res=>{
if(res){
let dataJson = JSON.stringify(this.tableData)
let submitJson = JSON.stringify({...this.assignForm, userId: this.$store.getters.userInfo.usid,approvalOpinion:this.assignForm.remark})
this.completeProcess({
dataJson,
submitJson,
taskId: this.taskId,
userId: this.$store.getters.userInfo.usid,
prcType: this.prcType
})
}
})
} else {
this.startProcess()
}