safecheck-client 3.0.33-1 → 3.0.33-101
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/index.html +6 -2
- package/package.json +4 -3
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +2 -0
- package/src/components/android/SafecheckOrderV.vue +3 -3
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +886 -880
- package/src/components/paper/PaperList.vue +5 -4
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +7 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +36 -2
- package/src/components/report/CheckPlanCountChartArea.vue +5 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -1
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +35 -1
- package/src/components/rongcheng/PaperListSQ.vue +32 -11
- package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/filiale/Util.js +5 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +12 -3
- package/src/filiale/bayan/android/SafecheckOrderV.vue +9 -5
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +532 -508
- package/src/filiale/bayan/pc/NewCheckpaper.vue +6 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpen.vue +1 -1
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +25 -37
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/fugou/android.js +2 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
- package/src/filiale/fugou/pc/CheckBook.vue +2 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +47 -19
- package/src/filiale/fugou/pc/CheckBookList.vue +2 -2
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +733 -574
- package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
- package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
- package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
- package/src/filiale/fugou/pc/PaperList.vue +14 -6
- package/src/filiale/fugou/pc/PlanManage.vue +62 -8
- package/src/filiale/fugou/pc/checkUserList.vue +222 -42
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
- package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
- package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
- package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
- package/src/filiale/jingyang/pc.js +1 -0
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
- package/src/filiale/liaoyuan/pc.js +2 -1
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
- package/src/filiale/rongchuang/android.js +1 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
- package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
- package/src/filiale/rongchuang/pc.js +1 -0
- package/src/filiale/tianke/pc/checkScreen.vue +786 -781
- package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
- package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
- package/src/filiale/weinan/android/SafecheckDevices.vue +1086 -1025
- package/src/filiale/weinan/android/SafecheckOrderV.vue +75 -26
- package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
- package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
- package/src/filiale/weinan/pc.js +1 -0
- package/src/filiale/wensu/pc/CheckSearchUser.vue +2 -0
- package/src/filiale/wensu/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/checkUserList.vue +8 -8
- package/src/filiale/wensu/pc.js +1 -0
- package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/wuhai/pc/PaperList.vue +785 -0
- package/src/filiale/wuhai/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1154
- package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +15 -4
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +879 -869
- package/src/filiale/yangchunboneng/android.js +21 -20
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +178 -4
- package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
- package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
- package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
- package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
- package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
- package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
- package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
- package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
- package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
- package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
- package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
- package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
- package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
- package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
- package/src/filiale/yongzhou/pc.js +4 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
- package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +1 -1
- package/src/rongcheng.js +3 -1
@@ -416,6 +416,7 @@
|
|
416
416
|
import getNowDate from "../../utils/getNowDate";
|
417
417
|
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
418
418
|
import BenzAMRRecorder from 'benz-amr-recorder'
|
419
|
+
import {toEndDateString, toStartDateString} from "../Util";
|
419
420
|
|
420
421
|
//获取json配置文件
|
421
422
|
let asyncReady = async function (self) {
|
@@ -650,11 +651,11 @@ export default {
|
|
650
651
|
asyncReady(this).then(() => {
|
651
652
|
if (row.f_safe_type == '已挂表未办卡安检'){
|
652
653
|
row.f_upload_state = '已传'
|
653
|
-
this.$goto('new-check-paper-temp', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self'
|
654
|
+
this.$goto('new-check-paper-temp', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
654
655
|
return
|
655
656
|
}
|
656
657
|
row.f_upload_state = '已传'
|
657
|
-
this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self'
|
658
|
+
this.$goto('new-check-paper', {f_plan_id: row.f_check_plan_id, item: row, role: 'view'}, 'self')
|
658
659
|
}).catch(
|
659
660
|
(respanse) => {
|
660
661
|
alert('获取配置文件失败')
|
@@ -742,15 +743,15 @@ export default {
|
|
742
743
|
}
|
743
744
|
this.excelHeaders = Object.assign({}, this.excelHeaders, oa)
|
744
745
|
}
|
745
|
-
////tag
|
746
746
|
this.function = this.f
|
747
|
-
////tag
|
748
747
|
//获取气表品牌
|
749
748
|
this.getTableBrands()
|
750
749
|
let gen = select(this)
|
751
750
|
//this.pianqu()
|
752
751
|
this.Mreadibook(`('${this.$login.f.orgid}')`)
|
753
752
|
co(gen)
|
753
|
+
this.$refs.paged.$refs.criteria.model.f_check_start = Util.toStartDateString() + ' 00:00:00'
|
754
|
+
this.$refs.paged.$refs.criteria.model.f_check_end = Util.toEndDateString() + ' 23:59:59'
|
754
755
|
},
|
755
756
|
watch: {
|
756
757
|
'model.f_no_checkplan'(val) {
|
@@ -79,8 +79,10 @@
|
|
79
79
|
let selectnew = function * (self) {
|
80
80
|
let http = new HttpResetClass()
|
81
81
|
http.load('POST', '/rs/search', {
|
82
|
-
|
83
|
-
|
82
|
+
data:{
|
83
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
84
|
+
userid: self.$login.f.orgid
|
85
|
+
}
|
84
86
|
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
85
87
|
self.checkers = []
|
86
88
|
let arr = []
|
@@ -16,7 +16,7 @@
|
|
16
16
|
close-on-select value-single >
|
17
17
|
</v-select>
|
18
18
|
</div>
|
19
|
-
<div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
|
19
|
+
<div class="row auto safe-div-p"><!--<span style="margin-right: 5px" @click="refresh()" style="cursor:default">测试</span>--><span style="margin-right: 5px" @click="delCheckPlan()" style="cursor:default" v-if="isdelete">删除</span> <span @click="sendCheckPlan()" style="cursor:default">下发</span></div>
|
20
20
|
</div>
|
21
21
|
<div class="leftplan-center safe_plan_list">
|
22
22
|
<div class="row safe-leftplan safe_list_li" :class="{'safe-selectplan':selectPlan.id==row.id}" v-for="row in checkplan.list.data" @click="selectPlanChange(row)">
|
@@ -399,6 +399,7 @@
|
|
399
399
|
a:'1',
|
400
400
|
opt:[{label:"按时间降序",value:"按时间降序"},{label:"按时间升序",value:"按时间升序"}],
|
401
401
|
currentorder:'按时间降序',
|
402
|
+
isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
|
402
403
|
checkplan : new SearchList(true),
|
403
404
|
selectPlan:{id:''},
|
404
405
|
upCheckPlan:{
|
@@ -575,8 +576,10 @@
|
|
575
576
|
//查询安检员selectChanged
|
576
577
|
async searchChecker(id){
|
577
578
|
let res=await new HttpResetClass().load('POST', '/rs/search', {
|
578
|
-
|
579
|
-
|
579
|
+
data:{
|
580
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$)!=null ).where(row.getAttributes().get($rolestr$).indexOf($安检员$) != -1)`,
|
581
|
+
userid: this.userlogin.orgid
|
582
|
+
}
|
580
583
|
}, {resolveMsg: null, rejectMsg: null})
|
581
584
|
let arr = []
|
582
585
|
res.data.forEach((resRow) => {
|
@@ -727,7 +730,7 @@
|
|
727
730
|
this.isSend=true
|
728
731
|
let res=await new HttpResetClass().load("POST", "/rs/logic/deleteCheckPlan", {
|
729
732
|
data:{
|
730
|
-
f_operator:this.userlogin.
|
733
|
+
f_operator:this.userlogin.name,//global.login.name,
|
731
734
|
condition:"",
|
732
735
|
switchCheckAll:true,
|
733
736
|
checkAll:false,
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</div>
|
51
51
|
<div class="form-group col-sm-2" style="float: right">
|
52
52
|
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.showplanModal()">计划调整</button>
|
53
|
-
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()">移出计划</button>
|
53
|
+
<button class="button_search" style="margin-right: 10px" @click="$parent.$parent.delPlanItem()" v-show="$parent.$parent.isdelete">移出计划</button>
|
54
54
|
</div>
|
55
55
|
<modal :show.sync="$parent.$parent.showCondtion" v-ref:modal :width="'50%'" :backdrop="false">
|
56
56
|
<div slot="modal-header" class="modal-header">
|
@@ -178,6 +178,7 @@
|
|
178
178
|
data() {
|
179
179
|
return {
|
180
180
|
model:new PagedList('/rs/sql/planItem', 100, {}),
|
181
|
+
isdelete:this.$login.r ? this.$login.r.includes("安检计划删除"):false,
|
181
182
|
a:'1',
|
182
183
|
opt:[{label:"测试",value:"测试"}],
|
183
184
|
showCondtion:false,
|
@@ -111,6 +111,20 @@
|
|
111
111
|
>
|
112
112
|
</v-select>
|
113
113
|
</div>
|
114
|
+
<div class="form-group col-sm-4" >
|
115
|
+
<label class="font_normal_body">街  道:</label>
|
116
|
+
<v-select
|
117
|
+
class="select select_list"
|
118
|
+
:value.sync="model.f_street"
|
119
|
+
v-model="model.f_street"
|
120
|
+
:options='$parent.$parent.streets'
|
121
|
+
placeholder='请选择'
|
122
|
+
condition="ua.f_street_id='{}'"
|
123
|
+
close-on-select
|
124
|
+
value-single
|
125
|
+
>
|
126
|
+
</v-select>
|
127
|
+
</div>
|
114
128
|
<!--<div class="form-group col-sm-4" >
|
115
129
|
<label class="font_normal_body">小区名称:</label>
|
116
130
|
<input type="text" class="input_search" v-model="model.f_userinfo_code"
|
@@ -357,6 +371,7 @@
|
|
357
371
|
<th><nobr>抄表册</nobr></th>
|
358
372
|
<th title="当前所在的安检计划名称"><nobr>所属计划</nobr></th>
|
359
373
|
<th title="最后一次安检日期"><nobr>安检日期</nobr></th>
|
374
|
+
<th><nobr>首次通气时间</nobr></th>
|
360
375
|
<th><nobr>详细地址</nobr></th>
|
361
376
|
</tr>
|
362
377
|
</template>
|
@@ -372,6 +387,7 @@
|
|
372
387
|
<td style="text-align: center"><nobr>{{row.f_book_name}}</nobr></td>
|
373
388
|
<td style="text-align: center"><nobr>{{row.f_plan_name}}</nobr></td>
|
374
389
|
<td style="text-align: center"><nobr>{{row.f_last_check_date}}</nobr></td>
|
390
|
+
<td style="text-align: center"><nobr>{{row.f_uservent_date}}</nobr></td>
|
375
391
|
<td style="text-align: center"><nobr>{{row.f_address}}</nobr></td>
|
376
392
|
</template>
|
377
393
|
</data-grid>
|
@@ -416,7 +432,8 @@
|
|
416
432
|
checkAll:false,
|
417
433
|
checkes:[],
|
418
434
|
excelUserCondtion:false,
|
419
|
-
uploadCodeCondition:''
|
435
|
+
uploadCodeCondition:'',
|
436
|
+
streets:[]
|
420
437
|
}
|
421
438
|
},
|
422
439
|
props:["selectplan","userlogin"],
|
@@ -452,6 +469,7 @@
|
|
452
469
|
},
|
453
470
|
loadpage(){
|
454
471
|
this.select_search()
|
472
|
+
this.select_street()
|
455
473
|
this.Mreadibook()
|
456
474
|
this.getSliceArea()
|
457
475
|
},
|
@@ -523,7 +541,10 @@
|
|
523
541
|
value: ''
|
524
542
|
}, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
|
525
543
|
|
526
|
-
this.userStates=this.$appdata.getParam('安检用户状态') ? [
|
544
|
+
this.userStates=this.$appdata.getParam('安检用户状态') ? [{
|
545
|
+
label: '全部',
|
546
|
+
value: ''
|
547
|
+
},...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
|
527
548
|
this.gasproperties=this.$appdata.getParam('用气性质') ? [{
|
528
549
|
label: '全部',
|
529
550
|
value: ''
|
@@ -548,6 +569,19 @@
|
|
548
569
|
//tag)
|
549
570
|
})
|
550
571
|
},
|
572
|
+
select_street(){
|
573
|
+
//tag
|
574
|
+
new HttpResetClass().load("POST", `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {data:{items:"id,f_street",tablename:"t_street",orderitem:"id",condition:`f_orgid = '${this.userlogin.orgid}'`}}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
575
|
+
//tag)
|
576
|
+
if(res.data.length>0){
|
577
|
+
this.streets=[]
|
578
|
+
this.streets.push({label:"全部",value:""})
|
579
|
+
res.data.forEach((result)=>{
|
580
|
+
this.streets.push({label:result.f_street,value:result.id})
|
581
|
+
})
|
582
|
+
}
|
583
|
+
})
|
584
|
+
},
|
551
585
|
//获取抄表册
|
552
586
|
async Mreadibook(){
|
553
587
|
this.cbc=[]
|
@@ -14,6 +14,11 @@
|
|
14
14
|
condition="f_checker_name = '{}'">
|
15
15
|
</role-selector-safe>
|
16
16
|
</div>
|
17
|
+
<div :class="{'form-group col-sm-3':$parent.$parent.$parent.isdetail,'form-group col-sm-2':!$parent.$parent.$parent.isdetail}">
|
18
|
+
<label class="font_normal_body">小区名称</label>
|
19
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area" placeholder='小区名称'
|
20
|
+
condition="f_residential_area like '%{}%'" v-next-el="cx" v-el:qjmc>
|
21
|
+
</div>
|
17
22
|
<div class="col-sm-2 form-group">
|
18
23
|
<label for="startDate" class="font_normal_body">开始日期:</label>
|
19
24
|
<datepicker id="startDate" placeholder="开始日期"
|
@@ -51,9 +51,9 @@
|
|
51
51
|
v-model='model.userType'
|
52
52
|
:value.sync="model.userType"
|
53
53
|
:options='$parent.$parent.userTypes'
|
54
|
-
condition="tuf.f_gasproperties
|
55
|
-
:
|
56
|
-
|
54
|
+
condition="tuf.f_gasproperties in {} "
|
55
|
+
:multiple="true"
|
56
|
+
></v-select>
|
57
57
|
</div>
|
58
58
|
<div class="col-sm-2 form-group" >
|
59
59
|
<label class="font_normal_body">气表类型</label>
|
@@ -31,6 +31,9 @@
|
|
31
31
|
<img-self :src="img.f_overall_path" alt="总体送气照片" :width="150" :height="200"></img-self>
|
32
32
|
<!--<img src="../../assets/remove.png" @click="delfile('f_overall_path', img.f_overall_path,index)" class="imgs" style="width: 30px;" alt="">-->
|
33
33
|
</div>
|
34
|
+
<div class="img" v-for="row in fileInfoData">
|
35
|
+
<img :src="row.f_downloadURL">
|
36
|
+
</div>
|
34
37
|
</div>
|
35
38
|
</div>
|
36
39
|
<div class="row text-right div-photo">
|
@@ -362,6 +365,7 @@
|
|
362
365
|
title: '用户反馈',
|
363
366
|
data() {
|
364
367
|
return {
|
368
|
+
fileInfoData:[],
|
365
369
|
paper:this.$parent.data,
|
366
370
|
printContent:[],
|
367
371
|
radios:[
|
@@ -432,12 +436,34 @@
|
|
432
436
|
Url:this.$androidUtil.getProxyUrl()
|
433
437
|
}
|
434
438
|
},
|
435
|
-
props: ['idx'],
|
439
|
+
props: ['idx','item'],
|
436
440
|
components: {
|
437
441
|
RadioGroup,
|
438
442
|
Radio
|
439
443
|
},
|
440
444
|
methods: {
|
445
|
+
//获取pc上传的送气全景照片
|
446
|
+
getGaspic() {
|
447
|
+
let data = {
|
448
|
+
tablename: 't_files',
|
449
|
+
condition: `f_blobid = '${this.item.id}' order by f_uploaddate desc `
|
450
|
+
}
|
451
|
+
let http = new HttpResetClass()
|
452
|
+
http.load('post', 'rs/sql/singleTable', {data: data}, {
|
453
|
+
resolveMsg: null,
|
454
|
+
rejectMsg: null
|
455
|
+
}).then(getFile=> {
|
456
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
457
|
+
let temp = getFile.data[i].f_downloadpath
|
458
|
+
if (temp) {
|
459
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
460
|
+
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
461
|
+
}
|
462
|
+
}
|
463
|
+
this.fileInfoData = []
|
464
|
+
this.fileInfoData = getFile.data
|
465
|
+
})
|
466
|
+
},
|
441
467
|
check(index) {
|
442
468
|
//tag
|
443
469
|
// 先取消所有选中项
|
@@ -948,6 +974,7 @@
|
|
948
974
|
}
|
949
975
|
//tag
|
950
976
|
//tag
|
977
|
+
this.getGaspic()
|
951
978
|
},
|
952
979
|
watch:{
|
953
980
|
'$parent.isUpload'(val){
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<devicesm> </devicesm>
|
39
39
|
</div>
|
40
40
|
<div style="width: 95%;height: 900px;margin-left: 20px;float: left;">
|
41
|
-
<asp-paper-feedbackm v-bind:paper="this.data" ></asp-paper-feedbackm>
|
41
|
+
<asp-paper-feedbackm v-bind:paper="this.data" :item="item" ></asp-paper-feedbackm>
|
42
42
|
</div>
|
43
43
|
</div>
|
44
44
|
</div>
|
@@ -407,7 +407,7 @@
|
|
407
407
|
defectType:[],
|
408
408
|
userTypes:[{label: '民用', value: '民用'}, {label: '非民用', value: '非民用'}],
|
409
409
|
defectLeave:'',
|
410
|
-
defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患'}],
|
410
|
+
defectLeaveList:[{label:'全部',value:''},{label:'一级隐患',value:'一级隐患'},{label:'二级隐患',value:'二级隐患'},{label:'三级隐患',value:'三级隐患'},{label: '其他隐患',value:'其他隐患'}],
|
411
411
|
thead: '',
|
412
412
|
headData: ['入户状态','用户名','用户电话','用户地址','安检时间','安检员','计划名','是否有隐患','隐患数','一级隐患数','一级隐患','二级隐患数','二级隐患','三级隐患数','三级隐患','其他隐患','隐患内容'],
|
413
413
|
bodyData: ['f_entry_status','f_user_name','f_user_phone','f_address','f_offsite_time','f_checker_name','f_plan_name','f_has_defect','f_defect_count','f_fist_count','f_fist_content','f_second_count','f_second_content','f_third_count','f_third_content','f_other_count','f_defect_content'],
|
@@ -158,6 +158,7 @@
|
|
158
158
|
<td style="text-align: center">{{row.f_checker_name}}</td>
|
159
159
|
<td style="text-align: center">
|
160
160
|
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
|
161
|
+
<button class="button_spacing button_search-1" @click="$parent.$parent.$parent.addpic(row)">添加照片</button>
|
161
162
|
<!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
|
162
163
|
@click="$parent.$parent.$parent.print(row)">
|
163
164
|
打印
|
@@ -168,6 +169,27 @@
|
|
168
169
|
</criteria-paged>
|
169
170
|
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
170
171
|
</div>
|
172
|
+
<modal :show.sync="pic" v-ref:modal backdrop="true">
|
173
|
+
<header slot="modal-header" class="modal-header">
|
174
|
+
上传照片22
|
175
|
+
</header>
|
176
|
+
<article slot="modal-body" class="modal-body">
|
177
|
+
<div class="from-group">
|
178
|
+
<safecheck-file-upload
|
179
|
+
:blodid="bolbid"
|
180
|
+
:isupload="true"
|
181
|
+
:isdelete="true"
|
182
|
+
:isusetype="true"
|
183
|
+
:isremark="true"
|
184
|
+
:takeimg="false"
|
185
|
+
isusetype="送气照片"
|
186
|
+
></safecheck-file-upload>
|
187
|
+
</div>
|
188
|
+
</article>
|
189
|
+
<footer slot="modal-footer" class="modal-footer">
|
190
|
+
<button type="button" class="btn btn-success" @click='piclose'>关闭</button>
|
191
|
+
</footer>
|
192
|
+
</modal>
|
171
193
|
</div>
|
172
194
|
</template>
|
173
195
|
|
@@ -179,6 +201,7 @@
|
|
179
201
|
import * as Util from '../Util'
|
180
202
|
import getNowDate from "../../utils/getNowDate";
|
181
203
|
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
204
|
+
import safecheckUpload from "../Util/SafecheckUpload.vue";
|
182
205
|
|
183
206
|
//获取json配置文件
|
184
207
|
let asyncReady = async function (self) {
|
@@ -209,6 +232,9 @@
|
|
209
232
|
|
210
233
|
export default {
|
211
234
|
title: '非民用送气结果查看',
|
235
|
+
components: {
|
236
|
+
safecheckUpload
|
237
|
+
},
|
212
238
|
data() {
|
213
239
|
let model = new PagedList('rs/sql/查找安检单', 20, {
|
214
240
|
f_plan_id: 'this.f_plan_id',
|
@@ -274,10 +300,18 @@
|
|
274
300
|
orderFields: {
|
275
301
|
f_offsite_time: 'no'
|
276
302
|
},
|
303
|
+
bolbid:null,
|
304
|
+
pic:false,
|
277
305
|
}
|
278
306
|
},
|
279
307
|
methods: {
|
280
|
-
|
308
|
+
piclose(){
|
309
|
+
this.pic=false
|
310
|
+
},
|
311
|
+
addpic(row){
|
312
|
+
this.bolbid=row.id
|
313
|
+
this.pic=true
|
314
|
+
},
|
281
315
|
change(row) {
|
282
316
|
//Vue.$login = {jwt: row.f_checker_id}
|
283
317
|
asyncReady(this).then(() => {
|
@@ -163,6 +163,7 @@
|
|
163
163
|
<td style="text-align: center">{{row.f_checker_name}}</td>
|
164
164
|
<td style="text-align: center">
|
165
165
|
<button class="button_spacing button_search-1" @click='$parent.$parent.$parent.change(row)'>查看</button>
|
166
|
+
<button class="button_spacing button_search-1" @click="$parent.$parent.$parent.addpic(row)">添加照片</button>
|
166
167
|
<!--<button type="button" class="button_new-1 button_spacing" data-toggle="dropdown"
|
167
168
|
@click="$parent.$parent.$parent.print(row)">
|
168
169
|
打印
|
@@ -173,6 +174,26 @@
|
|
173
174
|
</criteria-paged>
|
174
175
|
<check-msg v-if="showcheckmsg" :show="showcheckmsg" :data="checkInfo"></check-msg>
|
175
176
|
</div>
|
177
|
+
<modal :show.sync="pic" v-ref:modal backdrop="true">
|
178
|
+
<header slot="modal-header" class="modal-header">
|
179
|
+
上传照片
|
180
|
+
</header>
|
181
|
+
<article slot="modal-body" class="modal-body">
|
182
|
+
<div class="from-group">
|
183
|
+
<safecheck-file-upload
|
184
|
+
:blodid="bolbid"
|
185
|
+
:isupload="true"
|
186
|
+
:isdelete="true"
|
187
|
+
:isusetype="true"
|
188
|
+
:isremark="true"
|
189
|
+
:takeimg="false"
|
190
|
+
></safecheck-file-upload>
|
191
|
+
</div>
|
192
|
+
</article>
|
193
|
+
<footer slot="modal-footer" class="modal-footer">
|
194
|
+
<button type="button" class="btn btn-success" @click='piclose'>关闭</button>
|
195
|
+
</footer>
|
196
|
+
</modal>
|
176
197
|
</div>
|
177
198
|
</template>
|
178
199
|
|
@@ -184,6 +205,7 @@
|
|
184
205
|
import * as Util from '../Util'
|
185
206
|
import getNowDate from "../../utils/getNowDate";
|
186
207
|
import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
208
|
+
import safecheckUpload from "../Util/SafecheckUpload.vue";
|
187
209
|
|
188
210
|
//获取json配置文件
|
189
211
|
let asyncReady = async function (self) {
|
@@ -214,6 +236,7 @@
|
|
214
236
|
|
215
237
|
export default {
|
216
238
|
title: '民用送气结果查看',
|
239
|
+
components: {safecheckUpload},
|
217
240
|
data() {
|
218
241
|
let model = new PagedList('rs/sql/查找安检单', 20, {
|
219
242
|
f_plan_id: 'this.f_plan_id',
|
@@ -230,16 +253,6 @@
|
|
230
253
|
model.f_no_checkplan = ''
|
231
254
|
model.f_filialeid = this.$login.f.orgid
|
232
255
|
model.f_check_type='民用'
|
233
|
-
// let searchData={
|
234
|
-
// f_plan_id: this.model.f_checker_id==undefined?"":this.model.f_checker_id,
|
235
|
-
// f_approved: this.model.f_approved,
|
236
|
-
// f_entry_status: this.model.f_entry,
|
237
|
-
// f_no_checkplan:this.model.f_no_checkplan[0],
|
238
|
-
// f_filialeid: this.model.f_filialeid,
|
239
|
-
// //orderitem: this.model.f_offsite_time,
|
240
|
-
// //condition:this.model.condition
|
241
|
-
// }
|
242
|
-
// model.f_subcompany = this.$login.f.f_fengongsi
|
243
256
|
return {
|
244
257
|
searchData: {
|
245
258
|
condition:"1=1",
|
@@ -276,10 +289,18 @@
|
|
276
289
|
orderFields: {
|
277
290
|
f_offsite_time: 'no'
|
278
291
|
},
|
292
|
+
bolbid:null,
|
293
|
+
pic:false,
|
279
294
|
}
|
280
295
|
},
|
281
296
|
methods: {
|
282
|
-
|
297
|
+
piclose(){
|
298
|
+
this.pic=false
|
299
|
+
},
|
300
|
+
addpic(row){
|
301
|
+
this.bolbid=row.id
|
302
|
+
this.pic=true
|
303
|
+
},
|
283
304
|
change(row) {
|
284
305
|
//Vue.$login = {jwt: row.f_checker_id}
|
285
306
|
asyncReady(this).then(() => {
|