zhaomin il y a 3 ans
Parent
commit
79a9966a20

+ 1 - 1
anyangWebAPP/config/buttons.config.js

1
-export default [1,3,4,5,10,11,12,13,14,15,17,18,21,22,23,24,25,26,27,28,29,31,32,35,38,39,47,48,49,51,52,53,57]
1
+export default [1,2,3,4,5,10,11,12,13,14,15,17,18,21,22,23,24,25,26,27,28,29,31,32,35,38,39,47,48,49,51,52,53,57]

+ 4 - 1
anyangWebAPP/pages/myTask/workOrderList/workOrderDetail/workOrderDetail.vue

95
 			if(option.buttons) {
95
 			if(option.buttons) {
96
 				JSON.parse(option.buttons).forEach(v => {
96
 				JSON.parse(option.buttons).forEach(v => {
97
 					if (this.$mButtonConfig.indexOf(v.key)!=-1) {
97
 					if (this.$mButtonConfig.indexOf(v.key)!=-1) {
98
-						if(v.key == 1) {
98
+						if(v.key === 1) {
99
 							v.value = '查看'
99
 							v.value = '查看'
100
+						}else if(v.key === 2) {
101
+							v.key = 5
102
+							v.value = '交办'
100
 						}
103
 						}
101
 						this.orderButtonData.push(v);
104
 						this.orderButtonData.push(v);
102
 					}
105
 					}