safecheck-client 4.0.2-2 → 4.0.2-20

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 (49) hide show
  1. package/package.json +1 -1
  2. package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
  3. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  4. package/src/components/android/SafeRightTree.vue +218 -218
  5. package/src/components/android/SafecheckDevices.vue +1340 -1340
  6. package/src/components/android/week/CheckResultSimple.vue +222 -0
  7. package/src/components/android/week/FirstWeekCheck.vue +236 -0
  8. package/src/components/android/week/StepHeaderBar.vue +323 -0
  9. package/src/components/android/week/WeekCheck.vue +151 -0
  10. package/src/components/android/week/WeekCheckPaper.vue +151 -0
  11. package/src/components/checkplan/SelectCheckPlan.vue +39 -0
  12. package/src/components/paper/safetyledger.vue +194 -0
  13. package/src/components/pc/CheckBook.vue +303 -303
  14. package/src/components/pc/CheckBookArea.vue +146 -146
  15. package/src/components/pc/CheckBookCompany.vue +144 -144
  16. package/src/components/pc/CheckBookDetails.vue +161 -161
  17. package/src/components/pc/CheckBookEntry.vue +60 -60
  18. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  19. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  20. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  21. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  22. package/src/components/planmanage/PlanManage.vue +10 -1
  23. package/src/components/planmanage/checkUserList.vue +1 -1
  24. package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
  25. package/src/components/report/CheckByPlan.vue +1 -1
  26. package/src/components/report/CheckPlanAreaList.vue +45 -2
  27. package/src/filiale/jinhong/android/CurrentCreate.vue +1313 -1313
  28. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +27 -3
  29. package/src/filiale/jinhong/pc/CheckBookList.vue +4 -0
  30. package/src/filiale/jinhong/pc/PaperList.vue +1 -1
  31. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  32. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  33. package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -1542
  34. package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
  35. package/src/filiale/meihekou/android/SafecheckOrderV.vue +9 -8
  36. package/src/filiale/meihekou/android.js +22 -22
  37. package/src/filiale/meihekou/pc/CheckDetail.vue +208 -0
  38. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  39. package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +504 -0
  40. package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -2050
  41. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  42. package/src/filiale/meihekou/pc.js +3 -0
  43. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
  44. package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
  45. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  46. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  47. package/src/filiale/xinliansihui/pc.js +13 -0
  48. package/src/safecheck-android.js +326 -316
  49. package/src/safecheck.js +3 -0
