apply-clients 7.1.36-yuchuan-12 → 7.1.36-yuchuan-13

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 (77) hide show
  1. package/android.html +28 -28
  2. package/build/dev-server.js +28 -10
  3. package/index.html +39 -39
  4. package/package.json +3 -4
  5. package/src/apply.js +162 -161
  6. package/src/applyAndroid.js +97 -97
  7. package/src/components/android/AppSign.vue +235 -235
  8. package/src/components/android/AppUpload.vue +275 -275
  9. package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  11. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  12. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  13. package/src/components/android/Process/Processes/AppInstallationDetails.vue +980 -980
  14. package/src/components/android/Sign/AppSignTask.vue +183 -183
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  16. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  17. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  18. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  19. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  20. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  21. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  22. package/src/components/android/newPackage/projectPrice.vue +218 -218
  23. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1 -1
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -144
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  29. package/src/components/product/ApplyMap/AMapLocation.vue +870 -0
  30. package/src/components/product/ApplyMap/AmapUtil.js +37 -0
  31. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  32. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
  33. package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -82
  34. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  35. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  36. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +415 -415
  37. package/src/components/product/Function/InstallFunction.vue +133 -133
  38. package/src/components/product/Function/InstallInfoSelect.vue +371 -371
  39. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  40. package/src/components/product/GongJianPush/ApplyPushDispose.vue +162 -72
  41. package/src/components/product/GongJianPush/ApplyPushList.vue +47 -52
  42. package/src/components/product/GongJianPush/ApplyPushManage.vue +4 -3
  43. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  44. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  45. package/src/components/product/InsuranceApply/InsuranceReport.vue +3 -4
  46. package/src/components/product/List/OldShowDevices.vue +271 -271
  47. package/src/components/product/List/ShowAllActivity.vue +540 -540
  48. package/src/components/product/List/ShowDevices.vue +279 -279
  49. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  50. package/src/components/product/Process/ExplorationSelect.vue +597 -597
  51. package/src/components/product/Process/ExplorationUser.vue +158 -158
  52. package/src/components/product/Process/New1ExplorationUser.vue +201 -201
  53. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  54. package/src/components/product/Process/NewExplorationUser.vue +219 -219
  55. package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
  56. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  57. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  58. package/src/components/product/Process/Processes/chargeManagement.vue +704 -704
  59. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  60. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  61. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  62. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  63. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  64. package/src/components/product/Process/Service/ServiceControl.vue +2205 -2205
  65. package/src/components/product/ServiceView.vue +644 -644
  66. package/src/components/product/Stop/StopApplyList.vue +224 -224
  67. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  68. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  69. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  70. package/src/components/product/Supervisory/SupervisoryList.vue +557 -557
  71. package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -119
  72. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  73. package/src/components/product/VueUtils/ApplyUpload.vue +294 -285
  74. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
  75. package/src/main.js +27 -27
  76. package/static/marker-default.png +0 -0
  77. package/static/myLocationIcon.png +0 -0
