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
package/index.html CHANGED
@@ -13,7 +13,7 @@
13
13
  // 例如 :serviceHost:'http://1.1.1.1:80/_AMapService',
14
14
  }
15
15
  </script>
16
- <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.2&key=aa8b7c6a524337cb733152217fc1e52b"></script>
16
+ <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=aa8b7c6a524337cb733152217fc1e52b"></script>
17
17
  <!--引入UI组件库(1.1版本) -->
18
18
  <script src="https://webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script>
19
19
  <style media="screen">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "7.1.36-yuchuan-4",
3
+ "version": "7.1.36-yuchuan-5",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -64,7 +64,7 @@
64
64
  "eventsource-polyfill": "^0.9.6",
65
65
  "express": "^4.17.0",
66
66
  "extract-text-webpack-plugin": "^1.0.1",
67
- "fadada-clients": "1.0.18",
67
+ "fadada-clients": "1.0.19",
68
68
  "file-loader": "^0.8.4",
69
69
  "form-create": "^1.6.6",
70
70
  "function-bind": "^1.0.2",
package/src/apply.js CHANGED
@@ -112,6 +112,8 @@ export default function () {
112
112
  Vue.component('apply-map-location', (resolve) => { require(['./components/product/ApplyMap/ApplyMapLocation'], resolve) })
113
113
  // 收费标准票据
114
114
  Vue.component('apply-printCharge', (resolve) => { require(['./components/product/Process/Processes/Print/printCharge'], resolve) })
115
+ // 报报建类型为改线业务,在核算费用环节添加打印预览的功能。
116
+ Vue.component('apply-gx-printCharge', (resolve) => { require(['./components/product/Process/Processes/Print/printGaiXianCharge.vue'], resolve) })
115
117
  // 气量核算票据
116
118
  Vue.component('apply-printpaymentapproval', (resolve) => { require(['./components/product/Process/Processes/Print/printPaymentApproval'], resolve) })
117
119
  // 气量核算付款事由票据
@@ -140,8 +142,12 @@ export default function () {
140
142
  // 用户管理部未通气月报表
141
143
  Vue.component('apply-gongchengbu', (resolve) => { require(['./components/product/Report/gongchengbu.vue'], resolve) })
142
144
  // 改线业务信息列表
143
- Vue.component('apply-gai-xian-search', (resolve) => { require(['./components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue'], resolve) })
144
- Vue.component('apply-gai-xian-list', (resolve) => { require(['./components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue'], resolve) })
145
+ Vue.component('apply-gai-xian-search', (resolve) => { require(['./components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue'], resolve) }),
146
+ Vue.component('apply-gai-xian-list', (resolve) => { require(['./components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue'], resolve) }),
145
147
  // 流程时间环节
146
- Vue.component('apply-defname-time', (resolve) => { require(['./components/product/List/ShowAllActivity.vue'], resolve) })
148
+ Vue.component('apply-defname-time', (resolve) => { require(['./components/product/List/ShowAllActivity.vue'], resolve) }),
149
+ Vue.component('apply-adjustment-record', (resolve) => { require(['./components/product/records/AdjustmentRecordList.vue'], resolve) }),
150
+ // 费用调整记录
151
+ Vue.component('Apply-gaiXian-view-list', (resolve) => { require(['./components/product/ApplyGaiXianCharge/ApplyGaiXianViewList'], resolve) })
152
+ Vue.component('old-apply-devices-show', (resolve) => { require(['./components/product/List/OldShowDevices.vue'], resolve) })
147
153
  }
@@ -40,6 +40,11 @@ export default function () {
40
40
  Vue.component('show-build', (resolve) => { require(['./components/android/Task/ShiGongXinXi/ShowBuild'], resolve) })
41
41
  // 施工信息控制层
42
42
  Vue.component('app-build-user', (resolve) => { require(['./components/android/Task/ShiGongXinXi/AppShowBuildUser'], resolve) })
43
+ // 已办信息
44
+ Vue.component('show-done', (resolve) => { require(['./components/android/Task/yiban/ShowDone'], resolve) })
45
+ // 已办信息控制层
46
+ Vue.component('app-satisfaction-show', (resolve) => { require(['./components/android/Task/yiban/satisfactionShow'], resolve) })
47
+ Vue.component('app-build-done', (resolve) => { require(['./components/android/Task/yiban/AppShowDone'], resolve) })
43
48
  // 施工通气
44
49
  Vue.component('app-build-ignition', (resolve) => { require(['./components/android/Task/BuildIgnition/BuildIgnition'], resolve) })
45
50
 
@@ -84,4 +89,8 @@ export default function () {
84
89
  Vue.component('app-exploration-guan-xian', (resolve) => { require(['./components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue'], resolve) })
85
90
  // 管线建设
86
91
  Vue.component('app-guan-xian-cailiao', (resolve) => { require(['./components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue'], resolve) })
92
+ // 铅封管理
93
+ Vue.component('seal-manage', (resolve) => { require(['./components/android/SealManage'], resolve) })
94
+ // 铅封绑定
95
+ Vue.component('seal-bind', (resolve) => { require(['./components/android/SealBind'], resolve) })
87
96
  }
@@ -19,13 +19,13 @@
19
19
  </div>
20
20
  <div class="form-group row">
21
21
  <div class="col-xs-12">
22
- <textarea rows="26" cols="42" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
22
+ <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
23
23
  我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
24
24
  安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
25
25
  设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
26
26
 
27
27
  </textarea>
28
- <textarea rows="26" cols="42" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
28
+ <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
29
29
 
30
30
  我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收、材料供应和燃气泄露报警器、安全自动切断装置等相关事宜。
31
31
  安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。
@@ -102,7 +102,7 @@ export default {
102
102
  this.notification = false
103
103
  this.sign()
104
104
  },
105
- sign () {
105
+ sign() {
106
106
  this.delAudioFile(this.f_sign_path)
107
107
  this.fileName = guid() + '.jpg'
108
108
  HostApp.__callback__ = this.signCallback
@@ -118,10 +118,13 @@ export default {
118
118
  console.log('==============签字回调============')
119
119
  console.log(signPath)
120
120
  HostApp.__this__.$set(prop, signPath)
121
+
122
+
121
123
  console.log(HostApp.__this__.f_sign_path)
122
124
 
123
125
  HostApp.__this__.uploadFile()
124
126
 
127
+
125
128
  HostApp.__callback__ = null
126
129
  HostApp.__this__ = null
127
130
  },
@@ -135,8 +138,8 @@ export default {
135
138
  fremarks: '报装手机签字文件',
136
139
  fileName: HostApp.__this__.fileName,
137
140
  fileUrl: HostApp.__this__.f_sign_path,
141
+ f_apply_type:HostApp.__this__.selectdata.f_apply_type,
138
142
  }
139
-
140
143
  console.log('-----------bzLogic-----------------')
141
144
  console.log(JSON.stringify(data))
142
145
  let res = HostApp.bzLogic({
@@ -152,7 +152,7 @@ export default {
152
152
  let condition = ''
153
153
 
154
154
  condition = `f_blobid= '${this.headers.blodid}' `
155
- if (this.headers.defname.indexOf('单位签字')){
155
+ if (this.headers.defname &&this.headers.defname.indexOf('单位签字')){
156
156
  let http = new HttpResetClass()
157
157
  let data = {
158
158
  tablename: 't_apply_sign',
@@ -220,43 +220,50 @@ export default {
220
220
  }
221
221
  },
222
222
  async applyVentilate () {
223
- if (this.model.f_ignition_trouble === '有隐患'){
224
- this.$showMessage("隐患未消除,无法提交")
223
+ let res = await this.$showMessage('是否需要继续此次操作')
224
+ if (res === 'cancel') {
225
225
  return
226
+ }else{
227
+ if (this.model.f_ignition_trouble === '有隐患'){
228
+ this.$showMessage("隐患未消除,无法提交")
229
+ return
230
+ }
231
+ let http = new HttpResetClass()
232
+ let data = {
233
+ selectdata: this.selectdata,
234
+ user: Vue.user
235
+ }
236
+ let res = await http.load(
237
+ 'POST',
238
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/applyVentilate`,
239
+ {data: data},
240
+ {resolveMsg: null, rejectMsg: `操作失败!!!`}
241
+ )
242
+ // 返回上层
243
+ this.$dispatch('confirm')
226
244
  }
227
- let http = new HttpResetClass()
228
- let data = {
229
- selectdata: this.selectdata,
230
- user: Vue.user
231
- }
232
-
233
- let res = await http.load(
234
- 'POST',
235
- `${this.$androidUtil.getProxyUrl()}/rs/logic/applyVentilate`,
236
- {data: data},
237
- {resolveMsg: null, rejectMsg: `操作失败!!!`}
238
- )
239
-
240
- // 返回上层
241
- this.$dispatch('confirm')
242
245
  },
243
246
  async saveApplyVentilate () {
244
- let http = new HttpResetClass()
245
- let data = {
246
- selectdata: this.selectdata,
247
- user: Vue.user,
248
- model:this.model
247
+ let res = await this.$showMessage('是否需要继续此次操作')
248
+ if (res === 'cancel') {
249
+ return
250
+ }else{
251
+ let http = new HttpResetClass()
252
+ let data = {
253
+ selectdata: this.selectdata,
254
+ user: Vue.user,
255
+ model:this.model
256
+ }
257
+ let res = await http.load(
258
+ 'POST',
259
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/saveApplyVentilate`,
260
+ {data: data},
261
+ {resolveMsg: null, rejectMsg: `操作失败!!!`}
262
+ )
263
+ // 刷新
264
+ this.$dispatch('confirm')
249
265
  }
250
266
 
251
- let res = await http.load(
252
- 'POST',
253
- `${this.$androidUtil.getProxyUrl()}/rs/logic/saveApplyVentilate`,
254
- {data: data},
255
- {resolveMsg: null, rejectMsg: `操作失败!!!`}
256
- )
257
-
258
- // 刷新
259
- this.$dispatch('confirm')
260
267
  },
261
268
  async cleanTrouble () {
262
269
  let http = new HttpResetClass()
@@ -35,7 +35,7 @@ Date.prototype.Format = function (fmt) {
35
35
  }
36
36
  export default {
37
37
  title: '报建流程业务控制层',
38
- props: ['selectdata'],
38
+ props: ['selectdata', 'title'],
39
39
  data() {
40
40
  return {
41
41
  json_datas: null,
@@ -52,6 +52,7 @@ export default {
52
52
  methods: {
53
53
  async refurbish() {
54
54
  this.showview = false
55
+ let title=this.title
55
56
  let data = {
56
57
  workname: this.selectdata.processname
57
58
  }
@@ -156,7 +157,7 @@ export default {
156
157
  item.value = []
157
158
  }
158
159
  }
159
- if(this.selectdata.defname === '施工信息'){
160
+ if(this.selectdata.defname === '施工信息'||this.title === '已办信息'){
160
161
  item.readonly = true
161
162
  item.disabled = true
162
163
  }
@@ -178,6 +179,7 @@ export default {
178
179
  })
179
180
  }
180
181
  }
182
+
181
183
  // 初始化onetomany
182
184
  if (this.selectdata.onetomany) {
183
185
  for (const item of this.selectdata.onetomany) {
@@ -304,7 +306,7 @@ export default {
304
306
  })
305
307
  }
306
308
  }
307
- if(this.selectdata.defname === '施工信息'){
309
+ if(this.selectdata.defname === '施工信息'||this.title=== '已办信息'){
308
310
  this.selectdata.buttons = null
309
311
  }
310
312
  if (this.selectdata.f_apply_nature === '散户' && this.selectdata.defname === '现场勘察') {
@@ -501,6 +503,10 @@ export default {
501
503
  )
502
504
 
503
505
  this.selectdata = res.data[0]
506
+ this.selectdata.f_building=this.show_data.f_building
507
+ this.selectdata.f_unit=this.show_data.f_unit
508
+ this.selectdata.f_room=this.show_data.f_room
509
+ this.selectdata.pageIndex=this.show_data.pageIndex
504
510
  } else {
505
511
  this.selectdata = servicedata
506
512
  }
@@ -1119,7 +1125,7 @@ export default {
1119
1125
  this.setLabelOptions('气表型号', [{label: '无', value: 'null'}])
1120
1126
  return
1121
1127
  }
1122
- data = {
1128
+ let data = {
1123
1129
  f_gasbrand_id: this.show_data.f_meter_brand
1124
1130
  }
1125
1131
  let res = await http.load(
@@ -1284,7 +1290,28 @@ export default {
1284
1290
  },
1285
1291
  async 'button'() {
1286
1292
  if (this.show_data.button.before) {
1287
- await this[this.show_data.button.before]()
1293
+ //判断当前环节
1294
+ if(this.show_data.defname=='现场勘察'||this.show_data.defname=='工程派工' ||this.show_data.defname=='工程施工'||this.show_data.defname=='点火通气' ||this.show_data.defname=='监理单位派工' ||this.show_data.defname=='工程队派工' ||this.show_data.defname=='检测单位签字' ||this.show_data.defname=='土建单位签字' ||this.show_data.defname=='监理单位签字' ||this.show_data.defname=='建设单位签字'){
1295
+ if(this.show_data.button.button_name=='提交' || this.show_data.button.button_name=='保存' || this.show_data.button.button_name=='退回'){
1296
+ let res = await this.$showMessage('是否需要继续此次操作')
1297
+ if (res === 'cancel') {
1298
+ return
1299
+ }else{
1300
+ await this[this.show_data.button.before]()
1301
+ }
1302
+ }
1303
+ }
1304
+ }else{
1305
+ //判断当前环节
1306
+ if(this.show_data.defname=='现场勘察'||this.show_data.defname=='工程派工' ||this.show_data.defname=='工程施工'||this.show_data.defname=='点火通气' ||this.show_data.defname=='监理单位派工' ||this.show_data.defname=='工程队派工'){
1307
+ if(this.show_data.button.button_name=='提交' || this.show_data.button.button_name=='保存' || this.show_data.button.button_name=='退回'){
1308
+ let res = await this.$showMessage('是否需要继续此次操作')
1309
+ if (res === 'cancel') {
1310
+ return
1311
+ }
1312
+ }
1313
+ }
1314
+
1288
1315
  }
1289
1316
  // 点击重置按钮就重置数据
1290
1317
  if (this.show_data.button.button_name === '重置') {