|
|
@@ -355,11 +355,14 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
const index = this.option.column.findIndex(sub => sub.prop === 'lot')
|
|
|
- console.log(index)
|
|
|
- if (this.user.info.viewStage === 1) {
|
|
|
+ const indexLabel = this.option.column.findIndex(sub => sub.prop === 'responsible_unit')
|
|
|
+ console.log(indexLabel)
|
|
|
+ if (this.user.info.viewStage === 1) { // 发改
|
|
|
this.option.column[index].hide = true
|
|
|
+ this.option.column[indexLabel].label = '责任单位'
|
|
|
} else {
|
|
|
this.option.column[index].hide = false
|
|
|
+ this.option.column[indexLabel].label = '责任股(科)室'
|
|
|
}
|
|
|
this.$bus.on('serach', (res, type) => {
|
|
|
this.owerQuery = res
|
|
|
@@ -472,7 +475,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
track (res) {
|
|
|
- if (res.isReport === 1) {
|
|
|
+ if (res.is_report === 1) {
|
|
|
this.$message.error('该项目已经上报')
|
|
|
return
|
|
|
}
|