@@ -1,454 +1,454 @@
1
- <template>
2
- <div class="p-10">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
- <div partial class="auto">
6
- <div class="row form-group app-input">
7
- <label class="">客户名称:</label>
8
- <div class="col-xs-8" >
9
- <input class="" v-model=model.f_user_name condition="u.f_user_name like '%{}%'" />
10
- </div>
11
- </div>
12
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
13
- <label class="">联系电话:</label>
14
- <div class="col-xs-8" >
15
- <input class="" v-model=model.f_phone condition="u.f_phone like '%{}%'" />
16
- </div>
17
- </div>
18
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
19
- <label class="">工程编号:</label>
20
- <div class="col-xs-8" >
21
- <input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
22
- </div>
23
- </div>
24
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
25
- <label class="">合同编号:</label>
26
- <div class="col-xs-8" >
27
- <input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
28
- </div>
29
- </div>
30
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
31
- <label class="">报建类型:</label>
32
- <div class="col-xs-8" >
33
- <v-select
34
- width="100%"
35
- v-model="model.f_apply_type"
36
- placeholder='报建类型'
37
- condition="u.f_apply_type like '%{}%'"
38
- :value.sync="model.f_apply_type"
39
- :options='$parent.$parent.applytype'
40
- class="select select_list"
41
- :value-single="true"
42
- @change="$parent.$parent.applyTypeChange()"
43
- close-on-select ></v-select>
44
- </div>
45
- </div>
46
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
47
- <label class="">办理环节:</label>
48
- <div class="col-xs-8" >
49
- <v-select
50
- width="100%"
51
- v-model="model.defname"
52
- placeholder='办理环节'
53
- condition="act.defname = '{}'"
54
- :value.sync="model.defname"
55
- :options='$parent.$parent.defnames'
56
- class="select select_list"
57
- :value-single="true"
58
- close-on-select ></v-select>
59
- </div>
60
- </div>
61
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
62
- <label class="">报建性质:</label>
63
- <div class="col-xs-8" >
64
- <v-select
65
- width="100%"
66
- v-model="model.f_apply_nature"
67
- placeholder='报建性质'
68
- condition="f_apply_nature = '{}'"
69
- :value.sync="model.f_apply_nature"
70
- :options='$parent.$parent.applyNatures'
71
- class="select select_list"
72
- :value-single="true"
73
- close-on-select ></v-select>
74
- </div>
75
- </div>
76
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
77
- <label class="">用户地址:</label>
78
- <div class="col-xs-8" >
79
- <input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
80
- </div>
81
- </div>
82
- <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
83
- <label class="">小&emsp;&emsp;区:</label>
84
- <div class="col-xs-8" >
85
- <v-select
86
- width="100%"
87
- v-model="model.f_residential_area"
88
- placeholder='小区'
89
- condition="u.f_residential_area = '{}'"
90
- :value.sync="model.f_residential_area"
91
- :options='$parent.$parent.areaList'
92
- class="select select_list"
93
- :value-single="true"
94
- close-on-select ></v-select>
95
- </div>
96
- </div>
97
- <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
98
- <label class="">楼&emsp;&emsp;号:</label>
99
- <div class="col-xs-8" >
100
- <input class="" v-model=model.f_building condition="u.f_building like '%{}%'" />
101
- </div>
102
- </div>
103
- <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
104
- <label class="">单&emsp;&emsp;元:</label>
105
- <div class="col-xs-8" >
106
- <input class="" v-model=model.f_unit condition="u.f_unit like '%{}%'" />
107
- </div>
108
- </div>
109
- <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
110
- <label class="">门&ensp;牌&ensp;号:</label>
111
- <div class="col-xs-8" >
112
- <input class="" v-model=model.f_room condition="u.f_room like '%{}%'" />
113
- </div>
114
- </div>
115
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
116
- <label class="">开始时间:</label>
117
- <div class="col-xs-8" >
118
- <datepicker id="startDate" placeholder="开始日期"
119
- style="width: 100%!important;"
120
- v-model="model.startDate"
121
- :value.sync="model.startDate"
122
- :format="'yyyy-MM-dd 00:00:00'"
123
- :show-reset-button="true"
124
- condition="u.f_apply_date >= '{}'">
125
- </datepicker>
126
- </div>
127
- </div>
128
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
129
- <label class="">结束时间:</label>
130
- <div class="col-xs-8" >
131
- <datepicker id="endDate" placeholder="结束日期"
132
- style="width: 100%!important;"
133
- v-model="model.endDate"
134
- :value.sync="model.endDate"
135
- :format="'yyyy-MM-dd 23:59:59'"
136
- :show-reset-button="true"
137
- condition="u.f_apply_date <= '{}'">
138
- </datepicker>
139
- </div>
140
- </div>
141
- <!-- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">-->
142
- <!-- <label class="">稍后处理:</label>-->
143
- <!-- <div class="col-xs-8" >-->
144
- <!-- <v-select-->
145
- <!-- width="100%"-->
146
- <!-- v-model="model.f_is_later"-->
147
- <!-- placeholder='稍后处理'-->
148
- <!-- condition="f_is_later = '{}'"-->
149
- <!-- :value.sync="model.f_is_later"-->
150
- <!-- :options='$parent.$parent.laterList'-->
151
- <!-- class="select select_list"-->
152
- <!-- :value-single="true"-->
153
- <!-- close-on-select ></v-select>-->
154
- <!-- </div>-->
155
- <!-- </div>-->
156
- <div class="row form-group text-right" style="">
157
- <button class="btn btn-primary" v-if="$parent.$parent.defname === '现场勘察'" @click="$parent.$parent.changeSearch()">{{ $parent.$parent.showSupervisory ? '需整改' : '正常' }}</button>
158
- <button class="btn btn-primary" v-if="$parent.$parent.defname === '工程队派工' || $parent.$parent.defname === '维修派单'" @click="$parent.$parent.changeSearch()">{{ $parent.$parent.showSupervisory ? '有纠纷' : '正常' }}</button>
159
- <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
160
- <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
161
- <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
162
- </div>
163
- </div>
164
- </criteria>
165
-
166
- <list :model="model" partial='list'>
167
- <div partial class="auto app-text panel">
168
- <div class="panel-body panel-self">
169
- <div class="col-xs-12">
170
- <p class="col-xs-3 text-left font"><b>客户名称:</b></p>
171
- <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
172
- </div>
173
- <div class="col-xs-12">
174
- <p class="col-xs-3 text-left font"><b>电&emsp;&emsp;话:</b></p>
175
- <p class="col-xs-9 text-left input-font">
176
- {{ row.f_phone }}&ensp;
177
- <svg @click.prevent="$parent.$parent.$parent.dialNumber(row.f_phone)" style="width: 25px;height: 25px;position: absolute;" t="1628575136009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M682.25 465.262c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811A167.395 167.395 0 0 0 570.96 298.35c-16.695 0-27.811 11.116-27.811 27.811s11.16 27.812 27.811 27.812a111.597 111.597 0 0 1 111.29 111.289z m111.289 0c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811c0-152.984-125.217-278.201-278.2-278.201-16.696 0-27.812 11.16-27.812 27.855s11.16 27.811 27.811 27.811c122.405 0 222.579 100.174 222.579 222.535zM417.976 367.9c30.623-30.579 33.391-77.898 5.58-111.289L337.31 148.134c-27.811-36.16-80.666-41.74-116.869-13.928-2.768 2.812-5.536 2.812-5.536 5.58l-75.13 75.13c-72.318 72.318 30.623 267.041 217.042 453.417C543.15 854.708 735.06 954.88 807.378 885.33l75.13-75.13c33.392-33.391 33.392-86.246 0-116.825l-5.536-5.58-108.52-86.246c-33.348-27.81-80.623-25.043-111.246 5.58l-47.275 47.319c-50.087-30.623-94.593-64.014-133.564-102.941-38.927-38.971-72.275-83.478-102.898-133.565l44.507-50.043z m-38.927-75.13c8.348 11.16 8.348 27.855-2.812 36.203l-61.202 63.97a29.569 29.569 0 0 0-5.536 33.392 721.425 721.425 0 0 0 122.405 164.1 721.512 721.512 0 0 0 164.1 122.405 29.569 29.569 0 0 0 33.39-5.58l63.971-63.97c11.16-11.116 25.043-11.116 36.203-2.769l108.477 89.014s2.768 0 2.768 2.768a26.889 26.889 0 0 1 0 38.971l-75.13 75.13c-36.115 36.115-208.606-55.666-372.75-217.042-164.1-161.332-253.114-336.548-216.955-372.75l77.854-77.899c11.16-8.348 30.623-8.348 38.971 5.58l86.246 108.521z" fill="#8A8A8A" p-id="2375"></path></svg>
178
- </p>
179
- </div>
180
- <div class="col-xs-12">
181
- <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
182
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
183
- </div>
184
- <div class="col-xs-12">
185
- <p class="col-xs-3 text-left font"><b>客户编号:</b></p>
186
- <p class="col-xs-9 text-left input-font">{{ row.f_userinfo_code }}</p>
187
- </div>
188
- <div class="col-xs-12">
189
- <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
190
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
191
- </div>
192
- <div class="col-xs-12">
193
- <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
194
- <p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
195
- </div>
196
- <div class="col-xs-12">
197
- <p class="col-xs-3 text-left font"><b>定位地址:</b></p>
198
- <p class="col-xs-9 text-left input-font">
199
- {{ row.f_order_address }}
200
- <svg @click.prevent="$parent.$parent.$parent.openAmap(row)" style="width: 25px;height: 25px;position: absolute;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
201
- </p>
202
- </div>
203
- <div class="col-xs-12">
204
- <p class="col-xs-3 text-left font"><b>地&emsp;&emsp;址:</b></p>
205
- <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
206
- </div>
207
- <div class="col-xs-12">
208
- <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
209
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
210
- </div>
211
- <div class="col-xs-12" style="color: red">
212
- <p class="col-xs-3 text-left font"><b>施工备注:</b></p>
213
- <p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
214
- </div>
215
-
216
- <div class="col-xs-12 text-right">
217
- <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
218
- </div>
219
- </div>
220
- </div>
221
- </list>
222
- </criteria-paged>
223
- </div>
224
- </template>
225
- <script>
226
- import Vue from 'vue'
227
- import { PagedList, HttpResetClass } from 'vue-client'
228
- import {isEmpty} from '../../Util'
229
- export default {
230
- title: '报建流程',
231
- props: ['defname', 'f_lat', 'f_lng', 'usertype'],
232
- data () {
233
- return {
234
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
235
- data: {
236
- userid: Vue.user.id,
237
- f_filiale: Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'
238
- }
239
- }),
240
- criteriaShow: false,
241
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
242
- defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')],
243
- applyNatures: [{label: '全部', value: ''}], // 报建性质
244
- areaList: [],
245
- showSupervisory: true
246
- }
247
- },
248
- ready () {
249
- this.getArea()
250
- this.search()
251
- },
252
- methods: {
253
- refresh () {
254
- this.search()
255
- this.$dispatch('refreshDot')
256
- },
257
- openAmap (selectdata) {
258
- HostApp.openThirdPartyMap({
259
- lon: selectdata.f_lng,
260
- lat: selectdata.f_lat,
261
- address: selectdata.f_order_address
262
- })
263
- },
264
- dialNumber (phone) {
265
- this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
266
- if (res === 'confirm') {
267
- this.$androidUtil.makeAPhoneCall(phone)
268
- }
269
- })
270
- },
271
- clear () {
272
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
273
- this.$refs.cp.$refs.cri.model[key] = null
274
- })
275
- },
276
- // 查询
277
- search () {
278
- this.$refs.cp.$refs.cri.search()
279
- this.criteriaShow = false
280
- },
281
- searchCondition (args) {
282
- if (this.defname === '现场勘察'){
283
- if (!this.showSupervisory){
284
- args.condition += `and act.defname = '${this.defname}' and u.f_survey_opinion ='否'`
285
- }else {
286
- args.condition += `and act.defname = '${this.defname}' and (u.f_survey_opinion <> '否' or u.f_survey_opinion is null)`
287
- }
288
- }else if (this.defname === '工程队派工'){
289
- args.condition = args.condition + `and act.defname = '${this.defname}' and f_construction_unit = ${Vue.user.id} `
290
- if (this.showSupervisory){
291
- args.condition += `and (u.f_install_situation = '正常' or u.f_install_situation = '无' or u.f_install_situation is null)`
292
- }else {
293
- args.condition += `and u.f_install_situation = '有纠纷'`
294
- }
295
- }else if (this.defname === '施工信息'){
296
- args.condition = args.condition + ` and act.defname = '工程施工' and (f_construction_unit = '${Vue.user.id}'
297
- or f_check_operator_id = '${Vue.user.id}' or f_engineering_operator_id = '${Vue.user.id}'
298
- or f_supervisor_operator_id = '${Vue.user.id}' or f_supervisor_operator = '${Vue.user.id}'
299
- or f_construct_operator_id = '${Vue.user.id}')`
300
- }else if (this.defname === '设计出图'){
301
- args.condition += `and (act.defname = '${this.defname}' or act.defname ='图纸变更')`
302
- } else {
303
- args.condition += `and act.defname = '${this.defname}'`
304
- }
305
- if (this.usertype){
306
- args.condition += `and u.f_apply_type = '${this.usertype}'`
307
- }
308
- if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
309
- args.condition += `and u.f_lat = '${this.f_lat}' and u.f_lng = '${this.f_lng}'`
310
- }
311
- console.log("args.condition",args.condition)
312
- this.model.search(args.condition, args.model)
313
-
314
- this.f_lat = null
315
- this.f_lng = null
316
- },
317
- click (row) {
318
- if (this.defname === '施工信息'){
319
- row.defname = '施工信息'
320
- }
321
- let _this = this
322
- this.$dispatch('gotoson', {
323
- _this: _this,
324
- title: row.defname,
325
- safe: true
326
- })
327
- this.$goto('app-service-control', {selectdata: row}, 'self', _this.refresh)
328
- },
329
- applyTypeChange () {
330
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
331
- let http = new HttpResetClass()
332
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
333
- // http.load('POST', 'rs/logic/getDefnameByType', {
334
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
335
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
336
- this.defnames = [{label: '全部', value: ''}, ...res.data]
337
-
338
- this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
339
- })
340
- } else {
341
- this.defnames = [{label: '全部', value: ''}]
342
-
343
- this.applyNatures = [{label: '全部', value: ''}]
344
- }
345
- },
346
- // 获取小区
347
- async getArea () {
348
- let data = {
349
- tablename: 't_area_address',
350
- condition: `f_filiale = '${Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'}' and f_area_status = '启用'`
351
- }
352
- let http = new HttpResetClass()
353
- let res = await http.load(
354
- 'POST',
355
- `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
356
- {data: data},
357
- {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
358
- )
359
- this.areaList = res.data.map(item => {
360
- return {
361
- label: item.f_residential_area,
362
- value: item.f_residential_area
363
- }
364
- })
365
- },
366
- changeSearch(){
367
- this.showSupervisory = !this.showSupervisory
368
- this.search()
369
- },
370
- },
371
- events: {
372
- 'loadPage' () {
373
- this.selectdata = {}
374
- // 关闭详细
375
- this.showtotal = false
376
- // 显示列表数据
377
- this.showData = true
378
- // 显示分页
379
- this.$refs.query.$refs.cp.pager = true
380
- // 调用查询
381
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
382
- }
383
- },
384
- watch: {
385
- // 通过计算属性同时监听多个值
386
- 'changeData' () {
387
- if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
388
- this.search()
389
- }
390
- }
391
- },
392
- computed: {
393
- changeData () {
394
- const {f_lat, f_lng} = this
395
- return {
396
- f_lat,
397
- f_lng
398
- }
399
- }
400
- }
401
- }
402
- </script>
403
- <style scoped>
404
- .panel-self{
405
- border-radius: 10px;
406
- border:1px solid #499EDF;
407
- background-color: #F8F8F8;
408
- }
409
- .font{
410
- font: 15px PingFang-SC-Medium;
411
- color: #666666;
412
- }
413
-
414
- .button_shrink_top {
415
- width: 34px;
416
- height: 34px;
417
- border: solid 1px #6aa6e2;
418
- background-size: 100%;
419
- background-image: url("../../../../static/newStyle/stretch_top.png")
420
- }
421
-
422
- .button_shrink_bottom {
423
- width: 34px;
424
- height: 34px;
425
- border: solid 1px #6aa6e2;
426
- background-size: 100%;
427
- background-image: url("../../../../static/newStyle/stretch_bottom.png")
428
- }
429
- </style>
430
- <style lang="less">
431
- .app-input {
432
- label {
433
- float: left;
434
- }
435
- .select {
436
- button {
437
- border: none;
438
- outline: none;
439
- text-align: left;
440
- .btn-placeholder {
441
- color: #ACA899
442
- }
443
- }
444
- }
445
- .datepicker {
446
- .form-control:focus {
447
- border: none!important;
448
- outline: none!important;
449
- -webkit-box-shadow: none;
450
- box-shadow: none;
451
- }
452
- }
453
- }
454
- </style>
1
+ <template>
2
+ <div class="p-10">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
+ <div partial class="auto">
6
+ <div class="row form-group app-input">
7
+ <label class="">客户名称:</label>
8
+ <div class="col-xs-8" >
9
+ <input class="" v-model=model.f_user_name condition="u.f_user_name like '%{}%'" />
10
+ </div>
11
+ </div>
12
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
13
+ <label class="">联系电话:</label>
14
+ <div class="col-xs-8" >
15
+ <input class="" v-model=model.f_phone condition="u.f_phone like '%{}%'" />
16
+ </div>
17
+ </div>
18
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
19
+ <label class="">工程编号:</label>
20
+ <div class="col-xs-8" >
21
+ <input class="" v-model=model.f_apply_num condition="u.f_apply_num like '%{}%'" />
22
+ </div>
23
+ </div>
24
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
25
+ <label class="">合同编号:</label>
26
+ <div class="col-xs-8" >
27
+ <input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
28
+ </div>
29
+ </div>
30
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
31
+ <label class="">报建类型:</label>
32
+ <div class="col-xs-8" >
33
+ <v-select
34
+ width="100%"
35
+ v-model="model.f_apply_type"
36
+ placeholder='报建类型'
37
+ condition="u.f_apply_type like '%{}%'"
38
+ :value.sync="model.f_apply_type"
39
+ :options='$parent.$parent.applytype'
40
+ class="select select_list"
41
+ :value-single="true"
42
+ @change="$parent.$parent.applyTypeChange()"
43
+ close-on-select ></v-select>
44
+ </div>
45
+ </div>
46
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
47
+ <label class="">办理环节:</label>
48
+ <div class="col-xs-8" >
49
+ <v-select
50
+ width="100%"
51
+ v-model="model.defname"
52
+ placeholder='办理环节'
53
+ condition="act.defname = '{}'"
54
+ :value.sync="model.defname"
55
+ :options='$parent.$parent.defnames'
56
+ class="select select_list"
57
+ :value-single="true"
58
+ close-on-select ></v-select>
59
+ </div>
60
+ </div>
61
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
62
+ <label class="">报建性质:</label>
63
+ <div class="col-xs-8" >
64
+ <v-select
65
+ width="100%"
66
+ v-model="model.f_apply_nature"
67
+ placeholder='报建性质'
68
+ condition="f_apply_nature = '{}'"
69
+ :value.sync="model.f_apply_nature"
70
+ :options='$parent.$parent.applyNatures'
71
+ class="select select_list"
72
+ :value-single="true"
73
+ close-on-select ></v-select>
74
+ </div>
75
+ </div>
76
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
77
+ <label class="">用户地址:</label>
78
+ <div class="col-xs-8" >
79
+ <input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
80
+ </div>
81
+ </div>
82
+ <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
83
+ <label class="">小&emsp;&emsp;区:</label>
84
+ <div class="col-xs-8" >
85
+ <v-select
86
+ width="100%"
87
+ v-model="model.f_residential_area"
88
+ placeholder='小区'
89
+ condition="u.f_residential_area = '{}'"
90
+ :value.sync="model.f_residential_area"
91
+ :options='$parent.$parent.areaList'
92
+ class="select select_list"
93
+ :value-single="true"
94
+ close-on-select ></v-select>
95
+ </div>
96
+ </div>
97
+ <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
98
+ <label class="">楼&emsp;&emsp;号:</label>
99
+ <div class="col-xs-8" >
100
+ <input class="" v-model=model.f_building condition="u.f_building like '%{}%'" />
101
+ </div>
102
+ </div>
103
+ <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
104
+ <label class="">单&emsp;&emsp;元:</label>
105
+ <div class="col-xs-8" >
106
+ <input class="" v-model=model.f_unit condition="u.f_unit like '%{}%'" />
107
+ </div>
108
+ </div>
109
+ <div class="row form-group app-input" v-if="$parent.$parent.defname === '工程施工' && $parent.$parent.criteriaShow">
110
+ <label class="">门&ensp;牌&ensp;号:</label>
111
+ <div class="col-xs-8" >
112
+ <input class="" v-model=model.f_room condition="u.f_room like '%{}%'" />
113
+ </div>
114
+ </div>
115
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
116
+ <label class="">开始时间:</label>
117
+ <div class="col-xs-8" >
118
+ <datepicker id="startDate" placeholder="开始日期"
119
+ style="width: 100%!important;"
120
+ v-model="model.startDate"
121
+ :value.sync="model.startDate"
122
+ :format="'yyyy-MM-dd 00:00:00'"
123
+ :show-reset-button="true"
124
+ condition="u.f_apply_date >= '{}'">
125
+ </datepicker>
126
+ </div>
127
+ </div>
128
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
129
+ <label class="">结束时间:</label>
130
+ <div class="col-xs-8" >
131
+ <datepicker id="endDate" placeholder="结束日期"
132
+ style="width: 100%!important;"
133
+ v-model="model.endDate"
134
+ :value.sync="model.endDate"
135
+ :format="'yyyy-MM-dd 23:59:59'"
136
+ :show-reset-button="true"
137
+ condition="u.f_apply_date <= '{}'">
138
+ </datepicker>
139
+ </div>
140
+ </div>
141
+ <!-- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">-->
142
+ <!-- <label class="">稍后处理:</label>-->
143
+ <!-- <div class="col-xs-8" >-->
144
+ <!-- <v-select-->
145
+ <!-- width="100%"-->
146
+ <!-- v-model="model.f_is_later"-->
147
+ <!-- placeholder='稍后处理'-->
148
+ <!-- condition="f_is_later = '{}'"-->
149
+ <!-- :value.sync="model.f_is_later"-->
150
+ <!-- :options='$parent.$parent.laterList'-->
151
+ <!-- class="select select_list"-->
152
+ <!-- :value-single="true"-->
153
+ <!-- close-on-select ></v-select>-->
154
+ <!-- </div>-->
155
+ <!-- </div>-->
156
+ <div class="row form-group text-right" style="">
157
+ <button class="btn btn-primary" v-if="$parent.$parent.defname === '现场勘察'" @click="$parent.$parent.changeSearch()">{{ $parent.$parent.showSupervisory ? '需整改' : '正常' }}</button>
158
+ <button class="btn btn-primary" v-if="$parent.$parent.defname === '工程队派工' || $parent.$parent.defname === '维修派单'" @click="$parent.$parent.changeSearch()">{{ $parent.$parent.showSupervisory ? '有纠纷' : '正常' }}</button>
159
+ <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
160
+ <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
161
+ <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
162
+ </div>
163
+ </div>
164
+ </criteria>
165
+
166
+ <list :model="model" partial='list'>
167
+ <div partial class="auto app-text panel">
168
+ <div class="panel-body panel-self">
169
+ <div class="col-xs-12">
170
+ <p class="col-xs-3 text-left font"><b>客户名称:</b></p>
171
+ <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
172
+ </div>
173
+ <div class="col-xs-12">
174
+ <p class="col-xs-3 text-left font"><b>电&emsp;&emsp;话:</b></p>
175
+ <p class="col-xs-9 text-left input-font">
176
+ {{ row.f_phone }}&ensp;
177
+ <svg @click.prevent="$parent.$parent.$parent.dialNumber(row.f_phone)" style="width: 25px;height: 25px;position: absolute;" t="1628575136009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M682.25 465.262c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811A167.395 167.395 0 0 0 570.96 298.35c-16.695 0-27.811 11.116-27.811 27.811s11.16 27.812 27.811 27.812a111.597 111.597 0 0 1 111.29 111.289z m111.289 0c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811c0-152.984-125.217-278.201-278.2-278.201-16.696 0-27.812 11.16-27.812 27.855s11.16 27.811 27.811 27.811c122.405 0 222.579 100.174 222.579 222.535zM417.976 367.9c30.623-30.579 33.391-77.898 5.58-111.289L337.31 148.134c-27.811-36.16-80.666-41.74-116.869-13.928-2.768 2.812-5.536 2.812-5.536 5.58l-75.13 75.13c-72.318 72.318 30.623 267.041 217.042 453.417C543.15 854.708 735.06 954.88 807.378 885.33l75.13-75.13c33.392-33.391 33.392-86.246 0-116.825l-5.536-5.58-108.52-86.246c-33.348-27.81-80.623-25.043-111.246 5.58l-47.275 47.319c-50.087-30.623-94.593-64.014-133.564-102.941-38.927-38.971-72.275-83.478-102.898-133.565l44.507-50.043z m-38.927-75.13c8.348 11.16 8.348 27.855-2.812 36.203l-61.202 63.97a29.569 29.569 0 0 0-5.536 33.392 721.425 721.425 0 0 0 122.405 164.1 721.512 721.512 0 0 0 164.1 122.405 29.569 29.569 0 0 0 33.39-5.58l63.971-63.97c11.16-11.116 25.043-11.116 36.203-2.769l108.477 89.014s2.768 0 2.768 2.768a26.889 26.889 0 0 1 0 38.971l-75.13 75.13c-36.115 36.115-208.606-55.666-372.75-217.042-164.1-161.332-253.114-336.548-216.955-372.75l77.854-77.899c11.16-8.348 30.623-8.348 38.971 5.58l86.246 108.521z" fill="#8A8A8A" p-id="2375"></path></svg>
178
+ </p>
179
+ </div>
180
+ <div class="col-xs-12">
181
+ <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
182
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
183
+ </div>
184
+ <div class="col-xs-12">
185
+ <p class="col-xs-3 text-left font"><b>客户编号:</b></p>
186
+ <p class="col-xs-9 text-left input-font">{{ row.f_userinfo_code }}</p>
187
+ </div>
188
+ <div class="col-xs-12">
189
+ <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
190
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
191
+ </div>
192
+ <div class="col-xs-12">
193
+ <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
194
+ <p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
195
+ </div>
196
+ <div class="col-xs-12">
197
+ <p class="col-xs-3 text-left font"><b>定位地址:</b></p>
198
+ <p class="col-xs-9 text-left input-font">
199
+ {{ row.f_order_address }}
200
+ <svg @click.prevent="$parent.$parent.$parent.openAmap(row)" style="width: 25px;height: 25px;position: absolute;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
201
+ </p>
202
+ </div>
203
+ <div class="col-xs-12">
204
+ <p class="col-xs-3 text-left font"><b>地&emsp;&emsp;址:</b></p>
205
+ <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
206
+ </div>
207
+ <div class="col-xs-12">
208
+ <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
209
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
210
+ </div>
211
+ <div class="col-xs-12" style="color: red">
212
+ <p class="col-xs-3 text-left font"><b>施工备注:</b></p>
213
+ <p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
214
+ </div>
215
+
216
+ <div class="col-xs-12 text-right">
217
+ <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </list>
222
+ </criteria-paged>
223
+ </div>
224
+ </template>
225
+ <script>
226
+ import Vue from 'vue'
227
+ import { PagedList, HttpResetClass } from 'vue-client'
228
+ import {isEmpty} from '../../Util'
229
+ export default {
230
+ title: '报建流程',
231
+ props: ['defname', 'f_lat', 'f_lng', 'usertype'],
232
+ data () {
233
+ return {
234
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
235
+ data: {
236
+ userid: Vue.user.id,
237
+ f_filiale: Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'
238
+ }
239
+ }),
240
+ criteriaShow: false,
241
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
242
+ defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')],
243
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
244
+ areaList: [],
245
+ showSupervisory: true
246
+ }
247
+ },
248
+ ready () {
249
+ this.getArea()
250
+ this.search()
251
+ },
252
+ methods: {
253
+ refresh () {
254
+ this.search()
255
+ this.$dispatch('refreshDot')
256
+ },
257
+ openAmap (selectdata) {
258
+ HostApp.openThirdPartyMap({
259
+ lon: selectdata.f_lng,
260
+ lat: selectdata.f_lat,
261
+ address: selectdata.f_order_address
262
+ })
263
+ },
264
+ dialNumber (phone) {
265
+ this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
266
+ if (res === 'confirm') {
267
+ this.$androidUtil.makeAPhoneCall(phone)
268
+ }
269
+ })
270
+ },
271
+ clear () {
272
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
273
+ this.$refs.cp.$refs.cri.model[key] = null
274
+ })
275
+ },
276
+ // 查询
277
+ search () {
278
+ this.$refs.cp.$refs.cri.search()
279
+ this.criteriaShow = false
280
+ },
281
+ searchCondition (args) {
282
+ if (this.defname === '现场勘察'){
283
+ if (!this.showSupervisory){
284
+ args.condition += `and act.defname = '${this.defname}' and u.f_survey_opinion ='否'`
285
+ }else {
286
+ args.condition += `and act.defname = '${this.defname}' and (u.f_survey_opinion <> '否' or u.f_survey_opinion is null)`
287
+ }
288
+ }else if (this.defname === '工程队派工'){
289
+ args.condition = args.condition + `and act.defname = '${this.defname}' and f_construction_unit = ${Vue.user.id} `
290
+ if (this.showSupervisory){
291
+ args.condition += `and (u.f_install_situation = '正常' or u.f_install_situation = '无' or u.f_install_situation is null)`
292
+ }else {
293
+ args.condition += `and u.f_install_situation = '有纠纷'`
294
+ }
295
+ }else if (this.defname === '施工信息'){
296
+ args.condition = args.condition + ` and act.defname = '工程施工' and (f_construction_unit = '${Vue.user.id}'
297
+ or f_check_operator_id = '${Vue.user.id}' or f_engineering_operator_id = '${Vue.user.id}'
298
+ or f_supervisor_operator_id = '${Vue.user.id}' or f_supervisor_operator = '${Vue.user.id}'
299
+ or f_construct_operator_id = '${Vue.user.id}')`
300
+ }else if (this.defname === '设计出图'){
301
+ args.condition += `and (act.defname = '${this.defname}' or act.defname ='图纸变更')`
302
+ } else {
303
+ args.condition += `and act.defname = '${this.defname}'`
304
+ }
305
+ if (this.usertype){
306
+ args.condition += `and u.f_apply_type = '${this.usertype}'`
307
+ }
308
+ if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
309
+ args.condition += `and u.f_lat = '${this.f_lat}' and u.f_lng = '${this.f_lng}'`
310
+ }
311
+ console.log("args.condition",args.condition)
312
+ this.model.search(args.condition, args.model)
313
+
314
+ this.f_lat = null
315
+ this.f_lng = null
316
+ },
317
+ click (row) {
318
+ if (this.defname === '施工信息'){
319
+ row.defname = '施工信息'
320
+ }
321
+ let _this = this
322
+ this.$dispatch('gotoson', {
323
+ _this: _this,
324
+ title: row.defname,
325
+ safe: true
326
+ })
327
+ this.$goto('app-service-control', {selectdata: row}, 'self', _this.refresh)
328
+ },
329
+ applyTypeChange () {
330
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
331
+ let http = new HttpResetClass()
332
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
333
+ // http.load('POST', 'rs/logic/getDefnameByType', {
334
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
335
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
336
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
337
+
338
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
339
+ })
340
+ } else {
341
+ this.defnames = [{label: '全部', value: ''}]
342
+
343
+ this.applyNatures = [{label: '全部', value: ''}]
344
+ }
345
+ },
346
+ // 获取小区
347
+ async getArea () {
348
+ let data = {
349
+ tablename: 't_area_address',
350
+ condition: `f_filiale = '${Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'}' and f_area_status = '启用'`
351
+ }
352
+ let http = new HttpResetClass()
353
+ let res = await http.load(
354
+ 'POST',
355
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
356
+ {data: data},
357
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
358
+ )
359
+ this.areaList = res.data.map(item => {
360
+ return {
361
+ label: item.f_residential_area,
362
+ value: item.f_residential_area
363
+ }
364
+ })
365
+ },
366
+ changeSearch(){
367
+ this.showSupervisory = !this.showSupervisory
368
+ this.search()
369
+ },
370
+ },
371
+ events: {
372
+ 'loadPage' () {
373
+ this.selectdata = {}
374
+ // 关闭详细
375
+ this.showtotal = false
376
+ // 显示列表数据
377
+ this.showData = true
378
+ // 显示分页
379
+ this.$refs.query.$refs.cp.pager = true
380
+ // 调用查询
381
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
382
+ }
383
+ },
384
+ watch: {
385
+ // 通过计算属性同时监听多个值
386
+ 'changeData' () {
387
+ if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
388
+ this.search()
389
+ }
390
+ }
391
+ },
392
+ computed: {
393
+ changeData () {
394
+ const {f_lat, f_lng} = this
395
+ return {
396
+ f_lat,
397
+ f_lng
398
+ }
399
+ }
400
+ }
401
+ }
402
+ </script>
403
+ <style scoped>
404
+ .panel-self{
405
+ border-radius: 10px;
406
+ border:1px solid #499EDF;
407
+ background-color: #F8F8F8;
408
+ }
409
+ .font{
410
+ font: 15px PingFang-SC-Medium;
411
+ color: #666666;
412
+ }
413
+
414
+ .button_shrink_top {
415
+ width: 34px;
416
+ height: 34px;
417
+ border: solid 1px #6aa6e2;
418
+ background-size: 100%;
419
+ background-image: url("../../../../static/newStyle/stretch_top.png")
420
+ }
421
+
422
+ .button_shrink_bottom {
423
+ width: 34px;
424
+ height: 34px;
425
+ border: solid 1px #6aa6e2;
426
+ background-size: 100%;
427
+ background-image: url("../../../../static/newStyle/stretch_bottom.png")
428
+ }
429
+ </style>
430
+ <style lang="less">
431
+ .app-input {
432
+ label {
433
+ float: left;
434
+ }
435
+ .select {
436
+ button {
437
+ border: none;
438
+ outline: none;
439
+ text-align: left;
440
+ .btn-placeholder {
441
+ color: #ACA899
442
+ }
443
+ }
444
+ }
445
+ .datepicker {
446
+ .form-control:focus {
447
+ border: none!important;
448
+ outline: none!important;
449
+ -webkit-box-shadow: none;
450
+ box-shadow: none;
451
+ }
452
+ }
453
+ }
454
+ </style>