apply-clients 3.3.68 → 3.3.71-2

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 (46) hide show
  1. package/build/dev-server-app.js +2 -2
  2. package/build/dev-server.js +127 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/App.vue +20 -20
  6. package/src/apply.js +92 -89
  7. package/src/applyAndroid.js +31 -31
  8. package/src/components/android/AppOnetomany.vue +301 -301
  9. package/src/components/android/AppServiceView.vue +36 -0
  10. package/src/components/android/AppSign.vue +142 -142
  11. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  12. package/src/components/android/Process/AppExplorationUser.vue +177 -27
  13. package/src/components/android/Process/AppServiceControl.vue +228 -1
  14. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  15. package/src/components/android/Process/Processes/AppInstallationDetails.vue +473 -471
  16. package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -300
  17. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  18. package/src/components/image/dwg.jpg +0 -0
  19. package/src/components/image/txt.jpg +0 -0
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  21. package/src/components/product/Business/BusinessApply.vue +242 -242
  22. package/src/components/product/Function/InstallFunction.vue +132 -132
  23. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  24. package/src/components/product/Material/MaterialDetailed.vue +252 -235
  25. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  26. package/src/components/product/OldApply/OldApply.vue +150 -150
  27. package/src/components/product/Onetomany.vue +377 -377
  28. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  29. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  30. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  31. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  32. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  33. package/src/components/product/Process/ExplorationUser.vue +189 -147
  34. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  35. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  36. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  37. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  38. package/src/components/product/ServiceView.vue +631 -631
  39. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  40. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  41. package/src/components/product/Supervisory/SupervisoryList.vue +5 -0
  42. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  43. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  44. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  45. package/src/main.js +27 -23
  46. package/yarn.lock +9013 -0
@@ -110,10 +110,10 @@
110
110
  <div class="col-xs-8" >
111
111
  <v-select
112
112
  width="100%"
113
- v-model="model.f_is_later"
113
+ v-model="model.f_no_valid"
114
114
  placeholder='稍后处理'
115
- condition="f_is_later = '{}'"
116
- :value.sync="model.f_is_later"
115
+ condition="lp.f_no_valid = '{}'"
116
+ :value.sync="model.f_no_valid"
117
117
  :options='$parent.$parent.laterList'
118
118
  class="select select_list"
119
119
  :value-single="true"
@@ -123,6 +123,7 @@
123
123
  <div class="row form-group text-right" style="">
124
124
  <button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
125
125
  <button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
126
+ <button class="btn btn-info" @click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
126
127
  <button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
127
128
  </div>
128
129
  </div>
@@ -148,7 +149,7 @@
148
149
  </div>
149
150
  <div class="col-xs-12">
150
151
  <p class="col-xs-3 text-left font"><b>客户编号:</b></p>
151
- <p class="col-xs-9 text-left input-font">{{ row.f_userinfo_code }}</p>
152
+ <p :class="[ row.defname =='通气点火' && (row.f_apply_nature=='热水器' || row.f_apply_nature=='壁挂炉') ? 'redy' : (row.f_apply_nature=='热水器' || row.f_apply_nature=='壁挂炉' ? 'pred': (row.defname =='通气点火' ? 'p1':''))]" class="col-xs-9 text-left input-font">{{ row.f_userinfo_code }}</p>
152
153
  </div>
153
154
  <div class="col-xs-12">
154
155
  <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
@@ -171,14 +172,79 @@
171
172
  <p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
172
173
  </div>
173
174
 
175
+ <div class="col-xs-12" v-if="row.f_no_valid != null">
176
+ <p class="col-xs-4 text-left font"><b>稍后处理备注:</b></p>
177
+ <p class="col-xs-8 text-left input-font" style="color: red">{{row.f_later_remarks}}</p>
178
+ </div>
179
+
180
+ <div class="col-xs-12" v-if="row.f_back_reason != null">
181
+ <p class="col-xs-4 text-left font"><b>退回备注:</b></p>
182
+ <p class="col-xs-8 text-left input-font">
183
+ <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{row.f_back_reason}} 退回时间:{{row.f_date}}</span>
184
+ </p>
185
+ </div>
186
+
174
187
  <div class="col-xs-12 text-right">
