apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3

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 (61) hide show
  1. package/build/dev-server.js +7 -3
  2. package/package.json +3 -3
  3. package/src/AndroidApp.vue +35 -35
  4. package/src/apply.js +12 -1
  5. package/src/applyAndroid.js +87 -83
  6. package/src/components/android/AppUpload.vue +15 -0
  7. package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
  8. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1410 -1397
  10. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
  11. package/src/components/android/Task/Build/BuildTsak.vue +7 -4
  12. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -432
  13. package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
  14. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
  15. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
  16. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
  17. package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
  18. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
  19. package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -98
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
  21. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
  22. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
  23. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
  24. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
  25. package/src/components/product/Function/InstallInfoSelect.vue +371 -370
  26. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  27. package/src/components/product/Ignition/IgnitionList.vue +236 -236
  28. package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
  29. package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
  30. package/src/components/product/List/ShowAllActivity.vue +455 -0
  31. package/src/components/product/List/ShowDevices.vue +279 -279
  32. package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
  33. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
  34. package/src/components/product/Process/ExplorationSelect.vue +591 -581
  35. package/src/components/product/Process/ExplorationUser.vue +158 -158
  36. package/src/components/product/Process/New1ExplorationUser.vue +201 -0
  37. package/src/components/product/Process/New2ExplorationUser.vue +163 -0
  38. package/src/components/product/Process/NewExplorationSelect.vue +586 -0
  39. package/src/components/product/Process/NewExplorationUser.vue +219 -184
  40. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
  41. package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
  42. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
  43. package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
  44. package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
  45. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  46. package/src/components/product/Process/Service/ServiceControl.vue +2166 -2162
  47. package/src/components/product/Report/ReportItems.vue +85 -79
  48. package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
  49. package/src/components/product/Report/gongchengbu.vue +199 -0
  50. package/src/components/product/ServiceView.vue +644 -644
  51. package/src/components/product/Stop/StopApplyList.vue +8 -8
  52. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -594
  53. package/src/components/product/Supervisory/SupervisoryList.vue +539 -537
  54. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
  55. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
  56. package/src/main.js +27 -27
  57. package/dist-android.7z +0 -0
  58. package/dist.7z +0 -0
  59. package/rebel.xml +0 -16
  60. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
  61. package/yarn-error.log +0 -9976
@@ -1,236 +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
- <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>
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>