apply-clients 7.1.36-yuchuan-4 → 7.1.36-yuchuan-5

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 (45) hide show
  1. package/index.html +1 -1
  2. package/package.json +2 -2
  3. package/src/apply.js +9 -3
  4. package/src/applyAndroid.js +9 -0
  5. package/src/assets//345/260/217/345/214/272.png +0 -0
  6. package/src/assets//347/224/250/346/210/267ID.png +0 -0
  7. package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
  8. package/src/components/android/AppSign.vue +7 -4
  9. package/src/components/android/AppUpload.vue +1 -1
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +38 -31
  11. package/src/components/android/Process/AppServiceControl.vue +32 -5
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +205 -92
  13. package/src/components/android/SealBind.vue +376 -0
  14. package/src/components/android/SealManage.vue +264 -0
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -334
  16. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +9 -9
  17. package/src/components/android/Task/yiban/AppShowDone.vue +442 -0
  18. package/src/components/android/Task/yiban/ShowDone.vue +95 -0
  19. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -0
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +18 -0
  21. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -0
  22. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +1 -1
  23. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +31 -31
  24. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +4 -4
  25. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +2 -2
  26. package/src/components/product/ApplyMap/ApplyMapLocation.vue +22 -10
  27. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +1 -1
  28. package/src/components/product/Function/Service/FunctionServiceControl.vue +125 -14
  29. package/src/components/product/Ignition/IgnitionListManage.vue +1 -1
  30. package/src/components/product/Ignition/IgnitionRecord.vue +22 -0
  31. package/src/components/product/List/OldShowDevices.vue +271 -0
  32. package/src/components/product/List/ShowAllActivity.vue +104 -19
  33. package/src/components/product/List/ShowDevices.vue +1 -1
  34. package/src/components/product/Process/ExplorationSelect.vue +41 -35
  35. package/src/components/product/Process/NewExplorationSelect.vue +31 -31
  36. package/src/components/product/Process/Processes/InstallationDetails.vue +34 -1
  37. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -0
  38. package/src/components/product/Process/Processes/devicesManagement.vue +23 -4
  39. package/src/components/product/Process/Processes/newDevicesManagement.vue +10 -1
  40. package/src/components/product/Process/Service/ServiceControl.vue +42 -3
  41. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +1 -3
  42. package/src/components/product/Supervisory/SupervisoryControl.vue +2 -0
  43. package/src/components/product/Supervisory/SupervisoryList.vue +17 -0
  44. package/src/components/product/VueUtils/ApplyUpload.vue +3 -2
  45. package/src/components/product/records/AdjustmentRecordList.vue +162 -0
@@ -222,7 +222,12 @@ export default {
222
222
  zindex: 99999
223
223
  })
224
224
  // eslint-disable-next-line no-undef
225
- AMap.event.addListener(this.map, 'complete', this.mapInitSuccess())
225
+ // AMap.Event.addListener(this.map, 'complete', this.mapInitSuccess ()) // AMap.Event.addListener(this.map, 'complete', this.mapInitSuccess())
226
+ if (AMap.Event){
227
+ AMap.Event.addListener(this.map, 'complete',this.mapInitSuccess () )
228
+ } else {
229
+ AMap.event.addListener(this.map, 'complete',this.mapInitSuccess () )
230
+ }
226
231
  window.map = this.map
227
232
  // 异步加载地图插件
228
233
  // eslint-disable-next-line no-undef
@@ -254,8 +259,14 @@ export default {
254
259
  })
255
260
  thas.map.addControl(geolocation)
256
261
  geolocation.getCurrentPosition()
257
- AMap.event.addListener(geolocation, 'complete', thas.onComplete)
258
- AMap.event.addListener(geolocation, 'error', thas.onError)
262
+ if (AMap.Event){
263
+ AMap.Event.addListener(geolocation, 'complete', thas.onComplete)
264
+ AMap.Event.addListener(geolocation, 'error', thas.onError)
265
+ } else {
266
+ AMap.event.addListener(geolocation, 'complete', thas.onComplete)
267
+ AMap.event.addListener(geolocation, 'error', thas.onError)
268
+ }
269
+
259
270
  }
