safecheck-client 4.0.2-6 → 4.0.2-60

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 (67) hide show
  1. package/package.json +1 -1
  2. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
  3. package/src/components/android/AndroidNotifiedDeal.vue +417 -0
  4. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  5. package/src/components/android/SafeRightTree.vue +218 -218
  6. package/src/components/android/SafecheckDevices.vue +1340 -1340
  7. package/src/components/android/week/CheckResultSimple.vue +251 -0
  8. package/src/components/android/week/FirstWeekCheck.vue +275 -0
  9. package/src/components/android/week/StepHeaderBar.vue +457 -0
  10. package/src/components/android/week/WeekCheck.vue +209 -0
  11. package/src/components/android/week/WeekCheckPaper.vue +219 -0
  12. package/src/components/android/week/WeekCheckPlan.vue +145 -0
  13. package/src/components/checkplan/SelectCheckPlan.vue +39 -0
  14. package/src/components/paper/safetyledger.vue +198 -0
  15. package/src/components/pc/CheckBook.vue +303 -303
  16. package/src/components/pc/CheckBookArea.vue +146 -146
  17. package/src/components/pc/CheckBookCompany.vue +144 -144
  18. package/src/components/pc/CheckBookDetails.vue +161 -161
  19. package/src/components/pc/CheckBookEntry.vue +60 -60
  20. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  21. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  22. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  23. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  24. package/src/components/pc/DefectDeal.vue +6 -2
  25. package/src/components/planmanage/checkUserList.vue +1 -1
  26. package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
  27. package/src/components/report/CheckPlanAreaList.vue +53 -7
  28. package/src/filiale/jinhong/android/AndroidDefectDeal.vue +722 -0
  29. package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
  30. package/src/filiale/jinhong/android/CurrentCreate.vue +35 -13
  31. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
  32. package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
  33. package/src/filiale/jinhong/android.js +4 -1
  34. package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
  35. package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
  36. package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
  37. package/src/filiale/jinhong/pc/PaperList.vue +5 -1
  38. package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
  39. package/src/filiale/jinhong/pc.js +1 -0
  40. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  41. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  42. package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
  43. package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
  44. package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
  45. package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
  46. package/src/filiale/meihekou/android.js +22 -22
  47. package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
  48. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  49. package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
  50. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
  51. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
  52. package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
  53. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  54. package/src/filiale/meihekou/pc.js +18 -15
  55. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
  56. package/src/filiale/taiyuan/android/AddPlanItem.vue +457 -456
  57. package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
  58. package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -2347
  59. package/src/filiale/taiyuan/android.js +1 -0
  60. package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
  61. package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
  62. package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
  63. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  64. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  65. package/src/filiale/xinliansihui/pc.js +13 -0
  66. package/src/safecheck-android.js +12 -0
  67. package/src/safecheck.js +3 -0
