safecheck-client 3.0.33-6 → 3.0.33-61

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 (64) hide show
  1. package/package.json +3 -3
  2. package/src/App.vue +31 -31
  3. package/src/components/paper/PaperList.vue +5 -4
  4. package/src/components/planmanage/checkUserList.vue +34 -2
  5. package/src/components/report/CheckPlanCountChartArea.vue +5 -0
  6. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
  7. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  8. package/src/components/rongcheng/DefectPaper.vue +1 -1
  9. package/src/components/rongcheng/PaperListNPSQ.vue +29 -1
  10. package/src/components/rongcheng/PaperListSQ.vue +30 -11
  11. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  12. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  13. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  14. package/src/filiale/Util.js +5 -0
  15. package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
  16. package/src/filiale/bayan/android/SafecheckOrderV.vue +2854 -2850
  17. package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
  18. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  19. package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
  20. package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
  21. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  22. package/src/filiale/fugou/pc/CheckBook.vue +2 -0
  23. package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
  24. package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
  25. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
  26. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  27. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  28. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  29. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  30. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  31. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  32. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  33. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  34. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  35. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  36. package/src/filiale/jingyang/pc.js +1 -0
  37. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  38. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  39. package/src/filiale/rongchuang/android.js +1 -0
  40. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  41. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  42. package/src/filiale/rongchuang/pc.js +1 -0
  43. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  44. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  45. package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
  46. package/src/filiale/weinan/android/SafecheckOrderV.vue +3325 -3276
  47. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  48. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  49. package/src/filiale/weinan/pc.js +1 -0
  50. package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
  51. package/src/filiale/wensu/pc/PrintMaterialBill.vue +172 -172
  52. package/src/filiale/wensu/pc/SelectCheckPlan.vue +342 -342
  53. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +651 -651
  54. package/src/filiale/wuhai/pc/PaperList.vue +785 -0
  55. package/src/filiale/wuhai/pc.js +1 -0
  56. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2 -2
  57. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  58. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  59. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  60. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  61. package/src/filiale/yongzhou/pc/safeDetail.vue +212 -14
  62. package/src/filiale/yongzhou/pc.js +3 -0
  63. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
  64. package/src/main.js +2 -2
@@ -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>