对接政策征求意见流程

This commit is contained in:
范强强
2023-10-18 17:01:07 +08:00
parent 278aa86b8c
commit be214cee40
2 changed files with 8 additions and 9 deletions
-1
View File
@@ -413,7 +413,6 @@
isVisible(val) { isVisible(val) {
this.visible = val this.visible = val
if (val) { if (val) {
this.roleList = []
this.nodeList2 = this.nodeList this.nodeList2 = this.nodeList
if (this.nodeList2.length && this.nodeList2[0].length) { if (this.nodeList2.length && this.nodeList2[0].length) {
let ids = '' let ids = ''
@@ -6,14 +6,14 @@
:model="roleForm" :model="roleForm"
:rules="roleFormRules" :rules="roleFormRules"
class="label-input-form myForm"> class="label-input-form myForm">
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''"> <el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.prcCreateUser ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="startUserName" style="margin-bottom: 0"> <el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
<h4>起草</h4> <h4>起草</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.startUser" <el-input :disabled="disabledXX" v-model="roleForm.prcCreateUser"
style="display: none;"></el-input> style="display: none;"></el-input>
<el-input :disabled="disabledXX" v-model="roleForm.startUserName" placeholder="流程发起人" <el-input :disabled="disabledXX" v-model="roleForm.prcCreateUserName" placeholder="流程发起人"
disabled></el-input> disabled></el-input>
</div> </div>
</el-form-item> </el-form-item>
@@ -218,8 +218,8 @@
} }
}, },
mounted() { mounted() {
this.roleForm.startUser = this.$store.getters.userInfo.userId this.roleForm.prcCreateUser = this.$store.getters.userInfo.userId
this.roleForm.startUserName = this.$store.getters.userInfo.userName this.roleForm.prcCreateUserName = this.$store.getters.userInfo.userName
this.roleForm = {...this.roleForm} this.roleForm = {...this.roleForm}
}, },
methods: { methods: {
@@ -312,8 +312,8 @@
shr2UserIds: row.shr2UserIds, shr2UserIds: row.shr2UserIds,
shr2UserNames: row.shr2UserNames, shr2UserNames: row.shr2UserNames,
startUser: row.startUser, prcCreateUser: row.prcCreateUser,
startUserName: row.startUserName, prcCreateUserName: row.prcCreateUserName,
} }
this.roleForm = {...this.roleForm} this.roleForm = {...this.roleForm}
}, },