safecheck-client 3.0.33-8 → 3.0.33-81

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
@@ -522,7 +522,7 @@ export default {
522
522
  checker_name:'',
523
523
  defectType:[],
524
524
  defectLeave:'',
525
- defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'}],
525
+ defectLeaveList:[{label:'全部',value:''},{label:'重大',value:'重大'},{label:'一般',value:'一般'}],
526
526
  repaired:[{label: '全部', value: ''},{label: '未完成', value: '未完成'}, {label: '已完成', value: '已完成'}],
527
527
  deals:[{label: '全部', value: ''},{label: '未处理', value: '未处理'}, {label: '已处理', value: '已处理'}],
528
528
  f: this.$login.f,
@@ -972,6 +972,12 @@ export default {
972
972
  if(this.defectLeave=='三级隐患'){
973
973
  args.condition += ` and f_third_count > 0`
974
974
  }
975
+ if(this.defectLeave=='一般'){
976
+ args.condition += ` and f_yiban_count > 0`
977
+ }
978
+ if(this.defectLeave=='重大'){
979
+ args.condition += ` and f_zhongda_count > 0`
980
+ }
975
981
  }
976
982
  if(this.defectType.length>0){
977
983
  args.condition += ` and (`
@@ -33,6 +33,7 @@ let specialComp = {
33
33
  'person-track':(resolve)=> {require(['./pc/PersonTrack'], resolve)},
34
34
  'check-plan':(resolve)=> {require(['./pc/CheckPlan'], resolve)},
35
35
  'check-plan-area-manage':(resolve)=> {require(['./pc/CheckPlanAreaManage'], resolve)},
36
+ 'check-search-user':(resolve)=> {require(['./pc/CheckSearchUser'], resolve)},
36
37
  'select-check-plan_outhelp':(resolve)=> {require(['./pc/SelectCheckPlanOutHelp'], resolve)},
37
38
  'check-detail_outhelp':(resolve)=> {require(['./pc/CheckDetailOutHelp'], resolve)},
38
39
  'check-plan_outhelp':(resolve)=> {require(['./pc/CheckPlanOutHelp'], resolve)},
@@ -689,6 +689,8 @@ export default {
689
689
  this.Mreadibook(`('${this.$login.f.orgid}')`)
690
690
  this.getAllMeterBook(`('${this.$login.f.orgid}')`)
691
691
  this.getAllGasproperties()
692
+ this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
693
+ this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
692
694
  // this.getAllOutlets()
693
695
  },
694
696
  methods: {
@@ -1,172 +1,172 @@
1
- <template>
2
- <style id="style">
3
- td{
4
- height: 30px;
5
- padding: 0px;
6
- text-align: center;
7
- }
8
- table{
9
- margin: auto;
10
- width: 100%;
11
- border-collapse:collapse;
12
- border: 1px solid black;
13
- }
14
- h1,h2,h3,h4,h5,h6 {
15
- text-align: center;
16
- }
17
- .top{
18
- display: flex;
19
- justify-content: space-around;
20
- margin: 0px;
21
- }
22
- .bottom{
23
- display: flex;
24
- justify-content: space-around;
25
- margin: 5px 0 0 0;
26
- }
27
- </style>
28
- <div id="print">
29
- <h4 style="margin: 0 0 5px 0"><b>安检员考核单</b></h4>
30
- <table border="1">
31
- <tr>
32
- <td colspan="12"><b>公司:{{gongsi}}</b></td>
33
- </tr>
34
- <tr>
35
- </tr>
36
- <tr>
37
- <td>安检员</td>
38
- <td>总入户量</td>
39
- <td>总到访不遇量</td>
40
- <td>总拒检量</td>
41
- <td>安检总量</td>
42
- <td>计划总数</td>
43
- <td>入户</td>
44
- <td>到访不遇</td>
45
- <td>拒检</td>
46
- <td>无计划总数</td>
47
- <td>无计划入户</td>
48
- <td>无计划到访不遇</td>
49
- <td>无计划拒检</td>
50
- </tr>
51
- <tr v-for="item in data">
52
- <td style="text-align: center">{{item.f_checker}}</td>
53
- <td style="text-align: center">{{item.ruhu_total}}</td>
54
- <td style="text-align: center">{{item.daofang_total}}</td>
55
- <td style="text-align: center">{{item.jujian_total}}</td>
56
- <td style="text-align: center">{{item.total_sum}}</td>
57
- <td style="text-align: center">{{item.plannum}}</td>
58
- <td style="text-align: center">{{item.ruhu}}</td>
59
- <td style="text-align: center">{{item.daofang}}</td>
60
- <td style="text-align: center">{{item.jujian}}</td>
61
- <td style="text-align: center">{{item.no_plan_num}}</td>
62
- <td style="text-align: center">{{item.noruhu}}</td>
63
- <td style="text-align: center">{{item.nodaofang}}</td>
64
- <td style="text-align: center">{{item.nojujian}}</td>
65
- </tr>
66
- <tr >
67
- <td></td>
68
- <td></td>
69
- <td></td>
70
- <td></td>
71
- <td></td>
72
- <td></td>
73
- <td></td>
74
- <td></td>
75
- <td></td>
76
- <td></td>
77
- <td></td>
78
- <td></td>
79
- <td></td>
80
- </tr>
81
- <tr>
82
- </tr>
83
- </table>
84
- <p class="bottom">
85
- <span><b>打印人:{{ Printpeople}}</b></span>
86
- <span><b>打印时间:{{ PrintTime}}</b></span><br>
87
- <span><b>确定打印安检员考核单?</b></span>
88
- </p>
89
- </div>
90
-
91
- <!-- <button type="button" class="btn btn-cancel" @click="cancel()">取消</button>-->
92
- <!-- <print-element class="btn btn-primary" id="print1" styleid='style1' top='40' left='60' width='100%' height='100%' v-ref:printelement>打印</print-element>-->
93
-
94
- </template>
95
- <script>
96
-
97
- import co from 'co'
98
- import { PagedList } from 'vue-client'
99
- import * as Util from '../../Util'
100
- import {toStandardTimeString} from '../../Util'
101
-
102
- export default {
103
- title: '安检信息',
104
- data () {
105
- return {
106
- deviceCollects:[],
107
- isBack:false,
108
- datareslut:'',
109
- PrintTime:Util.toStandardTimeString(),
110
- Printpeople:this.$login.f.name,
111
- gongsi:this.$login.f.orgs
112
- }
113
- },
114
- props: ['data','show'],
115
- ready () {
116
- console.log("公司"+this.gongsi)
117
- },
118
- methods: {
119
-
120
- cancel(){
121
- this.showcheckmsg = false
122
- },
123
-
124
- //获取当前时间
125
- getNowFormatDate() {
126
- var date = new Date(this.userinfo.f_check_date);
127
- var month = date.getMonth() + 1;
128
- var strDate = date.getDate();
129
- if (month >= 1 && month <= 9) {
130
- month = "0" + month;
131
- }
132
- if (strDate >= 0 && strDate <= 9) {
133
- strDate = "0" + strDate;
134
- }
135
- var currentdate = date.getFullYear() +'年'+ month + '月' + strDate
136
- + "日" + date.getHours() + "时" + date.getMinutes()+'分'
137
- return currentdate;
138
- },
139
- // getId(){
140
- // //tag
141
- // },
142
- //获取隐患信息
143
- getHidden(){
144
- //清空所有数据
145
- this.deviceCollects=[]
146
- for (let datas of this.data) {
147
- this.datareslut=datas
148
- }
149
-
150
- /*setTimeout(()=> {
151
- //tag
152
- this.$parent.showcheckmsg = false
153
- }, 1000)*/
154
- },
155
- }
156
- }
157
- </script>
158
- <style media="screen" scoped>
159
- .divtext {
160
- min-width: 50px;
161
- max-width: 200px;
162
- border: 1px solid green;
163
- display: inline-block;
164
- }
165
- .bg-info{
166
- border-left: 5px solid #5989be;
167
- }
168
- .bg-cus-body {
169
- margin-left: 5px;
170
- }
171
-
172
- </style>
1
+ <template>
2
+ <style id="style">
3
+ td{
4
+ height: 30px;
5
+ padding: 0px;
6
+ text-align: center;
7
+ }
8
+ table{
9
+ margin: auto;
10
+ width: 100%;
11
+ border-collapse:collapse;
12
+ border: 1px solid black;
13
+ }
14
+ h1,h2,h3,h4,h5,h6 {
15
+ text-align: center;
16
+ }
17
+ .top{
18
+ display: flex;
19
+ justify-content: space-around;
20
+ margin: 0px;
21
+ }
22
+ .bottom{
23
+ display: flex;
24
+ justify-content: space-around;
25
+ margin: 5px 0 0 0;
26
+ }
27
+ </style>
28
+ <div id="print">
29
+ <h4 style="margin: 0 0 5px 0"><b>安检员考核单</b></h4>
30
+ <table border="1">
31
+ <tr>
32
+ <td colspan="12"><b>公司:{{gongsi}}</b></td>
33
+ </tr>
34
+ <tr>
35
+ </tr>
36
+ <tr>
37
+ <td>安检员</td>
38
+ <td>总入户量</td>
39
+ <td>总到访不遇量</td>
40
+ <td>总拒检量</td>
41
+ <td>安检总量</td>
42
+ <td>计划总数</td>
43
+ <td>入户</td>
44
+ <td>到访不遇</td>
45
+ <td>拒检</td>
46
+ <td>无计划总数</td>
47
+ <td>无计划入户</td>
48
+ <td>无计划到访不遇</td>
49
+ <td>无计划拒检</td>
50
+ </tr>
51
+ <tr v-for="item in data">
52
+ <td style="text-align: center">{{item.f_checker}}</td>
53
+ <td style="text-align: center">{{item.ruhu_total}}</td>
54
+ <td style="text-align: center">{{item.daofang_total}}</td>
55
+ <td style="text-align: center">{{item.jujian_total}}</td>
56
+ <td style="text-align: center">{{item.total_sum}}</td>
57
+ <td style="text-align: center">{{item.plannum}}</td>
58
+ <td style="text-align: center">{{item.ruhu}}</td>
59
+ <td style="text-align: center">{{item.daofang}}</td>
60
+ <td style="text-align: center">{{item.jujian}}</td>
61
+ <td style="text-align: center">{{item.no_plan_num}}</td>
62
+ <td style="text-align: center">{{item.noruhu}}</td>
63
+ <td style="text-align: center">{{item.nodaofang}}</td>
64
+ <td style="text-align: center">{{item.nojujian}}</td>
65
+ </tr>
66
+ <tr >
67
+ <td></td>
68
+ <td></td>
69
+ <td></td>
70
+ <td></td>
71
+ <td></td>
72
+ <td></td>
73
+ <td></td>
74
+ <td></td>
75
+ <td></td>
76
+ <td></td>
77
+ <td></td>
78
+ <td></td>
79
+ <td></td>
80
+ </tr>
81
+ <tr>
82
+ </tr>
83
+ </table>
84
+ <p class="bottom">
85
+ <span><b>打印人:{{ Printpeople}}</b></span>
86
+ <span><b>打印时间:{{ PrintTime}}</b></span><br>
87
+ <span><b>确定打印安检员考核单?</b></span>
88
+ </p>
89
+ </div>
90
+
91
+ <!-- <button type="button" class="btn btn-cancel" @click="cancel()">取消</button>-->
92
+ <!-- <print-element class="btn btn-primary" id="print1" styleid='style1' top='40' left='60' width='100%' height='100%' v-ref:printelement>打印</print-element>-->
93
+
94
+ </template>
95
+ <script>
96
+
97
+ import co from 'co'
98
+ import { PagedList } from 'vue-client'
99
+ import * as Util from '../../Util'
100
+ import {toStandardTimeString} from '../../Util'
101
+
102
+ export default {
103
+ title: '安检信息',
104
+ data () {
105
+ return {
106
+ deviceCollects:[],
107
+ isBack:false,
108
+ datareslut:'',
109
+ PrintTime:Util.toStandardTimeString(),
110
+ Printpeople:this.$login.f.name,
111
+ gongsi:this.$login.f.orgs
112
+ }
113
+ },
114
+ props: ['data','show'],
115
+ ready () {
116
+ console.log("公司"+this.gongsi)
117
+ },
118
+ methods: {
119
+
120
+ cancel(){
121
+ this.showcheckmsg = false
122
+ },
123
+
124
+ //获取当前时间
125
+ getNowFormatDate() {
126
+ var date = new Date(this.userinfo.f_check_date);
127
+ var month = date.getMonth() + 1;
128
+ var strDate = date.getDate();
129
+ if (month >= 1 && month <= 9) {
130
+ month = "0" + month;
131
+ }
132
+ if (strDate >= 0 && strDate <= 9) {
133
+ strDate = "0" + strDate;
134
+ }
135
+ var currentdate = date.getFullYear() +'年'+ month + '月' + strDate
136
+ + "日" + date.getHours() + "时" + date.getMinutes()+'分'
137
+ return currentdate;
138
+ },
139
+ // getId(){
140
+ // //tag
141
+ // },
142
+ //获取隐患信息
143
+ getHidden(){
144
+ //清空所有数据
145
+ this.deviceCollects=[]
146
+ for (let datas of this.data) {
147
+ this.datareslut=datas
148
+ }
149
+
150
+ /*setTimeout(()=> {
151
+ //tag
152
+ this.$parent.showcheckmsg = false
153
+ }, 1000)*/
154
+ },
155
+ }
156
+ }
157
+ </script>
158
+ <style media="screen" scoped>
159
+ .divtext {
160
+ min-width: 50px;
161
+ max-width: 200px;
162
+ border: 1px solid green;
163
+ display: inline-block;
164
+ }
165
+ .bg-info{
166
+ border-left: 5px solid #5989be;
167
+ }
168
+ .bg-cus-body {
169
+ margin-left: 5px;
170
+ }
171
+
172
+ </style>