safecheck-client 3.0.32-3 → 3.0.32-30

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 (61) hide show
  1. package/package.json +133 -133
  2. package/src/App.vue +31 -31
  3. package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
  4. package/src/assets//345/234/260/345/235/200.png +0 -0
  5. package/src/assets//345/247/223/345/220/215.png +0 -0
  6. package/src/assets//345/260/217/345/214/272.png +0 -0
  7. package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
  8. package/src/assets//345/272/225/346/225/260.png +0 -0
  9. package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
  10. package/src/assets//346/245/274/345/217/267.png +0 -0
  11. package/src/assets//346/245/274/345/261/202.png +0 -0
  12. package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
  13. package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
  14. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  15. package/src/components/planmanage/checkPlanList.vue +3 -3
  16. package/src/components/rongcheng/AspiratedDevices.vue +999 -999
  17. package/src/components/rongcheng/DefectPaper.vue +4 -1
  18. package/src/components/rongcheng/SafecheckDevices.vue +1031 -1031
  19. package/src/components/rongcheng/SafecheckOrderV.vue +2524 -2524
  20. package/src/components/rongcheng/SafecheckUserInfo.vue +1005 -1004
  21. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  22. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  23. package/src/filiale/dexin/android/SafecheckOrderV.vue +2375 -2353
  24. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  25. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  26. package/src/filiale/dexin/android.js +4 -1
  27. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  28. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  29. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  30. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  31. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  32. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  33. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  34. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  35. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  36. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  37. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  38. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  39. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  40. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  41. package/src/filiale/fugou/pc/PlanManage.vue +1019 -0
  42. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  43. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  44. package/src/filiale/fugou/pc.js +60 -5
  45. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  46. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  47. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  48. package/src/filiale/shexian/pc/PaperList.vue +822 -822
  49. package/src/filiale/shexian/pc.js +16 -16
  50. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  51. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  52. package/src/filiale/wensu/pc/DefectPaperNew.vue +8 -8
  53. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  54. package/src/filiale/wensu/pc/checkUserList.vue +5 -1
  55. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  56. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  57. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  58. package/src/filiale/zhongyi/pc/DefectListNew.vue +1 -1
  59. package/src/main.js +33 -33
  60. package/static/stretch_bottom.png +0 -0
  61. package/static/stretch_top.png +0 -0
@@ -1,16 +1,16 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //手机特殊目录注册到该文件中
5
- let specialComp = {
6
- 'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper'], resolve) },
7
- 'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
8
- 'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew'], resolve) },
9
- 'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
10
- 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
11
- }
12
- exports.specialComp = specialComp
13
-
14
-
15
-
16
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ 'new-check-paper': (resolve) => { require(['./pc/NewCheckpaper'], resolve) },
7
+ 'safe-defect-paper-new': (resolve) => { require(['./pc/DefectPaperNew'], resolve) },
8
+ 'safe-defect-list-new': (resolve) => { require(['./pc/DefectListNew'], resolve) },
9
+ 'paper-defect-main': (resolve) => { require(['./pc/PaperDefectMain'], resolve) },
10
+ 'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
11
+ }
12
+ exports.specialComp = specialComp
13
+
14
+
15
+
16
+
@@ -777,7 +777,7 @@
777
777
  this.$showMessage("网络异常,请检查网络后再试!")
778
778
  })
779
779
  }else{
780
- this.$showMessage("该安检单已被上传!")
780
+ this.$showMessage("该安检单已被上传!请联系营业厅进行核查")
781
781
  }
782
782
  },
