safecheck-client 3.0.33-11 → 3.0.33-110

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 (122) 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/SafecheckDevices.vue +2 -0
  7. package/src/components/android/SafecheckOrderV.vue +15 -11
  8. package/src/components/android/SwitchValve.vue +1 -1
  9. package/src/components/map/checkScreen.vue +27 -21
  10. package/src/components/paper/PaperList.vue +5 -4
  11. package/src/components/paper/PlanChooser.vue +4 -2
  12. package/src/components/planmanage/PlanManage.vue +7 -4
  13. package/src/components/planmanage/checkPlanList.vue +2 -1
  14. package/src/components/planmanage/checkUserList.vue +2 -0
  15. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  16. package/src/components/report/HiddenSituation.vue +3 -3
  17. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  18. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  19. package/src/components/rongcheng/DefectPaper.vue +1 -1
  20. package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
  21. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  22. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  23. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  24. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  25. package/src/filiale/Util.js +5 -0
  26. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  27. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  28. package/src/filiale/bayan/android/SafecheckOrderV.vue +2855 -2853
  29. package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -811
  30. package/src/filiale/bayan/android.js +1 -0
  31. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  32. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  33. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  34. package/src/filiale/bayan/pc/CheckSearchUser.vue +1065 -0
  35. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  36. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  37. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  38. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  39. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  40. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  41. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  42. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  43. package/src/filiale/bayan/pc.js +6 -0
  44. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  45. package/src/filiale/dexin/android/SafecheckOrderV.vue +120 -21
  46. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  47. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  48. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  49. package/src/filiale/fugou/android.js +2 -1
  50. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  51. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  52. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  53. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  54. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  55. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  56. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  57. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  58. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  59. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  60. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  61. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  62. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  63. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  64. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  65. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  66. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  67. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  68. package/src/filiale/jingyang/pc.js +1 -0
  69. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  70. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  71. package/src/filiale/liaoyuan/pc.js +2 -1
  72. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  73. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  74. package/src/filiale/rongchuang/android.js +1 -0
  75. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  76. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  77. package/src/filiale/rongchuang/pc.js +1 -0
  78. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  79. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  80. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  81. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  82. package/src/filiale/weinan/android/SafecheckOrderV.vue +3335 -3321
  83. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  84. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  85. package/src/filiale/weinan/pc.js +1 -0
  86. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  87. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1076 -1076
  88. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +84 -63
  89. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  90. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  91. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
  92. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  93. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
  94. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
  95. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +16 -6
  96. package/src/filiale/yangchunboneng/android.js +1 -0
  97. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  98. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  99. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  100. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +178 -4
  101. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  102. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  103. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  104. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  105. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  106. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  107. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  108. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  109. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  110. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  111. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  112. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  113. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  114. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  115. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  116. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  117. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  118. package/src/filiale/yongzhou/pc.js +4 -0
  119. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  120. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  121. package/src/main.js +33 -33
  122. package/src/rongcheng.js +3 -1
@@ -1,12 +1,28 @@
1
1
  <template>
2
2
  <div id='app' class="basic-main" style="height: 100%">
3
3
  <criteria-paged :model="model" :pager='false'>
4
- <criteria partial='criteria' @condition-changed='search' class="search_area">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' class="search_area">
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
- <div class="col-sm-2 form-group">
8
- <label for="startDate" class="font_normal_body">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期"
7
+ <div class="form-group col-sm-4" >
8
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
9
+ <input type="text" class="input_search" v-model="model.f_residential_area"
10
+ style="width: 60%" placeholder="小区" condition="tcpi.f_residential_area like '%{}%'">
11
+ </div>
12
+ <div class="form-group col-sm-4">
13
+ <label class="font_normal_body">用户类型</label>
14
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
15
+ :value-single="true" style="width: 60%"
16
+ class="select_list select"
17
+ :options='$parent.$parent.user_types' placeholder='用户类型'
18
+ close-on-select
19
+ condition="tcpi.f_user_type = '{}'"></v-select>
20
+ </div>
21
+ </div>
22
+ <div class="row">
23
+ <div class="col-sm-4 form-group">
24
+ <label for="startDate" class="font_normal_body">计划开始:</label>
25
+ <datepicker id="startDate" placeholder="计划开始"
10
26
  v-model="model.startDate"
11
27
  :value.sync="model.startDate"
12
28
  style="width: 60%;"
@@ -17,9 +33,9 @@
17
33
  :show-reset-button="reset">
18
34
  </datepicker>
19
35
  </div>