260
271
  })
261
272
  },
@@ -308,7 +319,7 @@ export default {
308
319
  this.myMarker = marker
309
320
  // 对marker绑定点击时事件
310
321
  // eslint-disable-next-line no-undef
311
- AMap.event.addListener(marker, 'click', mkOnclick)
322
+ AMap.Event.addListener(marker, 'click', mkOnclick)
312
323
 
313
324
  function mkOnclick (result) {
314
325
  console.log('事件触发')
@@ -345,6 +356,7 @@ export default {
345
356
  city: result.adcode
346
357
  })
347
358
  var lnglat = result.rectangle.split(';')[0].split(',')
359
+ console.log("shujushi1"+lnglat)
348
360
  geocoder.getAddress(lnglat, function (status, data) {
349
361
  if (status === 'complete' && data.info === 'OK') {
350
362
  // result为对应的地理位置详细信息
@@ -553,7 +565,7 @@ export default {
553
565
  this.map.clearMap();
554
566
  }
555
567
  var marker = new AMap.Marker({
556
- position: _position,
568
+ position:new AMap.LngLat(_position.lng,_position.lat),
557
569
  icon: _icon,
558
570
  map: this.map
559
571
  });
@@ -570,7 +582,7 @@ export default {
570
582
  });
571
583
  if (!/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)) {
572
584
  // 鼠标移动到点触发
573
- AMap.event.addListener(marker, 'mouseover', (row) => {
585
+ AMap.Event.addListener(marker, 'mouseover', (row) => {
574
586
  // 打开信息窗体
575
587
  if (_ismoseOpen) {
576
588
  infoWindow.setContent(_data.content)
@@ -580,7 +592,7 @@ export default {
580
592
  this.$emit("diyspotmouseover", _data.data)
581
593
  })
582
594
  // 鼠标离开改点触发
583
- AMap.event.addListener(marker, 'mouseout', (row) => {
595
+ AMap.Event.addListener(marker, 'mouseout', (row) => {
584
596
  // 关闭信息窗体
585
597
  if (_ismoseOpen) {
586
598
  infoWindow.close();
@@ -591,7 +603,7 @@ export default {
591
603
 
592
604
  } else {
593
605
  // 触摸开始时触发事件,仅适用移动设备
594
- AMap.event.addListener(marker, 'touchstart', (row) => {
606
+ AMap.Event.addListener(marker, 'touchstart', (row) => {
595
607
  // 打开信息窗体
596
608
  if (_ismoseOpen) {
597
609
  infoWindow.setContent(_data.content)
@@ -601,7 +613,7 @@ export default {
601
613
  this.$emit("diyspottouchstart", _data.data)
602
614
  })
603
615
  // 触摸结束触发
604
- AMap.event.addListener(marker, 'touchend', (row) => {
616
+ AMap.Event.addListener(marker, 'touchend', (row) => {
605
617
 
606
618
  // 关闭信息窗体 (移动端长按时间离开后触发)
607
619
  if (_ismoseOpen) {
@@ -614,7 +626,7 @@ export default {
614
626
  })
615
627
  }
616
628
  // 鼠标点击触发
617
- AMap.event.addListener(marker, 'click', (row) => {
629
+ AMap.Event.addListener(marker, 'click', (row) => {
618
630
  this.$emit("diyspotmouseclick", _data.data)
619
631
  })
620
632
  this.map.setFitView();
@@ -25,7 +25,7 @@
25
25
  <export-excel :data="$parent.$parent.getCondition"
26
26
  :field="$parent.$parent.getfield"
27
27
  sqlurl="rs/logic/applyExportfile"
28
- sql-name="getApplyCharge"
28
+ sql-name="getApplyChongZheng"
29
29
  template-name='冲正记录信息导出'
30
30
  :choose-col="true"></export-excel>
31
31
  <div
@@ -10,20 +10,104 @@
10
10
  data () {
11
11
  return {
12
12
  show_data: null, // 给通用页面显示的数据
13
- showview: false // 控制通用页面
13
+ showview: false, // 控制通用页面
14
+ recording: 0, // 是否有缴费记录
14
15
  }
15
16
  },
16
17
  ready () {
17
18
  this.refurbish()
18
19
  },
19
20
  methods: {
21
+ // 判断是否有缴费记录
22
+ getCheckPayRecording () {
23
+ let http = new HttpResetClass()
24
+ let data = {
25
+ f_process_id: this.selectdata.f_process_id,
26
+ user: this.$login.f,
27
+ paynum:'',
28
+ }
29
+ let res = http.load('POST', 'rs/logic/getCheckPay', {data:data}, {
30
+ resolveMsg: null,
31
+ rejectMsg: '缴费记录查询失败!!!'
32
+ })
33
+ // 有缴费记录
34
+ if (res.data> 0) {
35
+ this.recording = 1
36
+
37
+ }
38
+ },
39
+ modifData(fields,falg){
40
+ fields.forEach(item => {
41
+ if((item.label=='工程费单价'||item.label=='应交总金额'|| item.label=='未结总金额')&&falg==1){
42
+ this.readwriteLabels(item.label)
43
+ }
44
+ if((item.label=='工程费单价'||item.label=='应交总金额'|| item.label=='未结总金额')&&falg==0){
45
+ this.readonlyLabels(item.label)
46
+ }
47
+ })
48
+ },
49
+ //根据缴费记录判断是否可编辑
50
+ async getCheckPay (fields, defname,type) {
51
+ console.log(fields)
52
+ let http = new HttpResetClass()
53
+ let data = {
54
+ f_process_id: this.selectdata.f_process_id,
55
+ user: this.$login.f,
56
+ paynum:'',
57
+ }
58
+ let res = await http.load('POST', 'rs/logic/getCheckPay', {data:data}, {
59
+ resolveMsg: null,
60
+ rejectMsg: '缴费记录查询失败!!!'
61
+ })
62
+ // 有缴费记录
63
+ if (res.data> 0) {
64
+ if(type=='非民用报建'||type=='设备变更'){
65
+ if(defname=='报装缴费'){
66
+ fields.forEach(item => {
67
+ if(item.label=='收费标准备注'){
68
+ this.showLabels(item.label)
69
+ }
70
+ })
71
+ }
72
+ }
73
+ //使用foreach遍历fields
74
+ if(defname=='报装缴费'){
75
+ fields.forEach(item => {
76
+ if(item.label=='收费标准备注'||item.label=='票据类型'||item.label=='报警器'||item.label=='购货单位识别号'||item.label=='购货单位名称'||item.label=='购货单位开户'||item.label=='购货单位地址电话'||item.label=='购货单位银行账号'){
77
+ this.readonlyLabels(item.label)
78
+ }else{
79
+ this.readonlyLabels(item.label)
80
+ }
81
+ })
82
+ }
83
+ }else{ //无缴费记录
84
+ if(type=='非民用报建'||type=='设备变更'){
85
+ if(defname=='报装缴费'){
86
+ fields.forEach(item => {
87
+ if(item.label=='收费标准备注'){
88
+ this.showLabels(item.label)
89
+ }
90
+ })
91
+ }
92
+ }
93
+ if(defname=='报装缴费'){
94
+ fields.forEach(item => {
95
+ if(item.label=='收费标准备注'||item.label=='票据类型'||item.label=='报警器'||item.label=='购货单位识别号'||item.label=='购货单位名称'||item.label=='购货单位开户'||item.label=='购货单位地址电话'||item.label=='购货单位银行账号'){
96
+
97
+ this.readwriteLabels(item.label)
98
+ }else{
99
+ this.readonlyLabels(item.label)
100
+ }
101
+ })
102
+ }
103
+ }
104
+ },
20
105
  async refurbish () {
21
106
  // fields 字段填充值
22
107
  for (const item of this.selectdata.fields) {
23
108
  if (!item.value) {
24
109
  item.value = null
25
110
  }
26
-
27
111
  if (!item.value && (item.default || item.default === 0) && item.type !== 'datepicker') {
28
112
  if (item.eval) {
29
113
  item.value = eval(item.default)
@@ -31,7 +115,6 @@
31
115
  item.value = item.default
32
116
  }
33
117
  }
34
-
35
118
  if (this.selectdata[item.field]) {
36
119
  // 将json字符串格式化赋值给value
37
120
  if (String(this.selectdata[item.field]).startsWith("{")) {
@@ -57,7 +140,6 @@
57
140
  if (temp && temp.length > 0) {
58
141
  item.options = temp
59
142
  }
60
-
61
143
  if (item.paramLabel) {
62
144
  temp = this.$appdata.getParam(item.paramLabel)
63
145
  if (temp && temp.length > 0) {
@@ -65,13 +147,10 @@
65
147
  }
66
148
  }
67
149
  }
68
-
69
150
  if (item.ready) {
70
151
  item.options = await this[item.ready]()
71
152
  }
72
153
  }
73
-
74
-
75
154
  if (item.type === 'checkbox') {
76
155
  if (this.selectdata[item.field]) {
77
156
  item.value = JSON.parse(this.selectdata[item.field])
@@ -80,14 +159,12 @@
80
159
  }
81
160
  }
82
161
  }
83
-
84
162
  // 控制组件
85
163
  if (this.selectdata.components) {
86
164
  this.selectdata.components.forEach(item => {
87
165
  item.mark = 2
88
166
  })
89
167
  }
90
-
91
168
  // 初始化onetomany
92
169
  if (this.selectdata.onetomany) {
93
170
  for (const item of this.selectdata.onetomany) {
@@ -105,9 +182,7 @@
105
182
  {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
106
183
  )
107
184
  }
108
-
109
185
  item.rows = res.data
110
-
111
186
  // 初始化onetomany中的fields
112
187
  for (const field of item.fields) {
113
188
  if (!field.value) {
@@ -142,14 +217,29 @@
142
217
  }
143
218
  }
144
219
  }
145
-
146
220
  // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
147
221
  let temp = JSON.parse(JSON.stringify(this.selectdata))
148
-
149
222
  this.show_data = temp
150
223
  this.$nextTick(() => {
151
224
  this.showview = true
152
225
  })
226
+ const defname = this.selectdata.defname
227
+ const type = this.selectdata.f_apply_type
228
+ const title=this.selectdata.title
229
+ if(title=='信息修改' ||title=='信息变更'){
230
+ this.getCheckPay(this.selectdata.fields, defname, type)
231
+ }
232
+ if( type=='非民用报建' && title=='费用调整'){
233
+ if(defname=='报装缴费'){
234
+ this.getCheckPayRecording()
235
+ if(this.recording ==1){ //收费了
236
+ this.modifData(this.selectdata.fields,0)
237
+ }
238
+ if(this.recording ==0){ //没收费
239
+ this.modifData(this.selectdata.fields,1)
240
+ }
241
+ }
242
+ }
153
243
  },
154
244
  // 金额转大写
155
245
  smalltoBIG(n) {
@@ -346,7 +436,28 @@
346
436
  }
347
437
  })
348
438
  throw '用户已缴费,无法修改!!!'
439
+ }else{
440
+ let datas = {
441
+ data: this.show_data,
442
+ user: this.$login.f
443
+ }
444
+ let http = new HttpResetClass()
445
+ let res = http.load('POST', 'rs/logic/modifyRecords', {data:datas}, {
446
+ resolveMsg: null,
447
+ rejectMsg: '保存修改记录失败!!!'
448
+ })
449
+ }
450
+ }
451
+ if(this.selectdata.title === '费用调整'){
452
+ let data = {
453
+ data: this.show_data,
454
+ user: this.$login.f
349
455
  }
456
+ let http = new HttpResetClass()
457
+ let res = http.load('POST', 'rs/logic/modifyRecords', {data:data}, {
458
+ resolveMsg: null,
459
+ rejectMsg: '保存修改记录失败!!!'
460
+ })
350
461
  }
351
462
  console.log("保存数据")
352
463
  let res = await this.$resetpost(
@@ -354,7 +465,6 @@
354
465
  this.show_data,
355
466
  {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
356
467
  )
357
-
358
468
  this.$dispatch('loadPage')
359
469
  },
360
470
  //身份证号码校验
@@ -470,6 +580,7 @@
470
580
  }
471
581
  },
472
582
  watch:{
583
+ deep: true
473
584
  }
474
585
  }
475
586
  </script>
@@ -569,7 +569,7 @@ export default {
569
569
  });
570
570
  },
571
571
  searchCondition(args) {
572
- args.condition = args.condition + ` and ir.id is null`;
572
+ args.condition = args.condition + ` and ir.id is null`;
573
573
  console.log("this.showDatade", this.showData);
574
574
  // args.condition = args.condition + ` and ui.f_process_id = '${this.showData.f_process_id}'`
575
575
  args.condition = args.condition + ` and ui.f_process_id is not null`;
@@ -127,6 +127,28 @@
127
127
  condition="ir.f_date <= '{}'">
128
128
  </datepicker>
129
129
  </div>
130
+ <div class="form-group col-sm-3">
131
+ <label for="startFireDate" class="font_normal_body"><strong>点火时间:</strong></label>
132
+ <datepicker id="startFireDate" placeholder="开始日期"
133
+ style="width: 60%!important;"
134
+ v-model="model.startFireDate"
135
+ :value.sync="model.startFireDate"
136
+ :format="'yyyy-MM-dd 00:00:00'"
137
+ :show-reset-button="true"
138
+ condition="ir.f_ignition_date>= '{}'">
139
+ </datepicker>
140
+ </div>
141
+ <div class="form-group col-sm-3">
142
+ <label for="endFireDate" class="font_normal_body"><strong>点火时间:</strong></label>
143
+ <datepicker id="endFireDate" placeholder="结束日期"
144
+ style="width: 60%!important;"
145
+ v-model="model.endFireDate"
146
+ :value.sync="model.endFireDate"
147
+ :format="'yyyy-MM-dd 23:59:59'"
148
+ :show-reset-button="true"
149
+ condition="ir.f_ignition_date <= '{}'">
150
+ </datepicker>
151
+ </div>
130
152
  </div>
131
153
  </div>
132
154
  </criteria>
@@ -0,0 +1,271 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2">
9
+ <label class="font_normal_body"><strong>报建编号:</strong></label>
10
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
11
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_apply_num like '%{}%'"
12
+ placeholder='报建编号'>
13
+ </div>
14
+ <div class="form-group col-sm-2">
15
+ <label class="font_normal_body"><strong>用户名称:</strong></label>
16
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'"
18
+ placeholder='用户名称'>
19
+ </div>
20
+ <div class="form-group col-sm-2">
21
+ <label class="font_normal_body"><strong>电&emsp;&emsp;话:</strong></label>
22
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
23
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_phone like '%{}%'"
24
+ placeholder='电话'>
25
+ </div>
26
+ <div class="form-group col-sm-3 button-range">
27
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
28
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
29
+ <export-excel :data="$parent.$parent.getCondition"
30
+ :field="$parent.$parent.getfield"
31
+ sqlurl="rs/logic/applyExportfile"
32
+ sql-name="getOldDevices"
33
+ template-name='设备记录信息导出'
34
+ :choose-col="true"></export-excel>
35
+ <div
36
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
37
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
38
+ class="button_spacing"
39
+ style="float: right">
40
+ </div>
41
+ </div>
42
+ </div>
43
+ <div class="row" v-show="$parent.$parent.criteriaShow">
44
+ <div class="form-group col-sm-2">
45
+ <label class="font_normal_body"><strong>报建类型:</strong></label>
46
+ <v-select
47
+ v-model="model.f_apply_type"
48
+ placeholder='请选择'
49
+ condition="u.f_apply_type = '{}'"
50
+ :value.sync="model.f_apply_type"
51
+ :options='$parent.$parent.applytype'
52
+ class="select select_list"
53
+ :value-single="true"
54
+ close-on-select></v-select>
55
+ </div>
56
+ <div class="form-group col-sm-2">
57
+ <label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
58
+ <datepicker id="startDate" placeholder="开始日期"
59
+ style="width: 60%!important;"
60
+ v-model="model.startDate"
61
+ :value.sync="model.startDate"
62
+ :format="'yyyy-MM-dd 00:00:00'"
63
+ :show-reset-button="true"
64
+ condition="ct.f_create_date >= '{}'">
65
+ </datepicker>
66
+ </div>
67
+ <div class="form-group col-sm-2">
68
+ <label for="endDate" class="font_normal_body"><strong>结束时间:</strong></label>
69
+ <datepicker id="endDate" placeholder="结束日期"
70
+ style="width: 60%!important;"
71
+ v-model="model.endDate"
72
+ :value.sync="model.endDate"
73
+ :format="'yyyy-MM-dd 23:59:59'"
74
+ :sho w-reset-button="true"
75
+ condition="ct.f_create_date <= '{}'">
76
+ </datepicker>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </criteria>
81
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
82
+ <template partial='head'>
83
+ <tr>
84
+ <th style="white-space: nowrap;">序号</th>
85
+ <th style="white-space: nowrap;">用户名称</th>
86
+ <th style="white-space: nowrap;">施工合同编号</th>
87
+ <th style="white-space: nowrap;">供气合同编号</th>
88
+ <th style="white-space: nowrap;">电话</th>
89
+ <th style="white-space: nowrap;">火眼</th>
90
+ <th style="white-space: nowrap;">小火眼</th>
91
+ <th style="white-space: nowrap;">壁挂炉</th>
92
+ <th style="white-space: nowrap;">家用灶</th>
93
+ <th style="white-space: nowrap;">热水器</th>
94
+ <th style="white-space: nowrap;">采暖炉</th>
95
+ <th style="white-space: nowrap;">茶水炉</th>
96
+ <th style="white-space: nowrap;">蒸车</th>
97
+ <th style="white-space: nowrap;">蒸汽发生器</th>
98
+ <th style="white-space: nowrap;">灶具</th>
99
+ <th style="white-space: nowrap;">压缩机</th>
100
+ <th style="white-space: nowrap;">模块炉</th>
101
+ <th style="white-space: nowrap;">单位(KW)</th>
102
+ <th style="white-space: nowrap;">锅炉单位(MW)</th>
103
+ <th style="white-space: nowrap;">锅炉吨位(T)</th>
104
+ <th style="white-space: nowrap;">报建编号</th>
105
+ <th style="white-space: nowrap;">合同状态</th>
106
+ <th style="white-space: nowrap;">报建类型</th>
107
+ <th style="white-space: nowrap;">报建性质</th>
108
+ <th style="white-space: nowrap;">安装处数</th>
109
+ </tr>
110
+ </template>
111
+ <template partial='body'>
112
+ <tr>
113
+ <td style="text-align: center;">
114
+ <nobr><font>{{ $index + 1 }}</font></nobr>
115
+ </td>
116
+ <td style="text-align: center;">
117
+ <nobr><font>{{ row.f_user_name }}</font></nobr>
118
+ </td>
119
+ <td style="text-align: center;">
120
+ <nobr><font>{{ row.f_entrust_contract_number }}</font></nobr>
121
+ </td>
122
+ <td style="text-align: center;">
123
+ <nobr><font>{{ row.f_contract_number }}</font></nobr>
124
+ </td>
125
+ <td style="text-align: center;">
126
+ <nobr><font>{{ row.f_phone }}</font></nobr>
127
+ </td>
128
+ <td style="text-align: center;">
129
+ <nobr><font>{{ row.huoyan }}</font></nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr><font>{{ row.xiaohuoyan }}</font></nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr><font>{{ row.bigualu }}</font></nobr>
136
+ </td>
137
+ <td style="text-align: center;">
138
+ <nobr><font>{{ row.jiayongzao }}</font></nobr>
139
+ </td>
140
+ <td style="text-align: center;">
141
+ <nobr><font>{{ row.reshuiqi }}</font></nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr><font>{{ row.cainuanlu }}</font></nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr><font>{{ row.chashuilu }}</font></nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr><font>{{ row.zhengche }}</font></nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr><font>{{ row.zhengqifashengqi }}</font></nobr>
154
+ </td>
155
+ <td style="text-align: center;">
156
+ <nobr><font>{{ row.zaoju }}</font></nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr><font>{{ row.yasuoji }}</font></nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr><font>{{ row.mokuailu }}</font></nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <nobr><font>{{ row.danweikw }}</font></nobr>
166
+ </td>
167
+ <td style="text-align: center;">
168
+ <nobr><font>{{ row.danweimw }}</font></nobr>
169
+ </td>
170
+ <td style="text-align: center;">
171
+ <nobr><font>{{ row.dunwei }}</font></nobr>
172
+ </td>
173
+ <td style="text-align: center;">
174
+ <nobr><font>{{ row.f_apply_num }}</font></nobr>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr><font>{{ row.f_contract_state }}</font></nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr><font>{{ row.f_apply_type }}</font></nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr><font>{{ row.f_apply_nature }}</font></nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr><font>{{ row.f_install_count }}</font></nobr>
187
+ </td>
188
+ </tr>
189
+ </template>
190
+ </data-grid>
191
+ </criteria-paged>
192
+ </div>
193
+ </div>
194
+ </template>
195
+
196
+ <script>
197
+ import {PagedList} from 'vue-client'
198
+ export default {
199
+ title: '原报建设备列表',
200
+ data () {
201
+ return {
202
+ model: new PagedList('rs/sql/getOldDevices', 20, {
203
+ data: {
204
+ f_filiale: this.$login.f.f_fengongsi
205
+ }
206
+ }),
207
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
208
+ criteriaShow: false,
209
+ getfield: {
210
+ 'f_apply_num': ' 报 建 编 号 ',
211
+ 'f_user_name': ' 用 户 名 称 ',
212
+ 'f_contact': ' 联 系 人 ',
213
+ 'f_address': ' 地 址 ',
214
+ 'f_phone': ' 电 话 ',
215
+ 'f_apply_type': ' 报 建 类 型 ',
216
+ 'f_apply_nature': ' 报建性质 ',
217
+ 'f_install_count': ' 安装处数 ',
218
+ 'huoyan': ' 火眼 ',
219
+ 'xiaohuoyan': ' 小火眼 ',
220
+ 'bigualu': ' 壁挂炉 ',
221
+ 'jiayongzao': ' 家用灶 ',
222
+ 'reshuiqi': ' 热水器 ',
223
+ 'cainuanlu': ' 采暖炉 ',
224
+ 'chashuilu': ' 茶水炉 ',
225
+ 'zhengche': ' 蒸车 ',
226
+ 'zhengqifashengqi': ' 蒸汽发生器 ',
227
+ 'zaoju': ' 灶具 ',
228
+ 'yasuoji': ' 压缩机 ',
229
+ 'mokuailu': ' 模块炉 ',
230
+ 'danweikw': ' 锅炉单位(KW) ',
231
+ 'danweimw': ' 锅炉单位(MW) ',
232
+ 'dunwei': ' 锅炉吨位(T) ',
233
+ 'f_entrust_contract_number': '施工合同编号',
234
+ 'f_contract_number': '供气合同编号',
235
+ 'f_create_date': '合同创建日期',
236
+ 'f_due_money': ' 合同金额 ',
237
+ 'f_contract_state': '合同状态'
238
+
239
+ }
240
+ }
241
+ },
242
+ ready () {
243
+ // 调用查询
244
+ this.search()
245
+ },
246
+ methods: {
247
+ clear () {
248
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
249
+ this.$refs.cp.$refs.cri.model[key] = []
250
+ })
251
+ },
252
+ // 查询
253
+ search () {
254
+ this.$refs.cp.$refs.cri.search()
255
+ }
256
+ },
257
+ computed: {
258
+ getCondition () {
259
+ return {
260
+ condition: this.$refs.cp.$refs.cri.condition,
261
+ data: {
262
+ f_filiale: this.$login.f.f_fengongsi
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ </script>
269
+
270
+ <style scoped>
271
+ </style>