apply-clients 3.4.89-38 → 3.4.89-39

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 +33 -25
  2. package/package.json +1 -1
  3. package/src/App.vue +6 -6
  4. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  5. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  6. package/src/components/android/Process/AppServiceControl.vue +1734 -1734
  7. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  8. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  9. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  10. package/src/components/product/Install/ContractCharge.vue +12 -8
  11. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  12. package/src/components/product/Material/Materiallist.vue +74 -74
  13. package/src/components/product/Material/Materialmanger.vue +58 -58
  14. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  15. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  16. package/src/components/product/Process/ShowBackReason.vue +40 -40
  17. package/src/components/product/ServiceView.vue +1004 -1004
  18. package/src/components/product/Stop/StopApplyList.vue +278 -278
  19. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  20. package/src/filiale/hongda/pc/ApplyDetailsList.vue +276 -276
  21. package/src/filiale/hongda/pc/Materiallist.vue +122 -122
  22. package/src/filiale/hongda/pc/Materialuser.vue +246 -246
  23. package/src/filiale/hongda/pc/ServiceControl.vue +2050 -2050
  24. package/src/filiale/hongda/pc/ServiceView.vue +1102 -1102
  25. package/src/filiale/hongda/pc/SupervisoryList.vue +409 -409
  26. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  27. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  28. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  29. package/src/filiale/hongda/pc/printinstall.vue +97 -97
  30. package/src/filiale/hongda/pc/printrefit.vue +97 -97
  31. package/src/filiale/hongda/pc.js +35 -35
  32. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  33. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  34. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  35. package/src/filiale/linzhou/pc.js +10 -10
  36. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  37. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  38. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  39. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  40. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  41. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  42. package/src/filiale/qianneng/android.js +12 -12
  43. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  44. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  45. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  46. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  47. package/src/filiale/qianneng/pc/ServiceView.vue +1121 -1121
  48. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  49. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  50. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  51. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  52. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  53. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  54. package/src/filiale/qianneng/pc.js +26 -26
  55. package/src/filiale/yangchunboneng/android.js +3 -3
  56. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +466 -466
  57. package/src/filiale/yangchunboneng/pc/InstallationDetails.vue +610 -610
  58. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1790 -1788
  59. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +2 -1
  60. package/src/filiale/yangchunboneng/pc.js +12 -12
  61. package/src/main.js +1 -1