20
- <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body">结束日期:</label>
22
- <datepicker id="endDate" placeholder="结束日期"
36
+ <div class="col-sm-4 form-group">
37
+ <label for="endDate" class="font_normal_body">计划结束:</label>
38
+ <datepicker id="endDate" placeholder="计划结束"
23
39
  v-model="model.endDate"
24
40
  :select-year="true"
25
41
  :value.sync="model.endDate"
@@ -30,20 +46,6 @@
30
46
  :show-reset-button="reset">
31
47
  </datepicker>
32
48
  </div>
33
- <div class="form-group col-sm-2" >
34
- <label class="font_normal_body">小&emsp;&emsp;区</label>
35
- <input type="text" class="input_search" v-model="model.f_residential_area"
36
- style="width: 60%" placeholder="小区" condition="f_residential_area like '%{}%'">
37
- </div>
38
- <div class="form-group col-sm-2">
39
- <label class="font_normal_body">用户类型</label>
40
- <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
41
- :value-single="true" style="width: 60%"
42
- class="select_list select"
43
- :options='$parent.$parent.user_types' placeholder='用户类型'
44
- close-on-select
45
- condition="tcpi.f_user_type = '{}'"></v-select>
46
- </div>
47
49
  <div class="col-sm-4 form-group" style="margin-top: 8px">
48
50
  <button class="button_search button_spacing" @click="search()">查询</button>
49
51
  <report-print id='yearPrint' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
@@ -62,8 +64,8 @@
62
64
  </tr>
63
65
  <tr>
64
66
  <th colspan='12' style="font-weight: normal; text-align: center;">
65
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
66
- 结束时间:{{ model.model.endDate }}
67
+ 计划开始日期:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
68
+ 计划结束日期:{{ model.model.endDate }}
67
69
  </th>
68
70
  </tr>
69
71
  </thead>
@@ -99,6 +101,28 @@
99
101
  getRes (obj) {
100
102
  this.model.f_filialeid = this.$login.convertToIn(obj.resids)
101
103
  },
104
+ selfSearch (args) {
105
+ let condition = {
106
+ condition1 : args.condition,
107
+ condition2 : `1=1 and f_entry_status = '入户'`
108
+ }
109
+ if (args.model.f_checker_id){
110
+ condition.condition2 += ` and f_checker_name = '${args.model.f_checker_id}'`
111
+ }
112
+ if (args.model.f_user_type){
113
+ condition.condition2 += ` and f_check_type = '${args.model.f_user_type}'`
114
+ }
115
+ if (args.model.f_residential_area){
116
+ condition.condition2 += ` and f_residential_area = '${args.model.f_residential_area}'`
117
+ }
118
+ if (args.model.checkstart){
119
+ condition.condition2 += ` and f_offsite_time >= '${args.model.checkstart}'`
120
+ }
121
+ if (args.model.checkend){
122
+ condition.condition2 += ` and f_offsite_time <= '${args.model.checkend}'`
123
+ }
124
+ this.model.search(condition, args.model)
125
+ }
102
126
  },
103
127
  ready () {
104
128
  },
@@ -8,16 +8,16 @@
8
8
  小区隐患明细表
9
9
  </button>
10
10
  <button class="button_spacing button_search" @click="showaudio(3)" :class="{color:searchs.search3}">
11
- 隐患类型明细表工商
11
+ 工商情况明细表
12
12
  </button>
13
13
  <button class="button_spacing button_search" @click="showaudio(4)" :class="{color:searchs.search4}">
14
14
  隐患类型明细表民用
15
15
  </button>
16
16
  <button class="button_spacing button_search" @click="showaudio(5)" :class="{color:searchs.search5}">
17
- 安检员明细(有计划)
17
+ 安检员明细
18
18
  </button>
19
19
  <button class="button_spacing button_search" @click="showaudio(9)" :class="{color:searchs.search9}">
20
- 安检员明细(无计划)
20
+ 安检员考核
21
21
  </button>
22
22
  <button class="button_spacing button_search" @click="showaudio(6)" :class="{color:searchs.search6}">
23
23
  安检日报表
@@ -4,11 +4,15 @@ import Vue from "vue";
4
4
  //手机特殊目录注册到该文件中
