safecheck-client 4.0.0-55 → 4.0.0-57

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 (30) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/NewDefectList/DefectListNew.vue +663 -663
  4. package/src/components/Util/SafecheckUpload.vue +281 -281
  5. package/src/components/android/AndroidDefectDetails.vue +725 -725
  6. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  7. package/src/components/android/SafecheckDevices.vue +1340 -1339
  8. package/src/components/pc/AddToCheckBook.vue +237 -237
  9. package/src/components/pc/CheckBook.vue +303 -303
  10. package/src/components/pc/CheckBookArea.vue +146 -146
  11. package/src/components/pc/CheckBookCompany.vue +144 -144
  12. package/src/components/pc/CheckBookDetails.vue +161 -161
  13. package/src/components/pc/CheckBookEntry.vue +60 -60
  14. package/src/components/pc/CheckBookList.vue +366 -366
  15. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  16. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  17. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  18. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  19. package/src/components/pc/CheckBookUser.vue +333 -333
  20. package/src/components/pc/DefectDeal.vue +1007 -1007
  21. package/src/components/pc/PaperDefectMain.vue +880 -879
  22. package/src/filiale/meihekou/android/AreaPlan.vue +569 -569
  23. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  24. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  25. package/src/filiale/meihekou/android/CurrentCreate.vue +1087 -1087
  26. package/src/filiale/meihekou/android/MeterReading.vue +106 -106
  27. package/src/filiale/meihekou/android/SafecheckOrderV.vue +4 -3
  28. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -787
  29. package/src/filiale/meihekou/android.js +19 -19
  30. package/src/filiale/meihekou/pc.js +12 -12
@@ -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>