apply-clients 3.4.39 → 3.4.51

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.
Files changed (58) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/android.js +21 -21
  4. package/src/apply.js +113 -113
  5. package/src/applyAndroid.js +53 -53
  6. package/src/components/android/AppServiceView.vue +745 -745
  7. package/src/components/android/AppSign.vue +154 -154
  8. package/src/components/android/Process/AppExplorationUser.vue +507 -507
  9. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  10. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  11. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
  13. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  14. package/src/components/product/Business/BusinessApply.vue +269 -269
  15. package/src/components/product/Business/CivilApply.vue +269 -269
  16. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
  17. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
  18. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
  19. package/src/components/product/Material/MaterialDetailed.vue +262 -262
  20. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
  21. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
  22. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  23. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  24. package/src/components/product/Process/ExplorationSelect.vue +495 -495
  25. package/src/components/product/Process/ExplorationUser.vue +189 -189
  26. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
  27. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
  28. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  29. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  30. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  31. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  32. package/src/components/product/Process/Service/ServiceControl.vue +1918 -1920
  33. package/src/components/product/ServiceView.vue +981 -981
  34. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  35. package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
  36. package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
  37. package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
  38. package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
  39. package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
  40. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  41. package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
  42. package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
  43. package/src/filiale/gehua/pc.js +3 -2
  44. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
  45. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
  46. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  47. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
  48. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  49. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
  50. package/src/filiale/guangxi/android.js +9 -9
  51. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  52. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
  53. package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
  54. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  55. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  56. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
  57. package/src/filiale/guangxi/pc.js +15 -15
  58. package/src/main.js +1 -4
