apply-clients 7.1.36-yuchuan-22 → 7.1.36-yuchuan-26
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/build/dev-server.js +6 -6
- package/package.json +1 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +8 -4
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -669
- package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -189
- package/src/components/product/Process/Processes/chargeManagement.vue +0 -1
- package/src/components/product/Process/Service/ServiceControl.vue +2 -2
|
@@ -1,189 +1,188 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main" style="height: 100%">
|
|
3
|
-
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-sm-2" >
|
|
8
|
-
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
-
v-model="model.startDate"
|
|
11
|
-
:value.sync="model.startDate"
|
|
12
|
-
:disabled-days-of-Week="[]"
|
|
13
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
-
condition="f_operate_date > '{}'"
|
|
15
|
-
:show-reset-button="reset">
|
|
16
|
-
</datepicker>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="col-sm-2" >
|
|
19
|
-
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
20
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
21
|
-
v-model="model.endDate"
|
|
22
|
-
:value.sync="model.endDate"
|
|
23
|
-
:disabled-days-of-Week="[]"
|
|
24
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
-
condition="f_operate_date < '{}'"
|
|
26
|
-
:show-reset-button="reset">
|
|
27
|
-
</datepicker>
|
|
28
|
-
</div><br>
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
:
|
|
49
|
-
:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<
|
|
57
|
-
<report-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<span v-show="$parent.
|
|
85
|
-
<span v-show="$parent.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
this.$refs.paged.$refs.criteria.model.
|
|
138
|
-
this
|
|
139
|
-
this.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
this.$refs.paged
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
this.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
this.$refs.paged.$refs.criteria.model.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
condition="f_operate_date > '{}'"
|
|
15
|
+
:show-reset-button="reset">
|
|
16
|
+
</datepicker>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2" >
|
|
19
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
20
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
21
|
+
v-model="model.endDate"
|
|
22
|
+
:value.sync="model.endDate"
|
|
23
|
+
:disabled-days-of-Week="[]"
|
|
24
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
+
condition="f_operate_date < '{}'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div><br> <div class="col-sm-2" style="margin-top: -24px">
|
|
29
|
+
<label class="font_normal_body" for="f_insurance_company">保险公司:</label>
|
|
30
|
+
<v-select
|
|
31
|
+
placeholder='请选择'
|
|
32
|
+
v-model="model.f_insurance_company"
|
|
33
|
+
condition="f_insurance_company = '{}'"
|
|
34
|
+
@change="$parent.$parent.changeCompany"
|
|
35
|
+
:value.sync="model.f_insurance_company"
|
|
36
|
+
:options="$parent.$parent.applyCompany"
|
|
37
|
+
:value-single="true"
|
|
38
|
+
style="margin-left:-12px"
|
|
39
|
+
close-on-select></v-select>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-2" style="margin-top: -24px">
|
|
42
|
+
<label class="font_normal_body" for="f_insurance_company">保险类型:</label>
|
|
43
|
+
<v-select
|
|
44
|
+
placeholder='请选择'
|
|
45
|
+
v-model="model.f_insurance_type"
|
|
46
|
+
condition="f_insurance_type = '{}'"
|
|
47
|
+
:value.sync="model.f_insurance_type"
|
|
48
|
+
:options="$parent.$parent.applyType"
|
|
49
|
+
:value-single="true"
|
|
50
|
+
style="margin-left:-12px"
|
|
51
|
+
close-on-select></v-select>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="span" style = "float:right;">
|
|
55
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
56
|
+
<report-print id='gasprice1' top='1cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
57
|
+
<report-excel id='gasprice1'></report-excel>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</criteria>
|
|
61
|
+
<div partial='list' v-el:handcollect id='gasprice1' style="overflow-y: scroll">
|
|
62
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
63
|
+
<thead>
|
|
64
|
+
<tr>
|
|
65
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
66
|
+
<h3 style="text-align: center">保险报表查询</h3>
|
|
67
|
+
</th>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
71
|
+
开始时间:{{ $refs.criteria.model.startDate }}
|
|
72
|
+
结束时间:{{ $refs.criteria.model.endDate }}
|
|
73
|
+
</th>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr>
|
|
76
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
77
|
+
打印时间:{{{$parent.printTime}}}
|
|
78
|
+
</th>
|
|
79
|
+
</tr>
|
|
80
|
+
<tr>
|
|
81
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
82
|
+
<div>
|
|
83
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
84
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
85
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
86
|
+
</div>
|
|
87
|
+
</th>
|
|
88
|
+
</tr>
|
|
89
|
+
</thead>
|
|
90
|
+
<tr>
|
|
91
|
+
<td :colspan='$parent.spans' class="norder">
|
|
92
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
93
|
+
</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tfoot>
|
|
96
|
+
</tfoot>
|
|
97
|
+
</table>
|
|
98
|
+
</div>
|
|
99
|
+
</criteria-paged>
|
|
100
|
+
</div>
|
|
101
|
+
</template>
|
|
102
|
+
|
|
103
|
+
<script>
|
|
104
|
+
import { DataModel } from 'vue-client'
|
|
105
|
+
export default {
|
|
106
|
+
title: '保险报表查询',
|
|
107
|
+
props: ['data'],
|
|
108
|
+
data () {
|
|
109
|
+
return {
|
|
110
|
+
printTime: this.$login.toStandardTimeString(),
|
|
111
|
+
depresid: [],
|
|
112
|
+
userresid: [],
|
|
113
|
+
f_orgid: this.$login.f.orgid,
|
|
114
|
+
f_depid: this.$login.f.depids,
|
|
115
|
+
f_operatorid: this.$login.f.id,
|
|
116
|
+
operatorid: [],
|
|
117
|
+
depid: [],
|
|
118
|
+
orgname: '',
|
|
119
|
+
depname: '',
|
|
120
|
+
operatorname: '',
|
|
121
|
+
f_inputtor: [],
|
|
122
|
+
f_user_type: '',
|
|
123
|
+
orgCondtionStr: '1=1',
|
|
124
|
+
model: new DataModel('rs/apply/report/apply-insurance-yuchuan', {
|
|
125
|
+
startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
126
|
+
f_orgid: 'this.model.f_orgid', f_insurance_company: 'this.model.f_insurance_company' ,
|
|
127
|
+
f_insurance_type: 'this.model.f_insurance_type'
|
|
128
|
+
}),
|
|
129
|
+
reportStr: null,
|
|
130
|
+
spans: 0,
|
|
131
|
+
applyCompany: [],
|
|
132
|
+
applyType: []
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
ready () {
|
|
136
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
137
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
138
|
+
this.searchData()
|
|
139
|
+
this.applyCompany = this.$appdata.getParam('保险公司')
|
|
140
|
+
},
|
|
141
|
+
created () {
|
|
142
|
+
this.$nextTick(() => {
|
|
143
|
+
this.$watch(this.$refs.paged.$refs.criteria.model.f_insurance_company, function () {
|
|
144
|
+
console.log(123)
|
|
145
|
+
})
|
|
146
|
+
})
|
|
147
|
+
},
|
|
148
|
+
methods: {
|
|
149
|
+
searchData () {
|
|
150
|
+
this.$refs.paged.$refs.criteria.search()
|
|
151
|
+
},
|
|
152
|
+
selfSearch(args) {
|
|
153
|
+
console.log(args)
|
|
154
|
+
let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
|
|
155
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
156
|
+
this.$refs.paged.search(args)
|
|
157
|
+
},
|
|
158
|
+
getRes (obj) {
|
|
159
|
+
this.orgname = obj.res[0]
|
|
160
|
+
// this.depresid = obj.resids
|
|
161
|
+
this.f_orgid = obj.resids
|
|
162
|
+
},
|
|
163
|
+
changeCompany () {
|
|
164
|
+
this.$refs.paged.$refs.criteria.model.f_insurance_type = ''
|
|
165
|
+
if (this.$refs.paged.$refs.criteria.model.f_insurance_company === '中国太平洋保险') {
|
|
166
|
+
this.applyType = this.$appdata.getParam('中国太平洋保险')
|
|
167
|
+
} else if (this.$refs.paged.$refs.criteria.model.f_insurance_company === '中意财险') {
|
|
168
|
+
this.applyType = this.$appdata.getParam('中意财险')
|
|
169
|
+
} else {
|
|
170
|
+
this.applyType = []
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
watch: {
|
|
175
|
+
'model.data' (val) {
|
|
176
|
+
this.spans = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
|
|
177
|
+
},
|
|
178
|
+
'this.$refs.paged.$refs.criteria.model.f_insurance_company' (val) {
|
|
179
|
+
console.log(val)
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
</script>
|
|
184
|
+
<style scoped>
|
|
185
|
+
.noborder {
|
|
186
|
+
border: none;
|
|
187
|
+
}
|
|
188
|
+
</style>
|
|
@@ -1149,7 +1149,7 @@ export default {
|
|
|
1149
1149
|
async getResidentialArea () {
|
|
1150
1150
|
let data = {
|
|
1151
1151
|
tablename: 't_area_address',
|
|
1152
|
-
condition: `f_filiale
|
|
1152
|
+
condition: `f_filiale in ('${this.$login.f.orgs}','榆林.榆川天然气') and f_area_status = '启用'`
|
|
1153
1153
|
}
|
|
1154
1154
|
let http = new HttpResetClass()
|
|
1155
1155
|
let res = await http.load(
|
|
@@ -1940,7 +1940,7 @@ export default {
|
|
|
1940
1940
|
let pcdText = `and f_residential_area like '%${val}%'`
|
|
1941
1941
|
let data = {
|
|
1942
1942
|
tablename: 't_area_address',
|
|
1943
|
-
condition: `f_filiale like '%${
|
|
1943
|
+
condition: `f_filiale like '%${this.$login.f.orgs}%' and f_area_status = '启用' ${pcdText}`
|
|
1944
1944
|
}
|
|
1945
1945
|
new HttpResetClass().load("POST", `rs/sql/applySingleTable`, {data:data}, {resolveMsg: null, rejectMsg: null}).then((res)=>{
|
|
1946
1946
|
console.log('请求发送完成!!!!!'+JSON.stringify(res))
|