safecheck-client 4.0.0-98 → 4.0.1-1

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 (52) hide show
  1. package/package.json +2 -2
  2. package/src/App.vue +31 -31
  3. package/src/components/CheckerCount/CheckCountAreaManage.vue +1 -1
  4. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1079
  5. package/src/components/Util/SafecheckUpload.vue +281 -281
  6. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  7. package/src/components/android/SafeRightTree.vue +217 -0
  8. package/src/components/android/SafecheckDevices.vue +1340 -1340
  9. package/src/components/android/SwitchValve.vue +2 -2
  10. package/src/components/map/PersonTrack.vue +3 -1
  11. package/src/components/map/checkScreen.vue +47 -13
  12. package/src/components/paper/PaperList.vue +797 -796
  13. package/src/components/paper/RegionalList.vue +220 -0
  14. package/src/components/pc/AddToCheckBook.vue +1 -1
  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/CheckBookUser.vue +333 -333
  25. package/src/components/pc/DefectDeal.vue +1 -1
  26. package/src/components/pc/PaperDefectMain.vue +880 -880
  27. package/src/components/report/CheckPlanAreaManage.vue +1 -1
  28. package/src/components/report/HiddenSituationNoSubtotal.vue +165 -0
  29. package/src/components/report/communityTypeDetailM.vue +113 -0
  30. package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -1240
  31. package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +3 -3
  32. package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +9 -2
  33. package/src/filiale/jinhong/pc/PlanManage.vue +5 -5
  34. package/src/filiale/jinhong/pc/checkPlanList.vue +418 -0
  35. package/src/filiale/jinhong/pc/checkUserList.vue +19 -21
  36. package/src/filiale/jinhong/pc.js +1 -0
  37. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  38. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  39. package/src/filiale/meihekou/android/CurrentCreate.vue +33 -91
  40. package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -1538
  41. package/src/filiale/meihekou/android/SafecheckDevices.vue +1340 -0
  42. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2421 -2413
  43. package/src/filiale/meihekou/android.js +22 -21
  44. package/src/filiale/meihekou/pc/NewCheckpaper.vue +2027 -1959
  45. package/src/filiale/qingjian/pc/NewCheckpaper.vue +4 -4
  46. package/src/filiale/qingjian/pc/checkUserList.vue +835 -0
  47. package/src/filiale/qingjian/pc.js +1 -1
  48. package/src/filiale/weinan/pc/CheckPlanAreaManage.vue +1 -1
  49. package/src/filiale/xinkang/pc/CheckPlanAreaManage.vue +1 -1
  50. package/src/main.js +33 -33
  51. package/src/safecheck-android.js +1 -0
  52. package/src/safecheck.js +9 -1