@@ -0,0 +1,206 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
5
+ <criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="col-sm-4 form-group" style="margin: 0">
9
+ <role-selector-safe
10
+ role-name="新安检员"
11
+ role-lable="安&nbsp;检&nbsp;员&nbsp;"
12
+ @re-res="$parent.$parent.getRes"
13
+ :value.sync="model.f_checker_id"
14
+ v-model="model.f_checker_id"
15
+ condition="f_checker_name = '{}'">
16
+ </role-selector-safe>
17
+ </div>
18
+ <div class="form-group col-sm-2" >
19
+ <label class="font_normal_body">用户地址</label>
20
+ <input type="text" class="input_search" v-model="model.f_address"
21
+ style="width: 60%" placeholder="用户地址" condition="f_address like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-2" >
24
+ <label class="font_normal_body">开始时间</label>
25
+ <datepicker
26
+ :value.sync="model.f_check_start"
27
+ placeholder='开始时间' style="width: 60%"
28
+ :disabled-days-of-week="[]"
29
+ :format="'yyyy-MM-dd'"
30
+ :show-rest-button="reset"
31
+ v-model="model.f_check_start"
32
+ condition="f_upload_date >= '{} 00:00:00'">
33
+ </datepicker>
34
+ </div>
35
+ <div class="form-group col-sm-2" >
36
+ <label class="font_normal_body">结束时间</label>
37
+ <datepicker
38
+ :value.sync="model.f_check_end"
39
+ placeholder='结束时间' style="width: 60%"
40
+ :disabled-days-of-week="[]"
41
+ :format="'yyyy-MM-dd'"
42
+ :show-rest-button="reset"
43
+ v-model="model.f_check_end"
44
+ condition="f_upload_date <= '{} 23:59:59'">
45
+ </datepicker>
46
+ </div>
47
+ <div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
48
+ <export-excel :data="$parent.$parent.searchData"
49
+ :field="$parent.$parent.excelHeaders"
50
+ progress="safeGetExportProgress"
51
+ sqlurl="api/af-safecheck/logic/exportfile" sql-name="queryNoVisit" template-name='到访不遇'></export-excel>
52
+ <button class="button_spacing button_search" @click="search()">查询</button>
53
+ <div style="float: right" class="button_spacing"
54
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
55
+ @click="$parent.$parent.hidden()"></div>
56
+ </div>
57
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
58
+ <label class="font_normal_body">表号</label>
59
+ <input type="text" class="input_search" v-model="model.f_meternumber"
60
+ style="width: 60%" placeholder="表号" condition="f_meternumber like '%{}%'">
61
+ </div>
62
+ <div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow" >
63
+ <label class="font_normal_body">客户类型</label>
64
+ <v-select :value.sync="model.f_user_type" v-model='model.f_user_type'
65
+ :value-single="true" style="width: 60%"
66
+ class="select_list select"
67
+ :options='$parent.$parent.f_check_type' placeholder='客户类型'
68
+ close-on-select
69
+ condition="f_user_type = '{}'"></v-select>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </criteria>
74
+ <data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
75
+ <template partial='head'>
76
+ <tr>
77
+ <th>
78
+ <nobr>客户编号</nobr>
79
+ </th>
80
+ <th>
81
+ <nobr>客户名称</nobr>
82
+ </th>
83
+ <th>
84
+ <nobr>客户电话</nobr>
85
+ </th>
86
+ <th>
87
+ <nobr>表号</nobr>
88
+ </th>
89
+ <th>
90
+ <nobr>用户类型</nobr>
91
+ </th>
92
+ <th>
93
+ <nobr>客户地址</nobr>
94
+ </th>
95
+ <th>
96
+ <nobr>安检员</nobr>
97
+ </th>
98
+ <th>
99
+ <nobr>安检时间</nobr>
100
+ </th>
101
+ <th>
102
+ <nobr>备注</nobr>
103
+ </th>
104
+ <th>
105
+ <nobr>操作</nobr>
106
+ </th>
107
+ </tr>
108
+ </template>
109
+ <template partial='body'>
110
+ <td style="text-align: center">{{row.f_userinfoid}}</td>
111
+ <td style="text-align: center">{{row.f_user_name}}</td>
112
+ <td style="text-align: center">{{row.f_user_phone}}</td>
113
+ <td style="text-align: center">{{row.f_meternumber}}</td>
114
+ <td style="text-align: center">{{row.f_user_type}}</td>
115
+ <td style="text-align: center">{{row.f_address}}</td>
116
+ <td style="text-align: center">{{row.f_checker_name}}</td>
117
+ <td style="text-align: center">{{row.f_upload_date}}</td>
118
+ <td style="text-align: center">{{row.f_comments}}</td>
119
+ <td style="text-align: center">
120
+ <button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
121
+ </td>
122
+ </template>
123
+ </data-grid>
124
+ </criteria-paged>
125
+ </div>
126
+ <modal :show.sync="imgshow" v-ref:modal backdrop="true">
127
+ <header slot="modal-header" class="modal-header">
128
+ 到访照片
129
+ </header>
130
+ <article slot="modal-body" class="modal-body">
131
+ <div class="from-group" style="display: flex">
132
+ <img-self-plus v-if="imgRow.f_daofang1_path" :src="'rs/image/file/'+imgRow.f_daofang1_path" width="100" height="150"></img-self-plus>
133
+ <img-self-plus v-if="imgRow.f_daofang2_path" :src="'rs/image/file/'+imgRow.f_daofang2_path" width="100" height="150"></img-self-plus>
134
+ <img-self-plus v-if="imgRow.f_daofang3_path" :src="'rs/image/file/'+imgRow.f_daofang3_path" width="100" height="150"></img-self-plus>
135
+ </div>
136
+ </article>
137
+ <footer slot="modal-footer" class="modal-footer">
138
+ <button type="button" class="btn btn-success" @click='imgclose'>关闭</button>
139
+ </footer>
140
+ </modal>
141
+ </div>
142
+ </template>
143
+
144
+ <script>
145
+ import { PagedList } from 'vue-client'
146
+ import * as Util from '../../Util'
147
+ export default {
148
+ title: '无计划到访查询',
149
+ data() {
150
+ return {
151
+ imgshow:false,
152
+ imgRow:{},
153
+ model: new PagedList('api/af-safecheck/sql/queryNoVisit', 20, {}),
154
+ excelHeaders: {
155
+ 'f_userinfoid': '客户编号',
156
+ 'f_user_name': '客户名称',
157
+ 'f_user_phone': '客户电话',
158
+ 'f_address': '客户地址',
159
+ 'f_checker_name': '安检员',
160
+ 'f_upload_date': '安检时间',
161
+ 'f_comments': '备注',
162
+ 'f_user_type':'用户类型',
163
+ 'f_meternumber':'表号'
164
+ },
165
+ criteriaShow: false,
166
+ showModal: false,
167
+ f_check_type:[{label:'全部',value:''},{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
168
+
169
+ }
170
+ },
171
+ methods: {
172
+ getRes(obj) {
173
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids);
174
+ },
175
+ imgclose () {
176
+ this.imgshow = false
177
+ },
178
+ hidden() {
179
+ this.criteriaShow = !this.criteriaShow
180
+ },
181
+ change(row){
182
+ console.log("933",row)
183
+ this.imgRow = row
184
+ this.imgshow = true
185
+ },
186
+ selfSearch(args) {
187
+ ////tag
188
+ this.model.search(args.condition, args.model, args.condValue)
189
+ }
190
+ },
191
+
192
+ ready() {
193
+ this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString()
194
+ this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString()
195
+ },
196
+ computed :{
197
+ searchData() {
198
+ return {condition: this.model.condition}
199
+ }
200
+ },
201
+ watch: {
202
+
203
+ }
204
+
205
+ }
206
+ </script>
@@ -0,0 +1,13 @@
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ "paper-main":(resolve) => { require(['./pc/PaperList.vue'], resolve) },
7
+ "paper-visit-main":(resolve) => { require(['./pc/PaperVisitMain'], resolve) },
8
+ }
9
+ exports.specialComp = specialComp
10
+
11
+
12
+
13
+