175
- <button class="btn btn-info" @click="$parent.$parent.$parent.later(row)" v-if="row.f_is_later !== ''">稍后处理</button>
188
+ <button class="btn btn-info" type="button" @click="$parent.$parent.$parent.openLater(row) " v-if="row.f_no_valid !== '有效'">稍后处理</button>
176
189
  <button class="btn btn-info" @click="$parent.$parent.$parent.click(row)">处理</button>
177
190
  </div>
178
191
  </div>
179
192
  </div>
180
193
  </list>
194
+
181
195
  </criteria-paged>
196
+ <validator name="v">
197
+ <modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
198
+ <header slot="modal-header" class="modal-header">
199
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
200
+ <h4 class="modal-title">稍后处理</h4>
201
+ </header>
202
+
203
+ <article slot="modal-body" class="modal-body clearfix">
204
+ <div class="form-group col-sm-12">
205
+ <label class="col-sm-2 control-label">稍后处理备注:</label>
206
+ <div class="col-sm-10">
207
+ <input type="textarea"
208
+ class="form-control input_view"
209
+ style="width: 100%"
210
+ v-model="laterapply.f_later_remarks" />
211
+ </div>
212
+ </div>
213
+ </article>
214
+
215
+ <footer slot="modal-footer" class="modal-footer">
216
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
217
+ </footer>
218
+ </modal>
219
+ </validator>
220
+ <validator name="v">
221
+ <modal
222
+ v-if="showModal"
223
+ :show.sync="showModal"
224
+ backdrop="false"
225
+ title="工程类型"
226
+ cancel-text="取消"
227
+ ok-text="确认"
228
+ :callback="apply"
229
+ >
230
+ <div class="form-horizontal" slot="modal-body">
231
+ <div class="form-group" style="margin: 10px auto">
232
+ <label class="col-sm-3 control-label">报建类型:</label>
233
+ <div class="col-sm-9">
234
+ <v-select
235
+ v-model="applyType"
236
+ placeholder='请选择需要发起的工程类型'
237
+ :value.sync="applyType"
238
+ :options='applyTypes'
239
+ :value-single="true"
240
+ class="select select_list"
241
+ :search="false"
242
+ close-on-select ></v-select>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ </modal>
247
+ </validator>
182
248
  </div>
183
249
  </template>
184
250
  <script>
@@ -189,42 +255,56 @@ export default {
189
255
  title: '报建流程',
190
256
  data () {
191
257
  return {
258
+ selectdate: {},
259
+ showLater: false,
192
260
  model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
193
- // model: new PagedList('rs/sql/checkuser', 20, {
194
261
  data: {
195
262
  id: Vue.user.id,
196
263
  orgid: Vue.user.orgid
197
- // id: '51953',
198
- // orgid: '10101'
199
- }
264
+ },
200
265
  }),
266
+ showModal: false,
267
+ applyType: '', // 报建类型
268
+ //applyTypes:this.$appdata.getParam("报建类型"),
269
+ applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'}],
201
270
  criteriaShow: false,
202
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
271
+ // applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
272
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
203
273
  defnames: [{label: '全部', value: ''}],
204
274
  applyNatures: [{label: '全部', value: ''}], // 报建性质
205
275
  laterList: [
206
276
  {label: '全部', value: ''},
207
- {label: '', value: ''},
208
- {label: '否', value: '否'}
209
- ]
277
+ {label: '有效', value: '有效'}
278
+ ],
279
+ laterapply: {}
210
280
  }
211
281
  },
212
282
  ready () {
213
283
  this.search()
214
284
  },
