整改流程,发起时候选择3条数据,一条数据选A人员,另外两条数据选B人员。B人员审核只有1条数据,应该是两条数据
This commit is contained in:
@@ -261,6 +261,12 @@ export default {
|
||||
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||
this.dataList = fileData[0].standardInfoList
|
||||
fileData.forEach( filedata => {
|
||||
// console.log(filedata)
|
||||
if (filedata.id === this.userId){
|
||||
this.dataList = filedata.standardInfoList
|
||||
}
|
||||
})
|
||||
this.standardInfoList = this.dataList
|
||||
this.textarea = JSON.parse(JSON.stringify(item)).textarea
|
||||
/* 注释掉的代码 是因为后端已经分配过数据 前端不需要再做处理*/
|
||||
@@ -274,6 +280,12 @@ export default {
|
||||
} else {
|
||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||
this.dataList = fileData[0].standardInfoList
|
||||
fileData.forEach( filedata => {
|
||||
// console.log(filedata)
|
||||
if (filedata.id === this.userId){
|
||||
this.dataList = filedata.standardInfoList
|
||||
}
|
||||
})
|
||||
this.standardInfoList = this.dataList
|
||||
// for (let i = 0; i<fileData.length; i++) {
|
||||
// if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||
|
||||
Reference in New Issue
Block a user