safecheck-client 3.0.32 → 3.0.33-2
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/App.vue +31 -31
- 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/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/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/wensu/android/CurrentCreate.vue +1 -1
- package/src/filiale/wensu/pc/CheckSearchUser.vue +58 -53
- package/src/filiale/wensu/pc/DefectPaperNew.vue +15 -9
- 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 +5 -1
- package/src/filiale/wensu/pc.js +20 -19
- 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/zhongyi/pc/DefectListNew.vue +6 -6
- package/src/main.js +33 -33
- package/static/stretch_bottom.png +0 -0
- package/static/stretch_top.png +0 -0
@@ -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
|
@@ -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
|
}
|
package/src/main.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import App from './App'
|
3
|
-
import { all } from 'vue-client'
|
4
|
-
import { system } from 'system-clients'
|
5
|
-
import safecheck from './safecheck'
|
6
|
-
import echarts from 'echarts'
|
7
|
-
// import safecheck from './rongcheng'
|
8
|
-
|
9
|
-
all()
|
10
|
-
// 验证码开关赋值
|
11
|
-
var Verificationfalg = false
|
12
|
-
system(Verificationfalg)
|
13
|
-
// system()
|
14
|
-
safecheck(
|
15
|
-
// safecheck('rizhao')
|
16
|
-
require('./bootstrap/less/bootstrap.less')
|
17
|
-
require('./expandcss.less')
|
18
|
-
|
19
|
-
Vue.prototype.$echarts = echarts
|
20
|
-
Vue.android = false
|
21
|
-
|
22
|
-
Vue.url = '/SafeCheck/rs/'
|
23
|
-
if(Vue.android)
|
24
|
-
Vue.url = Vue.staticUrl
|
25
|
-
Vue.interval = 1*60*1000
|
26
|
-
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
-
Vue.mapSetup = false
|
28
|
-
|
29
|
-
/* eslint-disable no-new */
|
30
|
-
new Vue({
|
31
|
-
el: 'body',
|
32
|
-
components: { App }
|
33
|
-
})
|
1
|
+
import Vue from 'vue'
|
2
|
+
import App from './App'
|
3
|
+
import { all } from 'vue-client'
|
4
|
+
import { system } from 'system-clients'
|
5
|
+
import safecheck from './safecheck'
|
6
|
+
import echarts from 'echarts'
|
7
|
+
// import safecheck from './rongcheng'
|
8
|
+
|
9
|
+
all()
|
10
|
+
// 验证码开关赋值
|
11
|
+
var Verificationfalg = false
|
12
|
+
system(Verificationfalg)
|
13
|
+
// system()
|
14
|
+
safecheck('wensu');
|
15
|
+
// safecheck('rizhao')
|
16
|
+
require('./bootstrap/less/bootstrap.less')
|
17
|
+
require('./expandcss.less')
|
18
|
+
|
19
|
+
Vue.prototype.$echarts = echarts
|
20
|
+
Vue.android = false
|
21
|
+
|
22
|
+
Vue.url = '/SafeCheck/rs/'
|
23
|
+
if(Vue.android)
|
24
|
+
Vue.url = Vue.staticUrl
|
25
|
+
Vue.interval = 1*60*1000
|
26
|
+
Vue.nopic = 'file:///android_asset/nopic.png'
|
27
|
+
Vue.mapSetup = false
|
28
|
+
|
29
|
+
/* eslint-disable no-new */
|
30
|
+
new Vue({
|
31
|
+
el: 'body',
|
32
|
+
components: { App }
|
33
|
+
})
|
Binary file
|
Binary file
|