215
285
  methods: {
216
- async later (row) {
217
- let res = await this.$showMessage('您确定要将此任务加入稍后处理吗?', ['confirm'])
218
-
219
- if (res === 'confirm') {
220
- row.f_is_later = '是'
221
- let res = await this.$resetpost(
222
- `${this.$androidUtil.getProxyUrl()}rs/entity/t_apply`,
223
- row
224
- )
225
-
226
- this.$refs.cp.$refs.cri.search()
286
+ openLater (row) {
287
+ this.selectdate = row
288
+ this.showLater=true
289
+ },
290
+ async later () {
291
+ let http = new HttpResetClass()
292
+ let data = {
293
+ laterapply: this.laterapply,
294
+ selectdata: this.selectdate,
295
+ user: Vue.user
227
296
  }
297
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/laterprocessing`, {data:data}, {
298
+ resolveMsg: null,
299
+ rejectMsg: '稍后处理记录保存失败!!!'
300
+ })
301
+ this.closeModal()
302
+ },
303
+ closeModal() {
304
+ this.selectdate = null
305
+ this.showLater = false
306
+ this.laterapply = {}
307
+ this.search()
228
308
  },
229
309
  dialNumber (phone) {
230
310
  this.$showMessage(`是否拨打电话:${phone}`, ['confirm']).then((res) => {
@@ -243,7 +323,7 @@ export default {
243
323
  this.$refs.cp.$refs.cri.search()
244
324
  },
245
325
  searchCondition (args) {
246
- args.condition += `and act.defname in ${this.appDefnames}`
326
+ //args.condition += `and act.defname in ${this.appDefnames}`
247
327
  this.model.search(args.condition, args.model)
248
328
  },
249
329
  click (row) {
@@ -271,7 +351,68 @@ export default {
271
351
 
272
352
  this.applyNatures = [{label: '全部', value: ''}]
273
353
  }
274
- }
354
+ },
355
+ // 报装申请
356
+ async apply () {
357
+ if (this.applyType === '' || this.applyType === null) {
358
+ this.$showAlert('请选择需要发起的类型', 'warning', 3000)
359
+ return
360
+ }
361
+ let data = {
362
+ f_apply_type: this.applyType
363
+ }
364
+ if (this.applyType === '散户报建') {
365
+ data.processname = '散户报建流程'
366
+ data.defname = '报装申请'
367
+ } else if (this.applyType === '工商户报建') {
368
+ data.processname = '工商户报建流程'
369
+ data.defname = '报装申请'
370
+ } else if (this.applyType === '改管报建') {
371
+ data.processname = '改管报建流程'
372
+ data.defname = '报装申请'
373
+ } else if (this.applyType === '增容报建') {
374
+ data.processname = '增容报建流程'
375
+ data.defname = '报装申请'
376
+ } else if (this.applyType === '团购报建') {
377
+ data.processname = '团购报建流程'
378
+ data.defname = '报装申请'
379
+ } else if (this.applyType === '退款报建') {
380
+ data.processname = '退款报建流程'
381
+ data.defname = '终止报建'
382
+ } else if (this.applyType === '团购转散户') {
383
+ data.processname = '团购转散户报建流程'
384
+ data.defname = '信息确认'
385
+ } else {
386
+ this.$showMessage('暂无此类报装')
387
+ return
388
+ }
389
+
390
+ data.f_sub_state = "新增"
391
+ data.f_apply_source = "线下发起"
392
+ data.f_process_id = await this.getProcessId(data.processname)
393
+
394
+ // 调用ExplorationUser事件
395
+
396
+ this.click(data)
397
+
398
+ //this.applyType = null
399
+ //this.showModal = false
400
+ },
401
+ // 获取流程id
402
+ async getProcessId(processname) {
403
+ let data = {
404
+ workname: processname
405
+ }
406
+ let http = new HttpResetClass()
407
+ let res = await http.load(
408
+ 'POST',
409
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/getProcessId`,
410
+ {data: data},
411
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
412
+ )
413
+
414
+ return res.data
415
+ },
275
416
  },
276
417
  events: {
277
418
  },
@@ -279,7 +420,7 @@ export default {
279
420
  },
280
421
  computed: {
281
422
  appDefnames () {
282
- // let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'}]
423
+ // let list = [{label: '报装缴费', value: '报装缴费'}, {label: '通气点火', value: '通气点火'},{label: '工程施工', value: '工程施工'},{label: '工程派工', value: '工程派工'},{label: '点火派单', value: '点火派单'}]
283
424
  let list = this.$appdata.getParam('手机节点')
284
425
  return `(${list.map(item => `'${item.value}'`).toString()})`
285
426
  }
@@ -287,6 +428,15 @@ export default {
287
428
  }
288
429
  </script>
289
430
  <style scoped>
431
+ .pred{
432
+ color: red;
433
+ }
434
+ .p1 {
435
+ color: #ffaf4f;
436
+ }
437
+ .redy{
438
+ color: deeppink;
439
+ }
290
440
  .panel-self{
291
441
  border-radius: 10px;
292
442
  border:1px solid #499EDF;
@@ -7,6 +7,9 @@
7
7
  <panel header="拍照" :is-open="false" type="primary" v-if="selectdata.f_process_id">
8
8
  <app-take-pic :blobid="selectdata.f_process_id" :defname="selectdata.defname" :isdelete="true" :istakepic="true" :istype="true"></app-take-pic>
9
9
  </panel>
10
+ <panel header="签字" :is-open="false" type="primary" v-if="selectdata.f_process_id">
11
+ <app-sign @sign-success="signSuccess" :file-path="selectdata.f_process_id" @sign-clean="signClean"></app-sign>
12
+ </panel>
10
13
  </accordion>
11
14
  </div>
12
15
  </template>
@@ -135,7 +138,7 @@ export default {
135
138
  }
136
139
  }
137
140
  }
138
-
141
+ console.log("item.ready"+item.ready)
139
142
  if (item.ready) {
140
143
  item.options = await this[item.ready]()
141
144
  }
@@ -291,6 +294,14 @@ export default {
291
294
  this.showview = true
292
295
  })
