Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
portalhtml
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rex
portalhtml
Commits
06c249ad
Commit
06c249ad
authored
Oct 15, 2021
by
qinj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册界面修改
parent
03e21c7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
32 deletions
+47
-32
index.vue
src/views/login/city-register/index.vue
+8
-14
index.vue
src/views/login/prov-register/index.vue
+39
-18
No files found.
src/views/login/city-register/index.vue
View file @
06c249ad
...
...
@@ -19,7 +19,7 @@
<el-form-item
label=
"公司全称:"
label-width=
"150px"
>
<el-input
v-model=
"formData.
N
ame"
<el-input
v-model=
"formData.
n
ame"
readonly
placeholder=
'请选择公司'
style=
"width: 100%"
>
...
...
@@ -283,7 +283,7 @@
</el-row>
<el-row>
<el-col
align=
"center"
>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"handleApprove"
>
提交
</el-button>
<el-button
type=
"primary"
:loading=
"
btn
loading"
@
click=
"handleApprove"
>
提交
</el-button>
</el-col>
</el-row>
</el-form>
...
...
@@ -350,7 +350,7 @@ export default {
inputEnter
:
false
,
countryArea
:
''
,
title
:
'城市代理商注册'
,
loading
:
false
,
btn
loading
:
false
,
formInline
:
{},
recordList
:
[],
tableData
:
[],
...
...
@@ -425,7 +425,7 @@ export default {
this
.
$request
(
Qcc
.
detailUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
formData
.
extCorporateName_SDK
=
row
.
OperName
this
.
formData
.
extSocialUnifiedCreditCode_SDK
=
row
.
CreditCode
this
.
formData
.
N
ame
=
row
.
Name
this
.
formData
.
n
ame
=
row
.
Name
this
.
formData
.
extRegisteredCapital_SDK
=
resp
.
results
.
Result
.
RegistCapi
this
.
dialogTableVisible
=
false
})
...
...
@@ -443,20 +443,14 @@ export default {
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// })
this
.
formData
.
ExtCustomerType_SDK
=
111
this
.
loading
=
true
this
.
btn
loading
=
true
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
loading
=
false
// console.log(resp)
if
(
resp
.
results
.
length
<
40
){
this
.
btnloading
=
false
this
.
$message
.
success
(
'提交成功!'
)
this
.
handleClickGoBack
()
}
else
{
this
.
loading
=
false
this
.
$message
.
error
(
'提交失败!'
)
}
this
.
$router
.
back
()
})
}
else
{
this
.
loading
=
false
this
.
btn
loading
=
false
this
.
$message
.
warning
(
'请输入必填信息!'
)
}
});
...
...
src/views/login/prov-register/index.vue
View file @
06c249ad
...
...
@@ -19,7 +19,7 @@
<el-form-item
label=
"公司全称:"
label-width=
"150px"
>
<el-input
v-model=
"formData.
N
ame"
<el-input
v-model=
"formData.
n
ame"
readonly
placeholder=
'请选择公司'
style=
"width: 100%"
>
...
...
@@ -103,7 +103,7 @@
prop=
"extProvince_SDK"
label-width=
"80px"
>
<el-select
v-model=
"formData.extProvince_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择省份"
no-match-text=
"无匹配数据"
@
change=
"handleSelect"
>
<el-select
v-model=
"formData.extProvince_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择省份"
no-match-text=
"无匹配数据"
@
change=
"handleSelect
($event)
"
>
<el-option
v-for=
"item in countryOptions"
:key=
"item.Code"
...
...
@@ -135,7 +135,7 @@
prop=
"extDistrict_SDK"
label-width=
"80px"
>
<el-select
v-model=
"formData.extDistrict_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.extDistrict_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
@
change=
"handleSelectDis"
>
<el-option
v-for=
"item in disOptions"
:key=
"item.Code"
...
...
@@ -275,8 +275,8 @@
<el-form-item
label=
"签约信息"
/>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-form-item
label=
"签约渠道类型:"
prop=
"
E
xtChannelType_SDK"
label-width=
"120px"
>
<el-select
v-model=
"formData.
E
xtChannelType_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-form-item
label=
"签约渠道类型:"
prop=
"
e
xtChannelType_SDK"
label-width=
"120px"
>
<el-select
v-model=
"formData.
e
xtChannelType_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in aOptions"
:key=
"item.id"
...
...
@@ -287,8 +287,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
class=
"padding-bottom"
>
<el-form-item
label=
"签约产品组:"
prop=
"
E
xtProductGroup_KUT"
label-width=
"120px"
>
<el-select
v-model=
"formData.
E
xtProductGroup_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-form-item
label=
"签约产品组:"
prop=
"
e
xtProductGroup_KUT"
label-width=
"120px"
>
<el-select
v-model=
"formData.
e
xtProductGroup_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in bOptions"
:key=
"item.id"
...
...
@@ -299,8 +299,8 @@
</el-form-item>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-form-item
label=
"签约总代:"
prop=
"
E
xtTotalAgent_KUT"
label-width=
"100px"
>
<el-select
v-model=
"formData.
E
xtTotalAgent_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-form-item
label=
"签约总代:"
prop=
"
e
xtTotalAgent_KUT"
label-width=
"100px"
>
<el-select
v-model=
"formData.
e
xtTotalAgent_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in cOptions"
:key=
"item.id"
...
...
@@ -435,9 +435,9 @@ export default {
extBusinessPhone_SDK
:
[{
required
:
true
,
message
:
'请输入商务负责人电话'
,
trigger
:
'blur'
}],
extBusinessEmail_SDK
:
[{
required
:
true
,
message
:
'请输入商务负责人邮箱'
,
trigger
:
'blur'
},
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
E
xtChannelType_SDK
:
[{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'blur'
}],
E
xtProductGroup_KUT
:
[{
required
:
true
,
message
:
'请选择签约产品组'
,
trigger
:
'blur'
}],
E
xtTotalAgent_KUT
:
[{
required
:
true
,
message
:
'请选择签约总代'
,
trigger
:
'blur'
}],
e
xtChannelType_SDK
:
[{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'blur'
}],
e
xtProductGroup_KUT
:
[{
required
:
true
,
message
:
'请选择签约产品组'
,
trigger
:
'blur'
}],
e
xtTotalAgent_KUT
:
[{
required
:
true
,
message
:
'请选择签约总代'
,
trigger
:
'blur'
}],
},
dialogTableVisible
:
false
,
TotalRecords
:
0
,
...
...
@@ -493,12 +493,33 @@ export default {
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
cityOptions
=
resp
.
results
})
let
obj
=
{};
obj
=
this
.
countryOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
});
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
},
handleSelectCity
(
value
){
const
app
=
{
cityCode
:
value
}
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
disOptions
=
resp
.
results
})
let
obj
=
{};
obj
=
this
.
cityOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
});
this
.
formData
.
extCityName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extCity_SDK
=
value
//获取的 id
},
handleSelectDis
(
value
){
let
obj
=
{};
obj
=
this
.
disOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
});
this
.
formData
.
extDistrictName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extDistrict_SDK
=
value
//获取的 id
},
createLovTable
()
{
this
.
dialogTableVisible
=
true
...
...
@@ -508,7 +529,7 @@ export default {
this
.
$request
(
Qcc
.
detailUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
formData
.
extCorporateName_SDK
=
row
.
OperName
this
.
formData
.
extSocialUnifiedCreditCode_SDK
=
row
.
CreditCode
this
.
formData
.
N
ame
=
row
.
Name
this
.
formData
.
n
ame
=
row
.
Name
this
.
formData
.
extRegisteredCapital_SDK
=
resp
.
results
.
Result
.
RegistCapi
this
.
dialogTableVisible
=
false
})
...
...
@@ -525,11 +546,11 @@ export default {
// this.cOptions.forEach(el=>{
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// })
this
.
formData
.
E
xtCustomerType_SDK
=
101
const
ExtProductGroup_KUT
=
this
.
formData
.
E
xtProductGroup_KUT
.
toString
()
const
ExtTotalAgent_KUT
=
this
.
formData
.
E
xtTotalAgent_KUT
.
toString
()
this
.
formData
.
E
xtProductGroup_KUT
=
ExtProductGroup_KUT
this
.
formData
.
E
xtTotalAgent_KUT
=
ExtTotalAgent_KUT
this
.
formData
.
e
xtCustomerType_SDK
=
101
const
ExtProductGroup_KUT
=
this
.
formData
.
e
xtProductGroup_KUT
.
toString
()
const
ExtTotalAgent_KUT
=
this
.
formData
.
e
xtTotalAgent_KUT
.
toString
()
this
.
formData
.
e
xtProductGroup_KUT
=
ExtProductGroup_KUT
this
.
formData
.
e
xtTotalAgent_KUT
=
ExtTotalAgent_KUT
this
.
loading
=
true
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
loading
=
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment