safecheck-client 3.0.39-22 → 3.0.39-24
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 +1 -1
- package/src/filiale/bayan/pc/SummaryOfSecurityInspectionProgress.vue +173 -173
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/PhoneInsurancePurchaseDetail.vue +531 -498
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.39-
|
|
4
|
+
"version": "3.0.39-24",
|
|
5
5
|
"description": "安检模块 前端组件",
|
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
6
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="form-group col-sm-2">
|
|
9
|
-
<label class="font_normal_body">安检时间</label>
|
|
10
|
-
<datepicker
|
|
11
|
-
:value.sync="model.f_start_time"
|
|
12
|
-
placeholder='开始时间' style="width: 60%"
|
|
13
|
-
:disabled-days-of-week="[]"
|
|
14
|
-
:format="'yyyy-MM-dd'"
|
|
15
|
-
:show-rest-button="reset"
|
|
16
|
-
v-model="model.f_start_time"
|
|
17
|
-
condition="f_offsite_time > ='{} 00:00:00'">
|
|
18
|
-
</datepicker>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="form-group col-sm-2">
|
|
21
|
-
<label class="font_normal_body">安检时间</label>
|
|
22
|
-
<datepicker
|
|
23
|
-
:value.sync="model.f_end_time"
|
|
24
|
-
placeholder='结束时间' style="width: 60%"
|
|
25
|
-
:disabled-days-of-week="[]"
|
|
26
|
-
:format="'yyyy-MM-dd'"
|
|
27
|
-
:show-rest-button="reset"
|
|
28
|
-
v-model="model.f_end_time"
|
|
29
|
-
condition="f_offsite_time <= '{} 23:59:59'">
|
|
30
|
-
</datepicker>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="form-group col-sm-2">
|
|
33
|
-
<label class="font_normal_body">档案创建时间</label>
|
|
34
|
-
<datepicker
|
|
35
|
-
:value.sync="$parent.$parent.da_starttime"
|
|
36
|
-
placeholder='开始时间' style="width: 60%"
|
|
37
|
-
:disabled-days-of-week="[]"
|
|
38
|
-
:format="'yyyy-MM-dd'"
|
|
39
|
-
:show-rest-button="reset"
|
|
40
|
-
v-model="$parent.$parent.da_starttime"
|
|
41
|
-
>
|
|
42
|
-
</datepicker>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="form-group col-sm-2">
|
|
45
|
-
<label class="font_normal_body">档案创建时间</label>
|
|
46
|
-
<datepicker
|
|
47
|
-
:value.sync="$parent.$parent.da_endtime"
|
|
48
|
-
placeholder='结束时间' style="width: 60%"
|
|
49
|
-
:disabled-days-of-week="[]"
|
|
50
|
-
:format="'yyyy-MM-dd'"
|
|
51
|
-
:show-rest-button="reset"
|
|
52
|
-
v-model="$parent.$parent.da_endtime">
|
|
53
|
-
</datepicker>
|
|
54
|
-
</div>
|
|
55
|
-
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
|
56
|
-
<export-excel-safe :data="$parent.$parent.searchData"
|
|
57
|
-
:field="$parent.$parent.excelHeaders"
|
|
58
|
-
:choose-col="true"
|
|
59
|
-
sqlurl="rs/logic/SafeExportExcel" sql-name="summaryOfSecurityInspectionProgress" template-name='安检进度汇总'></export-excel-safe>
|
|
60
|
-
<button class="button_spacing button_search" @click="search()">查询</button>
|
|
61
|
-
<button class="button_spacing button_search" @click="model = {}">清空</button>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</criteria>
|
|
66
|
-
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
|
67
|
-
<template partial='head'>
|
|
68
|
-
<tr>
|
|
69
|
-
<th>
|
|
70
|
-
<nobr>区域</nobr>
|
|
71
|
-
</th>
|
|
72
|
-
<th>
|
|
73
|
-
<nobr>档案用户数</nobr>
|
|
74
|
-
</th>
|
|
75
|
-
<th>
|
|
76
|
-
<nobr>计划内用户数</nobr>
|
|
77
|
-
</th>
|
|
78
|
-
<th>
|
|
79
|
-
<nobr>已安检</nobr>
|
|
80
|
-
</th>
|
|
81
|
-
<th>
|
|
82
|
-
<nobr>已入户</nobr>
|
|
83
|
-
</th>
|
|
84
|
-
<th>
|
|
85
|
-
<nobr>入户率</nobr>
|
|
86
|
-
</th>
|
|
87
|
-
<th>
|
|
88
|
-
<nobr>无计划安检数</nobr>
|
|
89
|
-
</th>
|
|
90
|
-
<th>
|
|
91
|
-
<nobr>完成率</nobr>
|
|
92
|
-
</th>
|
|
93
|
-
</tr>
|
|
94
|
-
</template>
|
|
95
|
-
<template partial='body'>
|
|
96
|
-
<td style="text-align: center" >{{row.f_user_region}}</td>
|
|
97
|
-
<td style="text-align: center" >{{row.da_count}}</td>
|
|
98
|
-
<td style="text-align: center" >{{row.f_plan_num}}</td>
|
|
99
|
-
<td style="text-align: center" >{{row.f_safe_name}}</td>
|
|
100
|
-
<td style="text-align: center" >{{row.f_ruhu_name}}</td>
|
|
101
|
-
<td style="text-align: center" >{{row.f_ruhu_bv}}</td>
|
|
102
|
-
<td style="text-align: center" >{{row.f_nosafe_num}}</td>
|
|
103
|
-
<td style="text-align: center" >{{row.f_wc_bv}}</td>
|
|
104
|
-
</template>
|
|
105
|
-
</data-grid>
|
|
106
|
-
</criteria-paged>
|
|
107
|
-
</div>
|
|
108
|
-
</div>
|
|
109
|
-
</template>
|
|
110
|
-
|
|
111
|
-
<script>
|
|
112
|
-
import {PagedList} from 'vue-client'
|
|
113
|
-
|
|
114
|
-
export default {
|
|
115
|
-
title: '安检进度汇总',
|
|
116
|
-
data() {
|
|
117
|
-
return {
|
|
118
|
-
model: new PagedList('rs/sql/summaryOfSecurityInspectionProgress', 20,{
|
|
119
|
-
condition1:'this.condition1',
|
|
120
|
-
condition2:'this.condition2',
|
|
121
|
-
}),
|
|
122
|
-
searchData: {
|
|
123
|
-
condition1: "1=1",
|
|
124
|
-
condition2: "1=1"
|
|
125
|
-
},
|
|
126
|
-
da_starttime:'',
|
|
127
|
-
da_endtime:'',
|
|
128
|
-
excelHeaders: {
|
|
129
|
-
'f_user_region': '区域',
|
|
130
|
-
'da_count': '档案数',
|
|
131
|
-
'f_plan_num': '计划内用户数',
|
|
132
|
-
'f_safe_name': '已安检',
|
|
133
|
-
'f_ruhu_name': '已入户',
|
|
134
|
-
'f_ruhu_bv': '入户率',
|
|
135
|
-
'f_nosafe_num': '无计划安检数',
|
|
136
|
-
'f_wc_bv': '完成率'
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
methods: {
|
|
141
|
-
selfSearch(args) {
|
|
142
|
-
let tempStr = args.condition
|
|
143
|
-
let condition1 = tempStr
|
|
144
|
-
let condition2 = ' 1=1 '
|
|
145
|
-
if (this.da_starttime){
|
|
146
|
-
condition2 += ` and tu.f_open_date >= '${this.da_starttime}' `
|
|
147
|
-
}
|
|
148
|
-
if (this.da_endtime){
|
|
149
|
-
condition2 += ` and tu.f_open_date <= '${this.da_endtime}' `
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
this.model.condition1=condition1
|
|
153
|
-
this.model.condition2=condition2
|
|
154
|
-
|
|
155
|
-
this.searchData.condition1 = condition1
|
|
156
|
-
this.searchData.condition2 = condition2
|
|
157
|
-
this.model.search(args.condition, args.model, args.condValue)
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
ready() {
|
|
161
|
-
|
|
162
|
-
},
|
|
163
|
-
watch: {
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
computed: {
|
|
167
|
-
selected() {
|
|
168
|
-
return this.$refs.paged.$refs.grid.selected
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria partial='criteria' class="search_area" @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-2">
|
|
9
|
+
<label class="font_normal_body">安检时间</label>
|
|
10
|
+
<datepicker
|
|
11
|
+
:value.sync="model.f_start_time"
|
|
12
|
+
placeholder='开始时间' style="width: 60%"
|
|
13
|
+
:disabled-days-of-week="[]"
|
|
14
|
+
:format="'yyyy-MM-dd'"
|
|
15
|
+
:show-rest-button="reset"
|
|
16
|
+
v-model="model.f_start_time"
|
|
17
|
+
condition="f_offsite_time > ='{} 00:00:00'">
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="form-group col-sm-2">
|
|
21
|
+
<label class="font_normal_body">安检时间</label>
|
|
22
|
+
<datepicker
|
|
23
|
+
:value.sync="model.f_end_time"
|
|
24
|
+
placeholder='结束时间' style="width: 60%"
|
|
25
|
+
:disabled-days-of-week="[]"
|
|
26
|
+
:format="'yyyy-MM-dd'"
|
|
27
|
+
:show-rest-button="reset"
|
|
28
|
+
v-model="model.f_end_time"
|
|
29
|
+
condition="f_offsite_time <= '{} 23:59:59'">
|
|
30
|
+
</datepicker>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="form-group col-sm-2">
|
|
33
|
+
<label class="font_normal_body">档案创建时间</label>
|
|
34
|
+
<datepicker
|
|
35
|
+
:value.sync="$parent.$parent.da_starttime"
|
|
36
|
+
placeholder='开始时间' style="width: 60%"
|
|
37
|
+
:disabled-days-of-week="[]"
|
|
38
|
+
:format="'yyyy-MM-dd'"
|
|
39
|
+
:show-rest-button="reset"
|
|
40
|
+
v-model="$parent.$parent.da_starttime"
|
|
41
|
+
>
|
|
42
|
+
</datepicker>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="form-group col-sm-2">
|
|
45
|
+
<label class="font_normal_body">档案创建时间</label>
|
|
46
|
+
<datepicker
|
|
47
|
+
:value.sync="$parent.$parent.da_endtime"
|
|
48
|
+
placeholder='结束时间' style="width: 60%"
|
|
49
|
+
:disabled-days-of-week="[]"
|
|
50
|
+
:format="'yyyy-MM-dd'"
|
|
51
|
+
:show-rest-button="reset"
|
|
52
|
+
v-model="$parent.$parent.da_endtime">
|
|
53
|
+
</datepicker>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
|
56
|
+
<export-excel-safe :data="$parent.$parent.searchData"
|
|
57
|
+
:field="$parent.$parent.excelHeaders"
|
|
58
|
+
:choose-col="true"
|
|
59
|
+
sqlurl="rs/logic/SafeExportExcel" sql-name="summaryOfSecurityInspectionProgress" template-name='安检进度汇总'></export-excel-safe>
|
|
60
|
+
<button class="button_spacing button_search" @click="search()">查询</button>
|
|
61
|
+
<button class="button_spacing button_search" @click="model = {}">清空</button>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</criteria>
|
|
66
|
+
<data-grid class="list_area table_sy" style="overflow: hidden" :model="model" partial='list' v-ref:grid>
|
|
67
|
+
<template partial='head'>
|
|
68
|
+
<tr>
|
|
69
|
+
<th>
|
|
70
|
+
<nobr>区域</nobr>
|
|
71
|
+
</th>
|
|
72
|
+
<th>
|
|
73
|
+
<nobr>档案用户数</nobr>
|
|
74
|
+
</th>
|
|
75
|
+
<th>
|
|
76
|
+
<nobr>计划内用户数</nobr>
|
|
77
|
+
</th>
|
|
78
|
+
<th>
|
|
79
|
+
<nobr>已安检</nobr>
|
|
80
|
+
</th>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>已入户</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>入户率</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>无计划安检数</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>完成率</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
</tr>
|
|
94
|
+
</template>
|
|
95
|
+
<template partial='body'>
|
|
96
|
+
<td style="text-align: center" >{{row.f_user_region}}</td>
|
|
97
|
+
<td style="text-align: center" >{{row.da_count}}</td>
|
|
98
|
+
<td style="text-align: center" >{{row.f_plan_num}}</td>
|
|
99
|
+
<td style="text-align: center" >{{row.f_safe_name}}</td>
|
|
100
|
+
<td style="text-align: center" >{{row.f_ruhu_name}}</td>
|
|
101
|
+
<td style="text-align: center" >{{row.f_ruhu_bv}}</td>
|
|
102
|
+
<td style="text-align: center" >{{row.f_nosafe_num}}</td>
|
|
103
|
+
<td style="text-align: center" >{{row.f_wc_bv}}</td>
|
|
104
|
+
</template>
|
|
105
|
+
</data-grid>
|
|
106
|
+
</criteria-paged>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</template>
|
|
110
|
+
|
|
111
|
+
<script>
|
|
112
|
+
import {PagedList} from 'vue-client'
|
|
113
|
+
|
|
114
|
+
export default {
|
|
115
|
+
title: '安检进度汇总',
|
|
116
|
+
data() {
|
|
117
|
+
return {
|
|
118
|
+
model: new PagedList('rs/sql/summaryOfSecurityInspectionProgress', 20,{
|
|
119
|
+
condition1:'this.condition1',
|
|
120
|
+
condition2:'this.condition2',
|
|
121
|
+
}),
|
|
122
|
+
searchData: {
|
|
123
|
+
condition1: "1=1",
|
|
124
|
+
condition2: "1=1"
|
|
125
|
+
},
|
|
126
|
+
da_starttime:'',
|
|
127
|
+
da_endtime:'',
|
|
128
|
+
excelHeaders: {
|
|
129
|
+
'f_user_region': '区域',
|
|
130
|
+
'da_count': '档案数',
|
|
131
|
+
'f_plan_num': '计划内用户数',
|
|
132
|
+
'f_safe_name': '已安检',
|
|
133
|
+
'f_ruhu_name': '已入户',
|
|
134
|
+
'f_ruhu_bv': '入户率',
|
|
135
|
+
'f_nosafe_num': '无计划安检数',
|
|
136
|
+
'f_wc_bv': '完成率'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
methods: {
|
|
141
|
+
selfSearch(args) {
|
|
142
|
+
let tempStr = args.condition
|
|
143
|
+
let condition1 = tempStr
|
|
144
|
+
let condition2 = ' 1=1 '
|
|
145
|
+
if (this.da_starttime){
|
|
146
|
+
condition2 += ` and tu.f_open_date >= '${this.da_starttime}' `
|
|
147
|
+
}
|
|
148
|
+
if (this.da_endtime){
|
|
149
|
+
condition2 += ` and tu.f_open_date <= '${this.da_endtime}' `
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
this.model.condition1=condition1
|
|
153
|
+
this.model.condition2=condition2
|
|
154
|
+
|
|
155
|
+
this.searchData.condition1 = condition1
|
|
156
|
+
this.searchData.condition2 = condition2
|
|
157
|
+
this.model.search(args.condition, args.model, args.condValue)
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
ready() {
|
|
161
|
+
|
|
162
|
+
},
|
|
163
|
+
watch: {
|
|
164
|
+
|
|
165
|
+
},
|
|
166
|
+
computed: {
|
|
167
|
+
selected() {
|
|
168
|
+
return this.$refs.paged.$refs.grid.selected
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
}
|
|
173
|
+
</script>
|
|
@@ -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')
|
|
@@ -729,7 +729,7 @@ export default {
|
|
|
729
729
|
this.f_items[this.f_gas_aberrant_number.index].f_is_defect = false
|
|
730
730
|
if(val=='已用气量'){
|
|
731
731
|
//剩余气量 = 累购-已用
|
|
732
|
-
this.f_items[this.f_gas_balance.index].f_item_value= this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value
|
|
732
|
+
this.f_items[this.f_gas_balance.index].f_item_value= (this.f_items[this.f_total_gas.index].f_item_value-this.f_items[this.f_table_base.index].f_item_value).toFixed(2)
|
|
733
733
|
if (isNaN(this.f_items[this.f_gas_balance.index].f_item_value)) {
|
|
734
734
|
this.f_items[this.f_gas_balance.index].f_item_value = null
|
|
735
735
|
}
|