safecheck-client 3.0.33-14 → 3.0.33-141
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 +133 -133
- package/src/App.vue +2 -2
- package/src/components/Util/ImgSelfSafePlus.vue +12 -10
- package/src/components/Util.js +7 -0
- package/src/components/android/CurrentCreate.vue +1 -1
- package/src/components/android/SafecheckDevices.vue +5 -1
- package/src/components/android/SafecheckOrderV.vue +18 -12
- package/src/components/android/SwitchValve.vue +1 -1
- package/src/components/map/checkScreen.vue +27 -21
- package/src/components/paper/PlanChooser.vue +4 -2
- package/src/components/planmanage/PlanManage.vue +14 -4
- package/src/components/planmanage/checkPlanList.vue +2 -1
- package/src/components/planmanage/checkUserList.vue +2 -0
- package/src/components/report/HiddenSituation.vue +3 -3
- package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +1045 -1019
- package/src/components/rongcheng/AspiratedPaperMessage.vue +1378 -1378
- package/src/components/rongcheng/DefectPaper.vue +1 -1
- package/src/components/rongcheng/PaperListNPSQ.vue +455 -420
- package/src/components/rongcheng/PaperListSQ.vue +444 -423
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1328 -1191
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
- package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
- package/src/components/safecheckNew/PaperList.vue +785 -0
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
- package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
- package/src/components/safecheckNew/android/Recheck.vue +379 -0
- package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
- package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
- package/src/filiale/Util.js +5 -0
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
- package/src/filiale/baiyin/android.js +10 -0
- package/src/filiale/baiyin/pc/PaperList.vue +790 -0
- package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
- package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
- package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
- package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
- package/src/filiale/baiyin/pc.js +17 -0
- package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
- package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
- package/src/filiale/bayan/android/SafecheckOrderV.vue +8 -6
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +560 -508
- package/src/filiale/bayan/android.js +1 -0
- package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
- package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
- package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
- package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
- package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
- package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
- package/src/filiale/bayan/pc/PaperList.vue +119 -12
- package/src/filiale/bayan/pc/PlanManage.vue +29 -8
- package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
- package/src/filiale/bayan/pc.js +6 -0
- package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +1 -0
- 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 +303 -301
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
- package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -651
- 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/checkPlanList.vue +371 -371
- 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/qianneng/pc/PaperList.vue +31 -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/siyang/android/PhoneRecordInfo.vue +214 -0
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
- package/src/filiale/siyang/android.js +11 -0
- package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
- package/src/filiale/siyang/pc/PaperList.vue +834 -0
- package/src/filiale/siyang/pc/PlanManage.vue +839 -0
- package/src/filiale/siyang/pc/checkUserList.vue +781 -0
- package/src/filiale/siyang/pc.js +15 -0
- package/src/filiale/tianke/pc/checkScreen.vue +36 -31
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
- package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
- package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
- 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 +6 -2
- package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
- 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/wenxi/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +39 -2
- 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 +16 -6
- package/src/filiale/yangchunboneng/android.js +1 -0
- 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 +187 -13
- 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/zhongsheng/android/CurrentCreate.vue +7 -2
- package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
- package/src/main.js +33 -33
- package/src/rongcheng.js +316 -314
- package/src/safecheck-android.js +6 -0
- package/src/safecheck.js +3 -0
@@ -0,0 +1,249 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="auto">
|
3
|
+
|
4
|
+
<div class="auto">
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
7
|
+
<div partial>
|
8
|
+
<div class="row app-row">
|
9
|
+
<div class="col-xs-4">
|
10
|
+
<img src="../../../assets/档案信息.png" style="width: 20px;margin-bottom: 5px" alt="">
|
11
|
+
<label for="f_plan_name" class="font text-left">计划名称:</label>
|
12
|
+
</div>
|
13
|
+
<div class="col-xs-8">
|
14
|
+
<input id="f_plan_name" class="search_input input-font" v-model="model.f_plan_name"
|
15
|
+
condition="f_plan_name like '%{}%'" />
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="row text-center" style="margin-top: 20px;">
|
19
|
+
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;"
|
20
|
+
@click="search">查询</button>
|
21
|
+
</div>
|
22
|
+
<!--<div class="row app-btn">-->
|
23
|
+
<!--<button class="btn btn-primary col-xs-6" type="button" @click="search"><span class="glyphicon glyphicon-search" style="margin-right: 20px;">查询</span></button>-->
|
24
|
+
<!--</div>-->
|
25
|
+
<div style="height:30px;"></div>
|
26
|
+
</div>
|
27
|
+
</criteria>
|
28
|
+
<list :model="model" partial='list'>
|
29
|
+
<div partial>
|
30
|
+
<div class="auto app-text" style="margin-top: 5px;">
|
31
|
+
<div class="panel" style="padding: 10px 10px 5px 10px;">
|
32
|
+
<div class="panel-body panel-self">
|
33
|
+
<div class="row">
|
34
|
+
<p class="panel-title col-xs-4 text-left font">计划名称</p>
|
35
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_name }}</p>
|
36
|
+
</div>
|
37
|
+
<div class="row">
|
38
|
+
<p class="panel-title col-xs-4 text-left font">计划时间</p>
|
39
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_plan_year }}/{{ row.f_plan_month }}</p>
|
40
|
+
</div>
|
41
|
+
<!--<div class="row">-->
|
42
|
+
<!--<p class="panel-title col-xs-4 text-left font">生成人员</p>-->
|
43
|
+
<!--<p class="panel-title col-xs-8 text-left input-font">{{ row.f_create_operator }}/{{row.f_plan_month}}</p>-->
|
44
|
+
<!--</div>-->
|
45
|
+
<!--<div class="row">-->
|
46
|
+
<!--<p class="panel-title col-xs-4 text-left font">下发人员</p>-->
|
47
|
+
<!--<p class="panel-title col-xs-8 text-left input-font">{{ row.f_send_operator }}/{{row.f_plan_month}}</p>-->
|
48
|
+
<!--</div>-->
|
49
|
+
<div class="row text-right">
|
50
|
+
<button type="button" class="btn yybtn-color"
|
51
|
+
v-on:click.stop.prevent='$parent.$parent.$parent.downloadHand(row)'
|
52
|
+
v-if="$parent.$parent.$parent.isDown(row)">下载</button>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</list>
|
60
|
+
</criteria-paged>
|
61
|
+
</div>
|
62
|
+
<!--<div class="row text-center" style="margin-top: 20px;">-->
|
63
|
+
<!--<button type="' 正在进行共享计划下载,请确认!' btn-lg btn-font btn-color" style="width: 45%;" @click="downHand()">共享计划下载</button>-->
|
64
|
+
<!--<!–<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="database()">数据库导出</button>–>-->
|
65
|
+
<!--</div>-->
|
66
|
+
<!-- <div class="auto" style="padding-top: 20px;" v-if='show'>
|
67
|
+
<p class="text-warning" style="padding: 0 10px">正在下载抄表单...</p>
|
68
|
+
</div> -->
|
69
|
+
<!-- <hand-info v-if="show" :data="handinfo"></hand-info> -->
|
70
|
+
<!-- <div class="auto" v-if="!show">
|
71
|
+
<p class="text-warning" style="padding: 0 10px">
|
72
|
+
暂无可操作的抄表信息
|
73
|
+
</p>
|
74
|
+
</div> -->
|
75
|
+
</div>
|
76
|
+
<!-- <back-page :need-back='true' @flag="$back()"></back-page>-->
|
77
|
+
</template>
|
78
|
+
<script>
|
79
|
+
|
80
|
+
import { PagedList,HttpResetClass } from 'vue-client'
|
81
|
+
|
82
|
+
import Vue from 'vue'
|
83
|
+
|
84
|
+
|
85
|
+
export default {
|
86
|
+
title: '共享计划下载',
|
87
|
+
data() {
|
88
|
+
return {
|
89
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getShareCheckPlan`, 5, { f_fengongsi: `'${Vue.user.orgid}'` }),
|
90
|
+
checkPlanInfo: [],
|
91
|
+
condition: ' and 1=1 ',
|
92
|
+
localcheckPlanInfo: []
|
93
|
+
}
|
94
|
+
},
|
95
|
+
async ready() {
|
96
|
+
|
97
|
+
await this.init()
|
98
|
+
this.getlocalCheckPlan()
|
99
|
+
},
|
100
|
+
methods: {
|
101
|
+
selfSearch(args) {
|
102
|
+
args.condition += this.condition
|
103
|
+
this.model.search(args.condition, args.model)
|
104
|
+
},
|
105
|
+
async init() {
|
106
|
+
this.condition = ' and 1=1 '
|
107
|
+
let classes_arr = await new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
|
108
|
+
data: {
|
109
|
+
items: 'name', tablename: 't_parameter', condition: `id in (select processid from t_paramvalue where name = '${Vue.user.name}') and name like '%组'`, orderitem: 'id'
|
110
|
+
}
|
111
|
+
})
|
112
|
+
let classes_str = classes_arr.data.map(item => { return `'${item.name}'` }).join()
|
113
|
+
if (classes_arr.data && classes_arr.data.length >0){
|
114
|
+
this.condition += ` and ( f_class in (${classes_str}) or f_class is null)`
|
115
|
+
}
|
116
|
+
let outlets_arr = await new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {
|
117
|
+
data: {
|
118
|
+
items: 'name', tablename: 't_parameter', condition: `id in (select processid from t_paramvalue where name in (${classes_str})) and name like '%厅%'`, orderitem: 'id'
|
119
|
+
}
|
120
|
+
})
|
121
|
+
if (outlets_arr.data && outlets_arr.data.length >0){
|
122
|
+
this.condition += ` and ( f_outlets in (${outlets_arr.data.map(outlets => { return `'${outlets.name.substring(3)}'` }).join()}) or f_outlets is null )`
|
123
|
+
}
|
124
|
+
},
|
125
|
+
reload() {
|
126
|
+
//tag
|
127
|
+
this.$refs.paged.loadPage(this.$refs.paged.model.pageIndex)
|
128
|
+
},
|
129
|
+
getlocalCheckPlan() {
|
130
|
+
let value = this.$androidUtil.path({ alias: 'getLocalCheckPlan', data: {} })
|
131
|
+
//tag
|
132
|
+
this.localcheckPlanInfo = value.data
|
133
|
+
// this.$androidUtil.path({alias: 'getLocalCheckPlan', data:{}}).then((value)=>{
|
134
|
+
// //tag
|
135
|
+
// this.localcheckPlanInfo = value.data
|
136
|
+
// })
|
137
|
+
},
|
138
|
+
downloadHand(row) {
|
139
|
+
HostApp.__this__ = this
|
140
|
+
this.$showMessage('正在进行共享计划下载,请确认!', ['confirm', 'cancel']).then((res) => {
|
141
|
+
if (res === 'confirm') {
|
142
|
+
HostApp.logicWithHint({
|
143
|
+
'logic': 'DownCheckPlanInfo',
|
144
|
+
'callback': 'javascript: HostApp.__this__.downloadHandCallback()',
|
145
|
+
'data': { id: row.id },
|
146
|
+
'backresult': 1
|
147
|
+
})
|
148
|
+
}
|
149
|
+
})
|
150
|
+
},
|
151
|
+
downloadHandCallback(jo) {
|
152
|
+
// 安卓端
|
153
|
+
//tag
|
154
|
+
if (jo.state == 'ok') {
|
155
|
+
let result = JSON.parse(jo.result)
|
156
|
+
if (result.state == 0) {
|
157
|
+
if (result.data.length > 0) {
|
158
|
+
this.getlocalCheckPlan()
|
159
|
+
this.$showMessage('下载成功,您可前往计划导航进行查看!')
|
160
|
+
} else {
|
161
|
+
this.$showMessage('无可下载的共享计划!')
|
162
|
+
}
|
163
|
+
} else {
|
164
|
+
this.$showMessage('下载失败!')
|
165
|
+
}
|
166
|
+
} else {
|
167
|
+
this.$showMessage('下载失败,请重试!')
|
168
|
+
}
|
169
|
+
}
|
170
|
+
},
|
171
|
+
computed: {
|
172
|
+
isDown() {
|
173
|
+
return function (row) {
|
174
|
+
for (let info of this.localcheckPlanInfo) {
|
175
|
+
if (info.id == row.id) {
|
176
|
+
return false
|
177
|
+
}
|
178
|
+
}
|
179
|
+
return true
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
</script>
|
185
|
+
<style>
|
186
|
+
.bg {
|
187
|
+
background-color: blue;
|
188
|
+
height: 1px;
|
189
|
+
border: 0;
|
190
|
+
}
|
191
|
+
|
192
|
+
.app-row {
|
193
|
+
background-color: white;
|
194
|
+
padding: 10px 10px 0 10px;
|
195
|
+
border-bottom: 1px solid rgba(235, 235, 235, 0.5);
|
196
|
+
}
|
197
|
+
|
198
|
+
.search_input {
|
199
|
+
border: 0;
|
200
|
+
outline: none;
|
201
|
+
}
|
202
|
+
|
203
|
+
.font {
|
204
|
+
font: 15px PingFang-SC-Medium;
|
205
|
+
color: #666666;
|
206
|
+
}
|
207
|
+
|
208
|
+
.input-font {
|
209
|
+
font: 15px PingFang-SC-Medium;
|
210
|
+
color: #333333;
|
211
|
+
}
|
212
|
+
|
213
|
+
.btn-font {
|
214
|
+
font: 600 16px PingFang-SC-Bold;
|
215
|
+
color: #499EDF;
|
216
|
+
}
|
217
|
+
|
218
|
+
.btn-color {
|
219
|
+
background-color: #FFFFFF;
|
220
|
+
border-radius: 10px;
|
221
|
+
border: 1px solid #499EDF;
|
222
|
+
}
|
223
|
+
|
224
|
+
.app-text {
|
225
|
+
font-size: 12px;
|
226
|
+
}
|
227
|
+
|
228
|
+
.panel-self {
|
229
|
+
border-radius: 10px;
|
230
|
+
border: 1px solid #499EDF;
|
231
|
+
background-color: #F8F8F8;
|
232
|
+
}
|
233
|
+
|
234
|
+
.yybtn-color {
|
235
|
+
background-color: #499edf;
|
236
|
+
border-radius: 4px;
|
237
|
+
border: 1px solid #499EDF;
|
238
|
+
color: #FFFFFF;
|
239
|
+
font: 14px PingFang-SC-Bold;
|
240
|
+
}
|
241
|
+
|
242
|
+
.qxbtn-color {
|
243
|
+
background-color: #FFFFFF;
|
244
|
+
border-radius: 4px;
|
245
|
+
color: #499edf;
|
246
|
+
font: 14px PingFang-SC-Bold;
|
247
|
+
border: 1px solid #499EDF;
|
248
|
+
}
|
249
|
+
</style>
|
@@ -426,7 +426,8 @@
|
|
426
426
|
deps:Vue.user.deps,
|
427
427
|
depids:Vue.user.depids,
|
428
428
|
f_remarks:this.selectData.f_remarks,
|
429
|
-
f_repairtype:
|
429
|
+
f_repairtype:'安检',
|
430
|
+
f_servicetype:'安检维修',
|
430
431
|
f_attendant: Vue.user.name,
|
431
432
|
loginUser:{name:Vue.user.name,ename:Vue.user.id,id:Vue.user.id},
|
432
433
|
}
|
@@ -747,11 +748,11 @@
|
|
747
748
|
}
|
748
749
|
}
|
749
750
|
//检查安检下拉结果
|
750
|
-
if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio') {
|
751
|
+
if (this.data[device][item].f_items[i].type == 'selector' || this.data[device][item].f_items[i].type == 'radio' || this.data[device][item].f_items[i].type == 'checkbox') {
|
751
752
|
if (this.data[device][item].f_items[i].f_is_defect == true && this.data[device][item].f_items[i].f_path == Vue.nopic) {
|
752
753
|
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须拍照"
|
753
754
|
}
|
754
|
-
if (this.data[device][item].f_items[i].f_is_defect == true && !this.data[device][item].f_items[i].f_deal_dispose) {
|
755
|
+
if (this.data[device][item].f_items[i].f_is_defect == true && (!this.data[device][item].f_items[i].f_deal_dispose || this.data[device][item].f_items[i].f_deal_dispose == '未处理')) {
|
755
756
|
return dev + (this.data[device].indexOf(this.data[device][item]) + 1) + this.data[device][item].f_items[i].f_item_name + this.data[device][item].f_items[i].f_item_value + "选中必须选择处理方式"
|
756
757
|
}
|
757
758
|
}
|
@@ -1980,6 +1981,7 @@
|
|
1980
1981
|
this.$set('data.f_off_valve_reason', this.item.f_plan_meters[0].f_off_valve_reason)
|
1981
1982
|
this.$set('data.f_lgql_value', this.item.f_plan_meters[0].f_lgql_value)
|
1982
1983
|
this.$set('data.f_lgje_value', this.item.f_plan_meters[0].f_lgje_value)
|
1984
|
+
this.$set('data.f_table_state', this.item.f_plan_meters[0].f_table_state)
|
1983
1985
|
// this.$set('data.f_user_inhome_time', this.item.f_user_inhome_time)
|
1984
1986
|
// this.$set('data.f_user_check_time', this.item.f_user_check_time)
|
1985
1987
|
// this.$set('data.f_user_spare_phone', this.item.f_user_spare_phone)
|
@@ -2522,19 +2524,19 @@
|
|
2522
2524
|
if (value.data.length != 0) {
|
2523
2525
|
that.$set('data', value.data[0])
|
2524
2526
|
//tag)
|
2525
|
-
if (this.data.f_collection_type == '按气量' && this.data.f_user_type == '民用') {
|
2527
|
+
if (this.data.f_collection_type == '按气量' && (this.data.f_user_type == '民用' || this.data.f_check_type == '民用')) {
|
2526
2528
|
delete this.config['燃气表']['items']['累购金额']
|
2527
2529
|
delete this.config['燃气表']['items']['已用金额']
|
2528
2530
|
delete this.config['燃气表']['items']['剩余金额']
|
2529
2531
|
delete this.config['燃气表']['items']['金额异常差值']
|
2530
|
-
} else if (this.data.f_collection_type == '按金额' && this.data.f_user_type == '民用') {
|
2532
|
+
} else if (this.data.f_collection_type == '按金额' && (this.data.f_user_type == '民用' || this.data.f_check_type == '民用')) {
|
2531
2533
|
delete this.config['燃气表']['items']['累购气量']
|
2532
2534
|
delete this.config['燃气表']['items']['已用气量']
|
2533
2535
|
delete this.config['燃气表']['items']['剩余气量']
|
2534
2536
|
delete this.config['燃气表']['items']['气量异常差值']
|
2535
2537
|
}
|
2536
2538
|
|
2537
|
-
if (this.data.f_user_type == '非民用'){
|
2539
|
+
if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
|
2538
2540
|
that.config = that.config2
|
2539
2541
|
}
|
2540
2542
|
|