This commit is contained in:
zhutianqi
2022-01-19 20:03:01 +08:00
parent 530422198e
commit e67fbf0f66
8 changed files with 49 additions and 5 deletions
@@ -87,6 +87,11 @@
label="责任人"
align="center">
</el-table-column>
<el-table-column
prop="institutionName"
label="责任部门"
align="center">
</el-table-column>
<el-table-column
label="文件"
align="center">
@@ -95,6 +95,11 @@
label="责任人"
align="center">
</el-table-column>
<el-table-column
prop="institutionName"
label="责任部门"
align="center">
</el-table-column>
<el-table-column
label="回执文件"
align="center">
@@ -415,12 +420,25 @@
let data = JSON.parse(res.mesg)
this.form.title = data.title || data.form.title
this.form.date = data.date || data.form.date
this.json = data || data.form
this.tableData = data.responUserList || data.form.responUserList
let arr = data.responUserList || data.form.responUserList
let newArr = []
for (let a = 0; a <arr.length; a++) {
arr[a].institutionName = ''
this.$http.get('sarUser/user/selectDeptByDY', {
ids: arr[a].dockUser
}, {
_this: this
}, res => {
arr[a].institutionName = res.data[0].institutionName
})
newArr.push(arr[a])
}
this.tableData = newArr
this.form.hzfileId = data.hzfileId || data.form.hzfileId
this.form.hzfileName = data.hzfileName || data.form.hzfileName
this.newDocUser = data.form ? data.form.docUser : data.docUser
this.commentText5 = data.commentText5 || ''
this.json = data || data.form
}).catch(e => {
})
})
@@ -94,6 +94,11 @@
label="责任人"
align="center">
</el-table-column>
<el-table-column
prop="institutionName"
label="责任部门"
align="center">
</el-table-column>
<el-table-column
label="文件"
align="center">
@@ -94,6 +94,11 @@
label="责任人"
align="center">
</el-table-column>
<el-table-column
prop="institutionName"
label="责任部门"
align="center">
</el-table-column>
<el-table-column
label="文件"
align="center">
@@ -94,6 +94,11 @@
label="责任人"
align="center">
</el-table-column>
<el-table-column
prop="institutionName"
label="责任部门"
align="center">
</el-table-column>
<el-table-column
label="文件"
align="center">
@@ -94,6 +94,11 @@
label="责任人"
align="center">
</el-table-column>
<el-table-column
prop="institutionName"
label="责任部门"
align="center">
</el-table-column>
<el-table-column
label="文件"
align="center">
@@ -352,7 +352,7 @@
newText: '',
reason: '',
id: '',
department: this.$store.getters.userInfo.upDeptName,
department: this.$store.getters.userInfo.institutionName,
responUserName: this.$store.getters.userInfo.userName,
responUser: this.$store.getters.userInfo.userId
},
@@ -447,6 +447,7 @@
}
}
this.modalshowflag2 = false
console.log(this.editForm);
},
addModal() {
var id = Number(Math.random().toString().substr(3, 3) + Date.now()).toString(36);
@@ -458,7 +459,7 @@
newText: '',
reason: '',
id: id,
department: this.$store.getters.userInfo.upDeptName,
department: this.$store.getters.userInfo.institutionName,
responUserName: this.$store.getters.userInfo.userName,
responUser: this.$store.getters.userInfo.userId
}
@@ -498,7 +498,7 @@ export default {
newText: '',
reason: '',
id: id,
department: this.$store.getters.userInfo.upDeptName,
department: this.$store.getters.userInfo.institutionName,
responUserName: this.$store.getters.userInfo.userName,
responUser: this.$store.getters.userInfo.userId
}