sale-client 4.3.48 → 4.3.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['http://123.180.154.5:31467/', 'http://123.180.154.5:31467/']
4
+ const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://192.168.50.67:31567/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.48",
3
+ "version": "4.3.50",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -159,7 +159,7 @@
159
159
  </div>
160
160
  <div v-if="row.f_meter_type.includes('物联网表')" class="col-sm-4">
161
161
  <label class="font_normal_body_new">阀门状态</label>
162
- <input class="input-underline" style="width:60%" :value="row.f_valvestate == 0 ? '已开阀' : '已关阀'"
162
+ <input class="input-underline" style="width:60%" :value="row.f_valve_state"
163
163
  readonly>
164
164
  </div>
165
165
  <div v-if="row.f_meter_type.includes('物联网表')" class="col-sm-4">
@@ -71,10 +71,10 @@
71
71
  :disabled="!jurisdiction.includes('档案信息查询修改')" :readonly="!row.f_userfiles_id"
72
72
  v-on:keyup="validateInput($event, 'f_meter_base')" >
73
73
  </div>
74
- <div class="col-sm-4 form-group" title="涉及权限:【档案信息查询修改】" v-if="getConfigShowItem('f_initial_base')"
74
+ <div class="col-sm-4 form-group" :class="[$m.f_initial_base.required ? 'has-error' : '']" title="涉及权限:【档案信息查询修改】" v-if="getConfigShowItem('f_initial_base')"
75
75
  v-show="(formconfig && formconfig.f_initial_base && formconfig.f_initial_base.required) || !onlyshowmust">
76
76
  <label for="f_meter_base" class="font_normal_body">&ensp;初始底数</label>
77
- <input type="text" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数'
77
+ <input type="text" class="input_search" style="width:60%" v-model="row.f_initial_base" placeholder='表底数' v-validate:f_initial_base='{required: true }'
78
78
  :disabled="!jurisdiction.includes('档案信息查询修改')" v-on:keyup="validateInput($event, 'f_initial_base')">
79
79
  </div>
80
80
 
