修改流程

This commit is contained in:
zyx.net
2022-11-21 16:25:07 +08:00
parent 5e1e3dbd3b
commit d8a7922e6f
3 changed files with 40 additions and 28 deletions
@@ -1,8 +1,8 @@
<template><div class="bzrkStep1"> <template><div class="bzrkStep1">
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订-技术标准</template> <template slot="proName">企标制修订计划管控</template>
<template slot="proNode">企业技术标准起草</template> <template slot="proNode">技术标准起草</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -3064,14 +3064,26 @@ export default {
// 接受按钮 // 接受按钮
handleReceive(){ handleReceive(){
this.isSubmit = true this.isSubmit = true
execTask({ // execTask({
todoId: this.todoId // 当前节点ID // todoId: this.todoId // 当前节点ID
}).then(res => { // }).then(res => {
if (res.sign && res.sign === '0') { // if (res.sign && res.sign === '0') {
this.$message.success('接收成功') // this.$message.success('接收成功')
this.$router.push('/processCenter') // this.$router.push('/processCenter')
} // }
this.isSubmit = false // this.isSubmit = false
// })
this.$http.get("lawss/activiti/acceptTack", {
nowEsId: this.tableData.standardData[0].id,
oaFlag:'0',
taskId: this.$route.query.taskIds,
}, {
_this: this
}, res => {
// if (res.sign && res.sign === '0') {
this.$message.success('接收成功')
// this.$router.push('/processCenter')
// }
}) })
}, },
handleSubmit() { handleSubmit() {
@@ -3096,8 +3108,6 @@ export default {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true this.saveLoading = true
this.form.country=this.countryArr; this.form.country=this.countryArr;
console.log(this.form);
return
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
@@ -429,16 +429,16 @@ export default {
}, { }, {
_this: this, _this: this,
}, res => { }, res => {
this.standinfoList = [] this.standinfoList = res.data.list
//展示的数据只能是未开始的 //展示的数据只能是未开始的
res.data.list.forEach(item => { // res.data.list.forEach(item => {
if(item.planStatus === '0'){ // if(item.planStatus === '0'){
if(item.isRelate && item.isRelate === 'null'){ // if(item.isRelate && item.isRelate === 'null'){
item.isRelate = "" // item.isRelate = ""
} // }
this.standinfoList.push(item) // this.standinfoList.push(item)
} // }
}) // })
this.total = this.standinfoList.length this.total = this.standinfoList.length
}) })
@@ -451,13 +451,13 @@ export default {
}, { }, {
_this: this, _this: this,
}, res => { }, res => {
this.standinfoList = [] this.standinfoList = res.data.list
//展示的数据只能是未开始的 //展示的数据只能是未开始的
res.data.list.forEach(item => { // res.data.list.forEach(item => {
if(item.planStatus === '0'){ // if(item.planStatus === '0'){
this.standinfoList.push(item) // this.standinfoList.push(item)
} // }
}) // })
this.total = this.standinfoList.length this.total = this.standinfoList.length
}) })
@@ -501,7 +501,9 @@ export default {
} }
this.qbfsForm.rqbName = this.selectList[0].rqbName this.qbfsForm.rqbName = this.selectList[0].rqbName
this.qbfsForm.tsJsonName = this.selectList[0].tsJsonName this.qbfsForm.tsJsonName = this.selectList[0].tsJsonName
this.qbfsForm.isRelate = this.selectList[0].isRelate.indexOf("null") !== -1 ? "":this.selectList[0].isRelate if(this.qbfsForm.isRelate){
this.qbfsForm.isRelate = this.selectList[0].isRelate.indexOf("null") !== -1 ? "":this.selectList[0].isRelate
}
this.qbfsForm.useLevel = this.selectList[0].useLevel this.qbfsForm.useLevel = this.selectList[0].useLevel
this.qbfsForm.esStandRelations = this.selectList[0].esStandRelations this.qbfsForm.esStandRelations = this.selectList[0].esStandRelations
this.qbfsForm.technologic = this.selectList[0].technologic this.qbfsForm.technologic = this.selectList[0].technologic