apply-clients 7.1.36-1 → 7.1.36-yuchuan-2

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 (62) hide show
  1. package/build/dev-server.js +8 -2
  2. package/dist-android.7z +0 -0
  3. package/dist.7z +0 -0
  4. package/package.json +1 -1
  5. package/rebel.xml +16 -0
  6. package/src/AndroidApp.vue +35 -35
  7. package/src/apply.js +31 -4
  8. package/src/applyAndroid.js +83 -76
  9. package/src/components/android/AppSign.vue +13 -10
  10. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  11. package/src/components/android/Process/AppServiceControl.vue +3 -3
  12. package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
  13. package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
  14. package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
  15. package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
  16. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
  17. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
  18. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +432 -0
  19. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
  20. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
  21. package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -95
  22. package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
  23. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
  29. package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
  30. package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
  31. package/src/components/product/Function/InstallInfoSelect.vue +370 -370
  32. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  33. package/src/components/product/Ignition/IgnitionList.vue +236 -232
  34. package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
  35. package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
  36. package/src/components/product/List/ShowDevices.vue +279 -277
  37. package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
  38. package/src/components/product/Process/ExplorationSelect.vue +581 -566
  39. package/src/components/product/Process/ExplorationUser.vue +158 -155
  40. package/src/components/product/Process/NewExplorationUser.vue +184 -0
  41. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
  42. package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
  43. package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
  44. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
  45. package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
  46. package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
  47. package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
  48. package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
  49. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
  50. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  51. package/src/components/product/Process/Service/ServiceControl.vue +178 -16
  52. package/src/components/product/Report/ReportItems.vue +79 -0
  53. package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
  54. package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
  55. package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
  56. package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
  57. package/src/components/product/ServiceView.vue +644 -632
  58. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -551
  59. package/src/components/product/Supervisory/SupervisoryList.vue +78 -26
  60. package/src/main.js +27 -27
  61. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  62. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