@@ -1,304 +1,304 @@
1
- <template>
2
- <div @keyup.enter="search" class="span">
3
- <criteria-paged :model="model" class="list_area table_sy" v-ref:paged>
4
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
6
- <div class="row">
7
-
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">指令类型</label>
10
- <v-select :options='$parent.$parent.instructType' :value.sync="model.f_instruct_type"
11
- close-on-select
12
- condition="f_instruct_type='{}'"
13
- placeholder='指令类型'
14
- style="width: 60%"
15
- v-model="model.f_instruct_type"></v-select>
16
- </div>
17
- <div class="col-sm-2 form-group">
18
- <label class="font_normal_body">指令状态</label>
19
- <v-select :options='$parent.$parent.instructState' :value.sync="model.f_instruct_state"
20
- close-on-select
21
- condition="f_instruct_state='{}'"
22
- placeholder='指令状态'
23
- style="width: 60%"
24
- v-model="model.f_instruct_state"
25
- ></v-select>
26
- </div>
27
-
28
- <div class="col-sm-2 form-group">
29
- <label class="font_normal_body">开始时间</label>
30
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
31
- :value.sync="model.f_start_date"
32
- class="datepicker"
33
- condition="f_instruct_date > '{}'"
34
- placeholder="起始时间"
35
- style="width: 60%"
36
- v-model="model.f_start_date"
37
- ></datepicker>
38
- </div>
39
- <div class="col-sm-2 form-group">
40
- <label class="font_normal_body">结束时间</label>
41
- <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
42
- :value.sync="model.f_end_date"
43
- class="datepicker"
44
- condition="f_instruct_date < '{}'"
45
- placeholder="结束时间"
46
- style="width: 60%"
47
- v-model="model.f_end_date"
48
- ></datepicker>
49
- </div>
50
- <div style="float: right">
51
- <button @click="search()" class="button_search" v-el:cba>查询</button>
52
- </div>
53
- </div>
54
-
55
- </div>
56
- </criteria>
57
- <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
58
- <template partial='head'>
59
- <tr>
60
- <th style="text-align:center;">
61
- <nobr>指令类型</nobr>
62
- </th>
63
- <th style="text-align:center;">
64
- <nobr>指令内容</nobr>
65
- </th>
66
- <th style="text-align:center;">
67
- <nobr>指令状态</nobr>
68
- </th>
69
- <th style="text-align:center;">
70
- <nobr>指令生成时间</nobr>
71
- </th>
72
- <th style="text-align:center;">
73
- <nobr>指令发送时间</nobr>
74
- </th>
75
- <th style="text-align:center;">
76
- <nobr>指令上表时间</nobr>
77
- </th>
78
- <th style="text-align:center;">
79
- <nobr>操作人</nobr>
80
- </th>
81
- <th style="text-align:center;">
82
- <nobr>操作时间(记录)</nobr>
83
- </th>
84
- <th style="text-align:center;">
85
- <nobr>操作类型</nobr>
86
- </th>
87
- <!-- 查这里-->
88
- <th style="text-align:center;">
89
- <nobr>操作状态</nobr>
90
- </th>
91
- <th style="text-align:center;">
92
- <nobr>操作人(记录)</nobr>
93
- </th>
94
- <th style="text-align:center;">
95
- <nobr>操作内容</nobr>
96
- </th>
97
- <th style="text-align:center;">
98
- <nobr>操作/指令状态</nobr>
99
- </th>
100
- <!--<th style="text-align:center;"><nobr>发送原因</nobr></th>
101
- <th style="text-align:center;"><nobr>取消原因</nobr></th>-->
102
- <th style="text-align:center;">
103
- <nobr>备注信息</nobr>
104
- </th>
105
- </tr>
106
- </template>
107
- <template partial='body'>
108
- <tr>
109
- <td style="text-align:center;">
110
- <nobr>{{row.f_instruct_type}}</nobr>
111
- </td>
112
- <td style="text-align:center;">
113
- <nobr>{{row.f_instruct_title}}</nobr>
114
- </td>
115
- <td style="text-align:center;">
116
- <nobr>{{row.f_instruct_state}}</nobr>
117
- </td>
118
- <td style="text-align:center;">
119
- <nobr>{{row.f_instruct_date}}</nobr>
120
- </td>
121
- <td style="text-align:center;">
122
- <nobr>{{row.f_send_date}}</nobr>
123
- </td>
124
- <td style="text-align:center;">
125
- <nobr>{{row.f_callback_date}}</nobr>
126
- </td>
127
- <td style="text-align:center;">
128
- <nobr>{{row.f_inputtor}}</nobr>
129
- </td>
130
- <td style="text-align:center;">
131
- <nobr>{{row.f_operate_date}}</nobr>
132
- </td>
133
- <td style="text-align:center;">
134
- <nobr>{{row.f_type}}</nobr>
135
- </td>
136
- <!-- 这里-->
137
- <td style="text-align:center;">
138
- <nobr>{{$parent.$parent.$parent.stateFlow(row)}}</nobr>
139
- <!-- <nobr>{{row.f_state}}</nobr>-->
140
- </td>
141
- <td style="text-align:center;">
142
- <nobr>{{row.f_operator}}</nobr>
143
- </td>
144
- <td style="text-align:center;">
145
- <nobr>{{row.f_operator_data}}</nobr>
146
- </td>
147
- <td style="text-align:center;" v-if="row.f_instruct_state === '待发送' && row.f_instruct_state !== '取消发送'">
148
- <nobr>
149
- {{row.f_instruct_state}}
150
- </nobr>
151
- </td>
152
- <td style="text-align:center;" v-if="row.f_instruct_state !== '待发送' && row.f_instruct_state !== '取消发送'">
153
- <nobr>
154
- {{row.f_receive_state}}
155
- </nobr>
156
- </td>
157
- <td style="text-align:center;" v-if="row.f_instruct_state === '取消发送'">
158
- <nobr>
159
- <span title="操作人:{{row.f_cancel_inputtor}},操作原因:{{row.f_comments}}">已取消</span>
160
- </nobr>
161
- </td>
162
- <!-- <td style="text-align:center;"><nobr>{{row.f_info}}</nobr></td>
163
- <td style="text-align:center;"><nobr>{{row.f_comments}}</nobr></td>-->
164
- <td style="text-align:center;">
165
- <nobr><span >{{row.f_info}}</span></nobr>
166
- </td>
167
- </tr>
168
- </template>
169
- </data-grid>
170
- </criteria-paged>
171
- <modal :show.sync="handcental" backdrop="false" v-ref:modal>
172
- <header class="modal-header" slot="modal-header">
173
- <h4 class="modal-title">取消发送</h4>
174
- </header>
175
- <article class="modal-body" slot="modal-body">
176
- <div class="form-group">
177
- <label class="font_normal_body" >取消发送原因</label>
178
- <textarea class="form-control" placeholder="请填写取消发送原因" rows="3" v-model="cancelreason"></textarea>
179
- </div>
180
- </article>
181
- <footer class="modal-footer" slot="modal-footer">
182
- <button @click='close' class="btn btn-default" type="button" v-show="handcental">取消</button>
183
- <button @click='confirmcenta()' class="button_search" type="button" v-show="handcental">确认</button>
184
- </footer>
185
- </modal>
186
- </div>
187
-
188
- </template>
189
- <script>
190
- import {PagedList} from 'vue-client'
191
-
192
- export default {
193
- title: '调价指令查看',
194
- name: 'QueryHistorylnstruct',
195
- props: {
196
- row: {},
197
- tablename: {
198
- type: String,
199
- default: 't_instruct'
200
- },
201
- orderitem: {
202
- type: String,
203
- default: 'f_instruct_date desc'
204
- },
205
- items: {
206
- type: String,
207
- default: '*'
208
- }
209
- },
210
- data () {
211
- return {
212
- handcental: false,
213
- cancelreason: '',
214
- cancelid: '',
215
- f_userfiles_id: '',
216
- model: new PagedList('api/af-revenue/sql/QueryPriceChangeInstructSQL', 30),
217
- row: null,
218
- searchshow: false,
219
- show: false
220
- }
221
- },
222
-
223
- ready () {
224
- this.$refs.paged.$refs.criteria.search()
225
- },
226
- watch: {
227
- 'row' (val) {
228
- this.f_userfiles_id = val.f_userfiles_id
229
- if (this.row != null) {
230
- this.$refs.paged.$refs.criteria.search()
231
- }
232
- }
233
- },
234
- methods: {
235
- stateFlow: function (row) {
236
- console.log(row)
237
- let state = ""
238
- if (row.f_instruct_type.includes("阀门控制")) {
239
- let content = JSON.parse(row.f_instruct_content)
240
- if (content.isOpen !== null) {
241
- if (content.isOpen === 1) {
242
- state = "开阀"
243
- } else if (content.isOpen === 0) {
244
- state = "关阀"
245
- } else {
246
- state = row.f_state
247
- }
248
- return state
249
- }
250
- } else {
251
- return row.f_state
252
- }
253
- },
254
- clickshow () {
255
- this.searchshow = !this.searchshow
256
- },
257
- backSend (megrow) {
258
- if (megrow.f_inputtor != '系统必需') {
259
- this.handcental = true
260
- this.cancelid = megrow.id
261
- } else {
262
- this.$showAlert('该指令为系统必需状态,无法取消发送。', 'warning', 3000)
263
- }
264
- },
265
- confirmcenta () {
266
- let send = {
267
- id: this.cancelid, // 当前记录ID
268
- f_cancel_inputtor_id: this.$login.f.id, // 撤销人id
269
- f_cancel_inputtor: this.$login.f.name, // 撤销人姓名
270
- f_instruct_state: '取消发送',
271
- f_comments: this.cancelreason
272
- }
273
- let param = {
274
- tablename: 't_instruct',
275
- basedata: send
276
- }
277
- this.$resetpost('api/af-revenue/logic/iot_saveTable', param).then(() => {
278
- // this.params.rows.splice(index, 1)
279
- console.log('更新成功!')
280
- })
281
- this.handcental = false
282
- this.$refs.paged.$refs.criteria.search()
283
- },
284
- search (arg) {
285
- arg.condition = `${arg.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
286
- this.model.search(arg.condition, arg.model)
287
- }
288
- },
289
- computed: {
290
- instructType () {
291
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('指令类型')]
292
- },
293
- instructState () {
294
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('指令状态')]
295
- }
296
- }
297
- }
298
- </script>
299
- <style>
300
- .form-input-group label {
301
- text-align: right;
302
- width: auto;
303
- }
304
- </style>
1
+ <template>
2
+ <div @keyup.enter="search" class="span">
3
+ <criteria-paged :model="model" class="list_area table_sy" v-ref:paged>
4
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
5
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
6
+ <div class="row">
7
+
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">指令类型</label>
10
+ <v-select :options='$parent.$parent.instructType' :value.sync="model.f_instruct_type"
11
+ close-on-select
12
+ condition="f_instruct_type='{}'"
13
+ placeholder='指令类型'
14
+ style="width: 60%"
15
+ v-model="model.f_instruct_type"></v-select>
16
+ </div>
17
+ <div class="col-sm-2 form-group">
18
+ <label class="font_normal_body">指令状态</label>
19
+ <v-select :options='$parent.$parent.instructState' :value.sync="model.f_instruct_state"
20
+ close-on-select
21
+ condition="f_instruct_state='{}'"
22
+ placeholder='指令状态'
23
+ style="width: 60%"
24
+ v-model="model.f_instruct_state"
25
+ ></v-select>
26
+ </div>
27
+
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">开始时间</label>
30
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
31
+ :value.sync="model.f_start_date"
32
+ class="datepicker"
33
+ condition="f_instruct_date > '{}'"
34
+ placeholder="起始时间"
35
+ style="width: 60%"
36
+ v-model="model.f_start_date"
37
+ ></datepicker>
38
+ </div>
39
+ <div class="col-sm-2 form-group">
40
+ <label class="font_normal_body">结束时间</label>
41
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
42
+ :value.sync="model.f_end_date"
43
+ class="datepicker"
44
+ condition="f_instruct_date < '{}'"
45
+ placeholder="结束时间"
46
+ style="width: 60%"
47
+ v-model="model.f_end_date"
48
+ ></datepicker>
49
+ </div>
50
+ <div style="float: right">
51
+ <button @click="search()" class="button_search" v-el:cba>查询</button>
52
+ </div>
53
+ </div>
54
+
55
+ </div>
56
+ </criteria>
57
+ <data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
58
+ <template partial='head'>
59
+ <tr>
60
+ <th style="text-align:center;">
61
+ <nobr>指令类型</nobr>
62
+ </th>
63
+ <th style="text-align:center;">
64
+ <nobr>指令内容</nobr>
65
+ </th>
66
+ <th style="text-align:center;">
67
+ <nobr>指令状态</nobr>
68
+ </th>
69
+ <th style="text-align:center;">
70
+ <nobr>指令生成时间</nobr>
71
+ </th>
72
+ <th style="text-align:center;">
73
+ <nobr>指令发送时间</nobr>
74
+ </th>
75
+ <th style="text-align:center;">
76
+ <nobr>指令上表时间</nobr>
77
+ </th>
78
+ <th style="text-align:center;">
79
+ <nobr>操作人</nobr>
80
+ </th>
81
+ <th style="text-align:center;">
82
+ <nobr>操作时间(记录)</nobr>
83
+ </th>
84
+ <th style="text-align:center;">
85
+ <nobr>操作类型</nobr>
86
+ </th>
87
+ <!-- 查这里-->
88
+ <th style="text-align:center;">
89
+ <nobr>操作状态</nobr>
90
+ </th>
91
+ <th style="text-align:center;">
92
+ <nobr>操作人(记录)</nobr>
93
+ </th>
94
+ <th style="text-align:center;">
95
+ <nobr>操作内容</nobr>
96
+ </th>
97
+ <th style="text-align:center;">
98
+ <nobr>操作/指令状态</nobr>
99
+ </th>
100
+ <!--<th style="text-align:center;"><nobr>发送原因</nobr></th>
101
+ <th style="text-align:center;"><nobr>取消原因</nobr></th>-->
102
+ <th style="text-align:center;">
103
+ <nobr>备注信息</nobr>
104
+ </th>
105
+ </tr>
106
+ </template>
107
+ <template partial='body'>
108
+ <tr>
109
+ <td style="text-align:center;">
110
+ <nobr>{{row.f_instruct_type}}</nobr>
111
+ </td>
112
+ <td style="text-align:center;">
113
+ <nobr>{{row.f_instruct_title}}</nobr>
114
+ </td>
115
+ <td style="text-align:center;">
116
+ <nobr>{{row.f_instruct_state}}</nobr>
117
+ </td>
118
+ <td style="text-align:center;">
119
+ <nobr>{{row.f_instruct_date}}</nobr>
120
+ </td>
121
+ <td style="text-align:center;">
122
+ <nobr>{{row.f_send_date}}</nobr>
123
+ </td>
124
+ <td style="text-align:center;">
125
+ <nobr>{{row.f_callback_date}}</nobr>
126
+ </td>
127
+ <td style="text-align:center;">
128
+ <nobr>{{row.f_inputtor}}</nobr>
129
+ </td>
130
+ <td style="text-align:center;">
131
+ <nobr>{{row.f_operate_date}}</nobr>
132
+ </td>
133
+ <td style="text-align:center;">
134
+ <nobr>{{row.f_type}}</nobr>
135
+ </td>
136
+ <!-- 这里-->
137
+ <td style="text-align:center;">
138
+ <nobr>{{$parent.$parent.$parent.stateFlow(row)}}</nobr>
139
+ <!-- <nobr>{{row.f_state}}</nobr>-->
140
+ </td>
141
+ <td style="text-align:center;">
142
+ <nobr>{{row.f_operator}}</nobr>
143
+ </td>
144
+ <td style="text-align:center;">
145
+ <nobr>{{row.f_operator_data}}</nobr>
146
+ </td>
147
+ <td style="text-align:center;" v-if="row.f_instruct_state === '待发送' && row.f_instruct_state !== '取消发送'">
148
+ <nobr>
149
+ {{row.f_instruct_state}}
150
+ </nobr>
151
+ </td>
152
+ <td style="text-align:center;" v-if="row.f_instruct_state !== '待发送' && row.f_instruct_state !== '取消发送'">
153
+ <nobr>
154
+ {{row.f_receive_state}}
155
+ </nobr>
156
+ </td>
157
+ <td style="text-align:center;" v-if="row.f_instruct_state === '取消发送'">
158
+ <nobr>
159
+ <span title="操作人:{{row.f_cancel_inputtor}},操作原因:{{row.f_comments}}">已取消</span>
160
+ </nobr>
161
+ </td>
162
+ <!-- <td style="text-align:center;"><nobr>{{row.f_info}}</nobr></td>
163
+ <td style="text-align:center;"><nobr>{{row.f_comments}}</nobr></td>-->
164
+ <td style="text-align:center;">
165
+ <nobr><span >{{row.f_info}}</span></nobr>
166
+ </td>
167
+ </tr>
168
+ </template>
169
+ </data-grid>
170
+ </criteria-paged>
171
+ <modal :show.sync="handcental" backdrop="false" v-ref:modal>
172
+ <header class="modal-header" slot="modal-header">
173
+ <h4 class="modal-title">取消发送</h4>
174
+ </header>
175
+ <article class="modal-body" slot="modal-body">
176
+ <div class="form-group">
177
+ <label class="font_normal_body" >取消发送原因</label>
178
+ <textarea class="form-control" placeholder="请填写取消发送原因" rows="3" v-model="cancelreason"></textarea>
179
+ </div>
180
+ </article>
181
+ <footer class="modal-footer" slot="modal-footer">
182
+ <button @click='close' class="btn btn-default" type="button" v-show="handcental">取消</button>
183
+ <button @click='confirmcenta()' class="button_search" type="button" v-show="handcental">确认</button>
184
+ </footer>
185
+ </modal>
186
+ </div>
187
+
188
+ </template>
189
+ <script>
190
+ import {PagedList} from 'vue-client'
191
+
192
+ export default {
193
+ title: '调价指令查看',
194
+ name: 'QueryHistorylnstruct',
195
+ props: {
196
+ row: {},
197
+ tablename: {
198
+ type: String,
199
+ default: 't_instruct'
200
+ },
201
+ orderitem: {
202
+ type: String,
203
+ default: 'f_instruct_date desc'
204
+ },
205
+ items: {
206
+ type: String,
207
+ default: '*'
208
+ }
209
+ },
210
+ data () {
211
+ return {
212
+ handcental: false,
213
+ cancelreason: '',
214
+ cancelid: '',
215
+ f_userfiles_id: '',
216
+ model: new PagedList('api/af-revenue/sql/QueryPriceChangeInstructSQL', 30),
217
+ row: null,
218
+ searchshow: false,
219
+ show: false
220
+ }
221
+ },
222
+
223
+ ready () {
224
+ this.$refs.paged.$refs.criteria.search()
225
+ },
226
+ watch: {
227
+ 'row' (val) {
228
+ this.f_userfiles_id = val.f_userfiles_id
229
+ if (this.row != null) {
230
+ this.$refs.paged.$refs.criteria.search()
231
+ }
232
+ }
233
+ },
234
+ methods: {
235
+ stateFlow: function (row) {
236
+ console.log(row)
237
+ let state = ""
238
+ if (row.f_instruct_type.includes("阀门控制")) {
239
+ let content = JSON.parse(row.f_instruct_content)
240
+ if (content.isOpen !== null) {
241
+ if (content.isOpen === 1) {
242
+ state = "开阀"
243
+ } else if (content.isOpen === 0) {
244
+ state = "关阀"
245
+ } else {
246
+ state = row.f_state
247
+ }
248
+ return state
249
+ }
250
+ } else {
251
+ return row.f_state
252
+ }
253
+ },
254
+ clickshow () {
255
+ this.searchshow = !this.searchshow
256
+ },
257
+ backSend (megrow) {
258
+ if (megrow.f_inputtor != '系统必需') {
259
+ this.handcental = true
260
+ this.cancelid = megrow.id
261
+ } else {
262
+ this.$showAlert('该指令为系统必需状态,无法取消发送。', 'warning', 3000)
263
+ }
264
+ },
265
+ confirmcenta () {
266
+ let send = {
267
+ id: this.cancelid, // 当前记录ID
268
+ f_cancel_inputtor_id: this.$login.f.id, // 撤销人id
269
+ f_cancel_inputtor: this.$login.f.name, // 撤销人姓名
270
+ f_instruct_state: '取消发送',
271
+ f_comments: this.cancelreason
272
+ }
273
+ let param = {
274
+ tablename: 't_instruct',
275
+ basedata: send
276
+ }
277
+ this.$resetpost('api/af-revenue/logic/iot_saveTable', param).then(() => {
278
+ // this.params.rows.splice(index, 1)
279
+ console.log('更新成功!')
280
+ })
281
+ this.handcental = false
282
+ this.$refs.paged.$refs.criteria.search()
283
+ },
284
+ search (arg) {
285
+ arg.condition = `${arg.condition} and f_userfiles_id='${this.row.f_userfiles_id}'`
286
+ this.model.search(arg.condition, arg.model)
287
+ }
288
+ },
289
+ computed: {
290
+ instructType () {
291
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('指令类型')]
292
+ },
293
+ instructState () {
294
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('指令状态')]
295
+ }
296
+ }
297
+ }
298
+ </script>
299
+ <style>
300
+ .form-input-group label {
301
+ text-align: right;
302
+ width: auto;
303
+ }
304
+ </style>