zhaomin 3 lat temu
rodzic
commit
79a9966a20

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

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