safecheck-client 3.0.33-8 → 3.0.33-80

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 (91) hide show
  1. package/index.html +6 -2
  2. package/package.json +3 -3
  3. package/src/App.vue +31 -31
  4. package/src/components/Util/ImgSelfSafePlus.vue +12 -10
  5. package/src/components/android/CurrentCreate.vue +1 -1
  6. package/src/components/android/SafecheckOrderV.vue +3 -3
  7. package/src/components/paper/PaperList.vue +5 -4
  8. package/src/components/planmanage/PlanManage.vue +3 -2
  9. package/src/components/planmanage/checkPlanList.vue +2 -1
  10. package/src/components/planmanage/checkUserList.vue +34 -2
  11. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  12. package/src/components/report/HiddenSituation.vue +3 -3
  13. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  14. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  15. package/src/components/rongcheng/DefectPaper.vue +1 -1
  16. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  17. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  18. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  19. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  20. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  21. package/src/filiale/Util.js +5 -0
  22. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  23. package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
  24. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  25. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  26. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  27. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  28. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  29. package/src/filiale/fugou/android.js +2 -1
  30. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  31. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  32. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  33. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  34. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  35. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  36. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  37. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  38. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  39. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  40. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  41. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  42. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  43. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  44. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  45. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  46. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  47. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  48. package/src/filiale/jingyang/pc.js +1 -0
  49. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  50. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  51. package/src/filiale/rongchuang/android.js +1 -0
  52. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  53. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  54. package/src/filiale/rongchuang/pc.js +1 -0
  55. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  56. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  57. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  58. package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
  59. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  60. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  61. package/src/filiale/weinan/pc.js +1 -0
  62. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  63. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
  64. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  65. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
  66. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1 -1
  67. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1230 -0
  68. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2832 -2832
  69. package/src/filiale/yangchunboneng/android.js +1 -0
  70. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +28 -1
  71. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1168 -1018
  72. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  73. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  74. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  75. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  76. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  77. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  78. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  79. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  80. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +55 -125
  81. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  82. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  83. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  84. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  85. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  86. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  87. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  88. package/src/filiale/yongzhou/pc.js +4 -0
  89. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +753 -753
  90. package/src/main.js +2 -2
  91. package/src/rongcheng.js +3 -1
@@ -737,7 +737,7 @@ export default {
737
737
  },
738
738
  getGasAberrantNumber(val) {
739
739
  //tag
740
- if(!this.f_table_base.index || !this.f_gas_balance.index){
740
+ if(!this.f_table_base.index || !this.f_gas_balance.index || !this.f_gas_aberrant_number.index){
741
741
  //tag
742
742
  return
743
743
  }
@@ -214,7 +214,7 @@ export default {
214
214
  this.criteriaShow = !this.criteriaShow
215
215
  },
216
216
  async selfSearch (args) {
217
- args.condition = `${args.condition} and f_filialeids = '${Vue.user.f_orgids}'`
217
+ args.condition = `${args.condition} and f_orgid = '${Vue.user.orgid}'`
218
218
  await this.model.search(args.condition, args.model)
219
219
  },
220
220
  search () {
@@ -85,7 +85,7 @@ import Vue from 'vue'
85
85
 
86
86
  export default {
87
87
  title: '物联网表单户开通',
88
- data () {
88
+ data() {
89
89
  return {
90
90
  showpictrue: false,
91
91
  showd: false,
@@ -106,27 +106,22 @@ export default {
106
106
  }
107
107
  },
108
108
  props: {},
109
- async ready () {
109
+ async ready() {
110
110
  await this.readyInit()
111
111
  },
112
112
  methods: {
113
- readyInit () {
113
+ readyInit() {
114
114
  this.tabname = this.data.tabname
115
115
  console.log('-----------------------------------this.tabname', this.tabname)
116
116
  this.model = Object.assign({}, this.model, this.data)
117
- this.model.f_gas_person=Vue.user.name
117
+ this.model.f_gas_person = Vue.user.name
118
118
  },
119
- cameraCallBack (prop, fileName) {
119
+ cameraCallBack(prop, fileName) {
120
120
  HostApp.__this__.model.f_notified_path = fileName + '?' + Math.random()
121
121
  HostApp.__callback__ = null
122
122
  HostApp.__this__ = null
123
123
  },
124
- // 返回回调函数
125
- goback (val) {
126
- this.$dispatch('backarrdel')
127
- this.$back()
128
- },
129
- async commit () {
124
+ async commit() {
130
125
  if (!this.model.f_gas_person) {
131
126
  this.$showMessage(`请填写通气人`, ['confirm', 'cancel'])
132
127
  return
@@ -134,46 +129,39 @@ export default {
134
129
  let param = {
135
130
  f_user_id: this.model.f_user_id,
136
131
  f_userinfo_id: this.model.f_userinfo_id,
137
- f_meternumber: this.model.f_meternumber,
138
- version: this.model.version,
139
- f_table_state: '正常',
140
132
  f_open_date: Util.toStandardTimeString(),
141
133
  f_open_person: Vue.user.name,
142
134
  f_comments: this.model.f_comments,
143
- f_gas_person: this.model.f_gas_person,
144
- f_operat_type: '开通',
145
- f_describe: `${Vue.user.name}对用户${this.model.f_user_name}进行开通操作`,
146
135
  f_state: '有效',
147
136
  f_operator: Vue.user.name,
148
- f_filiale: Vue.user.f_fengongsi,
149
- f_outlets: Vue.user.f_parentname,
150
- f_orgstr: Vue.user.orgpathstr,
151
- f_filialeids: Vue.user.f_orgids,
152
- userfiles: {
153
- f_user_id: this.model.f_user_id,
154
- f_meternumber: this.model.f_meternumber,
155
- version: this.model.version,
156
- f_table_state: '正常',
157
- f_gas_date: Util.toStandardTimeString(),
158
- f_gas_person: this.model.f_gas_person,
159
- f_open_date: Util.toStandardTimeString()
160
- }
137
+ f_operatorid: Vue.user.id,
138
+ f_orgname: Vue.user.orgs,
139
+ f_orgid: Vue.user.orgid,
140
+ f_depid: Vue.user.orgid,
141
+ f_depname: Vue.user.orgs,
142
+ f_meternumber: this.model.f_meternumber,
143
+ version: this.model.version,
144
+ f_table_state: '正常',
145
+ f_gas_date: Util.toStandardTimeString(),
146
+ f_gas_person: this.model.f_gas_person,
147
+ f_userfiles_id: this.model.f_userfiles_id
161
148
  }
162
149
  this.$showMessage(`开通前请确认表号和表类型!!!`, ['confirm', 'cancel']).then((res) => {
163
150
  if (res === 'confirm') {
164
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_open_meter`, param, {rejectMsg: '开通失败', resolveMsg: '开通成功'}).then(res=>(
165
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/updateUserfiles`, param.userfiles).then((res) => {
166
- if (res.data == 200){this.$back()}else {this.$showMessage('网络异常,请稍后再试')}
167
- })
168
- ))
151
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/updateUserfiles`, param).then((res) => {
152
+ if (res.data == 200) {
153
+ this.$showMessage('开通成功')
154
+ } else {
155
+ this.$showMessage('网络异常,请稍后再试')
156
+ }
157
+ })
169
158
  }
170
159
  })
171
-
172
160
  },
173
161
 
174
162
  },
175
163
  watch: {
176
- 'data' () {
164
+ 'data'() {
177
165
  }
178
166
  }
179
167
  }