293
296
  },
297
+ signClean () {
298
+ this.selectdata.f_construction_sign = null
299
+ },
300
+ signSuccess (fileUrl) {
301
+ console.log('==============签字回调==================')
302
+ console.log(fileUrl)
303
+ this.selectdata.f_construction_sign = fileUrl
304
+ },
294
305
  // 金额转大写
295
306
  smalltoBIG(n) {
296
307
  let fraction = ['角', '分'];
@@ -518,7 +529,51 @@ export default {
518
529
  this.$dispatch('loadPage')
519
530
 
520
531
  throw '终止报建!!!'
532
+ },
533
+ // 获取片区
534
+ async getSliceArea () {
535
+ let data = {
536
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
537
+ userid: Vue.user.id
538
+ }
539
+
540
+ let http = new HttpResetClass()
541
+ let res = await http.load(
542
+ 'POST',
543
+ `${this.$androidUtil.getProxyUrl()}/rs/search`,
544
+ {data: data},
545
+ {resolveMsg: null, rejectMsg: '片区查询失败!!!'}
546
+ )
547
+
548
+ return res.data.map(item => {
549
+ return {
550
+ label: item.name,
551
+ value: item.name
552
+ }
553
+ })
554
+ },
555
+ // 获取区县
556
+ async getPcd () {
557
+ let data = {
558
+ tablename: 't_pcd',
559
+ condition: `f_filialeid = '${Vue.user.orgid}'`
560
+ }
561
+ let http = new HttpResetClass()
562
+ let res = await http.load(
563
+ 'POST',
564
+ `${this.$androidUtil.getProxyUrl()}rs/sql/singleTable`,
565
+ {data: data},
566
+ {resolveMsg: null, rejectMsg: '区县查询失败!!!'}
567
+ )
568
+
569
+ return res.data.map(item => {
570
+ return {
571
+ label: item.f_pcd,
572
+ value: item.f_pcd
573
+ }
574
+ })
521
575
  }
576
+
522
577
  },