5
5
  let specialComp = {
6
6
  "plan-manage":(resolve) => { require(['./pc/PlanManage'], resolve) },
7
+ "paper-defect-main":(resolve) => { require(['./pc/PaperDefectMain'], resolve) },
7
8
  "role-selector-safe":(resolve) => { require(['./pc/RoleSelector'], resolve) },
9
+ "select-check-plan":(resolve) => { require(['./pc/SelectCheckPlan.vue'], resolve) },
10
+ "check-plan":(resolve) => { require(['./pc/CheckPlan.vue'], resolve) },
8
11
  "check-user-list":(resolve) => { require(['./pc/checkUserList'], resolve) },
9
12
  'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
10
13
  "safe-table":(resolve) => { require(['./pc/safeTable'], resolve) },
11
14
  "safe-detail":(resolve) => { require(['./pc/safeDetail'], resolve) },
15
+ "safe-defect-paper-new":(resolve) => { require(['./pc/DefectPaperNew.vue'], resolve) },
12
16
  'check-search-user':(resolve) => {require(['./pc/CheckSearchUser'], resolve)},
13
17
  "community-detail":(resolve) => { require(['./pc/communityDetail'], resolve) },
14
18
  "community-type-detail-g":(resolve) => { require(['./pc/communityTypeDetailG'], resolve) },
@@ -809,8 +809,13 @@
809
809
  condition += " and ti.f_address like '%"+this.$refs.paged.$refs.cri.model.f_keyword+"%'"
810
810
  if(this.$refs.paged.$refs.cri.model.f_user_name)
811
811
  condition += " and ti.f_user_name like '%"+this.$refs.paged.$refs.cri.model.f_user_name+"%'"
812
- if(this.$refs.paged.$refs.cri.model.f_state[0])
812
+ if(this.$refs.paged.$refs.cri.model.f_state[0] == '未检' ){
813
+ condition += " and (ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"' or ti.f_last_check_state = '到访不遇' ) "
814
+ }
815
+ if(this.$refs.paged.$refs.cri.model.f_state[0] == '已检' ){
813
816
  condition += " and ti.f_state='"+this.$refs.paged.$refs.cri.model.f_state[0]+"'"
817
+ }
818
+
814
819
  // if(this.$refs.paged.$refs.cri.model.f_last_state[0])
815
820
  // condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
816
821
  if(this.$refs.paged.$refs.cri.model.f_user_type[0])
@@ -823,7 +828,7 @@
823
828
  condition += " and ti.f_enter_number like '%"+this.$refs.paged.$refs.cri.model.f_enter_number+"%'"
824
829
 
825
830
  //tag
826
- this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检')) and ti.f_no_checkplan = '有计划安检'" + condition)
831
+ this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检') or ti.f_last_check_state = '到访不遇') and ti.f_no_checkplan = '有计划安检'" + condition)
827
832
  },
828
833
  getNewOrder(){
829
834
  HostApp.__this__ = this
@@ -37,7 +37,6 @@
37
37
  v-model='model.f_repaired'
38
38
  :value.sync="model.f_repaired"
39
39
  :options='$parent.$parent.repaired'
40
- condition="f_repaired = '{}'"
41
40
  close-on-select clear-button> </v-select>
42
41
  </div>
43
42
  <div class=" col-sm-4 form-group button-range" >
@@ -179,7 +178,6 @@
179
178
  v-model='model.f_repaired'
180
179
  :value.sync="model.f_repaired"
181
180
  :options='$parent.$parent.repaired'
182
- condition="f_repaired = '{}'"
183
181
  close-on-select clear-button> </v-select>
184
182
  </div>
185
183
 
@@ -457,6 +455,12 @@
457
455
  if (this.f_check_plan.f_plan_name) {
458
456
  args.condition += ` and f_check_plan_id = '${this.f_check_plan.id}'`
459
457
  }
458
+ if(args.model.f_repaired == '未修'){
459
+ args.condition += ` and f_defect_count != f_is_repaired `
460
+ }
461
+ if(args.model.f_repaired == '已处理'){
462
+ args.condition += ` and f_defect_count = f_is_repaired `
463
+ }
460
464
  this.model.search(args.condition, args.model)
461
465
  },
462
466
  getRes(obj) {
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('bayan')
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
+ })
package/src/rongcheng.js CHANGED
@@ -262,7 +262,9 @@ export default function () {
262
262
  require(['./components/rongcheng/report/CheckPlanUserList'], resolve)
263
263
  })
264
264
 
265
-
265
+ Vue.component('safecheck-file-upload', (resolve) => {
266
+ require(['./components/Util/SafecheckUpload'], resolve)
267
+ })
266
268
 
267
269
  //隐患报表
268
270
  Vue.component('hiddensituation', (resolve) => { require(['./components/report/HiddenSituation'], resolve) })