@@ -157,7 +175,7 @@ export default {
},
data () {
return {
- active: 3,
+ active: 0,
type: 1,
hasOperator: false,
recordResultId: 0,
@@ -181,11 +199,8 @@ export default {
fileCount: 0,
clientHeight: 0,
stepList: [
- { name: '转成', time: '03-23 11:21', status: 1, statusStr: '通过' },
- { name: '转成是', time: '03-23 11:21', status: 2, statusStr: '未提交' },
- { name: '转成去', time: '03-23 11:21', status: 3, statusStr: '拒绝' },
- { name: '转成饿', time: '03-23 11:21', status: 1, statusStr: '通过' },
- { name: '转成个是', time: '03-23 11:21', status: 2, statusStr: '未提交' }
+ { name: '', time: '', status: 0, statusStr: '' },
+ { name: '', time: '', status: 0, statusStr: '' }
]
}
},
@@ -234,6 +249,11 @@ export default {
this.addOrUpdateVisible = false
this.approvalVisible = false
this.fileCount = data.fileCount || 0
+ this.stepList = data.stepList
+ this.active = 0
+ this.stepList.forEach(item => {
+ this.active = item.status + this.active
+ })
})
},
// 新增 / 编辑
@@ -253,7 +273,7 @@ export default {
}, 500)
})
},
- uploadDownFile (val) {n
+ uploadDownFile (val) {
this.uploadVisible = true
this.$nextTick(() => {
setTimeout(() => {
@@ -326,13 +346,17 @@ export default {
return [1, 2]
} else if (columnIndex === 1) {
return [0, 0]
+ } else if (columnIndex === 2) {
+ return [1, 3]
+ } else if (columnIndex === 3 || columnIndex === 4) {
+ return [0, 0]
}
}
if (rowIndex >= this.yeJiCheckNum + 1 && rowIndex < this.yeJiCheckNum + 1 + this.wenHuaJiaZhiGuanNum) {
if (columnIndex === 1) {
- return [1, 2]
- } else if (columnIndex === 2) {
+ return [1, 4]
+ } else if (columnIndex === 2 || columnIndex === 3 || columnIndex === 4) {
return [0, 0]
}
}
@@ -341,6 +365,10 @@ export default {
return [1, 2]
} else if (columnIndex === 1) {
return [0, 0]
+ } else if (columnIndex === 2) {
+ return [1, 3]
+ } else if (columnIndex === 3 || columnIndex === 4) {
+ return [0, 0]
}
}
if (rowIndex >= (this.yeJiCheckNum + 1 + this.wenHuaJiaZhiGuanNum) && rowIndex <= this.yeJiCheckNum + 1 + this.wenHuaJiaZhiGuanNum + this.lastResultNum) {
@@ -348,6 +376,10 @@ export default {
return [1, 2]
} else if (columnIndex === 1) {
return [0, 0]
+ } else if (columnIndex === 2) {
+ return [1, 3]
+ } else if (columnIndex === 3 || columnIndex === 4) {
+ return [0, 0]
}
}
if (rowIndex > this.yeJiCheckNum + 1 + this.wenHuaJiaZhiGuanNum + this.lastResultNum) {