safecheck-client 4.0.1-42 → 4.0.1-44
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/android/AndroidDefectDetails.vue +769 -769
- package/src/components/android/DailyworkloadQuery.vue +473 -472
- package/src/components/android/NewCheckpaperAndroid.vue +5 -6
- package/src/components/querycheckpaper/CheckSearchUser.vue +5 -0
- package/src/filiale/meihekou/android/CurrentCreate.vue +1 -1
- package/src/filiale/meihekou/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/meihekou/pc/PaperList.vue +4 -1
- package/src/filiale/xinkang/android/AddPlanItem.vue +5 -4
@@ -53,11 +53,6 @@ div {
|
|
53
53
|
|
54
54
|
<template>
|
55
55
|
<div class="basic-main" style="height: 100%">
|
56
|
-
<!-- <div class="page-header app-header auto" style="padding: 15px;margin-right: 10px;right: 0%;height: 7%">-->
|
57
|
-
<!-- <div @click="back()">-->
|
58
|
-
<!-- <img src="../../assets/back.png" style="margin: 0px"/>-->
|
59
|
-
<!-- </div>-->
|
60
|
-
<!-- </div>-->
|
61
56
|
<work-busy :is-busy="loading"></work-busy>
|
62
57
|
<div class="container-fluid" style="overflow: scroll">
|
63
58
|
<div class="row">
|
@@ -387,9 +382,10 @@ import Vue from 'vue'
|
|
387
382
|
import * as Util from '../../components/Util'
|
388
383
|
import {jsonSort} from '../../utils/LdapHelper'
|
389
384
|
import {HttpResetClass} from "vue-client";
|
385
|
+
import {isEmpty} from "../../components/Util";
|
390
386
|
let asyncReady = async function (self) {
|
391
387
|
try {
|
392
|
-
let res = await new HttpResetClass().load('
|
388
|
+
let res = await new HttpResetClass().load('GET',`${self.$androidUtil.getProxyUrl()}/api/af-safecheck/vue`,null, {resolveMsg: null, rejectMsg: null})
|
393
389
|
self.delConfigKey(res.data)
|
394
390
|
Vue.config.safecheck=res.data
|
395
391
|
Vue.config.safecheck.DevicesConfig =res.data.DevicesConfig
|
@@ -541,6 +537,9 @@ export default {
|
|
541
537
|
})
|
542
538
|
},
|
543
539
|
getimg(val){
|
540
|
+
if(isEmpty(val)){
|
541
|
+
return ''
|
542
|
+
}
|
544
543
|
console.log(`${this.$androidUtil.getProxyUrl()}/${val}`)
|
545
544
|
|
546
545
|
return `${this.$androidUtil.getProxyUrl()}/${val}`
|
@@ -189,6 +189,11 @@
|
|
189
189
|
<input type="number" class="input_search" v-model="model.f_check_version"
|
190
190
|
style="width: 60%" placeholder="到访不遇次数">
|
191
191
|
</div>
|
192
|
+
<div :class="$parent.$parent.style" v-show="$parent.$parent.criteriaShow">
|
193
|
+
<label class="font_normal_body">安检结果</label>
|
194
|
+
<input style="width: 60%" type="text" class="input_search" v-model="model.f_defect_content"
|
195
|
+
placeholder="安检结果" condition="f_defect_content like '%{}%'">
|
196
|
+
</div>
|
192
197
|
</div>
|
193
198
|
|
194
199
|
<div class="row" v-show="$parent.$parent.$parent.showItem">
|
@@ -762,7 +762,7 @@ export default {
|
|
762
762
|
}
|
763
763
|
_this.$dispatch('gotoson',pardate)
|
764
764
|
//tag
|
765
|
-
_this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self')
|
765
|
+
_this.$goto('safecheck-order-v', {f_plan_id: row.f_plan_id, item: row, role: 'inspect',parentPage:'CurrentCreate'}, 'self', _this.reload)
|
766
766
|
}).catch ((msg)=>{
|
767
767
|
this.noLineInspect(row)
|
768
768
|
this.$showMessage("网络异常,请检查网络后再试!")
|
@@ -1171,7 +1171,7 @@ export default {
|
|
1171
1171
|
html2pdf(element)
|
1172
1172
|
},
|
1173
1173
|
showAudit() {
|
1174
|
-
var audit = this.$
|
1174
|
+
var audit = this.$login.f.rolestr.includes('安检审核')
|
1175
1175
|
if (audit == '是' && (this.item.f_approved == '未审核' || !this.item.f_approved)) {
|
1176
1176
|
this.showButton = true
|
1177
1177
|
}
|
@@ -487,7 +487,7 @@ export default {
|
|
487
487
|
shouinfodata:{},
|
488
488
|
tableBrands: [{label: '全部', value: ''}],
|
489
489
|
audioshow: false,
|
490
|
-
safeAudit: this.$
|
490
|
+
safeAudit: this.$login.f.rolestr.includes('安检审核'),
|
491
491
|
searchData: {
|
492
492
|
condition: "1=1",
|
493
493
|
orderitem: "f_offsite_time desc",
|
@@ -558,14 +558,17 @@ export default {
|
|
558
558
|
showback1(){
|
559
559
|
this.showinfo1 = true
|
560
560
|
this.showinfo2 = false
|
561
|
+
this.search()
|
561
562
|
},
|
562
563
|
showback2(){
|
563
564
|
this.showinfo1 = true
|
564
565
|
this.showinfo3 = false
|
566
|
+
this.search()
|
565
567
|
},
|
566
568
|
showback3(){
|
567
569
|
this.showinfo1 = true
|
568
570
|
this.showinfo4 = false
|
571
|
+
this.search()
|
569
572
|
},
|
570
573
|
//气表品牌查询
|
571
574
|
getTableBrands() {
|
@@ -317,11 +317,12 @@
|
|
317
317
|
// 6个月 = 6 * 30 * 24 * 60 * 60 * 1000 毫秒(约15552000000毫秒)
|
318
318
|
// 更精确的计算:6个月 = 6 * 平均每月30.44天 * 24 * 60 * 60 * 1000
|
319
319
|
let sixMonthsInMs = 6 * 30 * 24 * 60 * 60 * 1000
|
320
|
-
|
321
320
|
if(timeDiff < sixMonthsInMs){
|
322
|
-
this.$showMessage(
|
323
|
-
|
324
|
-
|
321
|
+
this.$showMessage('该用户半年内已进行入户安检,是否继续安检?', ['confirm', 'cancel']).then((res) => {
|
322
|
+
if (res !== 'confirm') {
|
323
|
+
return
|
324
|
+
}
|
325
|
+
})
|
325
326
|
}
|
326
327
|
}
|
327
328
|
info.id = ''
|