safecheck-client 4.0.0-1 → 4.0.0-100
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 +2 -2
- package/src/App.vue +2 -2
- package/src/components/NewDefectList/DefectListNew.vue +660 -663
- package/src/components/NewDefectList/DefectPaperNew.vue +44 -44
- package/src/components/Util/ImgSelfSafePlus.vue +13 -3
- package/src/components/Util/SafecheckUpload.vue +281 -281
- package/src/components/android/AndroidDefectDeal.vue +1 -1
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
- package/src/components/android/AndroidDefectDetails.vue +769 -0
- package/src/components/android/BlackUserOnLine.vue +2 -2
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +175 -165
- package/src/components/android/Insurance/PhoneInsurancePurchaseDetail.vue +108 -116
- package/src/components/android/Insurance/PhoneInsuranceRecordList.vue +1 -1
- package/src/components/android/NewCheckpaperAndroid.vue +28 -21
- package/src/components/android/PaperFeedback.vue +15 -13
- package/src/components/android/PaperFeedbackTemp.vue +2 -2
- package/src/components/android/PhoneUpUserinfo.vue +20 -0
- package/src/components/android/RelieveRestrict.vue +1 -1
- package/src/components/android/Restriction.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +48 -6
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/android/SealBind.vue +392 -0
- package/src/components/android/SealManage.vue +250 -0
- package/src/components/inspections/inspectionFeedback.vue +2 -2
- package/src/components/paper/PaperList.vue +360 -332
- package/src/components/paper/RegionalList.vue +217 -0
- package/src/components/pc/AddToCheckBook.vue +100 -23
- package/src/components/pc/CheckBook.vue +2 -0
- package/src/components/pc/CheckBookDetails.vue +6 -39
- package/src/components/pc/CheckBookEntry.vue +6 -7
- package/src/components/pc/CheckBookList.vue +60 -69
- package/src/components/pc/CheckBookSearchArea.vue +20 -24
- package/src/components/pc/CheckBookSearchUser.vue +139 -84
- package/src/components/pc/CheckBookSearchUserList.vue +1 -2
- package/src/components/pc/CheckBookUser.vue +276 -44
- package/src/components/pc/DefectDeal.vue +1007 -1007
- package/src/components/pc/NewCheckpaper.vue +22 -14
- package/src/components/pc/NewCheckpaperTemp.vue +5 -5
- package/src/components/pc/PaperDefectMain.vue +1 -0
- package/src/components/pc/RoleSelectorDep.vue +2 -1
- package/src/components/planmanage/PlanManage.vue +825 -821
- package/src/components/planmanage/checkPlanList.vue +28 -0
- package/src/components/planmanage/checkUserList.vue +346 -346
- package/src/components/querycheckpaper/CheckSearchUser.vue +68 -68
- package/src/components/report/CheckPlanAreaList.vue +266 -266
- package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
- package/src/components/rongcheng/PaperFeedback.vue +2 -2
- package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
- package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
- package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
- package/src/filiale/jinhong/android/CurrentCreate.vue +1240 -0
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +438 -0
- package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +339 -0
- package/src/filiale/jinhong/android.js +11 -0
- package/src/filiale/jinhong/pc/CheckBookList.vue +388 -0
- package/src/filiale/jinhong/pc/CheckPlanAreaList.vue +528 -0
- package/src/filiale/jinhong/pc/CheckSearchUser.vue +1094 -0
- package/src/filiale/jinhong/pc/DefectListNew.vue +663 -0
- package/src/filiale/jinhong/pc/DefectPaperNew.vue +1100 -0
- package/src/filiale/jinhong/pc/PaperList.vue +844 -0
- package/src/filiale/jinhong/pc/PlanManage.vue +925 -0
- package/src/filiale/jinhong/pc/SelectCheckPlan.vue +308 -0
- package/src/filiale/jinhong/pc/checkUserList.vue +745 -0
- package/src/filiale/jinhong/pc.js +13 -0
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
- package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
- package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
- package/src/filiale/meihekou/android/AreaPlan.vue +577 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
- package/src/filiale/meihekou/android/CurrentCreate.vue +1108 -0
- package/src/filiale/meihekou/android/MeterReading.vue +106 -0
- package/src/filiale/meihekou/android/PaperFeedback.vue +1538 -0
- package/src/filiale/meihekou/android/PhoneInsurancePurchaseDetail.vue +293 -0
- package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1306 -0
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +2414 -0
- package/src/filiale/meihekou/android/SafecheckUserInfo.vue +785 -0
- package/src/filiale/meihekou/android.js +21 -0
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +1959 -0
- package/src/filiale/meihekou/pc/NewCheckpaperTemp.vue +1288 -0
- package/src/filiale/meihekou/pc.js +13 -0
- package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
- package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +5 -11
- package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
- package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
- package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
- package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
- package/src/filiale/xiangyuanzhongai/android/AndroidDefectDeal.vue +634 -0
- package/src/filiale/xiangyuanzhongai/android/PhoneUpUserinfo.vue +1251 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
- package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
- package/src/filiale/xiangyuanzhongai/android.js +4 -0
- package/src/filiale/xiangyuanzhongai/pc/DefectDeal.vue +1007 -0
- package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +791 -0
- package/src/filiale/xiangyuanzhongai/pc.js +2 -0
- package/src/filiale/xinkang/android/AddPlanItem.vue +413 -0
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/xinkang/android.js +1 -0
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +2 -2
- package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +4 -2
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yunchengminsheng/android.js +1 -0
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
- package/src/main.js +1 -1
- package/src/safecheck-android.js +3 -0
- package/src/safecheck.js +3 -1
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
|
30
30
|
<export-excel :data="$parent.$parent.searchData"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
:field="$parent.$parent.excelHeaders"
|
|
32
|
+
:choose-col="true"
|
|
33
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="根据安检员查询用户档案"
|
|
34
|
+
template-name='用户安检情况'></export-excel>
|
|
35
35
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
|
36
36
|
<div style="float: right" class="button_spacing"
|
|
37
37
|
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
class="select select_list"
|
|
103
103
|
:value.sync="$parent.$parent.checkStates"
|
|
104
104
|
:options='$parent.$parent.checkstatus'
|
|
105
|
-
|
|
105
|
+
></v-select>
|
|
106
106
|
</div>
|
|
107
107
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
108
108
|
<label class="font_normal_body">隐患情况</label>
|
|
@@ -132,17 +132,17 @@
|
|
|
132
132
|
</role-selector-safe>
|
|
133
133
|
</div>
|
|
134
134
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
135
|
+
<label class="font_normal_body">片  区</label>
|
|
136
|
+
<v-select class="select_list select"
|
|
137
|
+
placeholder='片区/管理站' style="width: 60%"
|
|
138
|
+
:value.sync="model.f_slice_area" v-model="model.f_slice_area"
|
|
139
|
+
:options='$parent.$parent.sliceArea'
|
|
140
|
+
filer-key="name"
|
|
141
|
+
close-on-select clear-button
|
|
142
|
+
condition="f_slice_area='{}'"
|
|
143
|
+
@change="$parent.$parent.getmeterbook(model.f_slice_area)"
|
|
144
|
+
:value-single="true">
|
|
145
|
+
</v-select>
|
|
146
146
|
</div>
|
|
147
147
|
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
|
148
148
|
<label class="font_normal_body">抄 表 册</label>
|
|
@@ -205,9 +205,9 @@
|
|
|
205
205
|
</div>
|
|
206
206
|
<div :class="$parent.$parent.style" style="width: auto;margin-top:8px;float: right">
|
|
207
207
|
<export-excel :data="$parent.$parent.searchData"
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
:field="$parent.$parent.excelHeaders"
|
|
209
|
+
sqlurl="api/af-safecheck/logic/exportfile" sql-name="根据安检员查询用户档案"
|
|
210
|
+
template-name='用户安检情况'></export-excel>
|
|
211
211
|
<button type="button" class="button_search button_spacing" @click="search()">查询</button>
|
|
212
212
|
<div style="float: right" class="button_spacing"
|
|
213
213
|
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
|
@@ -339,18 +339,18 @@
|
|
|
339
339
|
<th>
|
|
340
340
|
<nobr>用户表号</nobr>
|
|
341
341
|
</th>
|
|
342
|
-
<!-- <th>-->
|
|
343
|
-
<!-- <nobr>气表品牌</nobr>-->
|
|
344
|
-
<!-- </th>-->
|
|
342
|
+
<!-- <th>-->
|
|
343
|
+
<!-- <nobr>气表品牌</nobr>-->
|
|
344
|
+
<!-- </th>-->
|
|
345
345
|
<th>
|
|
346
346
|
<nobr>用户类型</nobr>
|
|
347
347
|
</th>
|
|
348
|
-
<!-- <th>-->
|
|
349
|
-
<!-- <nobr>壁挂炉</nobr>-->
|
|
350
|
-
<!-- </th>-->
|
|
351
|
-
<!-- <th>-->
|
|
352
|
-
<!-- <nobr>灶具</nobr>-->
|
|
353
|
-
<!-- </th>-->
|
|
348
|
+
<!-- <th>-->
|
|
349
|
+
<!-- <nobr>壁挂炉</nobr>-->
|
|
350
|
+
<!-- </th>-->
|
|
351
|
+
<!-- <th>-->
|
|
352
|
+
<!-- <nobr>灶具</nobr>-->
|
|
353
|
+
<!-- </th>-->
|
|
354
354
|
<th>
|
|
355
355
|
<nobr>小区名称</nobr>
|
|
356
356
|
</th>
|
|
@@ -360,9 +360,9 @@
|
|
|
360
360
|
<th>
|
|
361
361
|
<nobr>安检员</nobr>
|
|
362
362
|
</th>
|
|
363
|
-
<!-- <th>-->
|
|
364
|
-
<!-- <nobr>安检员备注</nobr>-->
|
|
365
|
-
<!-- </th>-->
|
|
363
|
+
<!-- <th>-->
|
|
364
|
+
<!-- <nobr>安检员备注</nobr>-->
|
|
365
|
+
<!-- </th>-->
|
|
366
366
|
<th>
|
|
367
367
|
<nobr>安检日期</nobr>
|
|
368
368
|
</th>
|
|
@@ -389,10 +389,10 @@
|
|
|
389
389
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{$parent.$parent.$parent.dateDiff(row.f_last_check_date)}}</td>
|
|
390
390
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{ row.f_user_phone }}</td>
|
|
391
391
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meternumber}}</td>
|
|
392
|
-
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
|
|
392
|
+
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center;">{{row.f_meter_brand}}</td>-->
|
|
393
393
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_user_type }}</td>
|
|
394
|
-
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
|
|
395
|
-
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
|
|
394
|
+
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_hasfurnace }}</td>-->
|
|
395
|
+
<!-- <td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_safe_haskitchen }}</td>-->
|
|
396
396
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_residential_area }}</td>
|
|
397
397
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_address }}</td>
|
|
398
398
|
<td v-bind:class="{newcolor:row.code==1}" style="text-align: center">{{ row.f_checker_name }}</td>
|
|
@@ -563,47 +563,47 @@ export default {
|
|
|
563
563
|
},
|
|
564
564
|
methods: {
|
|
565
565
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
},
|
|
566
|
+
dateDiff(date1Str) {
|
|
567
|
+
// 确保传入的date1Str是有效的字符串格式
|
|
568
|
+
if (typeof date1Str !== 'string' || !/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(date1Str)) {
|
|
569
|
+
throw new Error('Invalid date format. Expected format: yyyy-mm-dd hh:mm:ss');
|
|
570
|
+
}
|
|
571
|
+
// 将date1Str格式化为Date对象,并提取日期部分
|
|
572
|
+
const date1 = new Date(date1Str);
|
|
573
|
+
const year = date1.getFullYear();
|
|
574
|
+
const month = String(date1.getMonth() + 1).padStart(2, '0'); // 月份从0开始,所以需要加1
|
|
575
|
+
const day = String(date1.getDate()).padStart(2, '0');
|
|
576
|
+
const formattedDate1 = `${year}-${month}-${day}`;
|
|
577
|
+
// 获取当前日期,并同样格式化为yyyy-mm-dd
|
|
578
|
+
const date2 = new Date();
|
|
579
|
+
const currentYear = date2.getFullYear();
|
|
580
|
+
const currentMonth = String(date2.getMonth() + 1).padStart(2, '0');
|
|
581
|
+
const currentDay = String(date2.getDate()).padStart(2, '0');
|
|
582
|
+
const formattedDate2 = `${currentYear}-${currentMonth}-${currentDay}`;
|
|
583
|
+
// 将格式化后的日期字符串转换为Date对象,以便比较
|
|
584
|
+
const formattedDate1Obj = new Date(`${formattedDate1}T00:00:00`); // 添加时间部分以确保比较准确
|
|
585
|
+
const formattedDate2Obj = new Date(`${formattedDate2}T00:00:00`);
|
|
586
|
+
// 计算两个日期之间的差值(以毫秒为单位),然后转换为天数
|
|
587
|
+
const diffInMilliseconds = Math.abs(formattedDate2Obj - formattedDate1Obj);
|
|
588
|
+
const diffInDays = Math.ceil(diffInMilliseconds / (1000 * 60 * 60 * 24));
|
|
589
|
+
// 返回天数差
|
|
590
|
+
return diffInDays;
|
|
591
|
+
},
|
|
592
592
|
//查询二维码
|
|
593
|
-
|
|
593
|
+
searchInfo(val){
|
|
594
594
|
this.dialogVisible = true
|
|
595
595
|
//tag
|
|
596
|
-
|
|
596
|
+
new HttpResetClass().load('POST','api/af-safecheck/logic/QrcodeUtil', {
|
|
597
597
|
data: {
|
|
598
598
|
id:val
|
|
599
599
|
}
|
|
600
600
|
},{resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
601
|
+
//tag
|
|
602
|
+
//tag
|
|
603
|
+
let imageer=new Image()
|
|
604
|
+
imageer.src="data:image/jpg;base64,"+res.data.result
|
|
605
|
+
document.getElementById("dd").appendChild(imageer);
|
|
606
|
+
//tag
|
|
607
607
|
})
|
|
608
608
|
|
|
609
609
|
},
|