safecheck-client 3.0.39-8 → 3.0.39-81
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 +5 -5
- package/src/App.vue +31 -26
- package/src/assets//345/256/232/344/275/215.png +0 -0
- package/src/components/Util/ImgSelfSafePlus.vue +2 -2
- package/src/components/android/AndroidDefectDeal.vue +2 -2
- package/src/components/android/NewCheckpaperAndroid.vue +2 -2
- package/src/components/android/PhoneUpUserinfo.vue +11 -0
- package/src/components/android/rejectInspecCheck.vue +322 -0
- package/src/components/pc/AddPlanItemYyChange.vue +5 -1
- package/src/components/pc/NewCheckpaper.vue +108 -14
- package/src/components/pc/NewCheckpaperTemp.vue +1308 -1295
- package/src/components/pc/PaperDefectMain.vue +1 -1
- package/src/components/pc/RoleSelector.vue +172 -172
- package/src/components/pc/SafeCheckOrder/SafeCheckOrderList.vue +34 -0
- package/src/components/rongcheng/AddPlanItem.vue +344 -344
- package/src/components/rongcheng/CheckCurrentCreate.vue +1081 -1081
- package/src/components/rongcheng/PaperDefectMain.vue +828 -828
- package/src/components/rongcheng/PaperStatem.vue +6 -6
- package/src/components/rongcheng/PhoneUpUserinfo.vue +1 -0
- package/src/filiale/BFshiye/android/AndroidDefectDeal.vue +652 -0
- package/src/filiale/BFshiye/android/PhoneUpUserinfo.vue +3 -1
- package/src/filiale/BFshiye/android/SafecheckUserInfo.vue +2 -2
- package/src/filiale/BFshiye/pc/DefectListNew.vue +637 -0
- package/src/filiale/BFshiye/pc/NewCheckpaper.vue +18 -56
- package/src/filiale/BFshiye/pc/checkUserList.vue +772 -772
- package/src/filiale/BFshiye/pc.js +17 -16
- package/src/filiale/baiyin/android/SafecheckUserInfo.vue +775 -0
- package/src/filiale/baiyin/android.js +12 -11
- package/src/filiale/bayan/pc/NewCheckpaper.vue +2 -2
- package/src/filiale/bayan/pc/SelectAreaReport.vue +1 -0
- package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +7 -7
- package/src/filiale/dexin/android/SafecheckDevicesTemp.vue +1419 -1360
- package/src/filiale/dexin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/dexin/android/SafecheckOrderVTemp.vue +4 -1
- package/src/filiale/dexin/pc/PaperList.vue +840 -840
- package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +2 -2
- package/src/filiale/hanzhong/pc/CheckNumberStatistics.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +6 -1
- package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +1 -1
- package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +1 -1
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2 -2
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +20 -0
- package/src/filiale/jiaocheng/android/CurrentCreate.vue +1083 -0
- package/src/filiale/jiaocheng/android.js +1 -0
- package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +18 -1
- package/src/filiale/jiaocheng/pc/NewCheckpaper.vue +64 -4
- package/src/filiale/jiaocheng/pc/PaperList.vue +803 -0
- package/src/filiale/jiaocheng/pc.js +1 -0
- package/src/filiale/jinhuang/android/AddPlanItem.vue +430 -0
- package/src/filiale/jinhuang/android/PhoneUpUserinfo.vue +183 -145
- package/src/filiale/jinhuang/android.js +2 -1
- package/src/filiale/kelai/android/PaperFeedback.vue +1553 -1550
- package/src/filiale/kelai/android/PhoneUpUserinfo.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/PaperList.vue +13 -0
- package/src/filiale/kelai/pc/UserInfoAudit.vue +126 -90
- package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +4 -6
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +7 -7
- package/src/filiale/liaoyuan/pc/checkPlanList.vue +2 -3
- package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1357 -1270
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +823 -800
- package/src/filiale/qingjian/pc/NewCheckpaper.vue +1919 -1919
- package/src/filiale/rongchuang/android/AddPlanItemVisitingWithoutMeeting.vue +454 -0
- package/src/filiale/rongchuang/android/AddPlanItemYy.vue +498 -0
- package/src/filiale/rongchuang/android/PhoneUpUserinfo.vue +1262 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1 -1
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +3 -2
- package/src/filiale/rongchuang/android.js +3 -0
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +13 -1
- package/src/filiale/rongchuang/pc/checkPlanList.vue +398 -0
- package/src/filiale/rongchuang/pc.js +18 -17
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +4 -4
- package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +532 -498
- package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +888 -889
- package/src/filiale/tongchuan/android/SafecheckDevices.vue +909 -885
- package/src/filiale/tongchuan/pc/AMapTrailShowZk.vue +226 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartAreaByWangGeYuan.vue +137 -0
- package/src/filiale/tongchuan/pc/CheckSearchUser.vue +47 -1
- package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +46 -0
- package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +34 -0
- package/src/filiale/tongchuan/pc/PaperList.vue +44 -10
- package/src/filiale/tongchuan/pc/PersonTrack.vue +269 -0
- package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +42 -2
- package/src/filiale/tongchuan/pc.js +3 -0
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2444 -2444
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +712 -712
- package/src/filiale/wensu/pc/CheckSearchUser.vue +1251 -1251
- package/src/filiale/wenxi/pc/PaperList.vue +9 -3
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2242 -2242
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +659 -659
- package/src/filiale/yangchunboneng/android/AndiroidSecurityAudit.vue +2 -1
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1191
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +913 -913
- package/src/filiale/yangchunboneng/android.js +21 -21
- package/src/filiale/yangchunboneng/pc/CheckBookList.vue +353 -353
- package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +3 -3
- package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1197 -1197
- package/src/filiale/yangchunboneng/pc/HiddenSituation.vue +171 -171
- package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1112 -1112
- package/src/filiale/yangchunboneng/pc/PaperList.vue +757 -757
- package/src/filiale/yangchunboneng/pc/SelectCheckPlan.vue +331 -331
- package/src/filiale/yangchunboneng/pc.js +29 -29
- package/src/main.js +33 -33
- package/src/rongcheng.js +319 -319
- package/src/safecheck-android.js +316 -315
- package/yarn-error.log +0 -140
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_userinfo_code" readonly/>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="row auto" style="margin: 5px 0">
|
|
17
|
-
<label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_user_name"
|
|
17
|
+
<label class="righttxt">用户名称:</label><input type="text" class="form-control rightipt" v-model="userinfo.baseinfo.base.f_user_name" />
|
|
18
18
|
</div>
|
|
19
19
|
<div class="row auto" style="margin: 5px 0">
|
|
20
20
|
<label class="righttxt">用户状态:</label><input type="text" class="form-control rightipt" readonly v-model="userinfo.baseinfo.base.f_user_state" />
|
|
@@ -1587,7 +1587,7 @@ export default {
|
|
|
1587
1587
|
&& HostApp.__this__.data.f_approved
|
|
1588
1588
|
&& HostApp.__this__.data.f_approved == '打回') {
|
|
1589
1589
|
//tag
|
|
1590
|
-
HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
|
1590
|
+
// HostApp.__this__.data.f_onsite_time = Util.toStandardTimeString()
|
|
1591
1591
|
HostApp.__this__.tick()
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
@@ -538,7 +538,7 @@ export default {
|
|
|
538
538
|
//tag
|
|
539
539
|
if (this.f_onsite_time) {
|
|
540
540
|
this.$parent.$parent.isStrat = true
|
|
541
|
-
this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
|
|
541
|
+
// this.$parent.$parent.data.f_onsite_time = Util.toStandardTimeString()
|
|
542
542
|
}
|
|
543
543
|
if (this.$parent.$parent.role == 'repair') {
|
|
544
544
|
this.$set('style__', 'divmask')
|
|
@@ -169,6 +169,18 @@
|
|
|
169
169
|
:value-single="true">
|
|
170
170
|
</v-select>
|
|
171
171
|
</div>
|
|
172
|
+
<div class="form-group col-sm-2" v-show="$parent.$parent.criteriaShow">
|
|
173
|
+
<label class="font_normal_body">有无计划</label>
|
|
174
|
+
<v-select class="select_list select"
|
|
175
|
+
placeholder='请选择' style="width: 60%"
|
|
176
|
+
:value.sync="model.f_no_checkplan" v-model="model.f_no_checkplan"
|
|
177
|
+
:options='$parent.$parent.no_checkplans'
|
|
178
|
+
filer-key="name"
|
|
179
|
+
close-on-select clear-button
|
|
180
|
+
condition="f_no_checkplan='{}'"
|
|
181
|
+
:value-single="true">
|
|
182
|
+
</v-select>
|
|
183
|
+
</div>
|
|
172
184
|
</div>
|
|
173
185
|
<modal :show.sync="$parent.$parent.showModal" v-ref:modal backdrop="false">
|
|
174
186
|
<div slot="modal-header" class="modal-header">
|
|
@@ -330,6 +342,7 @@ import HttpResetClass from "vue-client/src/plugins/HttpResetClass";
|
|
|
330
342
|
// }
|
|
331
343
|
// model.f_subcompany = this.$login.f.f_fengongsi
|
|
332
344
|
return {
|
|
345
|
+
no_checkplans: this.$appdata.getParam('有无计划')?[{label: '全部', value: ''}, ...this.$appdata.getParam('有无计划')]:[{label: '全部', value: ''}],
|
|
333
346
|
audioshow:false,
|
|
334
347
|
searchData: {
|
|
335
348
|
condition: "1=1",
|
|
@@ -57,9 +57,8 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
<div class="col-sm-4 " style="width: auto; margin-top: 8px">
|
|
59
59
|
<button class="button_search button_spacing" @click="search">查询</button>
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
<button class="button_new button_spacing" @click="$parent.$parent.verifyAll()">批量审核</button>
|
|
61
|
+
<button class="button_export button_spacing" @click="$parent.$parent.rejectAll()">批量不通过</button>
|
|
63
62
|
</div>
|
|
64
63
|
</div>
|
|
65
64
|
|
|
@@ -68,7 +67,7 @@
|
|
|
68
67
|
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
|
|
69
68
|
<template partial='head'>
|
|
70
69
|
<tr>
|
|
71
|
-
|
|
70
|
+
<th><nobr></nobr></th>
|
|
72
71
|
<th><nobr>用户编号</nobr></th>
|
|
73
72
|
<th><nobr>用户名称</nobr></th>
|
|
74
73
|
<th><nobr>提交人</nobr></th>
|
|
@@ -81,7 +80,7 @@
|
|
|
81
80
|
</tr>
|
|
82
81
|
</template>
|
|
83
82
|
<template partial='body'>
|
|
84
|
-
|
|
83
|
+
<td style="text-align: center"><nobr><input type="checkbox" v-model="row.checked" @click="$parent.$parent.$parent.addChecked(row)"></nobr></td>
|
|
85
84
|
<td style="text-align: center"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
86
85
|
<td style="text-align: center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
87
86
|
<td style="text-align: center"><nobr>{{row.f_modifier}}</nobr></td>
|
|
@@ -126,128 +125,165 @@ export default {
|
|
|
126
125
|
excessive:false,
|
|
127
126
|
userInformation:{},
|
|
128
127
|
f_approval_states:this.$appdata.getParam('审核状态'),
|
|
128
|
+
checkedRows: [] // 新增:用于存储选中的行
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
methods: {
|
|
132
132
|
search(args){
|
|
133
133
|
args += 'f_time= (select max(f_time) from t_modify_userinfo B where A.f_userinfoid = B.f_userinfoid)'
|
|
134
|
-
|
|
134
|
+
this.model.search(args)
|
|
135
|
+
this.checkedRows = [] // 清空选中项
|
|
135
136
|
},
|
|
136
137
|
change(row) {
|
|
137
|
-
//tag)
|
|
138
138
|
new HttpResetClass().load('post',`/rs/logic/filemanage_getFilesDetail`, {
|
|
139
|
-
//f_userinfo_code:'12381344',
|
|
140
139
|
f_userinfo_id:row.f_userinfoid
|
|
141
140
|
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
142
|
-
//tag
|
|
143
|
-
//this.userInformation=res.data
|
|
144
141
|
this.$set('userInformation',res.data)
|
|
145
|
-
//tag
|
|
146
142
|
this.$set('info',row)
|
|
147
143
|
this.showModal = true
|
|
148
144
|
})
|
|
149
|
-
|
|
150
145
|
},
|
|
151
|
-
|
|
146
|
+
addChecked(row) {
|
|
147
|
+
if (row.checked) {
|
|
148
|
+
this.checkedRows.push(row)
|
|
149
|
+
} else {
|
|
150
|
+
this.checkedRows.$remove(row)
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
async todo(row) {
|
|
152
154
|
let r = confirm("确认修改该资料?")
|
|
153
|
-
if(r) {
|
|
154
|
-
this.excessive=true
|
|
155
|
-
let userinfoms=Object.assign({},this.userInformation.baseinfo.base)
|
|
156
|
-
|
|
157
|
-
userinfoms.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
if(this.userInformation.meterinfo[0].f_meter_classify!='物联网表'){
|
|
162
|
-
this.userInformation.meterinfo[0].f_meternumber=row.f_meternumber
|
|
155
|
+
if (r) {
|
|
156
|
+
this.excessive = true
|
|
157
|
+
let userinfoms = Object.assign({}, this.userInformation.baseinfo.base)
|
|
158
|
+
userinfoms.f_operator_record = row.f_modifier
|
|
159
|
+
userinfoms.f_operatorid_record = row.f_modifier_id
|
|
160
|
+
|
|
161
|
+
if (this.userInformation.meterinfo[0].f_meter_classify != '物联网表') {
|
|
162
|
+
this.userInformation.meterinfo[0].f_meternumber = row.f_meternumber
|
|
163
163
|
}
|
|
164
|
-
userinfoms.userfiles=[]
|
|
164
|
+
userinfoms.userfiles = []
|
|
165
165
|
userinfoms.userfiles.push(this.userInformation.meterinfo[0])
|
|
166
|
-
userinfoms.f_orgid_record=null
|
|
167
|
-
userinfoms.f_orgname_record=null
|
|
168
|
-
userinfoms.f_depid_record=null
|
|
169
|
-
userinfoms.f_depname_record=null
|
|
170
|
-
let useraddressms=Object.assign({},this.userInformation.addressinfo)
|
|
171
|
-
useraddressms.f_pcd=row.f_pcd
|
|
172
|
-
useraddressms.f_pcd_id=row.f_pcd_id
|
|
173
|
-
useraddressms.f_street=row.f_street
|
|
174
|
-
useraddressms.f_street_id=row.f_street_id
|
|
175
|
-
useraddressms.f_residential_area=row.f_residential_area
|
|
176
|
-
useraddressms.f_residential_area_id=row.f_residential_area_id
|
|
177
|
-
useraddressms.f_building=row.f_building?row.f_building:null
|
|
178
|
-
useraddressms.f_building_id=row.f_building_id
|
|
179
|
-
useraddressms.f_unit=row.f_unit?row.f_unit:null
|
|
180
|
-
useraddressms.f_floor=row.f_floor?row.f_floor:null
|
|
181
|
-
useraddressms.f_room=row.f_room?row.f_room:null
|
|
182
|
-
useraddressms.f_building_suffix= row.f_building_suffix?row.f_building_suffix:null
|
|
183
|
-
useraddressms.f_unit_suffix= row.f_unit_suffix?row.f_unit_suffix:null
|
|
184
|
-
useraddressms.f_floor_suffix= row.f_floor_suffix?row.f_floor_suffix:null
|
|
185
|
-
useraddressms.f_room_suffix= row.f_room_suffix?row.f_room_suffix:null
|
|
186
|
-
|
|
187
|
-
useraddressms.
|
|
188
|
-
useraddressms.
|
|
189
|
-
useraddressms.
|
|
190
|
-
useraddressms.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
this.excessive=false
|
|
209
|
-
}else{
|
|
210
|
-
this.$showMessage("审核失败!")
|
|
211
|
-
this.excessive=false
|
|
212
|
-
}
|
|
213
|
-
}else{
|
|
166
|
+
userinfoms.f_orgid_record = null
|
|
167
|
+
userinfoms.f_orgname_record = null
|
|
168
|
+
userinfoms.f_depid_record = null
|
|
169
|
+
userinfoms.f_depname_record = null
|
|
170
|
+
let useraddressms = Object.assign({}, this.userInformation.addressinfo)
|
|
171
|
+
useraddressms.f_pcd = row.f_pcd
|
|
172
|
+
useraddressms.f_pcd_id = row.f_pcd_id
|
|
173
|
+
useraddressms.f_street = row.f_street
|
|
174
|
+
useraddressms.f_street_id = row.f_street_id
|
|
175
|
+
useraddressms.f_residential_area = row.f_residential_area
|
|
176
|
+
useraddressms.f_residential_area_id = row.f_residential_area_id
|
|
177
|
+
useraddressms.f_building = row.f_building ? row.f_building : null
|
|
178
|
+
useraddressms.f_building_id = row.f_building_id
|
|
179
|
+
useraddressms.f_unit = row.f_unit ? row.f_unit : null
|
|
180
|
+
useraddressms.f_floor = row.f_floor ? row.f_floor : null
|
|
181
|
+
useraddressms.f_room = row.f_room ? row.f_room : null
|
|
182
|
+
useraddressms.f_building_suffix = row.f_building_suffix ? row.f_building_suffix : null
|
|
183
|
+
useraddressms.f_unit_suffix = row.f_unit_suffix ? row.f_unit_suffix : null
|
|
184
|
+
useraddressms.f_floor_suffix = row.f_floor_suffix ? row.f_floor_suffix : null
|
|
185
|
+
useraddressms.f_room_suffix = row.f_room_suffix ? row.f_room_suffix : null
|
|
186
|
+
useraddressms.f_address = row.f_address
|
|
187
|
+
useraddressms.f_special = row.f_special
|
|
188
|
+
useraddressms.f_iscity = row.f_iscity
|
|
189
|
+
useraddressms.f_operator = row.f_modifier
|
|
190
|
+
useraddressms.f_operatorid = row.f_modifier_id
|
|
191
|
+
try {
|
|
192
|
+
let res1 = await new HttpResetClass().load('POST', '/rs/logic/filemanage_fileSave', {data: {userinfo: userinfoms, modifyReason: this.f_source ? `${this.f_source}审核通过更改档案信息` : '', address: {id: this.userInformation.addressinfo.id, oldid: this.userInformation.addressinfo.id}}}, {resolveMsg: null, rejectMsg: null})
|
|
193
|
+
if (res1.data.status == 200) {
|
|
194
|
+
let res2 = await new HttpResetClass().load('POST', '/rs/logic/address_updateuseraddress', useraddressms, {resolveMsg: null, rejectMsg: null})
|
|
195
|
+
if (res2.data.id) {
|
|
196
|
+
row.f_approved = '已审核'
|
|
197
|
+
row.f_approved_by = this.$login.f.name
|
|
198
|
+
row.f_approved_time = Util.toStandardTimeString()
|
|
199
|
+
let res3 = await new HttpResetClass().load('POST', '/rs/logic/SaveEntity', {data: {row: row, tablename: 't_modify_userinfo'}}, {resolveMsg: null, rejectMsg: null})
|
|
200
|
+
if (res3.data.code == 200) {
|
|
201
|
+
this.$showMessage("审核成功,用户信息已更新!")
|
|
202
|
+
this.excessive = false
|
|
203
|
+
} else {
|
|
204
|
+
this.$showMessage("审核失败!")
|
|
205
|
+
this.excessive = false
|
|
206
|
+
}
|
|
207
|
+
} else {
|
|
214
208
|
this.$showMessage("更新地址信息失败!")
|
|
215
|
-
this.excessive=false
|
|
209
|
+
this.excessive = false
|
|
216
210
|
}
|
|
217
|
-
}else{
|
|
211
|
+
} else {
|
|
218
212
|
this.$showMessage("修改用户信息失败!")
|
|
219
|
-
this.excessive=false
|
|
213
|
+
this.excessive = false
|
|
220
214
|
}
|
|
221
|
-
}catch(msg){
|
|
222
|
-
if(
|
|
223
|
-
this.$showMessage("修改用户信息失败!"+msg.data)
|
|
224
|
-
}else{
|
|
215
|
+
} catch (msg) {
|
|
216
|
+
if (typeof msg == 'object' && msg.data) {
|
|
217
|
+
this.$showMessage("修改用户信息失败!" + msg.data)
|
|
218
|
+
} else {
|
|
225
219
|
this.$showMessage("审核失败,可以尝试重新点击审核按钮再次进行审核!!")
|
|
226
220
|
}
|
|
227
|
-
this.excessive=false
|
|
221
|
+
this.excessive = false
|
|
228
222
|
}
|
|
229
223
|
}
|
|
230
224
|
},
|
|
231
|
-
isnull(val){
|
|
232
|
-
if(val == null){
|
|
225
|
+
isnull(val) {
|
|
226
|
+
if (val == null) {
|
|
233
227
|
return ''
|
|
234
|
-
}else{
|
|
228
|
+
} else {
|
|
235
229
|
return val
|
|
236
230
|
}
|
|
237
231
|
},
|
|
238
|
-
|
|
239
|
-
this.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
232
|
+
async verifyAll() {
|
|
233
|
+
if (this.checkedRows.length === 0) {
|
|
234
|
+
this.$showMessage("请选择要批量审核的记录!")
|
|
235
|
+
return
|
|
236
|
+
}
|
|
237
|
+
let r = confirm("确认批量审核选中的资料?")
|
|
238
|
+
if (r) {
|
|
239
|
+
this.excessive = true
|
|
240
|
+
for (let i = 0; i < this.checkedRows.length; i++) {
|
|
241
|
+
let row = this.checkedRows[i]
|
|
242
|
+
if (row.f_approved === '未审核') {
|
|
243
|
+
await new HttpResetClass().load('post',`/rs/logic/filemanage_getFilesDetail`, {
|
|
244
|
+
f_userinfo_id:row.f_userinfoid
|
|
245
|
+
}, {resolveMsg: null, rejectMsg: null}).then(async (res) => {
|
|
246
|
+
this.$set('userInformation',res.data)
|
|
247
|
+
this.$set('info',row)
|
|
248
|
+
await this.todo(row)
|
|
249
|
+
})
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
this.excessive = false
|
|
253
|
+
this.search('') // 刷新列表
|
|
254
|
+
this.$showMessage("批量审核完成!")
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
async rejectAll() {
|
|
258
|
+
if (this.checkedRows.length === 0) {
|
|
259
|
+
this.$showMessage("请选择要批量不通过的记录!")
|
|
260
|
+
return
|
|
261
|
+
}
|
|
262
|
+
let r = confirm("确认批量不通过选中的资料?")
|
|
263
|
+
if (r) {
|
|
264
|
+
this.excessive = true
|
|
265
|
+
for (let i = 0; i < this.checkedRows.length; i++) {
|
|
266
|
+
let row = this.checkedRows[i]
|
|
267
|
+
if (row.f_approved === '未审核') {
|
|
268
|
+
await this.undo(row)
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
this.excessive = false
|
|
272
|
+
this.search('') // 刷新列表
|
|
273
|
+
this.$showMessage("批量不通过完成!")
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
async undo(row){
|
|
277
|
+
row.f_approved='未通过'
|
|
278
|
+
row.f_approved_by=this.$login.f.name
|
|
279
|
+
row.f_approved_time=Util.toStandardTimeString()
|
|
280
|
+
await new HttpResetClass().load('POST','/rs/logic/SaveEntity', {data:{row:row,tablename:'t_modify_userinfo'}},{resolveMsg: null, rejectMsg: null}).then((res3)=>{
|
|
244
281
|
if(res3.data.code==200){
|
|
245
282
|
this.$showMessage("审核成功,审核结果:未通过!")
|
|
246
283
|
}else{
|
|
247
284
|
this.$showMessage("审核失败!")
|
|
248
285
|
}
|
|
249
286
|
})
|
|
250
|
-
|
|
251
287
|
}
|
|
252
288
|
}
|
|
253
289
|
}
|
|
@@ -52,10 +52,9 @@
|
|
|
52
52
|
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
|
53
53
|
<button style="float: right" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
|
54
54
|
<div style="float: right">
|
|
55
|
-
<export-excel-
|
|
55
|
+
<export-excel-safe :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids,f_defect_content:$parent.$parent.model.f_defect_content}"
|
|
56
56
|
:field="$parent.$parent.getfield"
|
|
57
|
-
|
|
58
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel-old>
|
|
57
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检隐患明细' :choose-col="true"></export-excel-safe>
|
|
59
58
|
</div>
|
|
60
59
|
</div>
|
|
61
60
|
</div>
|
|
@@ -192,10 +191,9 @@
|
|
|
192
191
|
<button style="float: right" class="button_search button_spacing" @click="search">查询</button>
|
|
193
192
|
<button style="float: right" class="button_search button_spacing" @click="$parent.$parent.toRepair">转维修</button>
|
|
194
193
|
<div style="float: right">
|
|
195
|
-
<export-excel-
|
|
194
|
+
<export-excel-safe :data="{condition: $parent.$parent.model.condition,f_filialeids:$parent.$parent.model.f_filialeids}"
|
|
196
195
|
:field="$parent.$parent.getfield"
|
|
197
|
-
|
|
198
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel-old>
|
|
196
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="GetCheckPaperByDefect" template-name='安检计划明细' :choose-col="true"></export-excel-safe>
|
|
199
197
|
</div>
|
|
200
198
|
</div>
|
|
201
199
|
</div>
|
|
@@ -955,14 +955,14 @@ export default {
|
|
|
955
955
|
// this.$goto('paper-message-blank', {userinfo:this.data,devices:this.devices,config:this.config,role:this.role}, 'self')
|
|
956
956
|
this.isshow = true
|
|
957
957
|
asyncReady(this).then(() => {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
958
|
+
if (this.data.f_check_type){
|
|
959
|
+
if (this.data.f_check_type=='民用'){
|
|
960
|
+
this.deviceconfig=Vue.config.safecheck.DevicesConfig
|
|
961
|
+
}else if (this.data.f_check_type=='非民用'){
|
|
962
|
+
this.deviceconfig=Vue.config.safecheck.DevicesSetConfig
|
|
963
|
+
}
|
|
964
|
+
}else {
|
|
961
965
|
this.deviceconfig=Vue.config.safecheck.DevicesConfig
|
|
962
|
-
////tag)
|
|
963
|
-
}else if (this.data.f_check_type=='非民用'){
|
|
964
|
-
this.deviceconfig=Vue.config.safecheck.DevicesSetConfig
|
|
965
|
-
////tag)
|
|
966
966
|
}
|
|
967
967
|
if (this.planmeter.f_meter_classify=='机表'){
|
|
968
968
|
let aaa=Object.assign({},this.configjb["燃气表"].items,this.deviceconfig["燃气表"].items)
|
|
@@ -44,10 +44,9 @@
|
|
|
44
44
|
<!-- sqlurl="rs/logic/SafeExportExcel" sql-name="planItem"-->
|
|
45
45
|
<!-- :template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'" :choose-col="true">-->
|
|
46
46
|
<!-- </export-excel-safe>-->
|
|
47
|
-
<export-excel-
|
|
47
|
+
<export-excel-safe :data="$parent.$parent.exportParameter"
|
|
48
48
|
:field="$parent.$parent.exportExcelField"
|
|
49
|
-
|
|
50
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="planItem" :template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'"></export-excel-old>
|
|
49
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="planItem" :template-name="$parent.$parent.selectplan.f_plan_name + '安检计划导出'"></export-excel-safe>
|
|
51
50
|
</div>
|
|
52
51
|
<div class="form-group col-sm-2 safe_p">
|
|
53
52
|
<label class="font_normal_body" :title="$parent.$parent.selectplan.f_plan_name">{{$parent.$parent.selectplan.f_plan_name?'当前选中 : '+$parent.$parent.selectplan.f_plan_name:''}}</label>
|