1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
| let buttons = [{
| name: "查 询",
| value: 'Search',
| icon: 'el-icon-search',
| class: '',
| type: 'primary',
| onClick: function () {
| this.search();
| }
| },
| {
| name: "新 建",
| icon: 'el-icon-plus',
| value: 'Add',
| class: '',
| // plain:true,
| type: 'success',
| // plain:true,
| onClick: function () {
| this.add();
| }
| }, {
| name: "编 辑",
| icon: 'el-icon-edit',
| value: 'Update',
| // plain:true,
| class: '',
| type: 'primary',
| onClick: function () {
| this.edit();
| }
| }, {
| name: "删 除",
| icon: 'el-icon-delete',
| class: '',
| value: 'Delete',
| type: 'danger',
| onClick: function () {
| this.del();
| }
| }, {
| name: "审 核",
| icon: 'el-icon-check',
| class: '',
| value: 'Audit',
| plain: true,
| type: 'primary',
| onClick: function () {
| this.audit();
| }
| },
| {
| name: "导 入",
| icon: 'el-icon-top',
| class: '',
| type: 'success',
| plain: true,
| value: 'Import',
| onClick: function () {
| this.import();
| }
| }, {
| name: "导 出",
| icon: 'el-icon-bottom',
| type: 'success',
| plain: true,
| value: 'Export',
| onClick: function () {
| this.export();
| }
| },
| // , {
| // name: "数据结构",
| // icon: 'ios-cog',
| // class: '',
| // value: '',
| // onClick: function () {
| // this.openViewColumns();
| // }
| // }
| {
| name: "启用/禁用",
| icon: 'el-icon-edit',
| type: 'primary',
| plain: true,
| value: 'SetEquipmentStatus',
| onClick: function () {
| this.SetEquipmentStatus();
| }
| },
|
| {
| name: "一号闸门开门",
| icon: 'ios-cog',
| type: 'success',
| plain: true,
| value: 'Gate1open',
| onClick: function () {
| this.Gate1open();
| }
|
| }, {
| name: "二号闸门开门",
| icon: 'ios-cog',
| plain: true,
| type: 'success',
| value: 'Gate2open',
| onClick: function () {
| this.Gate2open();
| }
|
| }, {
| name: "行车任务完成",
| icon: 'ios-cog',
| class: '',
| plain: true,
| type: 'success',
| value: 'Trusstaskcompleted',
| onClick: function () {
| this.Trusstaskcompleted();
| }
|
| }, {
| name: "重新下发",
| icon: 'ios-cog',
| class: '',
| plain: true,
| type: 'success',
| value: 'Reissue',
| onClick: function () {
| this.Reissue();
| }
|
| }, {
| name: "堆垛机任务完成",
| icon: 'ios-cog',
| class: '',
| type: 'success',
| plain: true,
| value: 'Stackertaskcompleted',
| onClick: function () {
| this.Stackertaskcompleted();
| }
|
| }, {
| name: "WCS任务完成",
| icon: 'ios-cog',
| class: '',
| type: 'success',
| plain: true,
| value: 'WCStaskcompleted',
| onClick: function () {
| this.WCStaskcompleted();
| }
|
| }
| ]
|
| export default buttons
|
|