1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
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
85
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<!--
* @Author: jiangzaicheng jiangzaicheng_jzc@163.com
* @Date: 2022-07-07 16:13:13
* @LastEditors: jiangzaicheng jiangzaicheng_jzc@163.com
* @LastEditTime: 2022-07-28 14:56:06
* @FilePath: \mcep-h5\src\components\common\Bottom.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="body">
<div class="rarle">
<tatle-bar :tatle="tatleName"></tatle-bar>
</div>
<div>
<div class="layout">
<van-row type="flex" class="CoolName">
<van-col span="24" class="coollayout">个人信息</van-col>
</van-row>
<div class="layoutbody">
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field label="身份证号" v-model="idcard" input-align="right" />
</van-cell-group>
</van-col>
</van-row>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field label="姓名" v-model="name" input-align="right" />
</van-cell-group>
</van-col>
</van-row>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field label="电话" v-model="phone" input-align="right" />
</van-cell-group>
</van-col>
</van-row>
</div>
<van-row type="flex" class="CoolName">
<van-col span="24" class="coollayout">借款信息</van-col>
</van-row>
<div class="layoutbody">
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field label="贷款品种" v-model="varieties" input-align="right" />
</van-cell-group>
</van-col>
</van-row>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field label="借款金额" v-model="amount" input-align="right" />
</van-cell-group>
</van-col>
</van-row>
<!-- <van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field label="借款期限" :value="borrow" input-align="right" />
</van-cell-group>
</van-col>
</van-row> -->
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-field is-link readonly :value="loanValue" label="借款用途" input-align="right" placeholder="请选择借款用途" @click="showLoan = true" />
<van-popup v-model="showLoan" round position="bottom">
<van-picker
show-toolbar
:columns="loanList"
@cancel="showLoan = false"
@confirm="onConfirmLoan"
/>
</van-popup>
</van-col>
</van-row>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-field :value="outcsinfo.place" is-link readonly label="意向地区" input-align="right" placeholder="请选择所在地区" @click="onAddress" />
<van-popup
v-model="showAddress"
position="bottom"
>
<van-area
title="请选择地区"
@confirm="changeAddress"
:area-list="areaList"
columns-num="3"
/>
</van-popup>
</van-col>
</van-row>
<van-divider :style="{ margin: 0 }"></van-divider>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-field is-link readonly :value="orgValue" label="意向机构" input-align="right" placeholder="请选择意向机构" @click="showOrg = true" />
<van-popup v-model="showOrg" round position="bottom">
<van-picker
show-toolbar
:columns="orgList"
@cancel="showOrg = false"
@confirm="onConfirmOrg"
/>
</van-popup>
</van-col>
</van-row>
<van-divider :style="{ margin: 0 }"></van-divider>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-field is-link readonly :value="mangerValue" label="意向客户经理" input-align="right" placeholder="请选择意向客户经理" @click="showManager = true" />
<van-popup v-model="showManager" round position="bottom">
<van-picker
show-toolbar
:columns="mangerList"
@cancel="showManager = false"
@confirm="onConfirmManager"
/>
</van-popup>
</van-col>
</van-row>
<van-divider :style="{ margin: 0 }"></van-divider>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-field readonly label="客户经理电话" :value="phoneCard" input-align="right" />
</van-cell-group>
</van-col>
</van-row>
<van-row type="flex" class="layoutName">
<van-col span="24">
<van-cell-group>
<van-button class="vbutton" block type="info" @click="recognition()">立即提交</van-button>
</van-cell-group>
</van-col>
</van-row>
</div>
</div>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
/*
* title
*/
import { Picker } from "vant";
import { area } from "../../model/domain/areaData";
import { Area } from "vant";
Vue.use(Picker);
@Component({
name: "Intention",
})
export default class Intention extends Vue {
tatleName = "产品意向申请";
//身份证
idcard = "23232111978211";
//姓名
name = "刘明明";
//电话
phone = "15665025053";
//贷款详情
varieties = "一般经营性贷款";
//借款金融
amount = "";
//借款期限
// borrow = "24月"
//借款用途
purposes = "经营";
//业务办理地区
// area = "黑龙江省-哈尔滨市-松北区"
//意向机构
intentions = "哈尔滨农信社松北区枝江大道分社";
//客户经理
customer = "赵恒请";
//客户经理电话
phoneCard = "15673989898";
//地区
show = false;
fieldValue = "";
cascaderValue = "";
showOrg = false;
orgValue = "";
showManager = false;
mangerValue = "";
mangerList = ["吕晨涛", "龙易轩","范丽","雷娟","郝芳"];
//机构列表
orgList = ["哈尔滨道里区支行", "哈尔滨松北区支行"];
areaList = area;
outcsinfo = {
place: "请选择地区", //出行地点
};
showAddress = false;
//借款用途
loanValue =''
showLoan = false
loanList = ["消费", "经营"];
onAddress() {
this.showAddress = true;
}
// 点击地址选择框的确认
changeAddress(event: any) {
// console.log(event,'返回格式数组')
this.showAddress = false;
let st = "";
event.forEach((item: any) => {
st = st + item.name;
});
this.outcsinfo.place = st;
}
onConfirmLoan(loanValue: string) {
this.loanValue = loanValue;
this.showLoan = false;
}
onConfirmOrg(orgValue: string) {
this.orgValue = orgValue;
this.showOrg = false;
}
onConfirmManager(mangerValue: string) {
this.mangerValue = mangerValue;
this.showManager = false;
}
// 选项列表,children 代表子选项,支持多级嵌套
// options = [
// {
// text: '浙江省',
// value: '330000',
// children: [{ text: '杭州市', value: '330100' }],
// },
// {
// text: '江苏省',
// value: '320000',
// children: [{ text: '南京市', value: '320100' }],
// },
// ]
// onFinish() {
// this.show = false;
// this.fieldValue = selectedOptions.map((option) => option.text).join('/');
// }
recognition() {
this.$router.push({
name: "LinSuccess",
});
}
}
</script>
<style scoped lang="scss">
.layout {
background: rgba(249, 249, 249, 1);
}
.coollayout {
margin: 3%;
}
.CoolName {
font-family: "Arial Negreta", "Arial Normal", "Arial";
font-weight: 700;
font-style: normal;
font-size: 16px;
}
.layoutName {
font-family: "Arial Normal", "Arial";
font-weight: 400;
font-style: normal;
font-size: 13px;
color: #333333;
}
</style>