@@ -1,232 +1,236 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-3">
8
- <label class="font_normal_body">工程编号:</label>
9
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
10
- v-on:keyup.enter="$parent.$parent.search()"
11
- condition="f_apply_num = '{}'">
12
- </div>
13
- <div class="form-group col-sm-3">
14
- <label class="font_normal_body">客户名称:</label>
15
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
16
- v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'" placeholder='客户名称'>
17
- </div>
18
- <div class="form-group col-sm-3">
19
- <label class="font_normal_body">联系电话:</label>
20
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
21
- v-on:keyup.enter="$parent.$parent.search()"
22
- condition="f_phone like '%{}%'">
23
- </div>
24
- <div class="form-group col-sm-2 button-range">
25
- <button class="button_search button_spacing" @click="$parent.$parent.updateShowStatus()" v-el:cx>{{$parent.$parent.showStatus ? '已派单' : '未派单'}}</button>
26
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
27
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
28
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
29
- <div
30
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
32
- class="button_spacing"
33
- style="float: right">
34
- </div>
35
- </div>
36
- </div>
37
- <div class="row" v-show="$parent.$parent.criteriaShow">
38
- <div class="form-group col-sm-3">
39
- <label class="font_normal_body">合同编号:</label>
40
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
41
- v-on:keyup.enter="$parent.$parent.search()"
42
- condition="f_contract_number = '{}'">
43
- </div>
44
- <div class="form-group col-sm-3">
45
- <label class="font_normal_body">报建类型:</label>
46
- <v-select
47
- v-model="model.f_apply_type"
48
- placeholder='报建类型'
49
- condition="f_apply_type = '{}'"
50
- :value.sync="model.f_apply_type"
51
- :options='$parent.$parent.applytype'
52
- class="select select_list"
53
- :value-single="true"
54
- close-on-select ></v-select>
55
- </div>
56
- <div class="form-group col-sm-3" v-if="false">
57
- <label class="font_normal_body">报建性质:</label>
58
- <v-select
59
- v-model="model.f_apply_nature"
60
- placeholder='报建性质'
61
- condition="f_apply_nature = '{}'"
62
- :value.sync="model.f_apply_nature"
63
- :options='$parent.$parent.applyNatures'
64
- class="select select_list"
65
- :value-single="true"
66
- close-on-select ></v-select>
67
- </div>
68
- <div class="form-group col-sm-3">
69
- <label class="font_normal_body">用户地址:</label>
70
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
71
- v-on:keyup.enter="$parent.$parent.search()"
72
- condition="u.f_address like '%{}%'">
73
- </div>
74
- <div class="form-group col-sm-3">
75
- <label for="startDate" class="font_normal_body">开始时间:</label>
76
- <datepicker id="startDate" placeholder="开始日期"
77
- style="width: 60%!important;"
78
- v-model="model.startDate"
79
- :value.sync="model.startDate"
80
- :format="'yyyy-MM-dd 00:00:00'"
81
- :show-reset-button="true"
82
- condition="f_apply_date >= '{}'">
83
- </datepicker>
84
- </div>
85
- <div class="form-group col-sm-3">
86
- <label for="endDate" class="font_normal_body">结束时间:</label>
87
- <datepicker id="endDate" placeholder="结束日期"
88
- style="width: 60%!important;"
89
- v-model="model.endDate"
90
- :value.sync="model.endDate"
91
- :format="'yyyy-MM-dd 23:59:59'"
92
- :show-reset-button="true"
93
- condition="f_apply_date <= '{}'">
94
- </datepicker>
95
- </div>
96
- <div class="form-group col-sm-3">
97
- <label class="font_normal_body">来&emsp;&emsp;源:</label>
98
- <v-select
99
- v-model="model.f_apply_source"
100
- placeholder='来源'
101
- condition="u.f_apply_source = '{}'"
102
- :value.sync="model.f_apply_source"
103
- :options='$parent.$parent.sources'
104
- class="select select_list"
105
- :value-single="true"
106
- close-on-select >
107
- </v-select>
108
- </div>
109
- </div>
110
- </div>
111
- </criteria>
112
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
113
- <template partial='head'>
114
- <tr>
115
- <th style="white-space: nowrap;">序号</th>
116
- <th style="white-space: nowrap;">工程编号</th>
117
- <th style="white-space: nowrap;">客户名称</th>
118
- <th style="white-space: nowrap;">客户地址</th>
119
- <th style="white-space: nowrap;">供气合同编号</th>
120
- <th style="white-space: nowrap;">电话</th>
121
- <th style="white-space: nowrap;">报建类型</th>
122
- <th style="white-space: nowrap;">报建性质</th>
123
- <th style="white-space: nowrap;">已发卡数</th>
124
- <th style="white-space: nowrap;">未通气户数</th>
125
- <th style="white-space: nowrap;">报建日期</th>
126
- </tr>
127
- </template>
128
- <template partial='body'>
129
- <tr>
130
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
131
- <nobr>{{$index+1}}</nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr>{{row.f_apply_num}}</nobr>
135
- </td>
136
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
137
- <nobr>{{row.f_user_name}}</nobr>
138
- </td>
139
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
140
- <nobr>{{row.f_address}}</nobr>
141
- </td>
142
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
143
- <nobr>{{row.f_contract_number}}</nobr>
144
- </td>
145
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
146
- <nobr>{{row.f_phone}}</nobr>
147
- </td>
148
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
149
- <nobr>{{row.f_apply_type}}</nobr>
150
- </td>
151
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
152
- <nobr>{{row.f_apply_nature}}</nobr>
153
- </td>
154
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
155
- <nobr>{{row.cardnum ? row.cardnum : 0}}</nobr>
156
- </td>
157
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
158
- <nobr>{{row.f_not_ventilate_households}}</nobr>
159
- </td>
160
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
161
- <nobr>{{row.f_apply_date}}</nobr>
162
- </td>
163
- </tr>
164
- </template>
165
- </data-grid>
166
- </criteria-paged>
167
- </div>
168
- </template>
169
- <script>
170
- import {PagedList} from 'vue-client'
171
- import {isEmpty} from '../../Util'
172
- export default {
173
- title: '点火详情',
174
- props: ['showData'],
175
- data () {
176
- return {
177
- model: new PagedList('rs/sql/getIgnitionList', 20, {
178
- data: {
179
- f_filiale: this.$login.f.f_fengongsi
180
- }
181
- }),
182
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
183
- criteriaShow: false,
184
- sources: [{label: '微信公众号', value: '微信公众号'}, {label: '线下发起', value: '线下发起'}],
185
- showStatus: true
186
- }
187
- },
188
- ready () {
189
- // 调用查询
190
- this.search()
191
- },
192
- events: {
193
- },
194
- methods: {
195
- updateShowStatus () {
196
- this.showStatus = !this.showStatus
197
- this.search()
198
- },
199
- loadPage () {
200
- this.$dispatch('loadPage')
201
- },
202
- searchCondition (args) {
203
- if (this.showStatus) {
204
- args.condition = args.condition + ` and irnum is null`
205
- } else {
206
- args.condition = args.condition + ` and irnum != 0`
207
- }
208
- if (args.condition.includes('民用报建')) {
209
- args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')')
210
- }
211
- console.log('args.condition', args.condition)
212
- this.model.search(args.condition, args.model)
213
- },
214
- // 查询
215
- search () {
216
- this.$dispatch('search')
217
- },
218
- check (val) {
219
- this.$dispatch('apply', val)
220
- },
221
- clear () {
222
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
223
- this.$refs.cp.$refs.cri.model[key] = null
224
- })
225
- }
226
- },
227
- computed: {
228
- }
229
- }
230
- </script>
231
- <style scoped>
232
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">工程编号:</label>
9
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
10
+ v-on:keyup.enter="$parent.$parent.search()"
11
+ condition="f_apply_num = '{}'">
12
+ </div>
13
+ <div class="form-group col-sm-3">
14
+ <label class="font_normal_body">客户名称:</label>
15
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
16
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'" placeholder='客户名称'>
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">联系电话:</label>
20
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
21
+ v-on:keyup.enter="$parent.$parent.search()"
22
+ condition="f_phone like '%{}%'">
23
+ </div>
24
+ <div class="form-group col-sm-2 button-range">
25
+ <button class="button_search button_spacing" @click="$parent.$parent.updateShowStatus()" v-el:cx>{{$parent.$parent.showStatus ? '已派单' : '未派单'}}</button>
26
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
27
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
28
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
29
+ <div
30
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
31
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
32
+ class="button_spacing"
33
+ style="float: right">
34
+ </div>
35
+ </div>
36
+ </div>
37
+ <div class="row" v-show="$parent.$parent.criteriaShow">
38
+ <div class="form-group col-sm-3">
39
+ <label class="font_normal_body">合同编号:</label>
40
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
41
+ v-on:keyup.enter="$parent.$parent.search()"
42
+ condition="f_contract_number = '{}'">
43
+ </div>
44
+ <div class="form-group col-sm-3">
45
+ <label class="font_normal_body">报建类型:</label>
46
+ <v-select
47
+ v-model="model.f_apply_type"
48
+ placeholder='报建类型'
49
+ condition="f_apply_type = '{}'"
50
+ :value.sync="model.f_apply_type"
51
+ :options='$parent.$parent.applytype'
52
+ class="select select_list"
53
+ :value-single="true"
54
+ close-on-select ></v-select>
55
+ </div>
56
+ <div class="form-group col-sm-3" v-if="false">
57
+ <label class="font_normal_body">报建性质:</label>
58
+ <v-select
59
+ v-model="model.f_apply_nature"
60
+ placeholder='报建性质'
61
+ condition="f_apply_nature = '{}'"
62
+ :value.sync="model.f_apply_nature"
63
+ :options='$parent.$parent.applyNatures'
64
+ class="select select_list"
65
+ :value-single="true"
66
+ close-on-select ></v-select>
67
+ </div>
68
+ <div class="form-group col-sm-3">
69
+ <label class="font_normal_body">用户地址:</label>
70
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
71
+ v-on:keyup.enter="$parent.$parent.search()"
72
+ condition="u.f_address like '%{}%'">
73
+ </div>
74
+ <div class="form-group col-sm-3">
75
+ <label for="startDate" class="font_normal_body">开始时间:</label>
76
+ <datepicker id="startDate" placeholder="开始日期"
77
+ style="width: 60%!important;"
78
+ v-model="model.startDate"
79
+ :value.sync="model.startDate"
80
+ :format="'yyyy-MM-dd 00:00:00'"
81
+ :show-reset-button="true"
82
+ condition="f_apply_date >= '{}'">
83
+ </datepicker>
84
+ </div>
85
+ <div class="form-group col-sm-3">
86
+ <label for="endDate" class="font_normal_body">结束时间:</label>
87
+ <datepicker id="endDate" placeholder="结束日期"
88
+ style="width: 60%!important;"
89
+ v-model="model.endDate"
90
+ :value.sync="model.endDate"
91
+ :format="'yyyy-MM-dd 23:59:59'"
92
+ :show-reset-button="true"
93
+ condition="f_apply_date <= '{}'">
94
+ </datepicker>
95
+ </div>
96
+ <div class="form-group col-sm-3">
97
+ <label class="font_normal_body">来&emsp;&emsp;源:</label>
98
+ <v-select
99
+ v-model="model.f_apply_source"
100
+ placeholder='来源'
101
+ condition="u.f_apply_source = '{}'"
102
+ :value.sync="model.f_apply_source"
103
+ :options='$parent.$parent.sources'
104
+ class="select select_list"
105
+ :value-single="true"
106
+ close-on-select >
107
+ </v-select>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </criteria>
112
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
113
+ <template partial='head'>
114
+ <tr>
115
+ <th style="white-space: nowrap;">序号</th>
116
+ <th style="white-space: nowrap;">工程编号</th>
117
+ <th style="white-space: nowrap;">客户名称</th>
118
+ <th style="white-space: nowrap;">客户地址</th>
119
+ <th style="white-space: nowrap;">供气合同编号</th>
120
+ <th style="white-space: nowrap;">电话</th>
121
+ <th style="white-space: nowrap;">报建类型</th>
122
+ <th style="white-space: nowrap;">报建性质</th>
123
+ <th style="white-space: nowrap;">已发卡数</th>
124
+ <th style="white-space: nowrap;">未派发户数</th>
125
+ <th style="white-space: nowrap;">未通气户数</th>
126
+ <th style="white-space: nowrap;">报建日期</th>
127
+ </tr>
128
+ </template>
129
+ <template partial='body'>
130
+ <tr>
131
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
132
+ <nobr>{{$index+1}}</nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr>{{row.f_apply_num}}</nobr>
136
+ </td>
137
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
138
+ <nobr>{{row.f_user_name}}</nobr>
139
+ </td>
140
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
141
+ <nobr>{{row.f_address}}</nobr>
142
+ </td>
143
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
144
+ <nobr>{{row.f_contract_number}}</nobr>
145
+ </td>
146
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
147
+ <nobr>{{row.f_phone}}</nobr>
148
+ </td>
149
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
150
+ <nobr>{{row.f_apply_type}}</nobr>
151
+ </td>
152
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
153
+ <nobr>{{row.f_apply_nature}}</nobr>
154
+ </td>
155
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
156
+ <nobr>{{row.cardnum ? row.cardnum : 0}}</nobr>
157
+ </td>
158
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
159
+ <nobr>{{row.f_install_count - (row.irnum ? row.irnum : 0)}}</nobr>
160
+ </td>
161
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
162
+ <nobr>{{row.f_not_ventilate_households}}</nobr>
163
+ </td>
164
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
165
+ <nobr>{{row.f_apply_date}}</nobr>
166
+ </td>
167
+ </tr>
168
+ </template>
169
+ </data-grid>
170
+ </criteria-paged>
171
+ </div>
172
+ </template>
173
+ <script>
174
+ import {PagedList} from 'vue-client'
175
+ import {isEmpty} from '../../Util'
176
+ export default {
177
+ title: '点火详情',
178
+ props: ['showData'],
179
+ data () {
180
+ return {
181
+ model: new PagedList('rs/sql/getIgnitionList', 20, {
182
+ data: {
183
+ f_filiale: this.$login.f.f_fengongsi
184
+ }
185
+ }),
186
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
187
+ criteriaShow: false,
188
+ sources: [{label: '微信公众号', value: '微信公众号'}, {label: '线下发起', value: '线下发起'}],
189
+ showStatus: true
190
+ }
191
+ },
192
+ ready () {
193
+ // 调用查询
194
+ this.search()
195
+ },
196
+ events: {
197
+ },
198
+ methods: {
199
+ updateShowStatus () {
200
+ this.showStatus = !this.showStatus
201
+ this.search()
202
+ },
203
+ loadPage () {
204
+ this.$dispatch('loadPage')
205
+ },
206
+ searchCondition (args) {
207
+ if (this.showStatus) {
208
+ args.condition = args.condition + ` and (irnum is null or irnum < u.f_install_count)`
209
+ } else {
210
+ args.condition = args.condition + ` and irnum != 0`
211
+ }
212
+ if (args.condition.includes('民用报建')) {
213
+ args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')')
214
+ }
215
+ console.log('args.condition', args.condition)
216
+ this.model.search(args.condition, args.model)
217
+ },
218
+ // 查询
219
+ search () {
220
+ this.$dispatch('search')
221
+ },
222
+ check (val) {
223
+ this.$dispatch('apply', val)
224
+ },
225
+ clear () {
226
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
227
+ this.$refs.cp.$refs.cri.model[key] = null
228
+ })
229
+ }
230
+ },
231
+ computed: {
232
+ }
233
+ }
234
+ </script>
235
+ <style scoped>
236
+ </style>