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.
- package/package.json +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- package/src/components/android/AndroidNotifiedDeal.vue +417 -0
- package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
- package/src/components/android/SafeRightTree.vue +218 -218
- package/src/components/android/SafecheckDevices.vue +1340 -1340
- package/src/components/android/week/CheckResultSimple.vue +251 -0
- package/src/components/android/week/FirstWeekCheck.vue +275 -0
- package/src/components/android/week/StepHeaderBar.vue +457 -0
- package/src/components/android/week/WeekCheck.vue +209 -0
- package/src/components/android/week/WeekCheckPaper.vue +219 -0
- package/src/components/android/week/WeekCheckPlan.vue +145 -0
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +198 -0
- package/src/components/pc/CheckBook.vue +303 -303
- package/src/components/pc/CheckBookArea.vue +146 -146
- package/src/components/pc/CheckBookCompany.vue +144 -144
- package/src/components/pc/CheckBookDetails.vue +161 -161
- package/src/components/pc/CheckBookEntry.vue +60 -60
- package/src/components/pc/CheckBookSearchArea.vue +560 -560
- package/src/components/pc/CheckBookSearchUnit.vue +229 -229
- package/src/components/pc/CheckBookSearchUser.vue +659 -659
- package/src/components/pc/CheckBookSearchUserList.vue +674 -674
- package/src/components/pc/DefectDeal.vue +6 -2
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckPlanAreaList.vue +53 -7
- package/src/filiale/jinhong/android/AndroidDefectDeal.vue +722 -0
- package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +521 -0
- package/src/filiale/jinhong/android/CurrentCreate.vue +35 -13
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +28 -3
- package/src/filiale/jinhong/android/SafecheckOrderV.vue +2300 -0
- package/src/filiale/jinhong/android.js +4 -1
- package/src/filiale/jinhong/pc/CheckBookList.vue +28 -18
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +42 -2
- package/src/filiale/jinhong/pc/NewCheckpaper.vue +1958 -0
- package/src/filiale/jinhong/pc/PaperList.vue +5 -1
- package/src/filiale/jinhong/pc/checkPlanList.vue +73 -24
- package/src/filiale/jinhong/pc.js +1 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/CurrentCreate.vue +16 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1545 -1542
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +27 -28
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/CheckDetail.vue +217 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +505 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +2 -1
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2051 -2050
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1 -0
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc.js +18 -15
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/taiyuan/android/AddPlanItem.vue +457 -456
- package/src/filiale/taiyuan/android/SafecheckDevices.vue +1343 -0
- package/src/filiale/taiyuan/android/SafecheckOrderV.vue +2347 -2347
- package/src/filiale/taiyuan/android.js +1 -0
- package/src/filiale/xinkang/android/SafecheckDevices.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +9 -2
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +17 -46
- package/src/filiale/xinliansihui/pc/PaperList.vue +814 -0
- package/src/filiale/xinliansihui/pc/PaperVisitMain.vue +206 -0
- package/src/filiale/xinliansihui/pc.js +13 -0
- package/src/safecheck-android.js +12 -0
- package/src/safecheck.js +3 -0
|
@@ -248,7 +248,10 @@
|
|
|
248
248
|
<img-self-plus v-if="solveModal.preData.defectImg1" :width="200" :height="200" :src="solveModal.preData.defectImg1"></img-self-plus>
|
|
249
249
|
<img-self-plus v-if="solveModal.preData.defectImg2" :width="200" :height="200" :src="solveModal.preData.defectImg2"></img-self-plus>
|
|
250
250
|
</div>
|
|
251
|
-
|
|
251
|
+
<div class="col-sm-12" style="margin-bottom: 10px; display: flex; gap: 10px" v-if="solveModal.preData.f_repaired_path">
|
|
252
|
+
<label class="font_normal_body">隐患通知单照片</label>
|
|
253
|
+
<img-self-plus v-if="solveModal.preData.f_repaired_path" :width="200" :height="200" :src="solveModal.preData.f_repaired_path"></img-self-plus>
|
|
254
|
+
</div>
|
|
252
255
|
<div style="width: 100%;height: 36px;background-color: #f1f8ff;float: left">
|
|
253
256
|
<div style="width: 8px;height: 100%;background-color: #6aa6e2;margin-right: 20px;float: left"></div>
|
|
254
257
|
<div style="width: auto;height:100%;float: left;"><p class="title-font" style="margin-top: 5px">处理后</p></div>
|
|
@@ -506,6 +509,7 @@
|
|
|
506
509
|
type: '',
|
|
507
510
|
defectImg: '',
|
|
508
511
|
defectImg1: '',
|
|
512
|
+
f_repaired_path: '',
|
|
509
513
|
defectImg2: '',
|
|
510
514
|
repairedImg: '',
|
|
511
515
|
repairedImg1: '',
|
|
@@ -619,7 +623,7 @@
|
|
|
619
623
|
this.solveModal.preData.defectImg = row.f_path ? '/rs/image/file/' + row.f_path : ''
|
|
620
624
|
this.solveModal.preData.defectImg1 = row.f_p1_path ? '/rs/image/file/' + row.f_p1_path : ''
|
|
621
625
|
this.solveModal.preData.defectImg2 = row.f_p2_path ? '/rs/image/file/' + row.f_p2_path : ''
|
|
622
|
-
|
|
626
|
+
this.solveModal.preData.f_repaired_path=row.f_repaired_path ? '/rs/image/file/' + row.f_repaired_path : ''
|
|
623
627
|
this.solveModal.preData.repairedImg = row.f_repair_path ? (row.f_repair_path.startsWith('/resource') ? row.f_repair_path : '/rs/image/file/' + row.f_repair_path) : ''
|
|
624
628
|
this.solveModal.preData.repairedImg1 = row.f_repair1_path ? (row.f_repair1_path.startsWith('/resource') ? row.f_repair1_path : '/rs/image/file/' + row.f_repair1_path) : ''
|
|
625
629
|
this.solveModal.preData.repairedImg2 = row.f_repair2_path ? (row.f_repair2_path.startsWith('/resource') ? row.f_repair2_path : '/rs/image/file/' + row.f_repair2_path) : ''
|
|
@@ -406,7 +406,7 @@ export default {
|
|
|
406
406
|
data() {
|
|
407
407
|
return {
|
|
408
408
|
model:new PagedList('/api/af-safecheck/sql/FetchUserFileByOrgNoRuHuSXQ', 100, {
|
|
409
|
-
"orderitem": "'
|
|
409
|
+
"orderitem": "'f_address desc'",
|
|
410
410
|
"f_usertype": "''",
|
|
411
411
|
"month": "''",
|
|
412
412
|
"SafeCheckSX": {"f_check_start": '', "f_check_end": ''},
|
|
@@ -787,7 +787,8 @@ export default {
|
|
|
787
787
|
con += args.model.f_checker_id ? ` and f_checker_name in ${args.model.f_checker_id}` : ' and 1=1'
|
|
788
788
|
let condition = {
|
|
789
789
|
condition1: args.condition,
|
|
790
|
-
condition2: con
|
|
790
|
+
condition2: con,
|
|
791
|
+
condition3: '1 = 1'
|
|
791
792
|
}
|
|
792
793
|
this.searchData.condition = condition
|
|
793
794
|
return this.model.search(condition, args.model)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row">
|
|
@@ -41,6 +41,18 @@
|
|
|
41
41
|
close-on-select clear-button></v-select>
|
|
42
42
|
|
|
43
43
|
</div>
|
|
44
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
|
45
|
+
<label class="font_normal_body">片  区</label>
|
|
46
|
+
<v-select class="select_list select"
|
|
47
|
+
placeholder='片区/管理站' style="width: 60%"
|
|
48
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
|
49
|
+
:options='$parent.$parent.sliceArea'
|
|
50
|
+
filer-key="name"
|
|
51
|
+
close-on-select clear-button
|
|
52
|
+
condition="f_slice_area='{}'"
|
|
53
|
+
:value-single="true">
|
|
54
|
+
</v-select>
|
|
55
|
+
</div>
|
|
44
56
|
<!--<div :class="{
|
|
45
57
|
'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
|
46
58
|
<label class="font_normal_body">安 检 员</label>
|
|
@@ -62,9 +74,12 @@
|
|
|
62
74
|
sqlurl="api/af-safecheck/logic/exportfile" sql-name="getCheckPlanAreaList"
|
|
63
75
|
template-name='安检汇总' :choose-col="true">
|
|
64
76
|
</export-excel>-->
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
77
|
+
<export-excel :data="$parent.$parent.exportParameter"
|
|
78
|
+
:field="$parent.$parent.exportExcelField"
|
|
79
|
+
sqlurl="api/af-safecheck/logic/exportfile"
|
|
80
|
+
sql-name="getCheckPlanAreaList"
|
|
81
|
+
template-name='安检汇总' :choose-col="true">
|
|
82
|
+
</export-excel>
|
|
68
83
|
<button id="btnaaa" style="float: right" class="button_search"
|
|
69
84
|
@click="$parent.$parent.getGroupName1(),search(),$parent.$parent.getexportExcelField(),$parent.$parent.$parent.isdetail=false,$parent.$parent.listflag=false"
|
|
70
85
|
v-el:cx>查询</button>
|
|
@@ -108,6 +123,8 @@
|
|
|
108
123
|
<label for="f_checker_name">安检员</label>
|
|
109
124
|
<input type="checkbox" id="f_user_number" value="f_user_number" v-model="$parent.$parent.nameForSql"/>
|
|
110
125
|
<label for="f_checker_name">档案数量</label>
|
|
126
|
+
<input type="checkbox" id="f_safecheck_type" value="f_safecheck_type" v-model="$parent.$parent.nameForSql"/>
|
|
127
|
+
<label for="f_checker_name">安检类型</label>
|
|
111
128
|
</div>
|
|
112
129
|
</div>
|
|
113
130
|
</div>
|
|
@@ -125,6 +142,7 @@
|
|
|
125
142
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')"><nobr>计划名称</nobr></th>
|
|
126
143
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_checker_name')"><nobr>安检员</nobr></th>
|
|
127
144
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')"><nobr>档案数量</nobr></th>
|
|
145
|
+
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_safecheck_type')"><nobr>安检类型</nobr></th>
|
|
128
146
|
<th>
|
|
129
147
|
<nobr>计划总数</nobr>
|
|
130
148
|
</th>
|
|
@@ -165,6 +183,7 @@
|
|
|
165
183
|
<td style="text-align:center" :class="{'td-0':row.f_plan_name==undefined,'td-1':model.rows && model.rows.length!=($index+1)&&row.f_plan_name.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.f_plan_name.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.f_plan_name.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.f_plan_name.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')">{{row.f_plan_name.indexOf('*&')!=-1?'':row.f_plan_name}}</td>
|
|
166
184
|
<td style="text-align:center" :class="{'td-0':row && !row.f_checker_name,'td-1':model.rows && model.rows.length!=($index+1)&&row.f_checker_name && row.f_checker_name.indexOf('*&')==-1,'td-2':model.rows && model.rows.length!=($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')!=-1,'td-3':model.rows && model.rows.length==($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')!=-1,'td-4':model.rows && model.rows.length==($index+1)&&row.f_checker_name &&row.f_checker_name.indexOf('*&')==-1}" v-if="$parent.$parent.$parent.nameForSql && $parent.$parent.$parent.nameForSql.includes('f_checker_name')">{{row.f_checker_name && row.f_checker_name.indexOf('*&')!=-1?'':row.f_checker_name}}</td>
|
|
167
185
|
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')">{{row.f_user_number}}</td>
|
|
186
|
+
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_safecheck_type')">{{row.f_safecheck_type}}</td>
|
|
168
187
|
<td style="text-align:center">{{row.f_plan_total}}</td>
|
|
169
188
|
<td style="text-align:center">{{row.f_weijian}}</td>
|
|
170
189
|
<td style="text-align:center"><nobr>{{row.f_yijian}}</nobr></td>
|
|
@@ -203,12 +222,13 @@ import XLSX from 'xlsx'
|
|
|
203
222
|
export default {
|
|
204
223
|
data () {
|
|
205
224
|
return {
|
|
206
|
-
model: new PagedList('api/af-safecheck/sql/getCheckPlanAreaList',
|
|
225
|
+
model: new PagedList('api/af-safecheck/sql/getCheckPlanAreaList', 50,{},{f_plan_total:'',f_weijian:'',f_yijian:'',f_ruhu:'',f_buyu:'',f_jujian:''}),
|
|
207
226
|
// 公司下拉
|
|
208
227
|
curorgid: [this.$login.f.orgid],
|
|
209
228
|
row: {},
|
|
210
229
|
f_orgid: '',
|
|
211
230
|
nameForSql: [],
|
|
231
|
+
sliceArea: [],
|
|
212
232
|
groupNameForSql: '',
|
|
213
233
|
listflag:false,
|
|
214
234
|
nameflag:false,
|
|
@@ -239,9 +259,32 @@ export default {
|
|
|
239
259
|
this.groupNameForSql = 'f_plan_month', 'f_plan_name','f_checker_name'
|
|
240
260
|
this.pl()
|
|
241
261
|
// this.search()
|
|
262
|
+
this.Mreadibook(this.$login.f.orgid)
|
|
242
263
|
|
|
243
264
|
},
|
|
244
265
|
methods: {
|
|
266
|
+
Mreadibook(val){
|
|
267
|
+
if (val){
|
|
268
|
+
new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
|
|
269
|
+
items: 'name',
|
|
270
|
+
tablename: 't_zone',
|
|
271
|
+
condition: `parentid = '${val}'`,
|
|
272
|
+
orderitem: 'id'
|
|
273
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
274
|
+
this.sliceArea=[]
|
|
275
|
+
this.sliceArea.push({
|
|
276
|
+
label:'全部',
|
|
277
|
+
value:''
|
|
278
|
+
})
|
|
279
|
+
res.data.forEach(ress=>{
|
|
280
|
+
this.sliceArea.push({
|
|
281
|
+
label:ress.name,
|
|
282
|
+
value:ress.name
|
|
283
|
+
})
|
|
284
|
+
})
|
|
285
|
+
})
|
|
286
|
+
}
|
|
287
|
+
},
|
|
245
288
|
exportexcel(){
|
|
246
289
|
//tag
|
|
247
290
|
// 以上四行也可以直接一行搞定,如果不需要对表格数据进行修改的话
|
|
@@ -284,6 +327,9 @@ export default {
|
|
|
284
327
|
}if (ff==='f_user_number') {
|
|
285
328
|
this.exportExcelField.f_user_number='档案数量'
|
|
286
329
|
}
|
|
330
|
+
if (ff==='f_safecheck_type') {
|
|
331
|
+
this.exportExcelField.f_safecheck_type='安检类型'
|
|
332
|
+
}
|
|
287
333
|
}
|
|
288
334
|
},
|
|
289
335
|
pl() {
|
|
@@ -359,7 +405,7 @@ export default {
|
|
|
359
405
|
|
|
360
406
|
// 拼接groupName1
|
|
361
407
|
getGroupName1 () {
|
|
362
|
-
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|
|
408
|
+
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_safecheck_type']
|
|
363
409
|
var newtemp=[]
|
|
364
410
|
|
|
365
411
|
for (var i=0;i<temp.length;i++){
|
|
@@ -396,7 +442,7 @@ export default {
|
|
|
396
442
|
}
|
|
397
443
|
this.listflag=true
|
|
398
444
|
//tag
|
|
399
|
-
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|
|
445
|
+
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_safecheck_type']
|
|
400
446
|
var newtemp=[]
|
|
401
447
|
for (var i=0;i<temp.length;i++){
|
|
402
448
|
for (var j=0;j<this.nameForSql.length;j++){
|