523
578
  events: {
524
579
  'complyInstallation' (index) {
@@ -782,6 +837,178 @@ export default {
782
837
  }
783
838
  }
784
839
  },
840
+ // 合同金额失去焦点
841
+ async 'contractMoneyChange' (index) {
842
+ let data = {
843
+ operator: '+',
844
+ num1: this.show_data.f_contract_money || 0,
845
+ num2: this.getLableValue('追加金额') || 0
846
+ }
847
+ let res = await this.$resetpost(
848
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/compute`,
849
+ {data: data},
850
+ {resolveMsg: null, rejectMsg: '金额计算失败!!!'}
851
+ )
852
+
853
+ this.setLabelValue('应交金额', res.data)
854
+ },
855
+ // 街道失去焦点
856
+ async 'streetChange' (index) {
857
+ if (isEmpty(this.show_data.f_street)) {
858
+ return
859
+ }
860
+
861
+ this.setLabelValue('集收单位', null)
862
+
863
+ let data = {
864
+ tablename: 't_area',
865
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}'`
866
+ }
867
+ let http = new HttpResetClass()
868
+ let res = await http.load(
869
+ 'POST',
870
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
871
+ {data: data},
872
+ {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
873
+ )
874
+
875
+ this.setLabelOptions('集收单位', res.data.map(item => {
876
+ return {
877
+ label: item.f_residential_area,
878
+ value: item.f_residential_area
879
+ }
880
+ }))
881
+ },
882
+ // 区县失去焦点
883
+ async 'pcdChange' (index) {
884
+ if (isEmpty(this.show_data.f_pcd)) {
885
+ return
886
+ }
887
+
888
+ this.setLabelValue('街道/乡镇', null)
889
+ this.setLabelValue('集收单位', null)
890
+
891
+
892
+
893
+ let data = {
894
+ tablename: 't_street',
895
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
896
+ }
897
+ let f_address_type = this.getLableValue('地址类型')
898
+
899
+ if (f_address_type === '民用市区') {
900
+ data.condition = `f_filialeid = '${Vue.user.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
901
+ }
902
+ if (f_address_type === '民用乡镇') {
903
+ data.condition = `f_filialeid = '${Vue.user.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
904
+ }
905
+
906
+ let http = new HttpResetClass()
907
+ let res = await http.load(
908
+ 'POST',
909
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
910
+ {data: data},
911
+ {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
912
+ )
913
+
914
+ this.setLabelOptions('街道/乡镇', res.data.map(item => {
915
+ return {
916
+ label: item.f_street,
917
+ value: item.f_street
918
+ }
919
+ }))
920
+ },
921
+ // 地址类型失去焦点
922
+ 'addressTypeChange' (index) {
923
+ this.setLabelValue('街道/乡镇', null)
924
+ this.setLabelValue('集收单位', null)
925
+ let f_address_type = this.show_data.fields[index].value
926
+ for (const item of this.show_data.fields) {
927
+ if (f_address_type === '民用市区') {
928
+ if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
929
+ item.hidden = false
930
+ item.required = true
931
+ item.value = null
932
+ }
933
+ if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
934
+ item.hidden = false
935
+ item.required = false
936
+ item.value = null
937
+ }
938
+ if (item.label === '地址') {
939
+ item.readonly = true
940
+ item.value = null
941
+ }
942
+ }
943
+ if (f_address_type === '民用乡镇') {
944
+ if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
945
+ item.hidden = false
946
+ item.required = true
947
+ item.value = null
948
+ }
949
+ if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
950
+ item.hidden = false
951
+ item.required = false
952
+ item.value = null
953
+ }
954
+ if (item.label === '楼层') {
955
+ item.hidden = true
956
+ item.required = false
957
+ item.value = null
958
+ }
959
+ if (item.label === '地址') {
960
+ item.readonly = true
961
+ item.value = null
962
+ }
963
+ }
964
+ if (f_address_type === '特殊地址') {
965
+ if (item.label === '区/县' || item.label === '街道/乡镇') {
966
+ item.hidden = false
967
+ item.required = true
968
+ item.value = null
969
+ }
970
+ if (item.label === '集收单位') {
971
+ item.hidden = false
972
+ item.required = false
973
+ item.value = null
974
+ }
975
+ if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
976
+ item.hidden = true
977
+ item.required = false
978
+ item.value = null
979
+ }
980
+ if (item.label === '地址') {
981
+ item.readonly = false
982
+ item.value = null
983
+ }
984
+ }
985
+ }
986
+ },
987
+ // 搜索小区
988
+ async 'searchArea' (area, index) {
989
+ let data = {
990
+ tablename: 't_area',
991
+ condition: `f_filialeid = '${Vue.user.orgid}' and f_street = '${this.show_data.f_street}' and f_residential_area like '%${area}%'`
992
+ }
993
+ let http = new HttpResetClass()
994
+ let res = await http.load(
995
+ 'POST',
996
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
997
+ {data: data},
998
+ {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
999
+ )
1000
+
1001
+ if (res.data.length === 0) {
1002
+ return
1003
+ }
1004
+
1005
+ this.setLabelOptions('集收单位', res.data.map(item => {
1006
+ return {
1007
+ label: item.f_residential_area,
1008
+ value: item.f_residential_area
1009
+ }
1010
+ }))
1011
+ },
785
1012
  'onblur' (index) {},
786
1013
  'oninput' (index) {},
787
1014
  'initializtionView' () {},
@@ -1,46 +1,46 @@
1
- <template>
2
- <app-sign @sign-success="signSuccess" :file-path="selectdata.f_construction_sign" @sign-clean="signClean"></app-sign>
3
- </template>
4
- <script>
5
- import {getNowDate,isEmpty} from '../../../Util'
6
- import {HttpResetClass} from 'vue-client'
7
- import Vue from "vue";
8
-
9
- export default {
10
- title: '施工签字',
11
- props: {
12
- selectdata: {
13
- type: Object
14
- },
15
- mark: {
16
- type: Number,
17
- default: 0
18
- }
19
- },
20
- data () {
21
- return {
22
- }
23
- },
24
- ready () {
25
- console.log('===========施工签字================')
26
- },
27
- methods: {
28
- signClean () {
29
- this.selectdata.f_construction_sign = null
30
- },
31
- signSuccess (fileUrl) {
32
- console.log('==============签字回调==================')
33
- console.log(fileUrl)
34
- this.selectdata.f_construction_sign = fileUrl
35
- }
36
- },
37
- events: {
38
- },
39
- computed: {
40
- },
41
- watch: {
42
- }
43
- }
44
- </script>
45
- <style scoped lang="less">
46
- </style>
1
+ <template>
2
+ <app-sign @sign-success="signSuccess" :file-path="selectdata.f_construction_sign" @sign-clean="signClean"></app-sign>
3
+ </template>
4
+ <script>
5
+ import {getNowDate,isEmpty} from '../../../Util'
6
+ import {HttpResetClass} from 'vue-client'
7
+ import Vue from "vue";
8
+
9
+ export default {
10
+ title: '施工签字',
11
+ props: {
12
+ selectdata: {
13
+ type: Object
14
+ },
15
+ mark: {
16
+ type: Number,
17
+ default: 0
18
+ }
19
+ },
20
+ data () {
21
+ return {
22
+ }
23
+ },
24
+ ready () {
25
+ console.log('===========施工签字================')
26
+ },
27
+ methods: {
28
+ signClean () {
29
+ this.selectdata.f_construction_sign = null
30
+ },
31
+ signSuccess (fileUrl) {
32
+ console.log('==============签字回调==================')
33
+ console.log(fileUrl)
34
+ this.selectdata.f_construction_sign = fileUrl
35
+ }
36
+ },
37
+ events: {
38
+ },
39
+ computed: {
40
+ },
41
+ watch: {
42
+ }
43
+ }
44
+ </script>
45
+ <style scoped lang="less">
46
+ </style>