|
...
|
...
|
@@ -129,10 +129,10 @@ |
|
129
|
129
|
const s = Number(this.form && this.form.status || 0)
|
|
130
|
130
|
const t = this.todoType || ''
|
|
131
|
131
|
return [
|
|
132
|
|
- { ...this.buttons[0], visible: (s === 3 && t === '') },
|
|
133
|
|
- { ...this.buttons[1] },
|
|
134
|
|
- { ...this.buttons[2], visible: (s === 1 && t === 'WAIT') },
|
|
135
|
|
- { ...this.buttons[3], visible: (s === 3 && t === '') }
|
|
|
132
|
+ { ...this.buttons[0], visible: (s === 3 && t === '' && this.$auth.hasPermi('customer-dev-manage:customer-dev-plan:modify')) },
|
|
|
133
|
+ { ...this.buttons[1], visible: this.$auth.hasPermi('customer-dev-manage:customer-dev-plan:reviewDetail') },
|
|
|
134
|
+ { ...this.buttons[2], visible: (s === 1 && t === 'WAIT' && this.$auth.hasPermi('customer-dev-manage:customer-dev-plan:review')) },
|
|
|
135
|
+ { ...this.buttons[3], visible: (s === 3 && t === '' && this.$auth.hasPermi('customer-dev-manage:customer-dev-plan:close')) }
|
|
136
|
136
|
]
|
|
137
|
137
|
}
|
|
138
|
138
|
},
|
|
...
|
...
|
@@ -310,4 +310,4 @@ |
|
310
|
310
|
}
|
|
311
|
311
|
}
|
|
312
|
312
|
}
|
|
313
|
|
-</style> |
|
|
\ No newline at end of file |
|
|
313
|
+</style> |
...
|
...
|
|