apply-clients 4.1.3 → 4.1.4-weinan

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 (37) hide show
  1. package/index.html +1 -1
  2. package/package.json +7 -5
  3. package/src/apply.js +81 -66
  4. package/src/applyAndroid.js +41 -39
  5. package/src/components/app_apply/AppChargeManagement.vue +619 -0
  6. package/src/components/app_apply/ApplyInfo.vue +56 -56
  7. package/src/components/app_apply/ApplyToDoList.vue +148 -165
  8. package/src/components/app_apply/PlaceControler.vue +258 -258
  9. package/src/components/app_apply/ServiceControl.vue +280 -267
  10. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  11. package/src/components/product/Function/InstallInfoSelect.vue +40 -27
  12. package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
  13. package/src/components/product/Function/functions/StopInstall.vue +7 -1
  14. package/src/components/product/Process/ExplorationSelect.vue +82 -59
  15. package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
  16. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
  18. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  19. package/src/components/product/Process/Processes/chargeManagement.vue +47 -53
  20. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  21. package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
  22. package/src/components/product/Process/Processes/printCharge.vue +130 -130
  23. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  24. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  25. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  26. package/src/components/product/Process/Service/ServiceControl.vue +1126 -703
  27. package/src/components/product/Process/ShowBackReason.vue +1 -0
  28. package/src/components/product/ServiceView.vue +82 -35
  29. package/src/components/product/Stop/StopApply.vue +101 -0
  30. package/src/components/product/Stop/StopApplyList.vue +257 -0
  31. package/src/components/product/Supervisory/SupervisoryControl.vue +7 -4
  32. package/src/components/product/Supervisory/SupervisoryList.vue +40 -27
  33. package/src/components/product/Supervisory/SupervisoryhCart.vue +0 -7
  34. package/src/components/product/Test.vue +8 -4
  35. package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
  36. package/src/main.js +25 -23
  37. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
@@ -6,7 +6,7 @@
6
6
  <div class="col-sm-2">
7
7
  <label class="control-label col-sm-12">终止原因:</label>
8
8
  </div>
9
- <div class="col-sm-10">
9
+ <div class="col-sm-8" :class="model.f_stop_remarks ? '':'has-error'">
10
10
  <textarea class="form-control" rows="3" v-model="model.f_stop_remarks"></textarea>
11
11
  </div>
12
12
  </div>
@@ -50,6 +50,9 @@
50
50
  <button type="button" @click="confirm()" :disabled="disabled" class="btn btn-primary" style="width: 100px">
51
51
  保存
52
52
  </button>
53
+ <button type="button" @click="search()" class="btn btn-primary" style="width: 100px">
54
+ 取消
55
+ </button>
53
56
  </center>
54
57
  </div>
55
58
  </div>
@@ -90,6 +93,9 @@
90
93
  this.$showMessage('终止报建失败')
91
94
  }
92
95
  })
96
+ },
97
+ search () {
98
+ this.$dispatch('search')
93
99
  }
94
100
  },