@@ -1,190 +1,190 @@
1
- <style scoped>
2
- .bg {
3
- background-color: blue;
4
- height: 1px;
5
- border: 0;
6
- }
7
- .app-row {
8
- background-color: white;
9
- padding: 10px 10px 0 10px;
10
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
11
- }
12
- .search_input {
13
- border: 0;
14
- outline: none;
15
- }
16
- .font{
17
- font: 15px PingFang-SC-Medium;
18
- color: #666666;
19
- }
20
- .input-font{
21
- font: 15px PingFang-SC-Medium;
22
- color: #333333;
23
- }
24
- .btn-font{
25
- font:600 16px PingFang-SC-Bold;
26
- color: #499EDF;
27
- }
28
- .btn-color{
29
- background-color: #FFFFFF;
30
- border-radius: 10px ;
31
- border: 1px solid #499EDF;
32
- }
33
- .app-text {
34
- font-size: 12px;
35
- }
36
- .panel-self{
37
- border-radius: 10px;
38
- border:1px solid #499EDF;
39
- background-color: #F8F8F8;
40
- }
41
- .yybtn-color{
42
- background-color:#499edf;
43
- border-radius: 4px ;
44
- border: 1px solid #499EDF;
45
- color: #FFFFFF;
46
- font: 14px PingFang-SC-Bold;
47
- }
48
- .qxbtn-color{
49
- background-color: #FFFFFF;
50
- border-radius: 4px ;
51
- color: #499edf;
52
- font: 14px PingFang-SC-Bold;
53
- border: 1px solid #499EDF;
54
- }
55
-
56
- .button_shrink_top {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_top.png")}
57
- .button_shrink_bottom {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_bottom.png")}
58
- .button_shrink_left {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_left.png")}
59
- .button_shrink_right {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_right.png")}
60
- </style>
61
- <template>
62
- <div style="height: auto;width: 100%">
63
- <criteria-paged :model="model" v-ref:paged>
64
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
65
- <div partial>
66
- <form>
67
- <div class="row app-row">
68
- <div class="col-xs-4">
69
- <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
70
- <label class="font text-left">小区名称:</label>
71
- </div>
72
- <div class="col-xs-8" >
73
- <input class="search_input input-font" v-model=model.f_residential_area condition="f_residential_area like '%{}%'" />
74
- </div>
75
- </div>
76
- <div class="row app-row">
77
- <div class="col-xs-4">
78
- <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
79
- <label class="font text-left">楼栋:</label>
80
- </div>
81
- <div class="col-xs-8" >
82
- <input class="search_input input-font" v-model=model.f_building condition="f_building like '%{}%'" />
83
- </div>
84
- </div>
85
- <div class="row text-center" style="margin-top: 20px;">
86
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="search">查询</button>
87
- </div>
88
- <div style="height:30px;"></div>
89
- </form>
90
- </div>
91
- </criteria>
92
- <list :model="model" partial='list'>
93
- <div partial>
94
- <div class="auto app-text" style="margin-top: 5px;">
95
- <div class="panel" style="padding: 10px 10px 5px 10px;">
96
- <div class="panel-body panel-self" @click="$parent.$parent.$parent.toPlanItem(row)">
97
- <div class="col-xs-12">
98
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>小区名称:</b></p>
99
- <p class="panel-title col-xs-7 text-left input-font" style="width: 74%">{{ row.f_residential_area }}</p>
100
- </div>
101
- <div class="col-xs-12">
102
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>楼栋:</b></p>
103
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_building }}</p>
104
- </div>
105
- <div class="col-xs-6">
106
- <p class="panel-title col-xs-5 text-left font"><b>入户:</b></p>
107
- <p class="panel-title col-xs-7 text-left input-font">{{ row.checked }}
108
- </p>
109
- </div>
110
- <div class="col-xs-6">
111
- <p class="panel-title col-xs-5 text-left font"><b>到访不遇:</b></p>
112
- <p class="panel-title col-xs-7 text-left input-font">{{ row.daofang }}
113
- </p>
114
- </div>
115
- <div class="col-xs-6">
116
- <p class="panel-title col-xs-5 text-left font"><b>拒检:</b></p>
117
- <p class="panel-title col-xs-7 text-left input-font">{{ row.jujian }}
118
- </p>
119
- </div>
120
- <div class="col-xs-6">
121
- <p class="panel-title col-xs-5 text-left font"><b>未检:</b></p>
122
- <p class="panel-title col-xs-7 text-left input-font">{{ row.no_check }}</p>
123
- </div>
124
- <div class="col-xs-6">
125
- <p class="panel-title col-xs-5 text-left font"><b>总数:</b></p>
126
- <p class="panel-title col-xs-7 text-left input-font">{{ row.checked + row.no_check + row.daofang + row.jujian }}</p>
127
- </div>
128
- <div class="col-xs-6">
129
- <p class="panel-title col-xs-5 text-left font"><b>完成率:</b></p>
130
- <p class="panel-title col-xs-7 text-left input-font">
131
- {{((((row.checked+ row.daofang + row.jujian) / (row.checked + row.no_check+ row.daofang + row.jujian))) * 100).toFixed(0) + '%' }}
132
- </p>
133
- </div>
134
- </div>
135
- </div>
136
- </div>
137
- </div>
138
- </list>
139
- </criteria-paged>
140
- </div>
141
- </template>
142
-
143
- <script>
144
-
145
- import Vue from 'vue'
146
- import LocalPagedList from "../../../components/android/LocalPagedList";
147
-
148
- export default {
149
- title: '小区待办',
150
- data() {
151
- return {
152
- f_orgid: Vue.user.orgid,
153
- model: new LocalPagedList(`safe_singleTable_GroupBy`, 20, {
154
- items: '"f_residential_area, f_building,'+
155
- 'SUM( CASE WHEN t2.f_state = \'未检\' THEN 1 ELSE 0 END ) AS no_check,'+
156
- 'SUM( CASE WHEN t2.f_state = \'已检\' and f_last_check_state=\'入户\' THEN 1 ELSE 0 END ) AS checked,' +
157
- 'SUM( CASE WHEN t2.f_state = \'已检\' and f_last_check_state=\'到访不遇\' THEN 1 ELSE 0 END ) AS daofang,' +
158
- 'SUM( CASE WHEN t2.f_state = \'已检\' and f_last_check_state=\'拒检\' THEN 1 ELSE 0 END ) AS jujian"',
159
- tablename: '"t_check_plan t1 LEFT JOIN t_check_plan_item t2 ON t1.id = t2.f_plan_id "',
160
- groupitem: '"f_residential_area, f_building"'
161
- }),
162
- criteriaShow: false
163
- }
164
- },
165
- props: ['planName'],
166
- ready(){
167
- },
168
- methods: {
169
- selfSearch (args) {
170
- if(this.planName){
171
- if(this.planName.toString().trim()){
172
- args.condition += " and f_plan_name like '%"+this.planName+"%'"
173
- }
174
- }
175
- this.model.search(args.condition,args.model)
176
- },
177
- toPlanItem(row) {
178
- this.$dispatch('gotoson', {
179
- _this: this,
180
- title: '安检计划',
181
- safe: false
182
- })
183
- this.$goto('current-create', {planName:this.planName,f_residential_area:row.f_residential_area ,f_building:row.f_building},'self')
184
- },
185
- hidden() {
186
- this.criteriaShow = !this.criteriaShow
187
- }
188
- }
189
- }
190
- </script>
1
+ <style scoped>
2
+ .bg {
3
+ background-color: blue;
4
+ height: 1px;
5
+ border: 0;
6
+ }
7
+ .app-row {
8
+ background-color: white;
9
+ padding: 10px 10px 0 10px;
10
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
11
+ }
12
+ .search_input {
13
+ border: 0;
14
+ outline: none;
15
+ }
16
+ .font{
17
+ font: 15px PingFang-SC-Medium;
18
+ color: #666666;
19
+ }
20
+ .input-font{
21
+ font: 15px PingFang-SC-Medium;
22
+ color: #333333;
23
+ }
24
+ .btn-font{
25
+ font:600 16px PingFang-SC-Bold;
26
+ color: #499EDF;
27
+ }
28
+ .btn-color{
29
+ background-color: #FFFFFF;
30
+ border-radius: 10px ;
31
+ border: 1px solid #499EDF;
32
+ }
33
+ .app-text {
34
+ font-size: 12px;
35
+ }
36
+ .panel-self{
37
+ border-radius: 10px;
38
+ border:1px solid #499EDF;
39
+ background-color: #F8F8F8;
40
+ }
41
+ .yybtn-color{
42
+ background-color:#499edf;
43
+ border-radius: 4px ;
44
+ border: 1px solid #499EDF;
45
+ color: #FFFFFF;
46
+ font: 14px PingFang-SC-Bold;
47
+ }
48
+ .qxbtn-color{
49
+ background-color: #FFFFFF;
50
+ border-radius: 4px ;
51
+ color: #499edf;
52
+ font: 14px PingFang-SC-Bold;
53
+ border: 1px solid #499EDF;
54
+ }
55
+
56
+ .button_shrink_top {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_top.png")}
57
+ .button_shrink_bottom {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_bottom.png")}
58
+ .button_shrink_left {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_left.png")}
59
+ .button_shrink_right {width: 35px; height: 35px; background-size:100%;background-image: url("../../../../static/newStyle/stretch_right.png")}
60
+ </style>
61
+ <template>
62
+ <div style="height: auto;width: 100%">
63
+ <criteria-paged :model="model" v-ref:paged>
64
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
65
+ <div partial>
66
+ <form>
67
+ <div class="row app-row">
68
+ <div class="col-xs-4">
69
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
70
+ <label class="font text-left">小区名称:</label>
71
+ </div>
72
+ <div class="col-xs-8" >
73
+ <input class="search_input input-font" v-model=model.f_residential_area condition="f_residential_area like '%{}%'" />
74
+ </div>
75
+ </div>
76
+ <div class="row app-row">
77
+ <div class="col-xs-4">
78
+ <img src="../../../assets/安检状态.png" style="width: 20px;margin-bottom: 5px" alt="">
79
+ <label class="font text-left">楼栋:</label>
80
+ </div>
81
+ <div class="col-xs-8" >
82
+ <input class="search_input input-font" v-model=model.f_building condition="f_building like '%{}%'" />
83
+ </div>
84
+ </div>
85
+ <div class="row text-center" style="margin-top: 20px;">
86
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="search">查询</button>
87
+ </div>
88
+ <div style="height:30px;"></div>
89
+ </form>
90
+ </div>
91
+ </criteria>
92
+ <list :model="model" partial='list'>
93
+ <div partial>
94
+ <div class="auto app-text" style="margin-top: 5px;">
95
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
96
+ <div class="panel-body panel-self" @click="$parent.$parent.$parent.toPlanItem(row)">
97
+ <div class="col-xs-12">
98
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>小区名称:</b></p>
99
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 74%">{{ row.f_residential_area }}</p>
100
+ </div>
101
+ <div class="col-xs-12">
102
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>楼栋:</b></p>
103
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_building }}</p>
104
+ </div>
105
+ <div class="col-xs-6">
106
+ <p class="panel-title col-xs-5 text-left font"><b>入户:</b></p>
107
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.checked }}
108
+ </p>
109
+ </div>
110
+ <div class="col-xs-6">
111
+ <p class="panel-title col-xs-5 text-left font"><b>到访不遇:</b></p>
112
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.daofang }}
113
+ </p>
114
+ </div>
115
+ <div class="col-xs-6">
116
+ <p class="panel-title col-xs-5 text-left font"><b>拒检:</b></p>
117
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.jujian }}
118
+ </p>
119
+ </div>
120
+ <div class="col-xs-6">
121
+ <p class="panel-title col-xs-5 text-left font"><b>未检:</b></p>
122
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.no_check }}</p>
123
+ </div>
124
+ <div class="col-xs-6">
125
+ <p class="panel-title col-xs-5 text-left font"><b>总数:</b></p>
126
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.checked + row.no_check + row.daofang + row.jujian }}</p>
127
+ </div>
128
+ <div class="col-xs-6">
129
+ <p class="panel-title col-xs-5 text-left font"><b>完成率:</b></p>
130
+ <p class="panel-title col-xs-7 text-left input-font">
131
+ {{((((row.checked+ row.daofang + row.jujian) / (row.checked + row.no_check+ row.daofang + row.jujian))) * 100).toFixed(0) + '%' }}
132
+ </p>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </div>
138
+ </list>
139
+ </criteria-paged>
140
+ </div>
141
+ </template>
142
+
143
+ <script>
144
+
145
+ import Vue from 'vue'
146
+ import LocalPagedList from "../../../components/android/LocalPagedList";
147
+
148
+ export default {
149
+ title: '小区待办',
150
+ data() {
151
+ return {
152
+ f_orgid: Vue.user.orgid,
153
+ model: new LocalPagedList(`safe_singleTable_GroupBy`, 20, {
154
+ items: '"f_residential_area, f_building,'+
155
+ 'SUM( CASE WHEN t2.f_state = \'未检\' THEN 1 ELSE 0 END ) AS no_check,'+
156
+ 'SUM( CASE WHEN t2.f_state = \'已检\' and f_last_check_state=\'入户\' THEN 1 ELSE 0 END ) AS checked,' +
157
+ 'SUM( CASE WHEN t2.f_state = \'已检\' and f_last_check_state=\'到访不遇\' THEN 1 ELSE 0 END ) AS daofang,' +
158
+ 'SUM( CASE WHEN t2.f_state = \'已检\' and f_last_check_state=\'拒检\' THEN 1 ELSE 0 END ) AS jujian"',
159
+ tablename: '"t_check_plan t1 LEFT JOIN t_check_plan_item t2 ON t1.id = t2.f_plan_id "',
160
+ groupitem: '"f_residential_area, f_building"'
161
+ }),
162
+ criteriaShow: false
163
+ }
164
+ },
165
+ props: ['planName'],
166
+ ready(){
167
+ },
168
+ methods: {
169
+ selfSearch (args) {
170
+ if(this.planName){
171
+ if(this.planName.toString().trim()){
172
+ args.condition += " and f_plan_name like '%"+this.planName+"%'"
173
+ }
174
+ }
175
+ this.model.search(args.condition,args.model)
176
+ },
177
+ toPlanItem(row) {
178
+ this.$dispatch('gotoson', {
179
+ _this: this,
180
+ title: '安检计划',
181
+ safe: false
182
+ })
183
+ this.$goto('current-create', {planName:this.planName,f_residential_area:row.f_residential_area ,f_building:row.f_building},'self')
184
+ },
185
+ hidden() {
186
+ this.criteriaShow = !this.criteriaShow
187
+ }
188
+ }
189
+ }
190
+ </script>
@@ -215,6 +215,17 @@
215
215
  v-model="model.f_last_state"
