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.
- package/package.json +1 -1
- package/src/components/NewDefectList/DefectPaperNew.vue +1184 -1184
- 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 +222 -0
- package/src/components/android/week/FirstWeekCheck.vue +236 -0
- package/src/components/android/week/StepHeaderBar.vue +323 -0
- package/src/components/android/week/WeekCheck.vue +151 -0
- package/src/components/android/week/WeekCheckPaper.vue +151 -0
- package/src/components/checkplan/SelectCheckPlan.vue +39 -0
- package/src/components/paper/safetyledger.vue +194 -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/planmanage/PlanManage.vue +10 -1
- package/src/components/planmanage/checkUserList.vue +1 -1
- package/src/components/querycheckpaper/CheckSearchUser.vue +2 -1
- package/src/components/report/CheckByPlan.vue +1 -1
- package/src/components/report/CheckPlanAreaList.vue +45 -2
- package/src/filiale/jinhong/android/CurrentCreate.vue +1313 -1313
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +27 -3
- package/src/filiale/jinhong/pc/CheckBookList.vue +4 -0
- package/src/filiale/jinhong/pc/PaperList.vue +1 -1
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
- package/src/filiale/meihekou/android/PaperFeedback.vue +1542 -1542
- package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1340
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +9 -8
- package/src/filiale/meihekou/android.js +22 -22
- package/src/filiale/meihekou/pc/CheckDetail.vue +208 -0
- package/src/filiale/meihekou/pc/CheckPlan.vue +52 -0
- package/src/filiale/meihekou/pc/CheckPlanAreaList.vue +504 -0
- package/src/filiale/meihekou/pc/NewCheckpaperNew.vue +2050 -2050
- package/src/filiale/meihekou/pc/SelectCheckPlan.vue +262 -0
- package/src/filiale/meihekou/pc.js +3 -0
- package/src/filiale/qingjian/pc/SecurityCheckCoordinates.vue +2 -2
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
- 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 +326 -316
- package/src/safecheck.js +3 -0
|
@@ -817,7 +817,16 @@ export default {
|
|
|
817
817
|
this.$refs.item.$refs.paged.$refs.criteria.search()
|
|
818
818
|
await this.loadCheckPlan()
|
|
819
819
|
}
|
|
820
|
-
}
|
|
820
|
+
},
|
|
821
|
+
watch: {
|
|
822
|
+
'isSend'(newVal) {
|
|
823
|
+
if (newVal === true) {
|
|
824
|
+
setTimeout(() => {
|
|
825
|
+
this.isSend = false;
|
|
826
|
+
}, 5000);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
821
830
|
}
|
|
822
831
|
</script>
|
|
823
832
|
|
|
@@ -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)
|
|
@@ -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>
|
|
@@ -108,6 +120,8 @@
|
|
|
108
120
|
<label for="f_checker_name">安检员</label>
|
|
109
121
|
<input type="checkbox" id="f_user_number" value="f_user_number" v-model="$parent.$parent.nameForSql"/>
|
|
110
122
|
<label for="f_checker_name">档案数量</label>
|
|
123
|
+
<input type="checkbox" id="f_safecheck_type" value="f_safecheck_type" v-model="$parent.$parent.nameForSql"/>
|
|
124
|
+
<label for="f_checker_name">安检类型</label>
|
|
111
125
|
</div>
|
|
112
126
|
</div>
|
|
113
127
|
</div>
|
|
@@ -125,6 +139,7 @@
|
|
|
125
139
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_plan_name')"><nobr>计划名称</nobr></th>
|
|
126
140
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_checker_name')"><nobr>安检员</nobr></th>
|
|
127
141
|
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')"><nobr>档案数量</nobr></th>
|
|
142
|
+
<th v-if="$parent.$parent.$parent.nameForSql.includes('f_safecheck_type')"><nobr>安检类型</nobr></th>
|
|
128
143
|
<th>
|
|
129
144
|
<nobr>计划总数</nobr>
|
|
130
145
|
</th>
|
|
@@ -165,6 +180,7 @@
|
|
|
165
180
|
<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
181
|
<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
182
|
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_user_number')">{{row.f_user_number}}</td>
|
|
183
|
+
<td style="text-align:center" v-if="$parent.$parent.$parent.nameForSql.includes('f_safecheck_type')">{{row.f_safecheck_type}}</td>
|
|
168
184
|
<td style="text-align:center">{{row.f_plan_total}}</td>
|
|
169
185
|
<td style="text-align:center">{{row.f_weijian}}</td>
|
|
170
186
|
<td style="text-align:center"><nobr>{{row.f_yijian}}</nobr></td>
|
|
@@ -209,6 +225,7 @@ export default {
|
|
|
209
225
|
row: {},
|
|
210
226
|
f_orgid: '',
|
|
211
227
|
nameForSql: [],
|
|
228
|
+
sliceArea: [],
|
|
212
229
|
groupNameForSql: '',
|
|
213
230
|
listflag:false,
|
|
214
231
|
nameflag:false,
|
|
@@ -239,9 +256,32 @@ export default {
|
|
|
239
256
|
this.groupNameForSql = 'f_plan_month', 'f_plan_name','f_checker_name'
|
|
240
257
|
this.pl()
|
|
241
258
|
// this.search()
|
|
259
|
+
this.Mreadibook(this.$login.f.orgid)
|
|
242
260
|
|
|
243
261
|
},
|
|
244
262
|
methods: {
|
|
263
|
+
Mreadibook(val){
|
|
264
|
+
if (val){
|
|
265
|
+
new HttpResetClass().load('POST',`/api/af-safecheck/sql/safe_singleTable_OrderBy`, {data: {
|
|
266
|
+
items: 'name',
|
|
267
|
+
tablename: 't_zone',
|
|
268
|
+
condition: `parentid = '${val}'`,
|
|
269
|
+
orderitem: 'id'
|
|
270
|
+
}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
271
|
+
this.sliceArea=[]
|
|
272
|
+
this.sliceArea.push({
|
|
273
|
+
label:'全部',
|
|
274
|
+
value:''
|
|
275
|
+
})
|
|
276
|
+
res.data.forEach(ress=>{
|
|
277
|
+
this.sliceArea.push({
|
|
278
|
+
label:ress.name,
|
|
279
|
+
value:ress.name
|
|
280
|
+
})
|
|
281
|
+
})
|
|
282
|
+
})
|
|
283
|
+
}
|
|
284
|
+
},
|
|
245
285
|
exportexcel(){
|
|
246
286
|
//tag
|
|
247
287
|
// 以上四行也可以直接一行搞定,如果不需要对表格数据进行修改的话
|
|
@@ -284,6 +324,9 @@ export default {
|
|
|
284
324
|
}if (ff==='f_user_number') {
|
|
285
325
|
this.exportExcelField.f_user_number='档案数量'
|
|
286
326
|
}
|
|
327
|
+
if (ff==='f_safecheck_type') {
|
|
328
|
+
this.exportExcelField.f_safecheck_type='安检类型'
|
|
329
|
+
}
|
|
287
330
|
}
|
|
288
331
|
},
|
|
289
332
|
pl() {
|
|
@@ -359,7 +402,7 @@ export default {
|
|
|
359
402
|
|
|
360
403
|
// 拼接groupName1
|
|
361
404
|
getGroupName1 () {
|
|
362
|
-
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|
|
405
|
+
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_safecheck_type']
|
|
363
406
|
var newtemp=[]
|
|
364
407
|
|
|
365
408
|
for (var i=0;i<temp.length;i++){
|
|
@@ -396,7 +439,7 @@ export default {
|
|
|
396
439
|
}
|
|
397
440
|
this.listflag=true
|
|
398
441
|
//tag
|
|
399
|
-
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number']
|
|
442
|
+
var temp=['f_plan_month','f_no_checkplan','f_residential_area','f_plan_name','f_checker_name','f_user_number','f_safecheck_type']
|
|
400
443
|
var newtemp=[]
|
|
401
444
|
for (var i=0;i<temp.length;i++){
|
|
402
445
|
for (var j=0;j<this.nameForSql.length;j++){
|