apply-clients 7.1.36-yuchuan-58 → 7.1.36-yuchuan-60

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 (68) hide show
  1. package/android.html +27 -27
  2. package/build/dev-server.js +187 -187
  3. package/package.json +1 -1
  4. package/src/apply.js +166 -166
  5. package/src/applyAndroid.js +98 -98
  6. package/src/components/android/AppSign.vue +232 -232
  7. package/src/components/android/Ignition/VentilationIgnition.vue +409 -409
  8. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +472 -472
  9. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  10. package/src/components/android/Process/AppServiceControl.vue +1434 -1434
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1026 -1026
  12. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -671
  13. package/src/components/android/SealBind.vue +382 -382
  14. package/src/components/android/SealManage.vue +278 -278
  15. package/src/components/android/Sign/AppSignTask.vue +183 -183
  16. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  17. package/src/components/android/Task/Build/BuildTsak.vue +117 -117
  18. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -114
  19. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  20. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -124
  21. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -124
  22. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  23. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -141
  24. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  25. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  26. package/src/components/android/newPackage/projectPrice.vue +218 -218
  27. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  28. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  29. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +325 -325
  30. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +142 -142
  31. package/src/components/product/ApplyGuanXian/GuanXianExplorationsupervisory.vue +166 -166
  32. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  33. package/src/components/product/ApplyGuanXian/GuanXiansupsupervisory.vue +140 -140
  34. package/src/components/product/ApplyMap/AppMapLocation.vue +829 -829
  35. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  36. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +417 -417
  37. package/src/components/product/Function/InstallFunction.vue +132 -132
  38. package/src/components/product/Function/InstallInfoSelect.vue +374 -374
  39. package/src/components/product/Ignition/IgnitionDispatch.vue +90 -90
  40. package/src/components/product/Ignition/IgnitionListManage.vue +604 -604
  41. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  42. package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -188
  43. package/src/components/product/List/ShowAllActivity.vue +541 -541
  44. package/src/components/product/List/ShowDevices.vue +279 -279
  45. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  46. package/src/components/product/Process/ExplorationSelect.vue +593 -593
  47. package/src/components/product/Process/ExplorationUser.vue +154 -154
  48. package/src/components/product/Process/New1ExplorationUser.vue +196 -196
  49. package/src/components/product/Process/NewExplorationSelect.vue +587 -587
  50. package/src/components/product/Process/NewExplorationUser.vue +216 -216
  51. package/src/components/product/Process/Processes/chargeManagement.vue +714 -714
  52. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  53. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  54. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  55. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  56. package/src/components/product/Process/Service/ServiceControl.vue +2223 -2223
  57. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  58. package/src/components/product/ServiceView.vue +644 -644
  59. package/src/components/product/Stop/StopApplyList.vue +224 -224
  60. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  61. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +593 -593
  62. package/src/components/product/Supervisory/SupervisoryControl.vue +114 -114
  63. package/src/components/product/Supervisory/SupervisoryList.vue +586 -586
  64. package/src/components/product/Supervisory/SupervisoryhCart.vue +120 -120
  65. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -111
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +4 -0
  67. package/src/components/product/VueUtils/ApplyUpload.vue +303 -303
  68. package/src/main.js +27 -27
