safecheck-client 3.0.35-43 → 3.0.35-46
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/components/android/PhoneotherInfo.vue +0 -14
- package/src/components/android/PhoneotherInfov3.vue +118 -0
- package/src/filiale/bayan/pc/DefectPaperNew.vue +22 -1
- package/src/filiale/huaran/pc/PlanManage.vue +940 -934
- package/src/filiale/rizhao/pc/NewCheckpaper.vue +9 -4
- package/src/filiale/shanxian/pc/SelectCheckPlan.vue +21 -0
- package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +495 -495
- package/src/main.js +1 -1
- package/src/safecheck-android.js +1 -0
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "safecheck-client",
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
4
|
-
"version": "3.0.35-
|
4
|
+
"version": "3.0.35-46",
|
5
5
|
"description": "安检模块 前端组件",
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
7
7
|
"license": "ISC",
|
@@ -90,14 +90,6 @@
|
|
90
90
|
}
|
91
91
|
},
|
92
92
|
watch: {
|
93
|
-
'user' (val) {
|
94
|
-
if(this.user){
|
95
|
-
if (!(this.user.isNuN)) {
|
96
|
-
this.model= []
|
97
|
-
this.getmodel()
|
98
|
-
}
|
99
|
-
}
|
100
|
-
},
|
101
93
|
'f_userinfo_id'(){
|
102
94
|
if(this.f_userinfo_id){
|
103
95
|
this.model= []
|
@@ -106,12 +98,6 @@
|
|
106
98
|
}
|
107
99
|
},
|
108
100
|
ready () {
|
109
|
-
if (this.user && this.user.f_userinfo_id) {
|
110
|
-
this.getmodel()
|
111
|
-
}
|
112
|
-
if(this.f_userinfo_id){
|
113
|
-
this.getmodel()
|
114
|
-
}
|
115
101
|
}
|
116
102
|
}
|
117
103
|
</script>
|
@@ -0,0 +1,118 @@
|
|
1
|
+
<template >
|
2
|
+
<div class="panel panel-default auto repair-info-content">
|
3
|
+
<div class="panel-body">
|
4
|
+
<div class="panel panel-default well" v-for="row in model">
|
5
|
+
<div class="bg-info">
|
6
|
+
<div class="row form-group">
|
7
|
+
<div class="col-xs-12 col-sm-12 col-md-12">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
10
|
+
收费类型: {{row.f_brand_spec}}
|
11
|
+
</div>
|
12
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
13
|
+
品名规格: {{row.f_typename}}
|
14
|
+
</div>
|
15
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
16
|
+
单价: {{row.f_collection}}
|
17
|
+
</div>
|
18
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
19
|
+
数量: {{row.f_number}}
|
20
|
+
</div>
|
21
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
22
|
+
收款: {{row.f_money}}
|
23
|
+
</div>
|
24
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
25
|
+
付款方式: {{row.f_payment}}
|
26
|
+
</div>
|
27
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
28
|
+
状态: {{row.f_state}}
|
29
|
+
</div>
|
30
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
31
|
+
收费日期: {{row.f_operate_date}}
|
32
|
+
</div>
|
33
|
+
<div class="col-xs-6 col-sm-6 col-md-6">
|
34
|
+
服务人员: {{row.f_operator}}
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<p v-show="model.length == 0 && noExp ">此用户暂无其他收费记录</p>
|
42
|
+
<p v-show="model.length == 0 && !noExp ">{{expMsg}}</p>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</template>
|
46
|
+
|
47
|
+
<script>
|
48
|
+
import { PagedList } from 'vue-client'
|
49
|
+
import co from 'co'
|
50
|
+
import Vue from 'vue'
|
51
|
+
export default {
|
52
|
+
title: '查询其他收费记录',
|
53
|
+
data () {
|
54
|
+
return {
|
55
|
+
model: [],
|
56
|
+
show: false,
|
57
|
+
row: Object,
|
58
|
+
noExp: false,
|
59
|
+
expMsg: '查询中......'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
props: {
|
63
|
+
user: {
|
64
|
+
type: Object
|
65
|
+
},
|
66
|
+
f_userinfo_id:''
|
67
|
+
},
|
68
|
+
methods: {
|
69
|
+
getmodel () {
|
70
|
+
let userinfoid
|
71
|
+
if(this.f_userinfo_id){
|
72
|
+
userinfoid = this.f_userinfo_id
|
73
|
+
}else{
|
74
|
+
userinfoid = this.user.f_userinfoid
|
75
|
+
console.log(this.user.f_userinfo_id)
|
76
|
+
}
|
77
|
+
console.log(userinfoid)
|
78
|
+
this.noExp = false
|
79
|
+
this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/otherChargeQuery`, {data: {
|
80
|
+
condition: ` f_orgid in ('${Vue.user.orgid}') and f_userinfo_id = '${userinfoid}' and f_state = '有效'`,
|
81
|
+
orderitem: "f_operate_date desc"
|
82
|
+
}
|
83
|
+
}).then((row) => {
|
84
|
+
this.model = row.data
|
85
|
+
this.noExp = true
|
86
|
+
})
|
87
|
+
},
|
88
|
+
back(){
|
89
|
+
|
90
|
+
}
|
91
|
+
},
|
92
|
+
watch: {
|
93
|
+
'f_userinfo_id'(){
|
94
|
+
if(this.f_userinfo_id){
|
95
|
+
this.model= []
|
96
|
+
this.getmodel()
|
97
|
+
}
|
98
|
+
}
|
99
|
+
},
|
100
|
+
ready () {
|
101
|
+
}
|
102
|
+
}
|
103
|
+
</script>
|
104
|
+
<style>
|
105
|
+
.app-botton {
|
106
|
+
position:fixed;
|
107
|
+
background: #87b2dd;
|
108
|
+
color: #FFF;
|
109
|
+
padding: 8px;
|
110
|
+
text-align: center;
|
111
|
+
font-size: 1.2em;
|
112
|
+
z-index: 10;
|
113
|
+
opacity:0.5;
|
114
|
+
bottom: 50px;
|
115
|
+
margin-top: -10px;
|
116
|
+
height: 40px;
|
117
|
+
}
|
118
|
+
</style>
|
@@ -231,6 +231,15 @@
|
|
231
231
|
close-on-select
|
232
232
|
condition="f_check_type = '{}'"></v-select>
|
233
233
|
</div>
|
234
|
+
<div :class="$parent.$parent.style">
|
235
|
+
<label class="font_normal_body">隐患等级</label>
|
236
|
+
<v-select :value.sync="model.f_defect_level" v-model='model.f_defect_level'
|
237
|
+
:value-single="true" style="width: 60%"
|
238
|
+
class="select_list select"
|
239
|
+
:options='$parent.$parent.defectlevels' placeholder='隐患等级'
|
240
|
+
close-on-select
|
241
|
+
></v-select>
|
242
|
+
</div>
|
234
243
|
</div>
|
235
244
|
|
236
245
|
<div v-show="$parent.$parent.$parent.showItem" class="row">
|
@@ -436,7 +445,15 @@
|
|
436
445
|
style="width:60%">
|
437
446
|
</datepicker>
|
438
447
|
</div>
|
439
|
-
|
448
|
+
<div :class="$parent.$parent.style">
|
449
|
+
<label class="font_normal_body">隐患等级</label>
|
450
|
+
<v-select :value.sync="model.f_defect_level" v-model='model.f_defect_level'
|
451
|
+
:value-single="true" style="width: 60%"
|
452
|
+
class="select_list select"
|
453
|
+
:options='$parent.$parent.defectlevels' placeholder='隐患等级'
|
454
|
+
close-on-select
|
455
|
+
></v-select>
|
456
|
+
</div>
|
440
457
|
</div>
|
441
458
|
</div>
|
442
459
|
</criteria>
|
@@ -648,6 +665,7 @@ export default {
|
|
648
665
|
model.f_defect_content = "CASE WHEN CHARINDEX( '\"result\":\"正常\"', f_defect_content ) > 0 THEN '无隐患' ELSE replace(replace(replace( replace( RIGHT ( f_defect_content, len( f_defect_content ) - 26 ), substring('{}',2,1), '' ), substring('{}',1,1), '' ),']',''),'\"','') END"
|
649
666
|
return {
|
650
667
|
checktype: this.$appdata.getParam('用户类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]:[{label: '全部', value: ''}],
|
668
|
+
defectlevels: [{label: '全部', value: ''},{label: '一级隐患', value: 'f_fist_count'}, {label: '二级隐患', value: 'f_second_count '}, {label: '三级隐患', value: 'f_third_count'}],
|
651
669
|
quyus: [{label: '请选择', value: ''}, ...this.$appdata.getParam('区域')],
|
652
670
|
bumens: [{label: '请选择', value: ''}],
|
653
671
|
teams: [{label: '请选择', value: ''}],
|
@@ -1127,6 +1145,9 @@ export default {
|
|
1127
1145
|
if (this.f_check_plan.f_plan_name) {
|
1128
1146
|
args.condition += ` and f_check_plan_id = '${this.f_check_plan.id}'`
|
1129
1147
|
}
|
1148
|
+
if (args.model.f_defect_level){
|
1149
|
+
args.condition += ` and ${args.model.f_defect_level} > 0 `
|
1150
|
+
}
|
1130
1151
|
this.checkes = []
|
1131
1152
|
this.checkAll = false
|
1132
1153
|
this.model.search(args.condition, args.model)
|