@@ -1,312 +1,312 @@
1
- <template>
2
- <div>
3
- <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
4
- <tab header='任务列表'>
5
- <div class="p-10">
6
- <criteria-paged :model="model" v-ref:cp>
7
- <criteria partial='criteria' @condition-changed='$parent.$parent.$parent.searchCondition' v-ref:cri>
8
- <div partial class="auto">
9
- <div class="row form-group app-input">
10
- <label class="">表&emsp;&emsp;号:</label>
11
- <div class="col-xs-8" >
12
- <input class="col-xs-11" type="text" v-model="model.f_meternumber" condition="uf.f_meternumber like '%{}%'">
13
- <div class="col-xs-1">
14
- <svg @click="$parent.$parent.$parent.$parent.scanCode()" style="width: 25px;height: 25px;margin-right: 10px" t="1636095770822" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2457" width="64" height="64">
15
- <path d="M928.016126 543.908618 95.983874 543.908618c-17.717453 0-31.994625-14.277171-31.994625-31.994625S78.26642 479.919368 95.983874 479.919368l832.032253 0c17.717453 0 31.994625 14.277171 31.994625 31.994625S945.73358 543.908618 928.016126 543.908618z" p-id="2458"></path>
16
- <path d="M832.032253 928.016126 639.892491 928.016126c-17.717453 0-31.994625-14.277171-31.994625-31.994625s14.277171-31.994625 31.994625-31.994625l191.967747 0c17.717453 0 31.994625-14.277171 31.994625-31.994625l0-159.973123c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 159.973123C928.016126 884.840585 884.840585 928.016126 832.032253 928.016126z" p-id="2459"></path>
17
- <path d="M351.94087 928.016126l-159.973123 0c-52.980346 0-95.983874-43.003528-95.983874-95.983874l0-159.973123c0-17.717453 14.277171-31.994625 31.994625-31.994625S159.973123 654.341676 159.973123 672.05913l0 159.973123c0 17.717453 14.449185 31.994625 31.994625 31.994625l159.973123 0c17.717453 0 31.994625 14.277171 31.994625 31.994625C383.935495 913.738955 369.658324 928.016126 351.94087 928.016126z" p-id="2460"></path>
18
- <path d="M127.978498 383.935495c-17.717453 0-31.994625-14.277171-31.994625-31.994625l0-159.973123c0-52.980346 43.003528-95.983874 95.983874-95.983874l159.973123 0c17.717453 0 31.994625 14.277171 31.994625 31.994625S369.658324 159.973123 351.94087 159.973123l-159.973123 0c-17.545439 0-31.994625 14.449185-31.994625 31.994625l0 159.973123C159.973123 369.658324 145.695952 383.935495 127.978498 383.935495z" p-id="2461"></path>
19
- <path d="M896.021502 383.935495c-17.717453 0-31.994625-14.277171-31.994625-31.994625l0-159.973123c0-17.545439-14.277171-31.994625-31.994625-31.994625L639.892491 159.973123c-17.717453 0-31.994625-14.277171-31.994625-31.994625s14.277171-31.994625 31.994625-31.994625l191.967747 0c52.980346 0 95.983874 43.003528 95.983874 95.983874l0 159.973123C928.016126 369.658324 913.738955 383.935495 896.021502 383.935495z" p-id="2462"></path>
20
- </svg>
21
- </div>
22
- </div>
23
- </div>
24
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
25
- <label class="">客户名称:</label>
26
- <div class="col-xs-8" >
27
- <input class="" v-model=model.f_user_name condition="ui.f_user_name like '%{}%'" />
28
- </div>
29
- </div>
30
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
31
- <label class="">工程编号:</label>
32
- <div class="col-xs-8" >
33
- <input class="" v-model=model.f_applycode condition="ui.f_applycode like '%{}%'" />
34
- </div>
35
- </div>
36
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
37
- <label class="">联系电话:</label>
38
- <div class="col-xs-8" >
39
- <input class="" v-model=model.f_phone condition="ui.f_phone like '%{}%'" />
40
- </div>
41
- </div>
42
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
43
- <label class="">小&emsp;&emsp;区:</label>
44
- <div class="col-xs-8" >
45
- <v-select
46
- width="100%"
47
- v-model="model.f_residential_area"
48
- placeholder='小区'
49
- condition="ui.f_residential_area = '{}'"
50
- :value.sync="model.f_residential_area"
51
- :options='$parent.$parent.$parent.$parent.area'
52
- class="select select_list"
53
- :value-single="true"
54
- close-on-select ></v-select>
55
- </div>
56
- </div>
57
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
58
- <label class="">楼&emsp;&emsp;号:</label>
59
- <div class="col-xs-8" >
60
- <input class="" v-model=model.f_building condition="ui.f_building like '%{}%'" />
61
- </div>
62
- </div>
63
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
64
- <label class="">单&emsp;&emsp;元:</label>
65
- <div class="col-xs-8" >
66
- <input class="" v-model=model.f_unit condition="ui.f_unit like '%{}%'" />
67
- </div>
68
- </div>
69
- <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
70
- <label class="">门&nbsp;牌&nbsp;号:</label>
71
- <div class="col-xs-8" >
72
- <input class="" v-model=model.f_room condition="ui.f_room like '%{}%'" />
73
- </div>
74
- </div>
75
- <div class="row form-group text-right" style="">
76
- <button class="btn btn-primary" @click="$parent.$parent.$parent.$parent.changeState()">{{ $parent.$parent.$parent.$parent.shared_dispatch ? '个人' : '共享' }}</button>
77
- <button class="btn btn-primary" @click="$parent.$parent.$parent.$parent.search()">查询</button>
78
- <button class="btn btn-info" @click="$parent.$parent.$parent.$parent.clear()">清空</button>
79
- <button class="btn" :class="{'button_shrink_top':$parent.$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.$parent.criteriaShow}" @click="$parent.$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.$parent.criteriaShow"></button>
80
- </div>
81
- </div>
82
- </criteria>
83
-
84
- <list :model="model" partial='list'>
85
- <div partial class="auto app-text panel">
86
- <div class="panel-body panel-self">
87
- <div class="col-xs-12">
88
- <p class="col-xs-3 text-left font"><b>用户编号:</b></p>
89
- <p class="col-xs-9 text-left input-font">{{ row.f_userinfo_id }}</p>
90
- </div>
91
- <div class="col-xs-12">
92
- <p class="col-xs-3 text-left font"><b>用户名称:</b></p>
93
- <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
94
- </div>
95
- <div class="col-xs-12">
96
- <p class="col-xs-3 text-left font"><b>电&emsp;&emsp;话:</b></p>
97
- <p class="col-xs-9 text-left input-font">
98
- {{ row.f_user_phone }}&ensp;
99
- <svg v-if="row.f_user_phone" @click.prevent="$parent.$parent.$parent.$parent.$parent.dialNumber(row.f_user_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>
100
- </p>
101
- </div>
102
- <div class="col-xs-12">
103
- <p class="col-xs-3 text-left font"><b>地&emsp;&emsp;址:</b></p>
104
- <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
105
- </div>
106
- <div class="col-xs-12">
107
- <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
108
- <p class="col-xs-9 text-left input-font">
109
- {{ row.f_apply_type }}
110
- </p>
111
- </div>
112
- <div class="col-xs-12">
113
- <p class="col-xs-3 text-left font"><b>派单时间:</b></p>
114
- <p class="col-xs-9 text-left input-font">{{ row.f_date }}</p>
115
- </div>
116
- <div class="col-xs-12 text-right">
117
- <button class="btn btn-info" @click="$parent.$parent.$parent.$parent.$parent.click(row)">处理</button>
118
- </div>
119
- </div>
120
- </div>
121
- </list>
122
- </criteria-paged>
123
- </div>
124
- </tab>
125
- </tabset>
126
- </div>
127
- </template>
128
- <script>
129
- import {HttpResetClass, PagedList} from 'vue-client'
130
- import Vue from 'vue'
131
- import {isEmpty} from '../../Util'
132
-
133
- export default {
134
- title: '通气点火',
135
- data () {
136
- return {
137
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getWaitIgnitionTaskApp`, 20, null),
138
- // model: new PagedList(`rs/sql/getWaitIgnitionTask`, 20, null),
139
- criteriaShow: false,
140
- active: 0,
141
- f_lat: null,
142
- f_lng: null,
143
- shared_dispatch: false,
144
- area: []
145
- }
146
- },
147
- ready () {
148
- this.refresh()
149
- },
150
- methods: {
151
- refresh () {
152
- this.getArea()
153
- this.search()
154
- },
155
- click (row) {
156
- console.log('----------------------++++++++++++++++++',row.f_blobid)
157
- let _this = this
158
- this.$dispatch('gotoson', {
159
- _this: _this,
160
- title: '通气点火',
161
- safe: true
162
- })
163
- row.defname = '通气点火'
164
- row.f_apply_type = '通气点火'
165
- // row.f_process_id = row.f_blobid
166
- console.log('----------------------++++++++++++++++++',row.f_process_id)
167
- this.$goto('app-ignition-handle', {selectdata: row}, 'self', _this.refresh)
168
- },
169
- dialNumber (tel) {
170
- this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
171
- if (res === 'confirm') {
172
- this.$androidUtil.makeAPhoneCall(tel)
173
- }
174
- })
175
- },
176
- searchCondition (args) {
177
- args.condition += `and ir.f_ignition_operator_id = '${Vue.user.id}' and ir.f_state = '正在进行'`
178
- // args.condition += `and ir.f_ignition_operator_id = '${this.$login.f.id}' and ir.f_state = '正在进行'`
179
-
180
- if (this.shared_dispatch) {
181
- // args.condition = args.condition.replace(`ir.f_ignition_operator_id = \'${this.$login.f.id}\'`, 'ir.f_shared_dispatch = \'是\'');
182
- args.condition = args.condition.replace(`ir.f_ignition_operator_id = \'${Vue.user.id}\'`, 'ir.f_shared_dispatch = \'是\'');
183
- }
184
- this.model.search(args.condition, args.model)
185
-
186
- },
187
- // 查询
188
- search () {
189
- this.$refs.cp.$refs.cri.search()
190
- },
191
- scanCode () {
192
- console.log('===============扫码===================')
193
- HostApp.__this__=this,
194
- HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
195
-
196
- this.getCode()
197
- },
198
- getCode() {
199
- let code = HostApp.getCode().data;
200
- // let code = '012199312345'
201
- console.log('===========扫码结果=============',code)
202
-
203
- // Vue.set(this.model, 'f_meternumber', code)
204
- this.$refs.cp.$refs.cri.model.f_meternumber = code
205
- console.log('===========扫码结果=============',this.model.f_meternumber)
206
- },
207
- clear () {
208
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
209
- this.$refs.cp.$refs.cri.model[key] = null
210
- })
211
- },
212
- changeState(){
213
- this.shared_dispatch = !this.shared_dispatch
214
- this.search()
215
- },
216
- // 获取小区
217
- async getArea () {
218
- let data = {
219
- tablename: 't_area_address',
220
- condition: `f_filiale = '${Vue.user.orgid}' and f_area_status = '启用'`
221
- // condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
222
- }
223
- let http = new HttpResetClass()
224
- let res = await http.load(
225
- 'POST',
226
- // `rs/sql/applySingleTable`,
227
- `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,
228
- {data: data},
229
- {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
230
- )
231
- this.area = res.data.map(item => {
232
- return {
233
- label: item.f_residential_area,
234
- value: item.id
235
- }
236
- })
237
- }
238
- },
239
- events: {
240
- },
241
- watch: {
242
- },
243
- computed: {
244
- }
245
- }
246
- </script>
247
- <style scoped>
248
- .tip{
249
- position: absolute;
250
- z-index: 1000;
251
- color: red;
252
- font-size: 24px;
253
- right: 30px;
254
- padding-top: 20px;
255
- }
256
- .panel-self{
257
- border-radius: 10px;
258
- border:1px solid #499EDF;
259
- background-color: #F8F8F8;
260
- }
261
- .font{
262
- font: 15px PingFang-SC-Medium;
263
- color: #666666;
264
- }
265
-
266
- .button_shrink_top {
267
- width: 34px;
268
- height: 34px;
269
- border: solid 1px #6aa6e2;
270
- background-size: 100%;
271
- background-image: url("../../../../static/newStyle/stretch_top.png")
272
- }
273
-
274
- .button_shrink_bottom {
275
- width: 34px;
276
- height: 34px;
277
- border: solid 1px #6aa6e2;
278
- background-size: 100%;
279
- background-image: url("../../../../static/newStyle/stretch_bottom.png")
280
- }
281
- </style>
282
- <style lang="less">
283
- .nav-apply-tab {
284
- li {
285
- width: 50%;
286
- text-align: center;
287
- }
288
- }
289
- .app-input {
290
- label {
291
- float: left;
292
- }
293
- .select {
294
- button {
295
- border: none;
296
- outline: none;
297
- text-align: left;
298
- .btn-placeholder {
299
- color: #ACA899
300
- }
301
- }
302
- }
303
- .datepicker {
304
- .form-control:focus {
305
- border: none!important;
306
- outline: none!important;
307
- -webkit-box-shadow: none;
308
- box-shadow: none;
309
- }
310
- }
311
- }
312
- </style>
1
+ <template>
2
+ <div>
3
+ <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
4
+ <tab header='任务列表'>
5
+ <div class="p-10">
6
+ <criteria-paged :model="model" v-ref:cp>
7
+ <criteria partial='criteria' @condition-changed='$parent.$parent.$parent.searchCondition' v-ref:cri>
8
+ <div partial class="auto">
9
+ <div class="row form-group app-input">
10
+ <label class="">表&emsp;&emsp;号:</label>
11
+ <div class="col-xs-8" >
12
+ <input class="col-xs-11" type="text" v-model="model.f_meternumber" condition="uf.f_meternumber like '%{}%'">
13
+ <div class="col-xs-1">
14
+ <svg @click="$parent.$parent.$parent.$parent.scanCode()" style="width: 25px;height: 25px;margin-right: 10px" t="1636095770822" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2457" width="64" height="64">
15
+ <path d="M928.016126 543.908618 95.983874 543.908618c-17.717453 0-31.994625-14.277171-31.994625-31.994625S78.26642 479.919368 95.983874 479.919368l832.032253 0c17.717453 0 31.994625 14.277171 31.994625 31.994625S945.73358 543.908618 928.016126 543.908618z" p-id="2458"></path>
16
+ <path d="M832.032253 928.016126 639.892491 928.016126c-17.717453 0-31.994625-14.277171-31.994625-31.994625s14.277171-31.994625 31.994625-31.994625l191.967747 0c17.717453 0 31.994625-14.277171 31.994625-31.994625l0-159.973123c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 159.973123C928.016126 884.840585 884.840585 928.016126 832.032253 928.016126z" p-id="2459"></path>
17
+ <path d="M351.94087 928.016126l-159.973123 0c-52.980346 0-95.983874-43.003528-95.983874-95.983874l0-159.973123c0-17.717453 14.277171-31.994625 31.994625-31.994625S159.973123 654.341676 159.973123 672.05913l0 159.973123c0 17.717453 14.449185 31.994625 31.994625 31.994625l159.973123 0c17.717453 0 31.994625 14.277171 31.994625 31.994625C383.935495 913.738955 369.658324 928.016126 351.94087 928.016126z" p-id="2460"></path>
18
+ <path d="M127.978498 383.935495c-17.717453 0-31.994625-14.277171-31.994625-31.994625l0-159.973123c0-52.980346 43.003528-95.983874 95.983874-95.983874l159.973123 0c17.717453 0 31.994625 14.277171 31.994625 31.994625S369.658324 159.973123 351.94087 159.973123l-159.973123 0c-17.545439 0-31.994625 14.449185-31.994625 31.994625l0 159.973123C159.973123 369.658324 145.695952 383.935495 127.978498 383.935495z" p-id="2461"></path>
19
+ <path d="M896.021502 383.935495c-17.717453 0-31.994625-14.277171-31.994625-31.994625l0-159.973123c0-17.545439-14.277171-31.994625-31.994625-31.994625L639.892491 159.973123c-17.717453 0-31.994625-14.277171-31.994625-31.994625s14.277171-31.994625 31.994625-31.994625l191.967747 0c52.980346 0 95.983874 43.003528 95.983874 95.983874l0 159.973123C928.016126 369.658324 913.738955 383.935495 896.021502 383.935495z" p-id="2462"></path>
20
+ </svg>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
25
+ <label class="">客户名称:</label>
26
+ <div class="col-xs-8" >
27
+ <input class="" v-model=model.f_user_name condition="ui.f_user_name like '%{}%'" />
28
+ </div>
29
+ </div>
30
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
31
+ <label class="">工程编号:</label>
32
+ <div class="col-xs-8" >
33
+ <input class="" v-model=model.f_applycode condition="ui.f_applycode like '%{}%'" />
34
+ </div>
35
+ </div>
36
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
37
+ <label class="">联系电话:</label>
38
+ <div class="col-xs-8" >
39
+ <input class="" v-model=model.f_phone condition="ui.f_phone like '%{}%'" />
40
+ </div>
41
+ </div>
42
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
43
+ <label class="">小&emsp;&emsp;区:</label>
44
+ <div class="col-xs-8" >
45
+ <v-select
46
+ width="100%"
47
+ v-model="model.f_residential_area"
48
+ placeholder='小区'
49
+ condition="ui.f_residential_area = '{}'"
50
+ :value.sync="model.f_residential_area"
51
+ :options='$parent.$parent.$parent.$parent.area'
52
+ class="select select_list"
53
+ :value-single="true"
54
+ close-on-select ></v-select>
55
+ </div>
56
+ </div>
57
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
58
+ <label class="">楼&emsp;&emsp;号:</label>
59
+ <div class="col-xs-8" >
60
+ <input class="" v-model=model.f_building condition="ui.f_building like '%{}%'" />
61
+ </div>
62
+ </div>
63
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
64
+ <label class="">单&emsp;&emsp;元:</label>
65
+ <div class="col-xs-8" >
66
+ <input class="" v-model=model.f_unit condition="ui.f_unit like '%{}%'" />
67
+ </div>
68
+ </div>
69
+ <div class="row form-group app-input" v-if="$parent.$parent.$parent.$parent.criteriaShow">
70
+ <label class="">门&nbsp;牌&nbsp;号:</label>
71
+ <div class="col-xs-8" >
72
+ <input class="" v-model=model.f_room condition="ui.f_room like '%{}%'" />
73
+ </div>
74
+ </div>
75
+ <div class="row form-group text-right" style="">
76
+ <button class="btn btn-primary" @click="$parent.$parent.$parent.$parent.changeState()">{{ $parent.$parent.$parent.$parent.shared_dispatch ? '个人' : '共享' }}</button>
77
+ <button class="btn btn-primary" @click="$parent.$parent.$parent.$parent.search()">查询</button>
78
+ <button class="btn btn-info" @click="$parent.$parent.$parent.$parent.clear()">清空</button>
79
+ <button class="btn" :class="{'button_shrink_top':$parent.$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.$parent.criteriaShow}" @click="$parent.$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.$parent.criteriaShow"></button>
80
+ </div>
81
+ </div>
82
+ </criteria>
83
+
84
+ <list :model="model" partial='list'>
85
+ <div partial class="auto app-text panel">
86
+ <div class="panel-body panel-self">
87
+ <div class="col-xs-12">
88
+ <p class="col-xs-3 text-left font"><b>用户编号:</b></p>
89
+ <p class="col-xs-9 text-left input-font">{{ row.f_userinfo_id }}</p>
90
+ </div>
91
+ <div class="col-xs-12">
92
+ <p class="col-xs-3 text-left font"><b>用户名称:</b></p>
93
+ <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
94
+ </div>
95
+ <div class="col-xs-12">
96
+ <p class="col-xs-3 text-left font"><b>电&emsp;&emsp;话:</b></p>
97
+ <p class="col-xs-9 text-left input-font">
98
+ {{ row.f_user_phone }}&ensp;
99
+ <svg v-if="row.f_user_phone" @click.prevent="$parent.$parent.$parent.$parent.$parent.dialNumber(row.f_user_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>
100
+ </p>
101
+ </div>
102
+ <div class="col-xs-12">
103
+ <p class="col-xs-3 text-left font"><b>地&emsp;&emsp;址:</b></p>
104
+ <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
105
+ </div>
106
+ <div class="col-xs-12">
107
+ <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
108
+ <p class="col-xs-9 text-left input-font">
109
+ {{ row.f_apply_type }}
110
+ </p>
111
+ </div>
112
+ <div class="col-xs-12">
113
+ <p class="col-xs-3 text-left font"><b>派单时间:</b></p>
114
+ <p class="col-xs-9 text-left input-font">{{ row.f_date }}</p>
115
+ </div>
116
+ <div class="col-xs-12 text-right">
117
+ <button class="btn btn-info" @click="$parent.$parent.$parent.$parent.$parent.click(row)">处理</button>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </list>
122
+ </criteria-paged>
123
+ </div>
124
+ </tab>
125
+ </tabset>
126
+ </div>
127
+ </template>
128
+ <script>
129
+ import {HttpResetClass, PagedList} from 'vue-client'
130
+ import Vue from 'vue'
131
+ import {isEmpty} from '../../Util'
132
+
133
+ export default {
134
+ title: '通气点火',
135
+ data () {
136
+ return {
137
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getWaitIgnitionTaskApp`, 20, null),
138
+ // model: new PagedList(`rs/sql/getWaitIgnitionTask`, 20, null),
139
+ criteriaShow: false,
140
+ active: 0,
141
+ f_lat: null,
142
+ f_lng: null,
143
+ shared_dispatch: false,
144
+ area: []
145
+ }
146
+ },
147
+ ready () {
148
+ this.refresh()
149
+ },
150
+ methods: {
151
+ refresh () {
152
+ this.getArea()
153
+ this.search()
154
+ },
155
+ click (row) {
156
+ console.log('----------------------++++++++++++++++++',row.f_blobid)
157
+ let _this = this
158
+ this.$dispatch('gotoson', {
159
+ _this: _this,
160
+ title: '通气点火',
161
+ safe: true
162
+ })
163
+ row.defname = '通气点火'
164
+ row.f_apply_type = '通气点火'
165
+ // row.f_process_id = row.f_blobid
166
+ console.log('----------------------++++++++++++++++++',row.f_process_id)
167
+ this.$goto('app-ignition-handle', {selectdata: row}, 'self', _this.refresh)
168
+ },
169
+ dialNumber (tel) {
170
+ this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
171
+ if (res === 'confirm') {
172
+ this.$androidUtil.makeAPhoneCall(tel)
173
+ }
174
+ })
175
+ },
176
+ searchCondition (args) {
177
+ args.condition += `and ir.f_ignition_operator_id = '${Vue.user.id}' and ir.f_state = '正在进行'`
178
+ // args.condition += `and ir.f_ignition_operator_id = '${this.$login.f.id}' and ir.f_state = '正在进行'`
179
+
180
+ if (this.shared_dispatch) {
181
+ // args.condition = args.condition.replace(`ir.f_ignition_operator_id = \'${this.$login.f.id}\'`, 'ir.f_shared_dispatch = \'是\'');
182
+ args.condition = args.condition.replace(`ir.f_ignition_operator_id = \'${Vue.user.id}\'`, 'ir.f_shared_dispatch = \'是\'');
183
+ }
184
+ this.model.search(args.condition, args.model)
185
+
186
+ },
187
+ // 查询
188
+ search () {
189
+ this.$refs.cp.$refs.cri.search()
190
+ },
191
+ scanCode () {
192
+ console.log('===============扫码===================')
193
+ HostApp.__this__=this,
194
+ HostApp.scanCode({callback:"javascript:HostApp.__this__.getCode();"})
195
+
196
+ this.getCode()
197
+ },
198
+ getCode() {
199
+ let code = HostApp.getCode().data;
200
+ // let code = '012199312345'
201
+ console.log('===========扫码结果=============',code)
202
+
203
+ // Vue.set(this.model, 'f_meternumber', code)
204
+ this.$refs.cp.$refs.cri.model.f_meternumber = code
205
+ console.log('===========扫码结果=============',this.model.f_meternumber)
206
+ },
207
+ clear () {
208
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
209
+ this.$refs.cp.$refs.cri.model[key] = null
210
+ })
211
+ },
212
+ changeState(){
213
+ this.shared_dispatch = !this.shared_dispatch
214
+ this.search()
215
+ },
216
+ // 获取小区
217
+ async getArea () {
218
+ let data = {
219
+ tablename: 't_area_address',
220
+ condition: `f_filiale = '${Vue.user.orgid}' and f_area_status = '启用'`
221
+ // condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
222
+ }
223
+ let http = new HttpResetClass()
224
+ let res = await http.load(
225
+ 'POST',
226
+ // `rs/sql/applySingleTable`,
227
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,
228
+ {data: data},
229
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
230
+ )
231
+ this.area = res.data.map(item => {
232
+ return {
233
+ label: item.f_residential_area,
234
+ value: item.id
235
+ }
236
+ })
237
+ }
238
+ },
239
+ events: {
240
+ },
241
+ watch: {
242
+ },
243
+ computed: {
244
+ }
245
+ }
246
+ </script>
247
+ <style scoped>
248
+ .tip{
249
+ position: absolute;
250
+ z-index: 1000;
251
+ color: red;
252
+ font-size: 24px;
253
+ right: 30px;
254
+ padding-top: 20px;
255
+ }
256
+ .panel-self{
257
+ border-radius: 10px;
258
+ border:1px solid #499EDF;
259
+ background-color: #F8F8F8;
260
+ }
261
+ .font{
262
+ font: 15px PingFang-SC-Medium;
263
+ color: #666666;
264
+ }
265
+
266
+ .button_shrink_top {
267
+ width: 34px;
268
+ height: 34px;
269
+ border: solid 1px #6aa6e2;
270
+ background-size: 100%;
271
+ background-image: url("../../../../static/newStyle/stretch_top.png")
272
+ }
273
+
274
+ .button_shrink_bottom {
275
+ width: 34px;
276
+ height: 34px;
277
+ border: solid 1px #6aa6e2;
278
+ background-size: 100%;
279
+ background-image: url("../../../../static/newStyle/stretch_bottom.png")
280
+ }
281
+ </style>
282
+ <style lang="less">
283
+ .nav-apply-tab {
284
+ li {
285
+ width: 50%;
286
+ text-align: center;
287
+ }
288
+ }
289
+ .app-input {
290
+ label {
291
+ float: left;
292
+ }
293
+ .select {
294
+ button {
295
+ border: none;
296
+ outline: none;
297
+ text-align: left;
298
+ .btn-placeholder {
299
+ color: #ACA899
300
+ }
301
+ }
302
+ }
303
+ .datepicker {
304
+ .form-control:focus {
305
+ border: none!important;
306
+ outline: none!important;
307
+ -webkit-box-shadow: none;
308
+ box-shadow: none;
309
+ }
310
+ }
311
+ }
312
+ </style>