783
783
  makeAPhoneCall(phoneNumber) {
@@ -49,15 +49,15 @@
49
49
  </div>
50
50
  <div class="row" v-show="!$parent.$parent.$parent.showItem">
51
51
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
52
- <label class="font_normal_body">用户类型</label>
52
+ <label class="font_normal_body">用气类型</label>
53
53
  <v-select id="f_usertype"
54
- placeholder='用户类型'
54
+ placeholder='用气类型'
55
55
  class="select select_list"
56
- :value.sync="model.f_usertype"
56
+ :value.sync="model.f_gasproperties"
57
57
  :value-single="true"
58
- :options='$parent.$parent.usertypes'
59
- v-model="model.f_usertype"
60
- condition="f_user_type = '{}'"
58
+ :options='$parent.$parent.gasproperties'
59
+ v-model="model.f_gasproperties"
60
+ condition="f_gasproperties = '{}'"
61
61
  close-on-select clear-button></v-select>
62
62
  </div>
63
63
  <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
@@ -183,25 +183,25 @@
183
183
  :value-single="true">
184
184
  </v-select>
185
185
  </div>
186
+ <!-- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">-->
187
+ <!-- <label class="font_normal_body">用户性质</label>-->
188
+ <!-- <v-select class="select_list select"-->
189
+ <!-- placeholder='用户性质' style="width: 60%"-->
190
+ <!-- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
191
+ <!-- :options='$parent.$parent.gasproperties'-->
192
+ <!-- close-on-select clear-button-->
193
+ <!-- condition="f_gasproperties = '{}'"-->
194
+ <!-- :value-single="true">-->
195
+ <!-- </v-select>-->
196
+ <!-- </div>-->
186
197
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
187
- <label class="font_normal_body">用户性质</label>
188
- <v-select class="select_list select"
189
- placeholder='用户性质' style="width: 60%"
190
- :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
191
- :options='$parent.$parent.gasproperties'
192
- close-on-select clear-button
193
- condition="f_gasproperties = '{}'"
194
- :value-single="true">
195
- </v-select>
196
- </div>
197
- <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
198
- <label class="font_normal_body">片区</label>
198
+ <label class="font_normal_body">开户网点</label>
199
199
  <v-select class="select_list select"
200
- placeholder='片区' style="width: 60%"
200
+ placeholder='开户网点' style="width: 60%"
201
201
  :value.sync="model.f_outlets" v-model="model.f_outlets"
202
202
  :options='$parent.$parent.userareas'
203
203
  close-on-select clear-button
204
- condition="f_outlets = '{}'"
204
+ condition=" f_khwd = '{}'"
205
205
  :value-single="true">
206
206
  </v-select>
207
207
  </div>
@@ -251,16 +251,16 @@
251
251
  placeholder="地址" condition="f_address like '%{}%'">
252
252
  </div>
253
253
  <div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
254
- <label class="font_normal_body">用户类型</label>
254
+ <label class="font_normal_body">用气类型</label>
255
255
  <v-select
256
- placeholder='用户类型'
256
+ placeholder='用气类型'
257
257
  class="select select_list"
258
258
 
259
- :value.sync="model.f_usertype"
259
+ :value.sync="model.f_gasproperties"
260
260
  :value-single="true"
261
- :options='$parent.$parent.usertypes'
262
- v-model="model.f_usertype"
263
- condition="f_user_type = '{}'"
261
+ :options='$parent.$parent.gasproperties'
262
+ v-model="model.f_gasproperties"
263
+ condition="f_gasproperties = '{}'"
264
264
  close-on-select clear-button></v-select>
265
265
  </div>
266
266
  <!-- <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow && !$parent.$parent.$parent.showItem"></div>-->
@@ -362,7 +362,10 @@
362
362
  <!-- <nobr>气表品牌</nobr>-->
363
363
  <!-- </th>-->
364
364
  <th>
365
- <nobr>用户类型</nobr>
365
+ <nobr>用气类型</nobr>
366
+ </th>
367
+ <th>
368
+ <nobr>f_khwd</nobr>
366
369
  </th>
367
370
  <!-- <th>-->
368
371
  <!-- <nobr>壁挂炉</nobr>-->
@@ -403,7 +406,8 @@
403
406
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
404
407
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
405
408
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
406
- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
409
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_gasproperties }}</td>
410
+ <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_khwd }}</td>
407
411
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
408
412
  <!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
409
413
  <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
@@ -583,13 +587,14 @@ export default {
583
587
  f_defect_content: "CASE WHEN CHARINDEX( '\"result\":\"正常\"', tp.f_defect_content ) > 0 THEN '正常' ELSE replace(replace(replace( replace( RIGHT ( tp.f_defect_content, len( tp.f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
584
588
  },