216
216
  close-on-select clear-button></v-select>
217
217
  </div>
218
+ <div class="row app-row" v-show="$parent.$parent.criteriaShow">
219
+ <div class="col-xs-4">
220
+ <img src="../../../assets/上传状态.png" style="width: 20px;margin-bottom: 5px" alt="">
221
+ <label for="f_upload_state" class="font text-left">上传状态:</label>
222
+ </div>
223
+ <div class="col-xs-8" >
224
+ <v-select id="f_upload_state" :value.sync="model.f_upload_state" class="input-font"
225
+ :options='$parent.$parent.upload_states' placeholder='请选择上传状态'
226
+ v-model="model.f_upload_state" condition="ti.f_upload_state='{}'" close-on-select clear-button></v-select>
227
+ </div>
228
+ </div>
218
229
  <div class="row app-row" v-if="$parent.$parent.criteriaShow">
219
230
  <div class="col-xs-6">
220
231
  <img src="../../../assets/用户ID.png" style="width: 20px;margin-bottom: 5px" alt="">
@@ -856,6 +867,11 @@ export default {
856
867
  condition += " and ti.f_enter_number like '%"+this.$refs.paged.$refs.cri.model.f_enter_number+"%'"
857
868
  if(this.$refs.paged.$refs.cri.model.f_check_version)
858
869
  condition += " and ti.f_check_version <= "+this.$refs.paged.$refs.cri.model.f_check_version
870
+
871
+ if(this.$refs.paged.$refs.cri.model.f_upload_state[0])
872
+ condition += ` and ti.f_upload_state = '${this.$refs.paged.$refs.cri.model.f_upload_state[0]}'`
873
+
874
+
859
875
  //tag
860
876
  this.model.search("ti.f_no_checkplan = '有计划安检'" + condition)
861
877
  },