@@ -1,198 +1,198 @@
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='search' 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_plan_name condition="f_plan_name like '%{}%'" />
74
- </div>
75
- </div>
76
- <div class="row text-center" style="margin-top: 20px;">
77
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="$parent.$parent.selfSearch">查询</button>
78
- <img style="float: right;margin-right: 3% " @click="$parent.$parent.getNewOrder" src="../../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
79
- <!-- <div style="float: right;margin-right: 3% " class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
80
- </div>
81
- <div style="height:30px;"></div>
82
- </form>
83
- </div>
84
- </criteria>
85
- <list :model="model" partial='list'>
86
- <div partial>
87
- <div class="auto app-text" style="margin-top: 5px;">
88
- <div class="panel" style="padding: 10px 10px 5px 10px;">
89
- <div class="panel-body panel-self" @click="$parent.$parent.$parent.toPlanItem(row.f_plan_name)">
90
- <div class="col-xs-12">
91
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>计划名称:</b></p>
92
- <p class="panel-title col-xs-7 text-left input-font" style="width: 74%">{{ row.f_plan_name }}</p>
93
- </div>
94
- <div class="col-xs-12">
95
- <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>计划时间:</b></p>
96
- <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_create_time }}</p>
97
- </div>
98
- <div class="col-xs-6">
99
- <p class="panel-title col-xs-5 text-left font"><b>入户:</b></p>
100
- <p class="panel-title col-xs-7 text-left input-font">{{ row.checked }}
101
- </p>
102
- </div>
103
- <div class="col-xs-6">
104
- <p class="panel-title col-xs-5 text-left font"><b>到访不遇:</b></p>
105
- <p class="panel-title col-xs-7 text-left input-font">{{ row.daofang }}
106
- </p>
107
- </div>
108
- <div class="col-xs-6">
109
- <p class="panel-title col-xs-5 text-left font"><b>拒检:</b></p>
110
- <p class="panel-title col-xs-7 text-left input-font">{{ row.jujian }}
111
- </p>
112
- </div>
113
- <div class="col-xs-6">
114
- <p class="panel-title col-xs-5 text-left font"><b>未检:</b></p>
115
- <p class="panel-title col-xs-7 text-left input-font">{{ row.no_check }}</p>
116
- </div>
117
- <div class="col-xs-6">
118
- <p class="panel-title col-xs-5 text-left font"><b>总数:</b></p>
119
- <p class="panel-title col-xs-7 text-left input-font">{{ row.checked + row.no_check + row.daofang + row.jujian }}</p>
120
- </div>
121
- <div class="col-xs-6">
122
- <p class="panel-title col-xs-5 text-left font"><b>完成率:</b></p>
123
- <p class="panel-title col-xs-7 text-left input-font">
124
- {{((((row.checked+ row.daofang + row.jujian) / (row.checked + row.no_check+ row.daofang + row.jujian))) * 100).toFixed(0) + '%' }}
125
- </p>
126
- </div>
127
- </div>
128
- </div>
129
- </div>
130
- </div>
131
- </list>
132
- </criteria-paged>
133
- </div>
134
- </template>
135
-
136
- <script>
137
-
138
- import Vue from 'vue'
139
- import LocalPagedList from "../../../components/android/LocalPagedList";
140
-
141
- export default {
142
- title: '安检计划列表',
143
- data() {
144
- return {
145
- f_orgid: Vue.user.orgid,
146
- model:new LocalPagedList( `androidCheckPlanList`,20, {condition:'this.condition'}),
147
- criteriaShow: false
148
- }
149
- },
150
- ready(){
151
- },
152
- methods: {
153
- search(args) {
154
- // args.condition += ` and tu.f_orgid in ${Vue.user.orgid}`
155
- this.model.search(args.condition, args.model)
156
- },
157
- selfSearch () {
158
- let condition = "1=1 "
159
- if(this.$refs.paged.$refs.cri.model.f_plan_name){
160
- if(this.$refs.paged.$refs.cri.model.f_plan_name.toString().trim()){
161
- condition += " and f_plan_name like '%"+this.$refs.paged.$refs.cri.model.f_plan_name+"%'"
162
- }
163
- }
164
- console.log('condition ===> '+ condition)
165
- this.model.search(condition)
166
- },
167
- toPlanItem(planName) {
168
- this.$dispatch('gotoson', {
169
- _this: this,
170
- title: '计划列表',
171
- safe: false
172
- })
173
- this.$goto('check-plan-list-area', {planName},'self')
174
- },
175
- getNewOrder(){
176
- HostApp.__this__ = this
177
- HostApp.logicWithHint({
178
- // logic别名,key必须为logic
179
- 'logic': 'SafeCheckServiceTimeOut',
180
- // 回调执行方法名,key必须为callback
181
- 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
182
- // logic执行需要的业务参数
183
- 'data': {params: ''},
184
- // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
185
- // 执行回调方法传入key为backresult
186
- // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
187
- 'backresult': 1
188
- })
189
- },
190
- getNewOrderCallBack() {
191
- this.selfSearch()
192
- },
193
- hidden() {
194
- this.criteriaShow = !this.criteriaShow
195
- }
196
- }
197
- }
198
- </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='search' 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_plan_name condition="f_plan_name like '%{}%'" />
74
+ </div>
75
+ </div>
76
+ <div class="row text-center" style="margin-top: 20px;">
77
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 25%;" @click="$parent.$parent.selfSearch">查询</button>
78
+ <img style="float: right;margin-right: 3% " @click="$parent.$parent.getNewOrder" src="../../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
79
+ <!-- <div style="float: right;margin-right: 3% " class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
80
+ </div>
81
+ <div style="height:30px;"></div>
82
+ </form>
83
+ </div>
84
+ </criteria>
85
+ <list :model="model" partial='list'>
86
+ <div partial>
87
+ <div class="auto app-text" style="margin-top: 5px;">
88
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
89
+ <div class="panel-body panel-self" @click="$parent.$parent.$parent.toPlanItem(row.f_plan_name)">
90
+ <div class="col-xs-12">
91
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>计划名称:</b></p>
92
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 74%">{{ row.f_plan_name }}</p>
93
+ </div>
94
+ <div class="col-xs-12">
95
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>计划时间:</b></p>
96
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_create_time }}</p>
97
+ </div>
98
+ <div class="col-xs-6">
99
+ <p class="panel-title col-xs-5 text-left font"><b>入户:</b></p>
100
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.checked }}
101
+ </p>
102
+ </div>
103
+ <div class="col-xs-6">
104
+ <p class="panel-title col-xs-5 text-left font"><b>到访不遇:</b></p>
105
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.daofang }}
106
+ </p>
107
+ </div>
108
+ <div class="col-xs-6">
109
+ <p class="panel-title col-xs-5 text-left font"><b>拒检:</b></p>
110
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.jujian }}
111
+ </p>
112
+ </div>
113
+ <div class="col-xs-6">
114
+ <p class="panel-title col-xs-5 text-left font"><b>未检:</b></p>
115
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.no_check }}</p>
116
+ </div>
117
+ <div class="col-xs-6">
118
+ <p class="panel-title col-xs-5 text-left font"><b>总数:</b></p>
119
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.checked + row.no_check + row.daofang + row.jujian }}</p>
120
+ </div>
121
+ <div class="col-xs-6">
122
+ <p class="panel-title col-xs-5 text-left font"><b>完成率:</b></p>
123
+ <p class="panel-title col-xs-7 text-left input-font">
124
+ {{((((row.checked+ row.daofang + row.jujian) / (row.checked + row.no_check+ row.daofang + row.jujian))) * 100).toFixed(0) + '%' }}
125
+ </p>
126
+ </div>
127
+ </div>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ </list>
132
+ </criteria-paged>
133
+ </div>
134
+ </template>
135
+
136
+ <script>
137
+
138
+ import Vue from 'vue'
139
+ import LocalPagedList from "../../../components/android/LocalPagedList";
140
+
141
+ export default {
142
+ title: '安检计划列表',
143
+ data() {
144
+ return {
145
+ f_orgid: Vue.user.orgid,
146
+ model:new LocalPagedList( `androidCheckPlanList`,20, {condition:'this.condition'}),
147
+ criteriaShow: false
148
+ }
149
+ },
150
+ ready(){
151
+ },
152
+ methods: {
153
+ search(args) {
154
+ // args.condition += ` and tu.f_orgid in ${Vue.user.orgid}`
155
+ this.model.search(args.condition, args.model)
156
+ },
157
+ selfSearch () {
158
+ let condition = "1=1 "
159
+ if(this.$refs.paged.$refs.cri.model.f_plan_name){
160
+ if(this.$refs.paged.$refs.cri.model.f_plan_name.toString().trim()){
161
+ condition += " and f_plan_name like '%"+this.$refs.paged.$refs.cri.model.f_plan_name+"%'"
162
+ }
163
+ }
164
+ console.log('condition ===> '+ condition)
165
+ this.model.search(condition)
166
+ },
167
+ toPlanItem(planName) {
168
+ this.$dispatch('gotoson', {
169
+ _this: this,
170
+ title: '计划列表',
171
+ safe: false
172
+ })
173
+ this.$goto('check-plan-list-area', {planName},'self')
174
+ },
175
+ getNewOrder(){
176
+ HostApp.__this__ = this
177
+ HostApp.logicWithHint({
178
+ // logic别名,key必须为logic
179
+ 'logic': 'SafeCheckServiceTimeOut',
180
+ // 回调执行方法名,key必须为callback
181
+ 'callback': 'javascript:HostApp.__this__.getNewOrderCallBack()',
182
+ // logic执行需要的业务参数
183
+ 'data': {params: ''},
184
+ // 固定key,代表是否将logic执行结果作为参数传入回调方法,1代表true,0代表false,
185
+ // 执行回调方法传入key为backresult
186
+ // 如需额外拼接参数,写在logic返回值的params,例如xxlogic返回:{"params": "success"}
187
+ 'backresult': 1
188
+ })
189
+ },
190
+ getNewOrderCallBack() {
191
+ this.selfSearch()
192
+ },
193
+ hidden() {
194
+ this.criteriaShow = !this.criteriaShow
195
+ }
196
+ }
197
+ }
198
+ </script>