@@ -1,317 +1,317 @@
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" v-if="$parent.$parent.criteriaShow">
7
- <label class="">管线编号:</label>
8
- <div class="col-xs-8" >
9
- <input class="" v-model=model.f_apply_num condition="u.f_apply_num 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_address condition="u.f_address_name 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
- <v-select
22
- width="100%"
23
- v-model="model.defname"
24
- placeholder='办理环节'
25
- condition="act.defname = '{}'"
26
- :value.sync="model.defname"
27
- :options='$parent.$parent.defnames'
28
- class="select select_list"
29
- :value-single="true"
30
- close-on-select ></v-select>
31
- </div>
32
- </div>
33
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
34
- <label class="">开始时间:</label>
35
- <div class="col-xs-8" >
36
- <datepicker id="startDate" placeholder="开始日期"
37
- style="width: 100%!important;"
38
- v-model="model.startDate"
39
- :value.sync="model.startDate"
40
- :format="'yyyy-MM-dd 00:00:00'"
41
- :show-reset-button="true"
42
- condition="u.f_apply_date >= '{}'">
43
- </datepicker>
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
- <datepicker id="endDate" placeholder="结束日期"
50
- style="width: 100%!important;"
51
- v-model="model.endDate"
52
- :value.sync="model.endDate"
53
- :format="'yyyy-MM-dd 23:59:59'"
54
- :show-reset-button="true"
55
- condition="u.f_apply_date <= '{}'">
56
- </datepicker>
57
- </div>
58
- </div>
59
- <div class="row form-group text-right" style="">
60
- <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
61
- <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
62
- <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
63
- </div>
64
- </div>
65
- </criteria>
66
-
67
- <list :model="model" partial='list'>
68
- <div partial class="auto app-text panel">
69
- <div class="panel-body panel-self">
70
- <div class="col-xs-12">
71
- <p class="col-xs-3 text-left font"><b>工程名称:</b></p>
72
- <p class="col-xs-9 text-left input-font">{{ row.f_address_name }}</p>
73
- </div>
74
- <div class="col-xs-12">
75
- <p class="col-xs-3 text-left font"><b>片区:</b></p>
76
- <p class="col-xs-9 text-left input-font">{{ row.f_area }}</p>
77
- </div>
78
- <div class="col-xs-12">
79
- <p class="col-xs-3 text-left font"><b>管线建设编号:</b></p>
80
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
81
- </div>
82
- <div class="col-xs-12">
83
- <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
84
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
85
- </div>
86
- <div class="col-xs-12">
87
- <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
88
- <p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
89
- </div>
90
- <div class="col-xs-12">
91
- <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
92
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
93
- </div>
94
- <div class="col-xs-12" style="color: red">
95
- <p class="col-xs-3 text-left font"><b>施工备注:</b></p>
96
- <p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
97
- </div>
98
-
99
- <div class="col-xs-12 text-right">
100
- <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
101
- </div>
102
- </div>
103
- </div>
104
- </list>
105
- </criteria-paged>
106
- </div>
107
- </template>
108
- <script>
109
- import Vue from 'vue'
110
- import { PagedList, HttpResetClass } from 'vue-client'
111
- import {isEmpty} from '../../../Util'
112
- export default {
113
- title: '管线建设流程',
114
- props: ['defname', 'f_lat', 'f_lng', 'usertype'],
115
- data () {
116
- return {
117
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getGuanXianApply`, 20, {
118
- data: {
119
- userid: Vue.user.id,
120
- f_filiale: "榆林."+Vue.user.orgs
121
- }
122
- }),
123
- criteriaShow: false,
124
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
125
- defnames: isEmpty(this.$appdata.getParam('管线建设环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('管线建设环节')], // 流程节点
126
- applyNatures: [{label: '全部', value: ''}], // 报建性质
127
- areaList: [],
128
- showSupervisory: true
129
- }
130
- },
131
- ready () {
132
- this.getArea()
133
- this.search()
134
- },
135
- methods: {
136
- refresh () {
137
- this.search()
138
- this.$dispatch('refreshDot')
139
- },
140
- openAmap (selectdata) {
141
- HostApp.openThirdPartyMap({
142
- lon: selectdata.f_lng,
143
- lat: selectdata.f_lat,
144
- address: selectdata.f_order_address
145
- })
146
- },
147
- dialNumber (phone) {
148
- this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
149
- if (res === 'confirm') {
150
- this.$androidUtil.makeAPhoneCall(phone)
151
- }
152
- })
153
- },
154
- clear () {
155
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
156
- this.$refs.cp.$refs.cri.model[key] = null
157
- })
158
- },
159
- // 查询
160
- search () {
161
- this.$refs.cp.$refs.cri.search()
162
- this.criteriaShow = false
163
- },
164
- searchCondition (args) {
165
- if (this.defname === '施工信息'){
166
- args.condition = args.condition + ` and act.defname = '管线建设施工' and (f_construction_unit = '${Vue.user.id}'
167
- or f_check_operator_id = '${Vue.user.id}' or f_engineering_operator_id = '${Vue.user.id}'
168
- or f_supervisor_operator_id = '${Vue.user.id}' or f_supervisor_operator = '${Vue.user.id}'
169
- or f_construct_operator_id = '${Vue.user.id}')`
170
- } else {
171
- args.condition += `and act.defname = '${this.defname}'`
172
- }
173
- if (this.usertype){
174
- args.condition += `and u.f_apply_type = '${this.usertype}'`
175
- }
176
-
177
- console.log("args.condition",args.condition)
178
- this.model.search(args.condition, args.model)
179
- },
180
- click (row) {
181
- if (this.defname === '施工信息'){
182
- row.defname = '施工信息'
183
- }
184
- let _this = this
185
- this.$dispatch('gotoson', {
186
- _this: _this,
187
- title: row.defname,
188
- safe: true
189
- })
190
- this.$goto('app-service-control', {selectdata: row}, 'self', _this.refresh)
191
- },
192
- applyTypeChange () {
193
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
194
- let http = new HttpResetClass()
195
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
196
- // http.load('POST', 'rs/logic/getDefnameByType', {
197
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
198
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
199
- this.defnames = [{label: '全部', value: ''}, ...res.data]
200
-
201
- 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}性质`)]
202
- })
203
- } else {
204
- this.defnames = [{label: '全部', value: ''}]
205
-
206
- this.applyNatures = [{label: '全部', value: ''}]
207
- }
208
- },
209
- // 获取小区
210
- async getArea () {
211
- let data = {
212
- tablename: 't_area_address',
213
- condition: `f_filiale like '%${Vue.user.f_filiale}%' and f_area_status = '启用'`
214
- }
215
- let http = new HttpResetClass()
216
- let res = await http.load(
217
- 'POST',
218
- `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
219
- {data: data},
220
- {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
221
- )
222
- this.areaList = res.data.map(item => {
223
- return {
224
- label: item.f_residential_area,
225
- value: item.f_residential_area
226
- }
227
- })
228
- },
229
- changeSearch(){
230
- this.showSupervisory = !this.showSupervisory
231
- this.search()
232
- },
233
- },
234
- events: {
235
- 'loadPage' () {
236
- this.selectdata = {}
237
- // 关闭详细
238
- this.showtotal = false
239
- // 显示列表数据
240
- this.showData = true
241
- // 显示分页
242
- this.$refs.query.$refs.cp.pager = true
243
- // 调用查询
244
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
245
- }
246
- },
247
- watch: {
248
- // 通过计算属性同时监听多个值
249
- 'changeData' () {
250
- if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
251
- this.search()
252
- }
253
- }
254
- },
255
- computed: {
256
- changeData () {
257
- const {f_lat, f_lng} = this
258
- return {
259
- f_lat,
260
- f_lng
261
- }
262
- }
263
- }
264
- }
265
- </script>
266
- <style scoped>
267
- .panel-self{
268
- border-radius: 10px;
269
- border:1px solid #499EDF;
270
- background-color: #F8F8F8;
271
- }
272
- .font{
273
- font: 15px PingFang-SC-Medium;
274
- color: #666666;
275
- }
276
-
277
- .button_shrink_top {
278
- width: 34px;
279
- height: 34px;
280
- border: solid 1px #6aa6e2;
281
- background-size: 100%;
282
- background-image: url("../../../../../static/newStyle/stretch_top.png")
283
- }
284
-
285
- .button_shrink_bottom {
286
- width: 34px;
287
- height: 34px;
288
- border: solid 1px #6aa6e2;
289
- background-size: 100%;
290
- background-image: url("../../../../../static/newStyle/stretch_bottom.png")
291
- }
292
- </style>
293
- <style lang="less">
294
- .app-input {
295
- label {
296
- float: left;
297
- }
298
- .select {
299
- button {
300
- border: none;
301
- outline: none;
302
- text-align: left;
303
- .btn-placeholder {
304
- color: #ACA899
305
- }
306
- }
307
- }
308
- .datepicker {
309
- .form-control:focus {
310
- border: none!important;
311
- outline: none!important;
312
- -webkit-box-shadow: none;
313
- box-shadow: none;
314
- }
315
- }
316
- }
317
- </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" v-if="$parent.$parent.criteriaShow">
7
+ <label class="">管线编号:</label>
8
+ <div class="col-xs-8" >
9
+ <input class="" v-model=model.f_apply_num condition="u.f_apply_num 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_address condition="u.f_address_name 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
+ <v-select
22
+ width="100%"
23
+ v-model="model.defname"
24
+ placeholder='办理环节'
25
+ condition="act.defname = '{}'"
26
+ :value.sync="model.defname"
27
+ :options='$parent.$parent.defnames'
28
+ class="select select_list"
29
+ :value-single="true"
30
+ close-on-select ></v-select>
31
+ </div>
32
+ </div>
33
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
34
+ <label class="">开始时间:</label>
35
+ <div class="col-xs-8" >
36
+ <datepicker id="startDate" placeholder="开始日期"
37
+ style="width: 100%!important;"
38
+ v-model="model.startDate"
39
+ :value.sync="model.startDate"
40
+ :format="'yyyy-MM-dd 00:00:00'"
41
+ :show-reset-button="true"
42
+ condition="u.f_apply_date >= '{}'">
43
+ </datepicker>
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
+ <datepicker id="endDate" placeholder="结束日期"
50
+ style="width: 100%!important;"
51
+ v-model="model.endDate"
52
+ :value.sync="model.endDate"
53
+ :format="'yyyy-MM-dd 23:59:59'"
54
+ :show-reset-button="true"
55
+ condition="u.f_apply_date <= '{}'">
56
+ </datepicker>
57
+ </div>
58
+ </div>
59
+ <div class="row form-group text-right" style="">
60
+ <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
61
+ <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
62
+ <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
63
+ </div>
64
+ </div>
65
+ </criteria>
66
+
67
+ <list :model="model" partial='list'>
68
+ <div partial class="auto app-text panel">
69
+ <div class="panel-body panel-self">
70
+ <div class="col-xs-12">
71
+ <p class="col-xs-3 text-left font"><b>工程名称:</b></p>
72
+ <p class="col-xs-9 text-left input-font">{{ row.f_address_name }}</p>
73
+ </div>
74
+ <div class="col-xs-12">
75
+ <p class="col-xs-3 text-left font"><b>片区:</b></p>
76
+ <p class="col-xs-9 text-left input-font">{{ row.f_area }}</p>
77
+ </div>
78
+ <div class="col-xs-12">
79
+ <p class="col-xs-3 text-left font"><b>管线建设编号:</b></p>
80
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
81
+ </div>
82
+ <div class="col-xs-12">
83
+ <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
84
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
85
+ </div>
86
+ <div class="col-xs-12">
87
+ <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
88
+ <p class="col-xs-9 text-left input-font">{{ row.defname }}</p>
89
+ </div>
90
+ <div class="col-xs-12">
91
+ <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
92
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
93
+ </div>
94
+ <div class="col-xs-12" style="color: red">
95
+ <p class="col-xs-3 text-left font"><b>施工备注:</b></p>
96
+ <p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
97
+ </div>
98
+
99
+ <div class="col-xs-12 text-right">
100
+ <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </list>
105
+ </criteria-paged>
106
+ </div>
107
+ </template>
108
+ <script>
109
+ import Vue from 'vue'
110
+ import { PagedList, HttpResetClass } from 'vue-client'
111
+ import {isEmpty} from '../../../Util'
112
+ export default {
113
+ title: '管线建设流程',
114
+ props: ['defname', 'f_lat', 'f_lng', 'usertype'],
115
+ data () {
116
+ return {
117
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getGuanXianApply`, 20, {
118
+ data: {
119
+ userid: Vue.user.id,
120
+ f_filiale: "榆林."+Vue.user.orgs
121
+ }
122
+ }),
123
+ criteriaShow: false,
124
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
125
+ defnames: isEmpty(this.$appdata.getParam('管线建设环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('管线建设环节')], // 流程节点
126
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
127
+ areaList: [],
128
+ showSupervisory: true
129
+ }
130
+ },
131
+ ready () {
132
+ this.getArea()
133
+ this.search()
134
+ },
135
+ methods: {
136
+ refresh () {
137
+ this.search()
138
+ this.$dispatch('refreshDot')
139
+ },
140
+ openAmap (selectdata) {
141
+ HostApp.openThirdPartyMap({
142
+ lon: selectdata.f_lng,
143
+ lat: selectdata.f_lat,
144
+ address: selectdata.f_order_address
145
+ })
146
+ },
147
+ dialNumber (phone) {
148
+ this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
149
+ if (res === 'confirm') {
150
+ this.$androidUtil.makeAPhoneCall(phone)
151
+ }
152
+ })
153
+ },
154
+ clear () {
155
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
156
+ this.$refs.cp.$refs.cri.model[key] = null
157
+ })
158
+ },
159
+ // 查询
160
+ search () {
161
+ this.$refs.cp.$refs.cri.search()
162
+ this.criteriaShow = false
163
+ },
164
+ searchCondition (args) {
165
+ if (this.defname === '施工信息'){
166
+ args.condition = args.condition + ` and act.defname = '管线建设施工' and (f_construction_unit = '${Vue.user.id}'
167
+ or f_check_operator_id = '${Vue.user.id}' or f_engineering_operator_id = '${Vue.user.id}'
168
+ or f_supervisor_operator_id = '${Vue.user.id}' or f_supervisor_operator = '${Vue.user.id}'
169
+ or f_construct_operator_id = '${Vue.user.id}')`
170
+ } else {
171
+ args.condition += `and act.defname = '${this.defname}'`
172
+ }
173
+ if (this.usertype){
174
+ args.condition += `and u.f_apply_type = '${this.usertype}'`
175
+ }
176
+
177
+ console.log("args.condition",args.condition)
178
+ this.model.search(args.condition, args.model)
179
+ },
180
+ click (row) {
181
+ if (this.defname === '施工信息'){
182
+ row.defname = '施工信息'
183
+ }
184
+ let _this = this
185
+ this.$dispatch('gotoson', {
186
+ _this: _this,
187
+ title: row.defname,
188
+ safe: true
189
+ })
190
+ this.$goto('app-service-control', {selectdata: row}, 'self', _this.refresh)
191
+ },
192
+ applyTypeChange () {
193
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
194
+ let http = new HttpResetClass()
195
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
196
+ // http.load('POST', 'rs/logic/getDefnameByType', {
197
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
198
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
199
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
200
+
201
+ 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}性质`)]
202
+ })
203
+ } else {
204
+ this.defnames = [{label: '全部', value: ''}]
205
+
206
+ this.applyNatures = [{label: '全部', value: ''}]
207
+ }
208
+ },
209
+ // 获取小区
210
+ async getArea () {
211
+ let data = {
212
+ tablename: 't_area_address',
213
+ condition: `f_filiale like '%${Vue.user.f_filiale}%' and f_area_status = '启用'`
214
+ }
215
+ let http = new HttpResetClass()
216
+ let res = await http.load(
217
+ 'POST',
218
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
219
+ {data: data},
220
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
221
+ )
222
+ this.areaList = res.data.map(item => {
223
+ return {
224
+ label: item.f_residential_area,
225
+ value: item.f_residential_area
226
+ }
227
+ })
228
+ },
229
+ changeSearch(){
230
+ this.showSupervisory = !this.showSupervisory
231
+ this.search()
232
+ },
233
+ },
234
+ events: {
235
+ 'loadPage' () {
236
+ this.selectdata = {}
237
+ // 关闭详细
238
+ this.showtotal = false
239
+ // 显示列表数据
240
+ this.showData = true
241
+ // 显示分页
242
+ this.$refs.query.$refs.cp.pager = true
243
+ // 调用查询
244
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
245
+ }
246
+ },
247
+ watch: {
248
+ // 通过计算属性同时监听多个值
249
+ 'changeData' () {
250
+ if (!isEmpty(this.f_lat) && !isEmpty(this.f_lng)) {
251
+ this.search()
252
+ }
253
+ }
254
+ },
255
+ computed: {
256
+ changeData () {
257
+ const {f_lat, f_lng} = this
258
+ return {
259
+ f_lat,
260
+ f_lng
261
+ }
262
+ }
263
+ }
264
+ }
265
+ </script>
266
+ <style scoped>
267
+ .panel-self{
268
+ border-radius: 10px;
269
+ border:1px solid #499EDF;
270
+ background-color: #F8F8F8;
271
+ }
272
+ .font{
273
+ font: 15px PingFang-SC-Medium;
274
+ color: #666666;
275
+ }
276
+
277
+ .button_shrink_top {
278
+ width: 34px;
279
+ height: 34px;
280
+ border: solid 1px #6aa6e2;
281
+ background-size: 100%;
282
+ background-image: url("../../../../../static/newStyle/stretch_top.png")
283
+ }
284
+
285
+ .button_shrink_bottom {
286
+ width: 34px;
287
+ height: 34px;
288
+ border: solid 1px #6aa6e2;
289
+ background-size: 100%;
290
+ background-image: url("../../../../../static/newStyle/stretch_bottom.png")
291
+ }
292
+ </style>
293
+ <style lang="less">
294
+ .app-input {
295
+ label {
296
+ float: left;
297
+ }
298
+ .select {
299
+ button {
300
+ border: none;
301
+ outline: none;
302
+ text-align: left;
303
+ .btn-placeholder {
304
+ color: #ACA899
305
+ }
306
+ }
307
+ }
308
+ .datepicker {
309
+ .form-control:focus {
310
+ border: none!important;
311
+ outline: none!important;
312
+ -webkit-box-shadow: none;
313
+ box-shadow: none;
314
+ }
315
+ }
316
+ }
317
+ </style>