@@ -1,259 +1,259 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">组织机构:</label>
10
- <res-select
11
- restype='organization'
12
- :initresid='$parent.$parent.curorgid'
13
- @res-select="$parent.$parent.getorg"
14
- is-mul="false"
15
- ></res-select>
16
- </div>
17
- <div class="form-group col-sm-3">
18
- <label class="font_normal_body">工程编号:</label>
19
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
- v-on:keyup.enter="$parent.$parent.search()"
21
- condition="u.f_apply_num = '{}'">
22
- </div>
23
- <div class="form-group col-sm-3">
24
- <label class="font_normal_body">客户名称:</label>
25
- <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
26
- v-on:keyup.enter="$parent.$parent.search()"
27
- condition="u.f_user_name = '{}'">
28
- </div>
29
- <div class="form-group col-sm-3 button-range">
30
- <button class="button_export button_spacing" @click="$parent.$parent.batchPrint()">批量打印</button>
31
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
- <div
34
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
35
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
36
- class="button_spacing"
37
- style="float: right">
38
- </div>
39
- </div>
40
- </div>
41
- <div class="row" v-show="$parent.$parent.criteriaShow">
42
- <div class="form-group col-sm-3">
43
- <label class="font_normal_body">电&emsp;&emsp;话:</label>
44
- <input type="text" style="width: 60%" class="input_search" placeholder='电话' v-model="model.f_phone"
45
- v-on:keyup.enter="$parent.$parent.search()"
46
- condition="u.f_phone = '{}'">
47
- </div>
48
- <div class="form-group col-sm-3">
49
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
50
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
51
- v-on:keyup.enter="$parent.$parent.search()"
52
- condition="u.f_address like '%{}%'">
53
- </div>
54
- <div class="form-group col-sm-3">
55
- <label for="startDate" class="font_normal_body">开始时间:</label>
56
- <datepicker id="startDate" placeholder="开始日期"
57
- style="width: 60%!important;"
58
- v-model="model.startDate"
59
- :value.sync="model.startDate"
60
- :format="'yyyy-MM-dd 00:00:00'"
61
- :show-reset-button="true"
62
- condition="act.finishtime >= '{}'">
63
- </datepicker>
64
- </div>
65
- <div class="form-group col-sm-3">
66
- <label for="endDate" class="font_normal_body">结束时间:</label>
67
- <datepicker id="endDate" placeholder="结束日期"
68
- style="width: 60%!important;"
69
- v-model="model.endDate"
70
- :value.sync="model.endDate"
71
- :format="'yyyy-MM-dd 23:59:59'"
72
- :show-reset-button="true"
73
- condition="act.finishtime <= '{}'">
74
- </datepicker>
75
- </div>
76
- </div>
77
- </div>
78
- </criteria>
79
- <data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
80
- <template partial='head'>
81
- <tr>
82
- <th>序号</th>
83
- <th>工程编号</th>
84
- <th>客户名称</th>
85
- <th>电话</th>
86
- <th>地址</th>
87
- <th>点火人</th>
88
- <th>点火时间</th>
89
- </tr>
90
- </template>
91
- <template partial='body'>
92
- <tr >
93
- <td style="text-align: center;">
94
- <nobr><font>{{$index+1}}</font></nobr>
95
- </td>
96
- <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
97
- <nobr><font>{{row.f_apply_num}}</font></nobr>
98
- </td>
99
- <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
100
- <nobr><font>{{row.f_user_name}}</font></nobr>
101
- </td>
102
- <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
103
- <nobr><font>{{row.f_phone}}</font></nobr>
104
- </td>
105
- <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
106
- <nobr><font>{{row.f_address}}</font></nobr>
107
- </td>
108
-
109
- <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
110
- <nobr><font>{{row.f_igniter_people}}</font></nobr>
111
- </td>
112
- <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
113
- <nobr><font>{{row.finishtime}}</font></nobr>
114
- </td>
115
- </tr>
116
- </template>
117
- </data-grid>
118
- </criteria-paged>
119
-
120
- <modal :show.sync="showPrint" title="打印预览" v-ref:modal :backdrop="false">
121
- <header slot="modal-header" class="modal-header">
122
- <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
123
- <h4 class="modal-title">打印预览</h4>
124
- </header>
125
- <article slot="modal-body" class="modal-body">
126
- <print-gnition-bill :selectdata="selectdata" :type="type" v-ref:print></print-gnition-bill>
127
- </article>
128
- <footer slot="modal-footer" class="modal-footer">
129
- <button type="button" class="btn btn-primary" @click="print()">打印</button>
130
- </footer>
131
- </modal>
132
-
133
- <modal :show.sync="showProgress" v-ref:progress :backdrop="false">
134
- <header slot="modal-header" class="modal-header">
135
- <h4 class="modal-title">发送打印指令中,请耐心等待...</h4>
136
- </header>
137
- <article slot="modal-body" class="modal-body">
138
- <div class="progress" style="margin: 20px">
139
- <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
140
- {{ percent }}
141
- </div>
142
- </div>
143
- </article>
144
- <footer slot="modal-footer" class="modal-footer">
145
- </footer>
146
- </modal>
147
- </div>
148
- </div>
149
- </template>
150
-
151
- <script>
152
- import {PagedList} from 'vue-client'
153
- import {HttpResetClass} from 'vue-client'
154
- export default {
155
- title: '安装项目',
156
- data () {
157
- return {
158
- model: new PagedList('rs/sql/ignitionBillList', 30, null),
159
- criteriaShow: false,
160
- curorgid: [this.$login.f.orgid],
161
- selectdata: null,
162
- showPrint: false,
163
- showProgress: false,
164
- percent: 0,
165
- type: 'PREVIEW'
166
- }
167
- },
168
- ready () {
169
- // 调用查询
170
- this.search()
171
- },
172
- methods: {
173
- async batchPrint () {
174
- let selectPrint = this.$refs.cp.$refs.grid.getRowData()
175
- if (selectPrint.length > 0) {
176
- let res = await this.$showMessage(`当前数据条数: ${selectPrint.length}, 条数过大时打印时间可能会过长, 是否确认打印?`)
177
- if (res == 'confirm') {
178
- this.showProgress = true
179
- for (let i = 0; i < selectPrint.length; i++) {
180
- this.type = 'PRINT'
181
- await this.getData(selectPrint[i])
182
- this.print()
183
- this.percent = this.getPercent(i, selectPrint.length)
184
- console.log('-------------进度-----------')
185
- console.log(this.percent)
186
- }
187
- this.showProgress = false
188
- this.percent = 0
189
- this.$refs.cp.$refs.grid.selectInit()
190
- }
191
- } else {
192
- this.$showAlert('请选择要打印的单子', 'warning', 3000)
193
- }
194
- },
195
- getPercent (num, total){
196
- num = parseFloat(num);
197
- total = parseFloat(total);
198
- if (isNaN(num) || isNaN(total)) {
199
- return "-";
200
- }
201
- return total <= 0? "0%" : Math.round((num / total) * 10000) / 100.0 + "%";
202
- },
203
- print () {
204
- this.$refs.print.print()
205
- },
206
- colseModal () {
207
- this.showPrint = false
208
- this.selectdata = null
209
- },
210
- async click (row) {
211
- this.type = 'PREVIEW'
212
-
213
- await this.getData(row)
214
-
215
- this.showPrint = true
216
- },
217
- async getData (row) {
218
- this.selectdata = null
219
-
220
- let http = new HttpResetClass()
221
- let data = {
222
- f_process_id: row.f_process_id,
223
- actid: row.actid
224
- }
225
- let res = await http.load('POST', 'rs/sql/ignitionBill', {data:data}, {
226
- resolveMsg: null,
227
- rejectMsg: '获取点火单失败!!!'
228
- })
229
-
230
- this.selectdata = res.data[0]
231
- },
232
- clear () {
233
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
234
- this.$refs.cp.$refs.cri.model[key] = ''
235
- })
236
- },
237
- searchCondition (args) {
238
- args.condition = args.condition + ` and u.f_orgid = '${this.curorgid[0]}'`
239
- this.model.search(args.condition, args.model)
240
- },
241
- // 查询
242
- search () {
243
- this.$refs.cp.$refs.cri.search()
244
- },
245
- getorg (val) {
246
- if (val.length <= 0) {
247
- return
248
- }
249
- this.curorgid = val
250
- this.search()
251
- }
252
- },
253
- computed: {
254
- }
255
- }
256
- </script>
257
-
258
- <style scoped>
259
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">组织机构:</label>
10
+ <res-select
11
+ restype='organization'
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ is-mul="false"
15
+ ></res-select>
16
+ </div>
17
+ <div class="form-group col-sm-3">
18
+ <label class="font_normal_body">工程编号:</label>
19
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="$parent.$parent.search()"
21
+ condition="u.f_apply_num = '{}'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">客户名称:</label>
25
+ <input type="text" style="width: 60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="u.f_user_name = '{}'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_export button_spacing" @click="$parent.$parent.batchPrint()">批量打印</button>
31
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
+ <div
34
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
35
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
36
+ class="button_spacing"
37
+ style="float: right">
38
+ </div>
39
+ </div>
40
+ </div>
41
+ <div class="row" v-show="$parent.$parent.criteriaShow">
42
+ <div class="form-group col-sm-3">
43
+ <label class="font_normal_body">电&emsp;&emsp;话:</label>
44
+ <input type="text" style="width: 60%" class="input_search" placeholder='电话' v-model="model.f_phone"
45
+ v-on:keyup.enter="$parent.$parent.search()"
46
+ condition="u.f_phone = '{}'">
47
+ </div>
48
+ <div class="form-group col-sm-3">
49
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
50
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
51
+ v-on:keyup.enter="$parent.$parent.search()"
52
+ condition="u.f_address like '%{}%'">
53
+ </div>
54
+ <div class="form-group col-sm-3">
55
+ <label for="startDate" class="font_normal_body">开始时间:</label>
56
+ <datepicker id="startDate" placeholder="开始日期"
57
+ style="width: 60%!important;"
58
+ v-model="model.startDate"
59
+ :value.sync="model.startDate"
60
+ :format="'yyyy-MM-dd 00:00:00'"
61
+ :show-reset-button="true"
62
+ condition="act.finishtime >= '{}'">
63
+ </datepicker>
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label for="endDate" class="font_normal_body">结束时间:</label>
67
+ <datepicker id="endDate" placeholder="结束日期"
68
+ style="width: 60%!important;"
69
+ v-model="model.endDate"
70
+ :value.sync="model.endDate"
71
+ :format="'yyyy-MM-dd 23:59:59'"
72
+ :show-reset-button="true"
73
+ condition="act.finishtime <= '{}'">
74
+ </datepicker>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </criteria>
79
+ <data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
80
+ <template partial='head'>
81
+ <tr>
82
+ <th>序号</th>
83
+ <th>工程编号</th>
84
+ <th>客户名称</th>
85
+ <th>电话</th>
86
+ <th>地址</th>
87
+ <th>点火人</th>
88
+ <th>点火时间</th>
89
+ </tr>
90
+ </template>
91
+ <template partial='body'>
92
+ <tr >
93
+ <td style="text-align: center;">
94
+ <nobr><font>{{$index+1}}</font></nobr>
95
+ </td>
96
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
97
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
98
+ </td>
99
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
100
+ <nobr><font>{{row.f_user_name}}</font></nobr>
101
+ </td>
102
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
103
+ <nobr><font>{{row.f_phone}}</font></nobr>
104
+ </td>
105
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
106
+ <nobr><font>{{row.f_address}}</font></nobr>
107
+ </td>
108
+
109
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
110
+ <nobr><font>{{row.f_igniter_people}}</font></nobr>
111
+ </td>
112
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
113
+ <nobr><font>{{row.finishtime}}</font></nobr>
114
+ </td>
115
+ </tr>
116
+ </template>
117
+ </data-grid>
118
+ </criteria-paged>
119
+
120
+ <modal :show.sync="showPrint" title="打印预览" v-ref:modal :backdrop="false">
121
+ <header slot="modal-header" class="modal-header">
122
+ <button type="button" class="close" @click="colseModal()"><span>&times;</span></button>
123
+ <h4 class="modal-title">打印预览</h4>
124
+ </header>
125
+ <article slot="modal-body" class="modal-body">
126
+ <print-gnition-bill :selectdata="selectdata" :type="type" v-ref:print></print-gnition-bill>
127
+ </article>
128
+ <footer slot="modal-footer" class="modal-footer">
129
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
130
+ </footer>
131
+ </modal>
132
+
133
+ <modal :show.sync="showProgress" v-ref:progress :backdrop="false">
134
+ <header slot="modal-header" class="modal-header">
135
+ <h4 class="modal-title">发送打印指令中,请耐心等待...</h4>
136
+ </header>
137
+ <article slot="modal-body" class="modal-body">
138
+ <div class="progress" style="margin: 20px">
139
+ <div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
140
+ {{ percent }}
141
+ </div>
142
+ </div>
143
+ </article>
144
+ <footer slot="modal-footer" class="modal-footer">
145
+ </footer>
146
+ </modal>
147
+ </div>
148
+ </div>
149
+ </template>
150
+
151
+ <script>
152
+ import {PagedList} from 'vue-client'
153
+ import {HttpResetClass} from 'vue-client'
154
+ export default {
155
+ title: '安装项目',
156
+ data () {
157
+ return {
158
+ model: new PagedList('rs/sql/ignitionBillList', 30, null),
159
+ criteriaShow: false,
160
+ curorgid: [this.$login.f.orgid],
161
+ selectdata: null,
162
+ showPrint: false,
163
+ showProgress: false,
164
+ percent: 0,
165
+ type: 'PREVIEW'
166
+ }
167
+ },
168
+ ready () {
169
+ // 调用查询
170
+ this.search()
171
+ },
172
+ methods: {
173
+ async batchPrint () {
174
+ let selectPrint = this.$refs.cp.$refs.grid.getRowData()
175
+ if (selectPrint.length > 0) {
176
+ let res = await this.$showMessage(`当前数据条数: ${selectPrint.length}, 条数过大时打印时间可能会过长, 是否确认打印?`)
177
+ if (res == 'confirm') {
178
+ this.showProgress = true
179
+ for (let i = 0; i < selectPrint.length; i++) {
180
+ this.type = 'PRINT'
181
+ await this.getData(selectPrint[i])
182
+ this.print()
183
+ this.percent = this.getPercent(i, selectPrint.length)
184
+ console.log('-------------进度-----------')
185
+ console.log(this.percent)
186
+ }
187
+ this.showProgress = false
188
+ this.percent = 0
189
+ this.$refs.cp.$refs.grid.selectInit()
190
+ }
191
+ } else {
192
+ this.$showAlert('请选择要打印的单子', 'warning', 3000)
193
+ }
194
+ },
195
+ getPercent (num, total){
196
+ num = parseFloat(num);
197
+ total = parseFloat(total);
198
+ if (isNaN(num) || isNaN(total)) {
199
+ return "-";
200
+ }
201
+ return total <= 0? "0%" : Math.round((num / total) * 10000) / 100.0 + "%";
202
+ },
203
+ print () {
204
+ this.$refs.print.print()
205
+ },
206
+ colseModal () {
207
+ this.showPrint = false
208
+ this.selectdata = null
209
+ },
210
+ async click (row) {
211
+ this.type = 'PREVIEW'
212
+
213
+ await this.getData(row)
214
+
215
+ this.showPrint = true
216
+ },
217
+ async getData (row) {
218
+ this.selectdata = null
219
+
220
+ let http = new HttpResetClass()
221
+ let data = {
222
+ f_process_id: row.f_process_id,
223
+ actid: row.actid
224
+ }
225
+ let res = await http.load('POST', 'rs/sql/ignitionBill', {data:data}, {
226
+ resolveMsg: null,
227
+ rejectMsg: '获取点火单失败!!!'
228
+ })
229
+
230
+ this.selectdata = res.data[0]
231
+ },
232
+ clear () {
233
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
234
+ this.$refs.cp.$refs.cri.model[key] = ''
235
+ })
236
+ },
237
+ searchCondition (args) {
238
+ args.condition = args.condition + ` and u.f_orgid = '${this.curorgid[0]}'`
239
+ this.model.search(args.condition, args.model)
240
+ },
241
+ // 查询
242
+ search () {
243
+ this.$refs.cp.$refs.cri.search()
244
+ },
245
+ getorg (val) {
246
+ if (val.length <= 0) {
247
+ return
248
+ }
249
+ this.curorgid = val
250
+ this.search()
251
+ }
252
+ },
253
+ computed: {
254
+ }
255
+ }
256
+ </script>
257
+
258
+ <style scoped>
259
+ </style>