工作组回显

This commit is contained in:
宋伟佳
2021-12-22 14:12:24 +08:00
parent 3958fba014
commit ba26d943cf
3 changed files with 24 additions and 4 deletions
@@ -568,14 +568,16 @@ export default {
handleSubmit() {
this.isSubmit = true
this.wbbzform.dlFlag = '1'
this.wbbzform.comityOptionsOne = this.comityOptionsOne
this.wbbzform.comityOptionsTwo = this.comityOptionsTwo
this.wbbzform.comityOptionsOneThree = this.comityOptionsOneThree
this.wbbzform.fileName = this.fileInfoList
this.wbbzform.passUser = this.$store.getters.userInfo.userId
this.wbbzform.commentText = this.commentText;
this.wbbzform.participantsData = this.participantsData
this.wbbzform.associationData = this.associationData
var json = JSON.stringify( this.wbbzform)
let json = JSON.stringify( this.wbbzform)
console.log(json);
return
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
@@ -130,6 +130,7 @@
<el-table-column
prop="duties"
label="职务"
width="180"
align="center">
</el-table-column>
<el-table-column
@@ -146,6 +147,7 @@
</el-table-column>
<el-table-column
prop="tenure"
width="200"
label="任期"
align="center">
</el-table-column>
@@ -479,9 +481,23 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList(item) {
console.log(item);
this.$nextTick(() => {
this.wbbzform = JSON.parse(JSON.stringify(item));
this.wbbzform.comityOptionsOne.forEach(item =>{
if(this.wbbzform.associationName === item.id){
this.wbbzform.associationName = item.name
}
})
this.wbbzform.comityOptionsTwo.forEach(item =>{
if(this.wbbzform.committee === item.id){
this.wbbzform.committee = item.name
}
})
this.wbbzform.comityOptionsOneThree.forEach(item =>{
if(this.wbbzform.workingGroup === item.id){
this.wbbzform.workingGroup = item.name
}
})
this.associationData = item.associationData
this.participantsData = item.participantsData
item.fileName.forEach(itemId => {
@@ -547,7 +563,7 @@ export default {
this.wbbzform.commentText = this.commentText;
this.wbbzform.participantsData = this.participantsData
this.wbbzform.associationData = this.associationData
var json = JSON.stringify( this.wbbzform)
let json = JSON.stringify( this.wbbzform)
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
@@ -130,6 +130,7 @@
<el-table-column
prop="duties"
label="职务"
width="180"
align="center">
</el-table-column>
<el-table-column
@@ -146,6 +147,7 @@
</el-table-column>
<el-table-column
prop="tenure"
width="200"
label="任期"
align="center">
</el-table-column>