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,344 +1,344 @@
1
- <template>
2
- <div class="p-10">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' 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_contact condition="u.f_contact 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_phone condition="u.f_phone 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_apply_num condition="u.f_apply_num 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
- <input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
34
- </div>
35
- </div>
36
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
37
- <label class="">报建类型:</label>
38
- <div class="col-xs-8" >
39
- <v-select
40
- width="100%"
41
- v-model="model.f_apply_type"
42
- placeholder='报建类型'
43
- condition="u.f_apply_type like '%{}%'"
44
- :value.sync="model.f_apply_type"
45
- :options='$parent.$parent.applytype'
46
- class="select select_list"
47
- :value-single="true"
48
- @change="$parent.$parent.applyTypeChange()"
49
- close-on-select ></v-select>
50
- </div>
51
- </div>
52
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
53
- <label class="">办理环节:</label>
54
- <div class="col-xs-8" >
55
- <v-select
56
- width="100%"
57
- v-model="model.defname"
58
- placeholder='办理环节'
59
- condition="act.defname = '{}'"
60
- :value.sync="model.defname"
61
- :options='$parent.$parent.defnames'
62
- class="select select_list"
63
- :value-single="true"
64
- close-on-select ></v-select>
65
- </div>
66
- </div>
67
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
68
- <label class="">报建性质:</label>
69
- <div class="col-xs-8" >
70
- <v-select
71
- width="100%"
72
- v-model="model.f_apply_nature"
73
- placeholder='报建性质'
74
- condition="f_apply_nature = '{}'"
75
- :value.sync="model.f_apply_nature"
76
- :options='$parent.$parent.applyNatures'
77
- class="select select_list"
78
- :value-single="true"
79
- close-on-select ></v-select>
80
- </div>
81
- </div>
82
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
83
- <label class="">用户地址:</label>
84
- <div class="col-xs-8" >
85
- <input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
86
- </div>
87
- </div>
88
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
89
- <label class="">开始时间:</label>
90
- <div class="col-xs-8" >
91
- <datepicker id="startDate" placeholder="开始日期"
92
- style="width: 100%!important;"
93
- v-model="model.startDate"
94
- :value.sync="model.startDate"
95
- :format="'yyyy-MM-dd 00:00:00'"
96
- :show-reset-button="true"
97
- condition="u.f_apply_date >= '{}'">
98
- </datepicker>
99
- </div>
100
- </div>
101
- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
102
- <label class="">结束时间:</label>
103
- <div class="col-xs-8" >
104
- <datepicker id="endDate" placeholder="结束日期"
105
- style="width: 100%!important;"
106
- v-model="model.endDate"
107
- :value.sync="model.endDate"
108
- :format="'yyyy-MM-dd 23:59:59'"
109
- :show-reset-button="true"
110
- condition="f_apply_date <= '{}'">
111
- </datepicker>
112
- </div>
113
- </div>
114
- <div class="row app-row text-right" style="padding-bottom: 10px;height: auto">
115
- <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
116
- <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
117
- <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
118
- </div>
119
- </div>
120
- </criteria>
121
- <list :model="model" partial='list'>
122
- <div partial class="auto app-text panel" style="margin: 10px">
123
- <div class="panel-body panel-self">
124
- <div class="col-xs-12">
125
- <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
126
- <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
127
- </div>
128
- <div class="col-xs-12">
129
- <p class="col-xs-3 text-left font"><b>用户名称:</b></p>
130
- <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
131
- </div>
132
- <div class="col-xs-12">
133
- <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
134
- <p class="col-xs-6 text-left input-font">{{ row.f_apply_type }}</p>
135
- </div>
136
- <div class="col-xs-12">
137
- <p class="col-xs-3 text-left font"><b>用户分类:</b></p>
138
- <p class="col-xs-6 text-left input-font">{{ row.f_user_classification }}</p>
139
- </div>
140
- <div class="col-xs-12" >
141
- <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
142
- <p class="col-xs-6 text-left input-font">{{ row.defname }}</p>
143
- </div>
144
- <div class="col-xs-12" v-show="row.defname==='工程施工'||row.defname==='工程队派工'">
145
- <p class="col-xs-3 text-left font"><b>报警器:</b></p>
146
- <p class="col-xs-6 text-left input-font">{{ row.f_install_project }}</p>
147
- </div>
148
- <div class="col-xs-12">
149
- <p class="col-xs-3 text-left font"><b>小&emsp;&emsp;区:</b></p>
150
- <p class="col-xs-6 text-left input-font">{{ row.f_residential_area }}</p>
151
- </div>
152
- <div class="col-xs-12">
153
- <p class="col-xs-3 text-left font"><b>联&ensp;系&ensp;人:</b></p>
154
- <p class="col-xs-6 text-left input-font">{{ row.f_contact }}</p>
155
- </div>
156
- <div class="col-xs-12">
157
- <p class="col-xs-3 text-left font"><b>联系电话:</b></p>
158
- <p class="col-xs-6 text-left input-font">{{ row.f_phone }}</p>
159
- </div>
160
- <div class="col-xs-12">
161
- <p class="col-xs-3 text-left font"><b>项目地址:</b></p>
162
- <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
163
- </div>
164
- <div class="col-xs-12">
165
- <p class="col-xs-3 text-left font"><b>设计人员:</b></p>
166
- <p class="col-xs-9 text-left input-font">{{ row.f_designer_people }}</p>
167
- </div>
168
- <div class="col-xs-12">
169
- <p class="col-xs-3 text-left font"><b>检测单位:</b></p>
170
- <p class="col-xs-9 text-left input-font">{{ row.jiance }}</p>
171
- </div>
172
- <div class="col-xs-12">
173
- <p class="col-xs-3 text-left font"><b>安装单位:</b></p>
174
- <p class="col-xs-9 text-left input-font">{{ row.f_construction_name }}</p>
175
- </div>
176
- <div class="col-xs-12">
177
- <p class="col-xs-3 text-left font"><b>安装单位负责人:</b></p>
178
- <p class="col-xs-9 text-left input-font">{{ row.anzhuang }}</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.tujian }}</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.jianli }}</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.jianshe }}</p>
191
- </div>
192
- <div class="col-xs-12" v-if="row.f_drawing_change">
193
- <p class="col-xs-3 text-left font"><b>变更原因:</b></p>
194
- <p class="col-xs-9 text-left input-font">{{ row.f_drawing_change }}</p>
195
- </div>
196
- <div class="col-xs-12 text-right">
197
- <!-- <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看进度</button>-->
198
- </div>
199
- </div>
200
- </div>
201
- </list>
202
- </criteria-paged>
203
- </div>
204
- </template>
205
- <script>
206
- import Vue from 'vue'
207
- import { PagedList, HttpResetClass } from 'vue-client'
208
- import {isEmpty} from '../../Util'
209
- export default {
210
- title: '报建流程',
211
- data () {
212
- return {
213
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/appSupervisory`, 20, {
214
- data: {
215
- id: Vue.user.id,
216
- f_filiale: Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'
217
- }
218
- }),
219
- criteriaShow: false,
220
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
221
- defnames: [{label: '全部', value: ''}],
222
- applyNatures: [{label: '全部', value: ''}], // 报建性质
223
- areaList: []
224
- }
225
- },
226
- ready () {
227
- this.search()
228
- },
229
- methods: {
230
- applyTypeChange () {
231
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
232
- let http = new HttpResetClass()
233
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
234
- // http.load('POST', 'rs/logic/getDefnameByType', {
235
- f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
236
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
237
- this.defnames = [{label: '全部', value: ''}, ...res.data]
238
-
239
- 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}性质`)]
240
- })
241
- } else {
242
- this.defnames = [{label: '全部', value: ''}]
243
-
244
- this.applyNatures = [{label: '全部', value: ''}]
245
- }
246
- },
247
- clear () {
248
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
249
- this.$refs.cp.$refs.cri.model[key] = null
250
- })
251
- },
252
- // 查询
253
- search () {
254
- this.$refs.cp.$refs.cri.search()
255
- },
256
- click (row) {
257
- let _this = this
258
- this.$dispatch('gotoson', {
259
- _this: _this,
260
- title: '详情信息',
261
- safe: true
262
- })
263
- this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
264
- }
265
- },
266
- events: {
267
- },
268
- watch: {
269
- }
270
- }
271
- </script>
272
- <style scoped>
273
- .app-row {
274
- height: auto;
275
- background-color: white;
276
- padding: 10px 10px 0 10px;
277
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
278
- }
279
- .search_input {
280
- border: 0;
281
- outline: none;
282
- }
283
- .input-font{
284
- font: 15px PingFang-SC-Medium;
285
- color: #333333;
286
- }
287
- .app-text {
288
- font-size: 12px;
289
- }
290
- .panel-self{
291
- border-radius: 10px;
292
- border:1px solid #499EDF;
293
- background-color: #F8F8F8;
294
- }
295
- .font{
296
- font: 15px PingFang-SC-Medium;
297
- color: #666666;
298
- }
299
- .input-font{
300
- font: 15px PingFang-SC-Medium;
301
- color: #333333;
302
- }
303
-
304
- .button_shrink_top {
305
- width: 34px;
306
- height: 34px;
307
- border: solid 1px #6aa6e2;
308
- background-size: 100%;
309
- background-image: url("../../../../static/newStyle/stretch_top.png")
310
- }
311
-
312
- .button_shrink_bottom {
313
- width: 34px;
314
- height: 34px;
315
- border: solid 1px #6aa6e2;
316
- background-size: 100%;
317
- background-image: url("../../../../static/newStyle/stretch_bottom.png")
318
- }
319
- </style>
320
- <style lang="less">
321
- .app-input {
322
- label {
323
- float: left;
324
- }
325
- .select {
326
- button {
327
- border: none;
328
- outline: none;
329
- text-align: left;
330
- .btn-placeholder {
331
- color: #ACA899
332
- }
333
- }
334
- }
335
- .datepicker {
336
- .form-control:focus {
337
- border: none!important;
338
- outline: none!important;
339
- -webkit-box-shadow: none;
340
- box-shadow: none;
341
- }
342
- }
343
- }
344
- </style>
1
+ <template>
2
+ <div class="p-10">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' 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_contact condition="u.f_contact 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_phone condition="u.f_phone 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_apply_num condition="u.f_apply_num 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
+ <input class="" v-model=model.f_contract_number condition="u.f_contract_number like '%{}%'" />
34
+ </div>
35
+ </div>
36
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
37
+ <label class="">报建类型:</label>
38
+ <div class="col-xs-8" >
39
+ <v-select
40
+ width="100%"
41
+ v-model="model.f_apply_type"
42
+ placeholder='报建类型'
43
+ condition="u.f_apply_type like '%{}%'"
44
+ :value.sync="model.f_apply_type"
45
+ :options='$parent.$parent.applytype'
46
+ class="select select_list"
47
+ :value-single="true"
48
+ @change="$parent.$parent.applyTypeChange()"
49
+ close-on-select ></v-select>
50
+ </div>
51
+ </div>
52
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
53
+ <label class="">办理环节:</label>
54
+ <div class="col-xs-8" >
55
+ <v-select
56
+ width="100%"
57
+ v-model="model.defname"
58
+ placeholder='办理环节'
59
+ condition="act.defname = '{}'"
60
+ :value.sync="model.defname"
61
+ :options='$parent.$parent.defnames'
62
+ class="select select_list"
63
+ :value-single="true"
64
+ close-on-select ></v-select>
65
+ </div>
66
+ </div>
67
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
68
+ <label class="">报建性质:</label>
69
+ <div class="col-xs-8" >
70
+ <v-select
71
+ width="100%"
72
+ v-model="model.f_apply_nature"
73
+ placeholder='报建性质'
74
+ condition="f_apply_nature = '{}'"
75
+ :value.sync="model.f_apply_nature"
76
+ :options='$parent.$parent.applyNatures'
77
+ class="select select_list"
78
+ :value-single="true"
79
+ close-on-select ></v-select>
80
+ </div>
81
+ </div>
82
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
83
+ <label class="">用户地址:</label>
84
+ <div class="col-xs-8" >
85
+ <input class="" v-model=model.f_address condition="u.f_address like '%{}%'" />
86
+ </div>
87
+ </div>
88
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
89
+ <label class="">开始时间:</label>
90
+ <div class="col-xs-8" >
91
+ <datepicker id="startDate" placeholder="开始日期"
92
+ style="width: 100%!important;"
93
+ v-model="model.startDate"
94
+ :value.sync="model.startDate"
95
+ :format="'yyyy-MM-dd 00:00:00'"
96
+ :show-reset-button="true"
97
+ condition="u.f_apply_date >= '{}'">
98
+ </datepicker>
99
+ </div>
100
+ </div>
101
+ <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
102
+ <label class="">结束时间:</label>
103
+ <div class="col-xs-8" >
104
+ <datepicker id="endDate" placeholder="结束日期"
105
+ style="width: 100%!important;"
106
+ v-model="model.endDate"
107
+ :value.sync="model.endDate"
108
+ :format="'yyyy-MM-dd 23:59:59'"
109
+ :show-reset-button="true"
110
+ condition="f_apply_date <= '{}'">
111
+ </datepicker>
112
+ </div>
113
+ </div>
114
+ <div class="row app-row text-right" style="padding-bottom: 10px;height: auto">
115
+ <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
116
+ <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
117
+ <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
118
+ </div>
119
+ </div>
120
+ </criteria>
121
+ <list :model="model" partial='list'>
122
+ <div partial class="auto app-text panel" style="margin: 10px">
123
+ <div class="panel-body panel-self">
124
+ <div class="col-xs-12">
125
+ <p class="col-xs-3 text-left font"><b>工程编号:</b></p>
126
+ <p class="col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
127
+ </div>
128
+ <div class="col-xs-12">
129
+ <p class="col-xs-3 text-left font"><b>用户名称:</b></p>
130
+ <p class="col-xs-9 text-left input-font">{{ row.f_user_name }}</p>
131
+ </div>
132
+ <div class="col-xs-12">
133
+ <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
134
+ <p class="col-xs-6 text-left input-font">{{ row.f_apply_type }}</p>
135
+ </div>
136
+ <div class="col-xs-12">
137
+ <p class="col-xs-3 text-left font"><b>用户分类:</b></p>
138
+ <p class="col-xs-6 text-left input-font">{{ row.f_user_classification }}</p>
139
+ </div>
140
+ <div class="col-xs-12" >
141
+ <p class="col-xs-3 text-left font"><b>办理环节:</b></p>
142
+ <p class="col-xs-6 text-left input-font">{{ row.defname }}</p>
143
+ </div>
144
+ <div class="col-xs-12" v-show="row.defname==='工程施工'||row.defname==='工程队派工'">
145
+ <p class="col-xs-3 text-left font"><b>报警器:</b></p>
146
+ <p class="col-xs-6 text-left input-font">{{ row.f_install_project }}</p>
147
+ </div>
148
+ <div class="col-xs-12">
149
+ <p class="col-xs-3 text-left font"><b>小&emsp;&emsp;区:</b></p>
150
+ <p class="col-xs-6 text-left input-font">{{ row.f_residential_area }}</p>
151
+ </div>
152
+ <div class="col-xs-12">
153
+ <p class="col-xs-3 text-left font"><b>联&ensp;系&ensp;人:</b></p>
154
+ <p class="col-xs-6 text-left input-font">{{ row.f_contact }}</p>
155
+ </div>
156
+ <div class="col-xs-12">
157
+ <p class="col-xs-3 text-left font"><b>联系电话:</b></p>
158
+ <p class="col-xs-6 text-left input-font">{{ row.f_phone }}</p>
159
+ </div>
160
+ <div class="col-xs-12">
161
+ <p class="col-xs-3 text-left font"><b>项目地址:</b></p>
162
+ <p class="col-xs-9 text-left input-font">{{ row.f_address }}</p>
163
+ </div>
164
+ <div class="col-xs-12">
165
+ <p class="col-xs-3 text-left font"><b>设计人员:</b></p>
166
+ <p class="col-xs-9 text-left input-font">{{ row.f_designer_people }}</p>
167
+ </div>
168
+ <div class="col-xs-12">
169
+ <p class="col-xs-3 text-left font"><b>检测单位:</b></p>
170
+ <p class="col-xs-9 text-left input-font">{{ row.jiance }}</p>
171
+ </div>
172
+ <div class="col-xs-12">
173
+ <p class="col-xs-3 text-left font"><b>安装单位:</b></p>
174
+ <p class="col-xs-9 text-left input-font">{{ row.f_construction_name }}</p>
175
+ </div>
176
+ <div class="col-xs-12">
177
+ <p class="col-xs-3 text-left font"><b>安装单位负责人:</b></p>
178
+ <p class="col-xs-9 text-left input-font">{{ row.anzhuang }}</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.tujian }}</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.jianli }}</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.jianshe }}</p>
191
+ </div>
192
+ <div class="col-xs-12" v-if="row.f_drawing_change">
193
+ <p class="col-xs-3 text-left font"><b>变更原因:</b></p>
194
+ <p class="col-xs-9 text-left input-font">{{ row.f_drawing_change }}</p>
195
+ </div>
196
+ <div class="col-xs-12 text-right">
197
+ <!-- <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">查看进度</button>-->
198
+ </div>
199
+ </div>
200
+ </div>
201
+ </list>
202
+ </criteria-paged>
203
+ </div>
204
+ </template>
205
+ <script>
206
+ import Vue from 'vue'
207
+ import { PagedList, HttpResetClass } from 'vue-client'
208
+ import {isEmpty} from '../../Util'
209
+ export default {
210
+ title: '报建流程',
211
+ data () {
212
+ return {
213
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/appSupervisory`, 20, {
214
+ data: {
215
+ id: Vue.user.id,
216
+ f_filiale: Vue.user.f_fengongsi?Vue.user.f_fengongsi:'榆林.榆川天然气'
217
+ }
218
+ }),
219
+ criteriaShow: false,
220
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
221
+ defnames: [{label: '全部', value: ''}],
222
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
223
+ areaList: []
224
+ }
225
+ },
226
+ ready () {
227
+ this.search()
228
+ },
229
+ methods: {
230
+ applyTypeChange () {
231
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
232
+ let http = new HttpResetClass()
233
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`, {
234
+ // http.load('POST', 'rs/logic/getDefnameByType', {
235
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
236
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
237
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
238
+
239
+ 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}性质`)]
240
+ })
241
+ } else {
242
+ this.defnames = [{label: '全部', value: ''}]
243
+
244
+ this.applyNatures = [{label: '全部', value: ''}]
245
+ }
246
+ },
247
+ clear () {
248
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
249
+ this.$refs.cp.$refs.cri.model[key] = null
250
+ })
251
+ },
252
+ // 查询
253
+ search () {
254
+ this.$refs.cp.$refs.cri.search()
255
+ },
256
+ click (row) {
257
+ let _this = this
258
+ this.$dispatch('gotoson', {
259
+ _this: _this,
260
+ title: '详情信息',
261
+ safe: true
262
+ })
263
+ this.$goto('app-supervisory-cart', {selectdata: row}, 'self', _this.search)
264
+ }
265
+ },
266
+ events: {
267
+ },
268
+ watch: {
269
+ }
270
+ }
271
+ </script>
272
+ <style scoped>
273
+ .app-row {
274
+ height: auto;
275
+ background-color: white;
276
+ padding: 10px 10px 0 10px;
277
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
278
+ }
279
+ .search_input {
280
+ border: 0;
281
+ outline: none;
282
+ }
283
+ .input-font{
284
+ font: 15px PingFang-SC-Medium;
285
+ color: #333333;
286
+ }
287
+ .app-text {
288
+ font-size: 12px;
289
+ }
290
+ .panel-self{
291
+ border-radius: 10px;
292
+ border:1px solid #499EDF;
293
+ background-color: #F8F8F8;
294
+ }
295
+ .font{
296
+ font: 15px PingFang-SC-Medium;
297
+ color: #666666;
298
+ }
299
+ .input-font{
300
+ font: 15px PingFang-SC-Medium;
301
+ color: #333333;
302
+ }
303
+
304
+ .button_shrink_top {
305
+ width: 34px;
306
+ height: 34px;
307
+ border: solid 1px #6aa6e2;
308
+ background-size: 100%;
309
+ background-image: url("../../../../static/newStyle/stretch_top.png")
310
+ }
311
+
312
+ .button_shrink_bottom {
313
+ width: 34px;
314
+ height: 34px;
315
+ border: solid 1px #6aa6e2;
316
+ background-size: 100%;
317
+ background-image: url("../../../../static/newStyle/stretch_bottom.png")
318
+ }
319
+ </style>
320
+ <style lang="less">
321
+ .app-input {
322
+ label {
323
+ float: left;
324
+ }
325
+ .select {
326
+ button {
327
+ border: none;
328
+ outline: none;
329
+ text-align: left;
330
+ .btn-placeholder {
331
+ color: #ACA899
332
+ }
333
+ }
334
+ }
335
+ .datepicker {
336
+ .form-control:focus {
337
+ border: none!important;
338
+ outline: none!important;
339
+ -webkit-box-shadow: none;
340
+ box-shadow: none;
341
+ }
342
+ }
343
+ }
344
+ </style>