safecheck-client 3.0.32 → 3.0.33-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 (88) 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/AndroidDefectDeal.vue +5 -5
  15. package/src/components/android/PhoneUpUserinfo.vue +6 -0
  16. package/src/components/android/SafecheckOrderV.vue +4 -1
  17. package/src/components/map/checkScreen.vue +1 -1
  18. package/src/components/planmanage/checkPlanList.vue +3 -3
  19. package/src/components/rongcheng/AspiratedDevices.vue +34 -1
  20. package/src/components/rongcheng/DefectPaper.vue +4 -1
  21. package/src/components/rongcheng/SafecheckDevices.vue +34 -1
  22. package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
  23. package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
  24. package/src/filiale/Util.js +7 -0
  25. package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
  26. package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
  27. package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
  28. package/src/filiale/dexin/android/CasualSave.vue +1050 -0
  29. package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
  30. package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
  31. package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
  32. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
  33. package/src/filiale/dexin/android.js +4 -1
  34. package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
  35. package/src/filiale/fugou/pc/CheckBook.vue +301 -0
  36. package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
  37. package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
  38. package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
  39. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
  40. package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
  41. package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
  42. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
  43. package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
  44. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
  45. package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
  46. package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
  47. package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
  48. package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
  49. package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
  50. package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
  51. package/src/filiale/fugou/pc/checkUserList.vue +20 -120
  52. package/src/filiale/fugou/pc.js +60 -5
  53. package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
  54. package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
  55. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
  56. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
  57. package/src/filiale/jingyang/android.js +4 -0
  58. package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
  59. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
  60. package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
  61. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
  62. package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
  63. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
  64. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
  65. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  66. package/src/filiale/shexian/pc/PaperList.vue +822 -0
  67. package/src/filiale/shexian/pc.js +1 -0
  68. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
  69. package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
  70. package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
  71. package/src/filiale/wensu/pc/DefectPaperNew.vue +15 -9
  72. package/src/filiale/wensu/pc/PlanManage.vue +831 -0
  73. package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
  74. package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
  75. package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
  76. package/src/filiale/wensu/pc/checkUserList.vue +5 -1
  77. package/src/filiale/wensu/pc.js +20 -19
  78. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +6 -2
  79. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
  80. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  81. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
  82. package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
  83. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
  84. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
  85. package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
  86. package/src/main.js +33 -33
  87. package/static/stretch_bottom.png +0 -0
  88. package/static/stretch_top.png +0 -0
@@ -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>
@@ -568,6 +568,9 @@ export default {
568
568
  let multiple = this.config[this.device.device].items[item].multiple?this.config[this.device.device].items[item].multiple:false
569
569
  let options = this.config[this.device.device].items[item].options
570
570
  if ((this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'inputSelector') && item == this.f_items[n].f_item_name) {
571
+ if (val.length > 1 && val.indexOf('正常') != -1){
572
+ this.f_items[n].f_item_value.splice(val.indexOf('正常'),1)
573
+ }
571
574
  for (let i in options) {
572
575
  if(typeof options[i]=='function'){
573
576
  continue
@@ -201,7 +201,7 @@ const upSolveDefect = function * (self) {
201
201
  if (res.data.code === 200) {
202
202
  self.$showMessage('隐患已处理。')
203
203
  self.showSolveModal = false
204
- self.model.search('f_repaire_type != \'无隐患\'', {})
204
+ self.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
205
205
  }
206
206
  })
207
207
  }
@@ -303,7 +303,7 @@ const sendRepair = function* (self) {
303
303
  let updateRes = yield self.$resetpost('/rs/logic/updateDefectStateNew', data)
304
304
  if (updateRes.data.code == 200) {
305
305
  self.$showMessage('隐患已转维修。')
306
- self.model.search(`f_repaire_type != '无隐患'`, {})
306
+ self.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
307
307
  }
308
308
  }
309
309
  }
@@ -400,7 +400,7 @@ export default {
400
400
  this.model.f_item_value = `(SELECT stuff(( SELECT ',' + f_item_value FROM t_devices_items_lists WHERE ( f_is_defect = 'true' OR di.f_is_defect = 'true') AND f_item_id = di.id FOR xml path ( '' ) ),1,1,'' ) )`
401
401
  if (this.check) {
402
402
  this.model.f_paper_id = this.check.id
403
- this.model.search(`f_repaire_type != '无隐患'`, {})
403
+ this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
404
404
  }
405
405
  this.getEmp()
406
406
  },
@@ -415,7 +415,7 @@ export default {
415
415
  let http = new HttpResetClass()
416
416
  http.load('POST', 'rs/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
417
417
  if(res.data.code == 200){
418
- this.model.search(`f_repaire_type != '无隐患'`, {})
418
+ this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
419
419
  this.showSolveModal = false
420
420
  this.showToRepairModal = false
421
421
  this.$showMessage('提交成功')
@@ -487,14 +487,14 @@ export default {
487
487
  watch: {
488
488
  'check'() {
489
489
  this.model.f_paper_id = this.check.id
490
- this.model.search(`f_repaire_type != '无隐患'`, {})
490
+ this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
491
491
  },
492
492
  'model.rows'() {
493
493
  //
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('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
- })
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('wensu');
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