95
101
  watch: {
@@ -5,21 +5,21 @@
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
7
  <div class="form-group col-sm-4">
8
- <label class="font_normal_body">项目名称/客户名称/联系人:</label>
9
- <input type="text" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
8
+ <label class="font_normal_body">项目名称:</label>
9
+ <input type="text" class="input_search" v-model="model.f_entry_name"
10
+ v-on:keyup.enter="$parent.$parent.search()" condition=" f_entry_name like '%{}%' " placeholder='请输入'>
11
11
  </div>
12
12
  <div class="form-group col-sm-3">
13
- <label class="font_normal_body">报建编号:</label>
13
+ <label class="font_normal_body">报建编号:</label>
14
14
  <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
15
  v-on:keyup.enter="$parent.$parent.search()"
16
- condition="f_apply_num = '{}'">
16
+ condition="f_apply_num like '%{}%'">
17
17
  </div>
18
18
  <div class="form-group col-sm-5 button-range">
19
19
  <button class="button_new button_spacing" style="width: max-content"
20
- v-if="this.$login.f.rolesnames.indexOf('市场部报装') !== -1 || this.$login.f.rolesnames.indexOf('工程部报装') !== -1"
20
+ v-if="$parent.$parent.projectStart"
21
21
  @click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
22
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
22
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
23
23
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
24
24
  <div
25
25
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
@@ -34,7 +34,7 @@
34
34
  <label class="font_normal_body">合同编号:</label>
35
35
  <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
36
36
  v-on:keyup.enter="$parent.$parent.search()"
37
- condition="f_contract_number = '{}'">
37
+ condition="f_contract_number like '%{}%'">
38
38
  </div>
39
39
  <div class="form-group col-sm-3">
40
40
  <label class="font_normal_body">报建类型:</label>
@@ -62,17 +62,29 @@
62
62
  close-on-select ></v-select>
63
63
  </div>
64
64
  <div class="form-group col-sm-3">
65
- <label class="font_normal_body">联系电话:</label>
66
- <input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"
67
- v-on:keyup.enter="$parent.$parent.search()"
68
- condition="f_phone like '%{}%'">
69
- </div>
70
- <div class="form-group col-sm-3">
71
- <label class="font_normal_body">用户地址:</label>
72
- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
73
- v-on:keyup.enter="$parent.$parent.search()"
74
- condition="f_address like '%{}%'">
65
+ <label class="font_normal_body">流程状态:</label>
66
+ <v-select
67
+ v-model="model.f_sub_state"
68
+ placeholder='流程状态'
69
+ condition="f_sub_state = '{}'"
70
+ :value.sync="model.f_sub_state"
71
+ :options='$parent.$parent.f_sub_state'
72
+ class="select select_list"
73
+ :value-single="true"
74
+ close-on-select ></v-select>
75
75
  </div>
76
+ <!-- <div class="form-group col-sm-3">-->
77
+ <!-- <label class="font_normal_body">联系电话:</label>-->
78
+ <!-- <input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"-->
79
+ <!-- v-on:keyup.enter="$parent.$parent.search()"-->
80
+ <!-- condition="f_phone like '%{}%'">-->
81
+ <!-- </div>-->
82
+ <!-- <div class="form-group col-sm-3">-->
83
+ <!-- <label class="font_normal_body">用户地址:</label>-->
84
+ <!-- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"-->
85
+ <!-- v-on:keyup.enter="$parent.$parent.search()"-->
86
+ <!-- condition="f_address like '%{}%'">-->
87
+ <!-- </div>-->
76
88
  <div class="form-group col-sm-3">
77
89
  <label for="startDate" class="font_normal_body">开始时间:</label>
78
90
  <datepicker id="startDate" placeholder="开始日期"
@@ -103,10 +115,10 @@
103
115
  <tr>
104
116
  <th style="white-space: nowrap;">序号</th>
105
117
  <th style="white-space: nowrap;">报建编号</th>
106
- <th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
118
+ <th style="white-space: nowrap;">项目名称</th>
107
119
  <th style="white-space: nowrap;">合同编号</th>
108
- <th style="white-space: nowrap;">电话</th>
109
- <th style="white-space: nowrap;">地址</th>
120
+ <!-- <th style="white-space: nowrap;">电话</th>-->
121
+ <!-- <th style="white-space: nowrap;">地址</th>-->
110
122
  <th style="white-space: nowrap;">报建类型</th>
111
123
  <th style="white-space: nowrap;">办理环节</th>
112
124
  <th style="white-space: nowrap;">流程状态</th>
@@ -123,17 +135,17 @@
123
135
  <nobr><font>{{row.f_apply_num}}</font></nobr>
124
136
  </td>
125
137
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
126
- <nobr><font>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</font></nobr>
138
+ <nobr><font>{{row.f_entry_name}}</font></nobr>
127
139
  </td>
128
140
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
129
141
  <nobr><font>{{row.f_contract_number}}</font></nobr>
130
142
  </td>
131
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
132
- <nobr><font>{{row.f_phone}}</font></nobr>
133
- </td>
134
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
135
- <nobr><font>{{row.f_address}}</font></nobr>
136
- </td>
143
+ <!-- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">-->
144
+ <!-- <nobr><font>{{row.f_phone}}</font></nobr>-->
145
+ <!-- </td>-->
146
+ <!-- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">-->
147
+ <!-- <nobr><font>{{row.f_address}}</font></nobr>-->
148
+ <!-- </td>-->
137
149
  <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
138
150
  <nobr><font>{{row.f_apply_type}}</font></nobr>
139
151
  </td>
@@ -180,7 +192,7 @@
180
192
  v-model="f_apply_type"
181
193
  placeholder='请选择需要发起的工程类型'
182
194
  :value.sync="f_apply_type"
183
- :options='applytype'
195
+ :options='$appdata.getParam("报建类型")'
184
196
  :value-single="true"
185
197
  class="select select_list"
186
198
  :search="false"
@@ -200,9 +212,10 @@
200
212
  props: ['showData'],
201
213
  data () {
202
214
  return {
203
- // applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
204
- applytype: [{label: '全部', value: ''}, {label: '综合报建', value: '综合报建'}],
205
- defnames: [{label: '全部', value: ''}], // 流程节点
215
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
216
+ // applytype: [{label: '散户集体报建', value: '散户集体报建'}, {label: '散户报建', value: '散户报建'}, {label: '开发商集体报建', value: '开发商集体报建'},{label: '工业户报建', value: '工业户报建'}],
217
+ defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
218
+ f_sub_state:[{label: '全部', value: ''}, {label: '完工', value: '完工'}, {label: '正在进行', value: '正在进行'}],
206
219
  model: new PagedList('rs/sql/checkuser', 20, {
207
220
  data: {
208
221
  id: this.$login.f.id,
@@ -213,6 +226,7 @@
213
226
  // startname: null, // 启动节点
214
227
  criteriaShow: false, // 控制查询条件显示
215
228
  showModal: false // 控制发起类型选择
229
+
216
230
  }
217
231
  },
218
232
  ready () {
@@ -239,7 +253,7 @@
239
253
  this.defnames = [{label: '全部', value: ''}, ...res.data]
240
254
  })
241
255
  } else {
242
- this.defnames = [{label: '全部', value: ''}]
256
+ this.defnames = [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
243
257
  }
244
258
  },
245
259
  // 获取流程id
@@ -261,42 +275,48 @@
261
275
  let val = {
262
276
  f_apply_type: this.f_apply_type
263
277
  }
264
- // if (this.f_apply_type === '散户报建') {
265
- // val.defname = '用户受理'
266
- // val.processname = '散户报建流程'
267
- // } else if (this.f_apply_type === '工业户报建') {
268
- // val.defname = '用户受理'
269
- // val.processname = '工商户报建流程'
270
- // } else if (this.f_apply_type === '商业户报建') {
271
- // val.defname = '用户受理'
272
- // val.processname = '工商户报建流程'
273
- // } else if (this.f_apply_type === '散户集体报建') {
274
- // val.defname = '用户受理'
275
- // val.processname = '散户集体报建流程'
276
- // } else if (this.f_apply_type === '开发商集体报建') {
277
- // val.defname = '用户受理'
278
- // val.processname = '开发商集体报建流程'
279
- // } else if (this.f_apply_type === '煤改气报建') {
280
- // val.defname = '用户受理'
281
- // val.processname = '散户集体报建流程'
282
- // } else {
283
- // this.$showMessage('暂无此类报装')
284
- // return
285
- // }
286
- if (this.f_apply_type === '综合报建') {
278
+ if (this.f_apply_type === '散户报建') {
279
+ val.defname = '报建登记'
280
+ val.f_user_type='民用'
281
+ val.processname = '散户报建流程'
282
+ } else if (this.f_apply_type === '工商户报建') {
283
+ val.defname = '报建登记'
284
+ val.f_user_type='非民用'
285
+ val.processname = '工商户报建流程'
286
+ } else if (this.f_apply_type === '散户集体报建') {
287
+ val.defname = '报建登记'
288
+ val.f_user_type='民用'
289
+ val.processname = '散户集体报建流程'
290
+ } else if (this.f_apply_type === '开发商集体报建') {
291
+ val.f_user_type='民用'
292
+ val.defname = '报建登记'
293
+ val.processname = '开发商集体报建流程'
294
+ } else if (this.f_apply_type === '居民报建') {
295
+ val.f_user_type='民用'
296
+ val.defname = '报建登记'
297
+ val.processname = '居民报建流程'
298
+ } else if (this.f_apply_type === '煤改气报建') {
287
299
  val.defname = '报建登记'
288
- val.processname = '报建流程'
300
+ val.processname = '散户集体报建流程'
301
+ } else if (this.f_apply_type === '拆改装报建') {
302
+ val.defname = '业务申请'
303
+ val.processname = '拆改装流程'
289
304
  } else {
290
305
  this.$showMessage('暂无此类报装')
291
306
  return
292
307
  }
308
+ // if (this.f_apply_type === '综合报建') {
309
+ // val.defname = '报建登记'
310
+ // val.processname = '报建流程'
311
+ // } else {
312
+ // this.$showMessage('暂无此类报装')
313
+ // return
314
+ // }
293
315
 
294
316
  val.f_sub_state = "新增"
295
317
  val.f_process_id = await this.getProcessId(val.processname)
296
-
297
318
  // 调用ExplorationUser事件
298
319
  this.$dispatch('apply', val)
299
-
300
320
  this.f_apply_type = null
301
321
  this.showModal = false
302
322
  },
@@ -306,6 +326,9 @@
306
326
  }
307
327
  },
308
328
  computed: {
329
+ projectStart () {
330
+ return this.$login.r.includes('报建发起')
331
+ }
309
332
  },
310
333
  watch: {
311
334
  'model.rows': {