safecheck-client 3.0.32 → 3.0.33-11
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 +133 -133
- package/src/assets//345/215/225/345/205/203/345/217/267.png +0 -0
- package/src/assets//345/234/260/345/235/200.png +0 -0
- package/src/assets//345/247/223/345/220/215.png +0 -0
- package/src/assets//345/260/217/345/214/272.png +0 -0
- package/src/assets//345/260/217/345/214/272/350/223/235/350/211/262.png +0 -0
- package/src/assets//345/272/225/346/225/260.png +0 -0
- package/src/assets//346/210/267/347/274/226/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/217/267.png +0 -0
- package/src/assets//346/245/274/345/261/202.png +0 -0
- package/src/assets//350/241/250/347/261/273/345/236/213.png +0 -0
- package/src/assets//351/227/250/347/211/214/345/217/267.png +0 -0
- package/src/components/android/AndroidDefectDeal.vue +5 -5
- package/src/components/android/PhoneUpUserinfo.vue +6 -0
- package/src/components/android/SafecheckOrderV.vue +4 -1
- package/src/components/map/checkScreen.vue +1 -1
- package/src/components/planmanage/checkPlanList.vue +3 -3
- package/src/components/planmanage/checkUserList.vue +34 -2
- package/src/components/rongcheng/AspiratedDevices.vue +34 -1
- package/src/components/rongcheng/DefectPaper.vue +4 -1
- package/src/components/rongcheng/SafecheckDevices.vue +34 -1
- package/src/components/rongcheng/SafecheckOrderV.vue +1 -0
- package/src/components/rongcheng/SafecheckUserInfo.vue +17 -0
- package/src/filiale/Util.js +7 -0
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/ankangyihua/android/CurrentCreate.vue +1 -1
- package/src/filiale/bayan/android/AddPlanItem.vue +5 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +3 -0
- package/src/filiale/bayan/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/dexin/android/CasualSave.vue +1050 -0
- package/src/filiale/dexin/android/SafecheckDevices.vue +4 -4
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2407 -2355
- package/src/filiale/dexin/android/WebMeterOpen.vue +377 -0
- package/src/filiale/dexin/android/WebMeterOpenEdit.vue +225 -0
- package/src/filiale/dexin/android.js +4 -1
- package/src/filiale/fugou/pc/AddToCheckBook.vue +160 -0
- package/src/filiale/fugou/pc/CheckBook.vue +301 -0
- package/src/filiale/fugou/pc/CheckBookAll.vue +67 -0
- package/src/filiale/fugou/pc/CheckBookArea.vue +146 -0
- package/src/filiale/fugou/pc/CheckBookCompany.vue +144 -0
- package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -0
- package/src/filiale/fugou/pc/CheckBookEntry.vue +66 -0
- package/src/filiale/fugou/pc/CheckBookList.vue +366 -0
- package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -0
- package/src/filiale/fugou/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +651 -0
- package/src/filiale/fugou/pc/CheckBookSearchUserList.vue +674 -0
- package/src/filiale/fugou/pc/CheckBookUser.vue +101 -0
- package/src/filiale/fugou/pc/DefectPaperNew.vue +1 -1
- package/src/filiale/fugou/pc/PaperDefectMain.vue +22 -1
- package/src/filiale/fugou/pc/PlanManage.vue +1007 -0
- package/src/filiale/fugou/pc/checkPlanList.vue +371 -0
- package/src/filiale/fugou/pc/checkUserList.vue +20 -120
- package/src/filiale/fugou/pc.js +60 -5
- package/src/filiale/jingyang/android/AddPlanItem.vue +246 -246
- package/src/filiale/jingyang/android/CurrentCreate.vue +18 -18
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2281 -2281
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -0
- package/src/filiale/jingyang/android.js +4 -0
- package/src/filiale/kelai/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +1 -0
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +4 -0
- package/src/filiale/rongchuang/android/SafecheckDevices.vue +1680 -0
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +975 -488
- package/src/filiale/rongchuang/pc/NewCheckpaper.vue +111 -48
- package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/shexian/pc/PaperList.vue +822 -0
- package/src/filiale/shexian/pc.js +1 -0
- package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +1 -1
- package/src/filiale/weinan/android/SafecheckDevices.vue +1082 -1025
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3321 -3276
- package/src/filiale/wensu/android/CurrentCreate.vue +1 -1
- package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
- package/src/filiale/wensu/pc/DefectPaperNew.vue +16 -10
- package/src/filiale/wensu/pc/PlanManage.vue +831 -0
- package/src/filiale/wensu/pc/PrintMaterialBill.vue +28 -11
- package/src/filiale/wensu/pc/RoleSelector.vue +2 -2
- package/src/filiale/wensu/pc/SelectCheckPlan.vue +208 -168
- package/src/filiale/wensu/pc/checkUserList.vue +13 -9
- package/src/filiale/wensu/pc.js +1 -0
- package/src/filiale/wenxi/android/SafecheckUserInfo.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/CurrentCreate.vue +6 -2
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +3 -3
- package/src/filiale/yongzhou/pc/safeStatistics.vue +1 -0
- package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +1 -0
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +3 -0
- package/src/filiale/yunchengminsheng/pc/checkUserList.vue +18 -1
- package/src/filiale/zhongyi/pc/DefectListNew.vue +6 -6
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
package/src/filiale/wuhai/pc.js
CHANGED
@@ -8,6 +8,7 @@ let specialComp = {
|
|
8
8
|
|
9
9
|
'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) },
|
10
10
|
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
11
|
+
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) }
|
11
12
|
}
|
12
13
|
exports.specialComp = specialComp
|
13
14
|
|
@@ -942,7 +942,7 @@
|
|
942
942
|
condition += " and ti.f_last_check_state in ('入户','停用','拆除','未通气')"
|
943
943
|
}
|
944
944
|
if(this.$refs.paged.$refs.cri.model.f_state[0] =='未检'){
|
945
|
-
condition += " and
|
945
|
+
condition += " and ti.f_last_check_state not in ('入户','停用','拆除','未通气')"
|
946
946
|
}
|
947
947
|
// if(this.$refs.paged.$refs.cri.model.f_last_state[0])
|
948
948
|
// condition += " and ti.f_last_check_state='"+this.$refs.paged.$refs.cri.model.f_last_state[0]+"'"
|
@@ -974,7 +974,11 @@
|
|
974
974
|
if(this.$refs.paged.$refs.cri.model.userinfo){
|
975
975
|
condition += ` and (f_userinfo_code like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_name like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_meter_no like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_address like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_zuhu_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_rent_phone like '%${this.$refs.paged.$refs.cri.model.userinfo}%' or f_user_phone2 like '%${this.$refs.paged.$refs.cri.model.userinfo}%')`
|
976
976
|
}
|
977
|
-
this.model.
|
977
|
+
if(this.$refs.paged.$refs.cri.model.f_state[0] ==''){
|
978
|
+
this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成' or f_complete = '已完成') or (f_state = '未检' or f_state = '已检') or (f_last_check_state = '到访不遇' or f_last_check_state = '拒检' )) and ti.f_no_checkplan = '有计划安检'" + condition)
|
979
|
+
}else{
|
980
|
+
this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成' or f_complete = '已完成') or (f_state = '未检' or f_state = '已检')) and ti.f_no_checkplan = '有计划安检'" + condition)
|
981
|
+
}
|
978
982
|
},
|
979
983
|
getNewOrder(){
|
980
984
|
HostApp.__this__ = this
|
@@ -684,9 +684,9 @@ export default {
|
|
684
684
|
hasError = this.verifyDevices()
|
685
685
|
if (hasError)
|
686
686
|
return hasError
|
687
|
-
hasError = this.verifyFeedback()
|
688
|
-
if (hasError)
|
689
|
-
|
687
|
+
// hasError = this.verifyFeedback()
|
688
|
+
// if (hasError)
|
689
|
+
// return hasError
|
690
690
|
},
|
691
691
|
verifyState() {
|
692
692
|
if (Vue.android && this.data.f_entry_status == '未使用天然气' && this.data.f_nongasuser_path == Vue.nopic)
|
@@ -96,7 +96,7 @@ export default {
|
|
96
96
|
this.bookList=[]
|
97
97
|
}
|
98
98
|
//如果是全选,则查询这个安检册下的用户
|
99
|
-
|
99
|
+
|
100
100
|
if(val){
|
101
101
|
//遍历this.model.rows
|
102
102
|
this.model.rows.forEach(res=>{
|
@@ -139,7 +139,7 @@ export default {
|
|
139
139
|
}
|
140
140
|
},
|
141
141
|
removes(){
|
142
|
-
|
142
|
+
|
143
143
|
if(this.bookList.length===0){
|
144
144
|
this.$showMessage('请选择用户')
|
145
145
|
return
|
@@ -166,7 +166,7 @@ export default {
|
|
166
166
|
})
|
167
167
|
},
|
168
168
|
remove(row){
|
169
|
-
|
169
|
+
|
170
170
|
this.$showMessage("确认移出此安检册?",['confirm']).then(res=>{
|
171
171
|
if(res==='confirm'){
|
172
172
|
let data = {
|
@@ -568,6 +568,9 @@ export default {
|
|
568
568
|
let multiple = this.config[this.device.device].items[item].multiple?this.config[this.device.device].items[item].multiple:false
|
569
569
|
let options = this.config[this.device.device].items[item].options
|
570
570
|
if ((this.config[this.device.device].items[item].type == 'selector' || this.config[this.device.device].items[item].type == 'inputSelector') && item == this.f_items[n].f_item_name) {
|
571
|
+
if (val.length > 1 && val.indexOf('正常') != -1){
|
572
|
+
this.f_items[n].f_item_value.splice(val.indexOf('正常'),1)
|
573
|
+
}
|
571
574
|
for (let i in options) {
|
572
575
|
if(typeof options[i]=='function'){
|
573
576
|
continue
|
@@ -81,6 +81,21 @@
|
|
81
81
|
>
|
82
82
|
</v-select>
|
83
83
|
</div>
|
84
|
+
<div class="form-group col-sm-4" >
|
85
|
+
<label class="font_normal_body">表具状态:</label>
|
86
|
+
<v-select
|
87
|
+
class="select select_list"
|
88
|
+
:value.sync="model.f_table_state"
|
89
|
+
v-model="model.f_table_state"
|
90
|
+
:options='$parent.$parent.tableStates'
|
91
|
+
placeholder='请选择'
|
92
|
+
condition="uf.f_table_state='{}'"
|
93
|
+
:search="false"
|
94
|
+
close-on-select
|
95
|
+
value-single
|
96
|
+
>
|
97
|
+
</v-select>
|
98
|
+
</div>
|
84
99
|
<div class="form-group col-sm-4" >
|
85
100
|
<label class="font_normal_body">用气性质:</label>
|
86
101
|
<v-select
|
@@ -402,6 +417,7 @@
|
|
402
417
|
showCondtion:false,
|
403
418
|
userTypes:[],//用户类型
|
404
419
|
userStates:[],//用户状态
|
420
|
+
tableStates:[],//表具状态
|
405
421
|
gasproperties:[],//用气性质
|
406
422
|
meter_classifys:[],//气表类型
|
407
423
|
hasHousehold:[{label:"全部",value:""},{label:"已入户",value:"已入户"},{label:"未入户",value:"未入户"}],
|
@@ -520,7 +536,8 @@
|
|
520
536
|
value: ''
|
521
537
|
}, ...this.$appdata.getParam('用户类型')] : [{label: '全部', value: ''}]
|
522
538
|
|
523
|
-
this.userStates=this.$appdata.getParam('安检用户状态') ? [
|
539
|
+
this.userStates=this.$appdata.getParam('安检用户状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('安检用户状态')] : [{label: '全部', value: ''}]
|
540
|
+
this.tableStates=this.$appdata.getParam('安检表具状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('安检表具状态')] : [{label: '全部', value: ''}]
|
524
541
|
this.gasproperties=this.$appdata.getParam('用气性质') ? [{
|
525
542
|
label: '全部',
|
526
543
|
value: ''
|
@@ -201,7 +201,7 @@ const upSolveDefect = function * (self) {
|
|
201
201
|
if (res.data.code === 200) {
|
202
202
|
self.$showMessage('隐患已处理。')
|
203
203
|
self.showSolveModal = false
|
204
|
-
self.model.search(
|
204
|
+
self.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
|
205
205
|
}
|
206
206
|
})
|
207
207
|
}
|
@@ -303,7 +303,7 @@ const sendRepair = function* (self) {
|
|
303
303
|
let updateRes = yield self.$resetpost('/rs/logic/updateDefectStateNew', data)
|
304
304
|
if (updateRes.data.code == 200) {
|
305
305
|
self.$showMessage('隐患已转维修。')
|
306
|
-
self.model.search(`f_repaire_type != '无隐患'`, {})
|
306
|
+
self.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
|
307
307
|
}
|
308
308
|
}
|
309
309
|
}
|
@@ -400,7 +400,7 @@ export default {
|
|
400
400
|
this.model.f_item_value = `(SELECT stuff(( SELECT ',' + f_item_value FROM t_devices_items_lists WHERE ( f_is_defect = 'true' OR di.f_is_defect = 'true') AND f_item_id = di.id FOR xml path ( '' ) ),1,1,'' ) )`
|
401
401
|
if (this.check) {
|
402
402
|
this.model.f_paper_id = this.check.id
|
403
|
-
this.model.search(`f_repaire_type != '无隐患'`, {})
|
403
|
+
this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
|
404
404
|
}
|
405
405
|
this.getEmp()
|
406
406
|
},
|
@@ -415,7 +415,7 @@ export default {
|
|
415
415
|
let http = new HttpResetClass()
|
416
416
|
http.load('POST', 'rs/logic/DefectAuditUpdate', data, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
417
417
|
if(res.data.code == 200){
|
418
|
-
this.model.search(`f_repaire_type != '无隐患'`, {})
|
418
|
+
this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
|
419
419
|
this.showSolveModal = false
|
420
420
|
this.showToRepairModal = false
|
421
421
|
this.$showMessage('提交成功')
|
@@ -487,14 +487,14 @@ export default {
|
|
487
487
|
watch: {
|
488
488
|
'check'() {
|
489
489
|
this.model.f_paper_id = this.check.id
|
490
|
-
this.model.search(`f_repaire_type != '无隐患'`, {})
|
490
|
+
this.model.search(`(f_repaire_type != '无隐患' or f_repaire_type is null)`, {})
|
491
491
|
},
|
492
492
|
'model.rows'() {
|
493
493
|
//
|
494
494
|
if (this.model.rows.length > 0) {
|
495
495
|
let tempRow = this.model.rows
|
496
496
|
for (let i = 0; i < tempRow.length; i++) {
|
497
|
-
if (tempRow[i].f_repaire_type == '未处理') {
|
497
|
+
if (tempRow[i].f_repaire_type == '未处理' || !tempRow[i].f_repaire_type ) {
|
498
498
|
this.needRepair = true
|
499
499
|
return
|
500
500
|
}
|
Binary file
|
Binary file
|