safecheck-client 4.0.2-3 → 4.0.2-31

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 (35) hide show
  1. package/package.json +2 -2
  2. package/src/components/android/week/CheckResultSimple.vue +222 -0
  3. package/src/components/android/week/FirstWeekCheck.vue +236 -0
  4. package/src/components/android/week/StepHeaderBar.vue +323 -0
  5. package/src/components/android/week/WeekCheck.vue +151 -0
  6. package/src/components/android/week/WeekCheckPaper.vue +151 -0
  7. package/src/components/checkplan/SelectCheckPlan.vue +39 -0
  8. package/src/components/paper/safetyledger.vue +194 -0
  9. package/src/components/pc/CheckBook.vue +1 -1
  10. package/src/components/planmanage/PlanManage.vue +902 -902
  11. package/src/components/planmanage/checkUserList.vue +1 -1
  12. package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
  13. package/src/components/report/CheckByPlan.vue +1 -1
  14. package/src/components/report/CheckPlanAreaList.vue +45 -2
  15. package/src/filiale/jinhong/android/CurrentCreate.vue +6 -3
  16. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
  17. package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
  18. package/src/filiale/jinhong/pc/PaperList.vue +1 -1
  19. package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
  20. package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
  21. package/src/filiale/meihekou/android/SafecheckDevices.vue +6 -3
  22. package/src/filiale/meihekou/android/SafecheckOrderV.vue +2445 -2446
  23. package/src/filiale/meihekou/pc/CheckDetail.vue +208 -0
  24. package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
  25. package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +504 -0
  26. package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
  27. package/src/filiale/meihekou/pc.js +3 -0
  28. package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
  29. package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
  30. package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
  31. package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
  32. package/src/filiale/xinliansihui/pc.js +13 -0
  33. package/src/main.js +33 -33
  34. package/src/safecheck-android.js +10 -0
  35. 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
+
package/src/main.js CHANGED
@@ -1,33 +1,33 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import safecheck from './safecheck'
6
- import echarts from 'echarts'
7
- // import safecheck from './rongcheng'
8
-
9
- all()
10
- // 验证码开关赋值
11
- var Verificationfalg = false
12
- system(Verificationfalg)
13
- // system()
14
- safecheck()
15
- // safecheck('rizhao')
16
- require('./bootstrap/less/bootstrap.less')
17
- require('./expandcss.less')
18
-
19
- Vue.prototype.$echarts = echarts
20
- Vue.android = false
21
-
22
- Vue.url = '/SafeCheck/rs/'
23
- if(Vue.android)
24
- Vue.url = Vue.staticUrl
25
- Vue.interval = 1*60*1000
26
- Vue.nopic = 'file:///android_asset/nopic.png'
27
- Vue.mapSetup = false
28
-
29
- /* eslint-disable no-new */
30
- new Vue({
31
- el: 'body',
32
- components: { App }
33
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import safecheck from './safecheck'
6
+ import echarts from 'echarts'
7
+ // import safecheck from './rongcheng'
8
+
9
+ all()
10
+ // 验证码开关赋值
11
+ var Verificationfalg = false
12
+ system(Verificationfalg)
13
+ // system()
14
+ safecheck('jinhong')
15
+ // safecheck('rizhao')
16
+ require('./bootstrap/less/bootstrap.less')
17
+ require('./expandcss.less')
18
+
19
+ Vue.prototype.$echarts = echarts
20
+ Vue.android = false
21
+
22
+ Vue.url = '/SafeCheck/rs/'
23
+ if(Vue.android)
24
+ Vue.url = Vue.staticUrl
25
+ Vue.interval = 1*60*1000
26
+ Vue.nopic = 'file:///android_asset/nopic.png'
27
+ Vue.mapSetup = false
28
+
29
+ /* eslint-disable no-new */
30
+ new Vue({
31
+ el: 'body',
32
+ components: { App }
33
+ })
@@ -304,6 +304,16 @@ 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
+ // 周检详情
314
+ Vue.component('step-header-bar', (resolve) => {require(['./components/android/week/StepHeaderBar'], resolve)})
315
+ // 周检查看
316
+ Vue.component('week-check-paper', (resolve) => {require(['./components/android/week/WeekCheckPaper'], resolve)})
307
317
  //特殊目录给这里加
308
318
  if (filiale) {
309
319
  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
  })