585
589
  excelHeaders: {
586
- //用户编号 用户名称 用户电话 安检次数 用户类型 小区名称 地址 安检日期 安检状态 安检结果
590
+ //用户编号 用户名称 用户电话 安检次数 用气类型 小区名称 地址 安检日期 安检状态 安检结果
587
591
 
588
592
  'f_userinfo_code': '用户编号',
589
593
  'f_user_name': '用户名称',
590
594
  'f_user_phone': '用户电话',
591
595
  'f_meternumber': '用户表号',
592
- 'f_user_type': '用户类型',
596
+ 'f_gasproperties': '用气类型',
597
+ 'f_khwd': '开户网点',
593
598
  'f_checker_name': '安检员',
594
599
  'f_residential_area': '小区名称',
595
600
  'f_address': '地址',
@@ -606,7 +611,7 @@ export default {
606
611
  orgstrs: [{label: '全部', value: ''}],
607
612
  checkersid: [],
608
613
  gasproperties:[],
609
- userareas:[],
614
+ userareas:[{label: '全部', value: ''}, ...this.$appdata.getParam('开户网点')],
610
615
  SafeCheckXZ: '',
611
616
  civil: '', //民用安检周期
612
617
  civilian: '', //非民用安检周期
@@ -684,7 +689,7 @@ export default {
684
689
  this.Mreadibook(`('${this.$login.f.orgid}')`)
685
690
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
686
691
  this.getAllGasproperties()
687
- this.getAllOutlets()
692
+ // this.getAllOutlets()
688
693
  },
689
694
  methods: {
690
695
  async blacklist(){
@@ -920,10 +925,10 @@ export default {
920
925
  }, ...this.$appdata.getParam('安检状态')] : [{label: '全部', value: ''}]
921
926
  },
922
927
  usertypes() {
923
- return this.$appdata.getParam('用户类型') ? [{
928
+ return this.$appdata.getParam('用气类型') ? [{
924
929
  label: '全部',
925
930
  value: ''
926
- }, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
931
+ }, ...this.$appdata.getParam('用气类型')] : [{label: '全部', value: ''}]
927
932
  },
928
933
  userstates() {
929
934
  return this.$appdata.getParam('用户状态') ? [{
@@ -1082,25 +1087,25 @@ export default {
1082
1087
  })
1083
1088
  })
1084
1089
  },
1085
- getAllOutlets(){
1086
- this.userareas=[{
1087
- label:'全部',
1088
- value:''
1089
- }]
1090
- new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
1091
- items: 'f_outlets',
1092
- tablename: 't_user_address',
1093
- condition: `1=1`,
1094
- groupitem: 'f_outlets'
1095
- }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1096
- res.data.forEach(ress=>{
1097
- this.userareas.push({
1098
- label:ress.f_outlets,
1099
- value:ress.f_outlets
1100
- })
1101
- })
1102
- })
1103
- },
1090
+ // getAllOutlets(){
1091
+ // this.userareas=[{
1092
+ // label:'全部',
1093
+ // value:''
1094
+ // }]
1095
+ // new HttpResetClass().load('POST',`/rs/sql/tel_singleTable_GroupBy`, {data: {
1096
+ // items: 'f_outlets',
1097
+ // tablename: 't_user_address',
1098
+ // condition: `1=1`,
1099
+ // groupitem: 'f_outlets'
1100
+ // }}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1101
+ // res.data.forEach(ress=>{
1102
+ // this.userareas.push({
1103
+ // label:ress.f_outlets,
1104
+ // value:ress.f_outlets
1105
+ // })
1106
+ // })
1107
+ // })
1108
+ // },
1104
1109
  getAllMeterBook(val){
1105
1110
  ////tag
1106
1111
  ////tag
@@ -101,9 +101,9 @@
101
101
  </v-select>
102
102
  </div>
103
103
  <div :class="$parent.$parent.style">
104
- <label class="font_normal_body">起始时间</label>
104
+ <label class="font_normal_body">安检起始时间</label>
105
105
  <datepicker
106
- placeholder='起始时间' style="width:60%"
106
+ placeholder='安检起始时间' style="width:60%"
107
107
  :disabled-days-of-week="[]"
108
108
  :format="'yyyy-MM-dd'"
109
109
  :show-rest-button="reset"
@@ -113,9 +113,9 @@
113
113
  </datepicker>
114
114
  </div>
115
115
  <div :class="$parent.$parent.style">
116
- <label class="font_normal_body">结束时间</label>
116
+ <label class="font_normal_body">安检结束时间</label>
117
117
  <datepicker
118
- placeholder='结束时间' style="width:60%"
118
+ placeholder='安检结束时间' style="width:60%"
119
119
  :disabled-days-of-week="[]"
120
120
  :format="'yyyy-MM-dd'"
121
121
  :show-rest-button="reset"
@@ -300,9 +300,9 @@
300
300
  </v-select>
301
301
  </div>
302
302
  <div :class="$parent.$parent.style">
303
- <label class="font_normal_body">起始时间</label>
303
+ <label class="font_normal_body">安检起始时间</label>
304
304
  <datepicker
305
- placeholder='起始时间' style="width:60%"
305
+ placeholder='安检起始时间' style="width:60%"
306
306
  :disabled-days-of-week="[]"
307
307
  :format="'yyyy-MM-dd'"
308
308
  :show-rest-button="reset"
@@ -312,9 +312,9 @@
312
312
  </datepicker>
313
313
  </div>
314
314
  <div :class="$parent.$parent.style">
315
- <label class="font_normal_body">结束时间</label>
315
+ <label class="font_normal_body">安检结束时间</label>
316
316
  <datepicker
317
- placeholder='结束时间' style="width:60%"
317
+ placeholder='安检结束时间' style="width:60%"
318
318
  :disabled-days-of-week="[]"
319
319
  :format="'yyyy-MM-dd'"
320
320
  :show-rest-button="reset"
@@ -120,9 +120,9 @@ import {HttpResetClass} from 'vue-client'
120
120
  this.allUsers.forEach(user => {
121
121
  // if (resids.indexOf(user.orgid) != -1) {
122
122
  // if (typeof user.name == "string"){
123
- if(user.state == '在职'){
123
+
124
124
  this.users.push({label: user.name, value: user.name})
125
- }
125
+
126
126
 
127
127
  // }
128
128
  // }
@@ -408,7 +408,11 @@
408
408
  args.condition +=` and ${this.uploadCodeCondition}`
409
409
  }
410
410
  if(args.model.f_last_check_state){
411
- args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
411
+ if (args.model.f_last_check_state == '未检'){
412
+ args.condition += ` and (ua.f_last_check_date is null or ua.f_last_check_date is null) `
413
+ }else {
414
+ args.condition += ` and ua.f_last_check_state = '${args.model.f_last_check_state}'`
415
+ }
412
416
  }
413
417
  if(args.model.f_start_time){
414
418
  args.condition += ` and ua.f_last_check_date >='${args.model.f_start_time} 00:00:00' `
@@ -684,9 +684,9 @@ export default {
684
684
  hasError = this.verifyDevices()
685
685
  if (hasError)
686
686
  return hasError
687
- hasError = this.verifyFeedback()
688
- if (hasError)
689
- return hasError
687
+ // hasError = this.verifyFeedback()
688
+ // if (hasError)
689
+ // return hasError
690
690
  },
691
691
  verifyState() {
692
692
  if (Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
@@ -80,6 +80,7 @@
80
80
  {{{ model.data.substring(26,model.data.length-8) }}}
81
81
  </th>
82
82
  </tr>
83
+ <tr style="height: 100px"></tr>
83
84
  </table>
84
85
  </div>
85
86
  </criteria-paged>
@@ -72,6 +72,7 @@
72
72
  {{{ model.data.substring(26,model.data.length-8) }}}
73
73
  </th>
74
74
  </tr>
75
+ <tr style="height: 100px"></tr>
75
76
  </table>
76
77
  </div>
77
78
  </criteria-paged>
@@ -494,7 +494,7 @@ export default {
494
494
  if (this.model.rows.length > 0) {
495
495
  let tempRow = this.model.rows
496
496
  for (let i = 0; i < tempRow.length; i++) {
497
- if (tempRow[i].f_repaire_type == '未处理') {
497
+ if (tempRow[i].f_repaire_type == '未处理' || !tempRow[i].f_repaire_type ) {
498
498
  this.needRepair = true
499
499
  return
500
500
  }
package/src/main.js CHANGED
@@ -1,33 +1,33 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import safecheck from './safecheck'
6
- import echarts from 'echarts'
7
- // import safecheck from './rongcheng'
8
-
9
- all()
10
- // 验证码开关赋值
11
- var Verificationfalg = false
12
- system(Verificationfalg)
13
- // system()
14
- //safecheck(process.env.SAFE_CHECK);
15
- safecheck('shexian')
16
- require('./bootstrap/less/bootstrap.less')
17
- require('./expandcss.less')
18
-
19
- Vue.prototype.$echarts = echarts
20
- Vue.android = false
21
-
22
- Vue.url = '/SafeCheck/rs/'
23
- if(Vue.android)
24
- Vue.url = Vue.staticUrl
25
- Vue.interval = 1*60*1000
26
- Vue.nopic = 'file:///android_asset/nopic.png'
27
- Vue.mapSetup = false
28
-
29
- /* eslint-disable no-new */
30
- new Vue({
31
- el: 'body',
32
- components: { App }
33
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import safecheck from './safecheck'
6
+ import echarts from 'echarts'
7
+ // import safecheck from './rongcheng'
8
+
9
+ all()
10
+ // 验证码开关赋值
11
+ var Verificationfalg = false
12
+ system(Verificationfalg)
13
+ // system()
14
+ safecheck('fugou')
15
+ // safecheck('rizhao')
16
+ require('./bootstrap/less/bootstrap.less')
17
+ require('./expandcss.less')
18
+
19
+ Vue.prototype.$echarts = echarts
20
+ Vue.android = false
21
+
22
+ Vue.url = '/SafeCheck/rs/'
23
+ if(Vue.android)
24
+ Vue.url = Vue.staticUrl
25
+ Vue.interval = 1*60*1000
26
+ Vue.nopic = 'file:///android_asset/nopic.png'
27
+ Vue.mapSetup = false
28
+
29
+ /* eslint-disable no-new */
30
+ new Vue({
31
+ el: 'body',
32
+ components: { App }
33
+ })
Binary file
Binary file