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
@@ -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
+
@@ -304,6 +304,18 @@ export default function (filiale) {
304
304
  Vue.component('phone-other-info', (resolve) => {require(['./components/android/PhoneotherInfo'], resolve)})
305
305
  Vue.component('seal-manage', (resolve) => { require(['./components/android/SealManage'], resolve) })
306
306
  Vue.component('seal-bind', (resolve) => { require(['./components/android/SealBind'], resolve) })
307
+ // 首检
308
+ Vue.component('first-week-check', (resolve) => {require(['./components/android/week/FirstWeekCheck'], resolve)})
309
+ // 周检项
310
+ Vue.component('check-rsult-simple', (resolve) => {require(['./components/android/week/CheckResultSimple'], resolve)})
311
+ // 周检待办
312
+ Vue.component('week-check', (resolve) => {require(['./components/android/week/WeekCheck'], resolve)})
313
+ Vue.component('week-check-plan', (resolve) => {require(['./components/android/week/WeekCheckPlan.vue'], resolve)})
314
+ // 周检详情
315
+ Vue.component('step-header-bar', (resolve) => {require(['./components/android/week/StepHeaderBar'], resolve)})
316
+ // 周检查看
317
+ Vue.component('week-check-paper', (resolve) => {require(['./components/android/week/WeekCheckPaper'], resolve)})
318
+ Vue.component('android-notified-deal', (resolve) => { require(['./components/android/AndroidNotifiedDeal'], resolve) })
307
319
  //特殊目录给这里加
308
320
  if (filiale) {
309
321
  let filialeComp = require(`./filiale/${filiale}/android`).specialComp
package/src/safecheck.js CHANGED
@@ -49,6 +49,9 @@ export default function (filiale) {
49
49
  Vue.component('paper-main', (resolve) => {
50
50
  require(['./components/paper/PaperList'], resolve)
51
51
  })
52
+ Vue.component('safety-Issues-ledger', (resolve) => {
53
+ require(['./components/paper/safetyledger'], resolve)
54
+ })
52
55
  Vue.component('paper-main-n', (resolve) => {
53
56
  require(['./components/safecheckNew/PaperList'], resolve)
54
57
  })