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
e362e088
Commit
e362e088
authored
Oct 19, 2021
by
jiangqihao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://120.25.63.219:6088/rex/portalhtml
into dev
parents
5a20be2e
2d7ddf24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
40 deletions
+66
-40
index.vue
src/views/customers/citypotenial-list/index.vue
+35
-23
index.vue
src/views/customers/potential-list/index.vue
+31
-17
No files found.
src/views/customers/citypotenial-list/index.vue
View file @
e362e088
...
@@ -3,13 +3,15 @@
...
@@ -3,13 +3,15 @@
<Title
:title=
"title"
>
<Title
:title=
"title"
>
<span>
*
</span>
为必填项
<span>
*
</span>
为必填项
</Title>
</Title>
<div
class=
"basic-info"
v-loading=
'loading'
>
<div
class=
"basic-info"
v-loading=
'loading'
>
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtRegisteredCapital_SDK=
"
{ formData }">
<template
v-slot:ExtRegisteredCapital_SDK=
"
{ formData }">
<el-input
v-if=
"formData.ExtProcessNode_SDK==4"
v-model=
"formData.ExtRegisteredCapital_SDK"
:disabled=
"!formData.ExtRegisteredCapital_SDK=='' || !formData.ExtRegisteredCapital_SDK==null"
>
<el-input
v-if=
"formData.ExtProcessNode_SDK==4"
v-model=
"formData.ExtRegisteredCapital_SDK"
:disabled=
"isEdit"
>
</el-input>
</el-input>
</
template
>
</
template
>
<
template
v-slot:ExtLockRsp_SDK=
"{ formData }"
>
<
template
v-slot:ExtLockRsp_SDK=
"{ formData }"
>
...
@@ -169,8 +171,8 @@ export default {
...
@@ -169,8 +171,8 @@ export default {
loading
:
false
,
loading
:
false
,
tableData2
:
[],
tableData2
:
[],
formData
:
{
formData
:
{
ExtLockRsp_SDK
:[],
ExtLockRsp_SDK
:
[],
ExtLockCity_SDK
:[],
ExtLockCity_SDK
:
[],
},
},
province
:
[],
province
:
[],
sections
:
[
sections
:
[
...
@@ -340,19 +342,20 @@ export default {
...
@@ -340,19 +342,20 @@ export default {
],
],
tableData
:
[],
tableData
:
[],
TotalRecords
:
0
,
TotalRecords
:
0
,
isEdit
:
true
,
page
:
{},
page
:
{},
apptions
:
[],
apptions
:
[],
cOptions
:
[],
cOptions
:
[],
// 同 vue-ele-form
// 同 vue-ele-form
rules
:
{
rules
:
{
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'change'
},
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'change'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
,
trigger
:
'change'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
,
trigger
:
'change'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
,
trigger
:
'change'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
,
trigger
:
'change'
},
}
}
}
}
},
},
watch
:
{
watch
:
{
},
},
created
()
{
created
()
{
...
@@ -373,14 +376,19 @@ export default {
...
@@ -373,14 +376,19 @@ export default {
})
})
},
},
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
if
(
this
.
formData
.
ExtProcessNode_SDK
==
2
){
if
(
this
.
formData
.
ExtProcessNode_SDK
==
4
)
{
this
.
formData
.
extChannelType_SDK
=
''
if
(
!
this
.
formData
.
ExtRegisteredCapital_SDK
)
{
this
.
formData
.
ExtLockRsp_SDK
=
[]
this
.
isEdit
=
false
this
.
formData
.
ExtLockCity_SDK
=
[]
}
}
if
(
this
.
formData
.
ExtProcessNode_SDK
==
2
)
{
this
.
formData
.
extChannelType_SDK
=
''
this
.
formData
.
ExtLockRsp_SDK
=
[]
this
.
formData
.
ExtLockCity_SDK
=
[]
}
}
lockRsp
({
extProvince_SDK
:
resp
.
results
[
0
].
ExtProvince_SDK
}).
then
((
resp
)
=>
{
lockRsp
({
extProvince_SDK
:
resp
.
results
[
0
].
ExtProvince_SDK
}).
then
((
resp
)
=>
{
this
.
province
=
resp
.
results
this
.
province
=
resp
.
results
...
@@ -391,7 +399,7 @@ export default {
...
@@ -391,7 +399,7 @@ export default {
})
})
typeSearch
({
code
:
'ExtChannelType_SDK'
,
module
:
'Customer'
,
content
:
'CCP'
}).
then
((
resp
)
=>
{
typeSearch
({
code
:
'ExtChannelType_SDK'
,
module
:
'Customer'
,
content
:
'CCP'
}).
then
((
resp
)
=>
{
this
.
cOptions
=
resp
this
.
cOptions
=
resp
})
})
})
})
},
},
...
@@ -436,15 +444,19 @@ export default {
...
@@ -436,15 +444,19 @@ export default {
// this.$message.success('创建成功')
// this.$message.success('创建成功')
},
},
approve
()
{
approve
()
{
if
(
this
.
formData
.
ExtLockRsp_SDK
.
length
==
0
||
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
||
this
.
formData
.
ExtChannelType_SDK
.
length
==
0
)
{
if
(
this
.
formData
.
ExtLockRsp_SDK
.
length
==
0
||
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
||
this
.
formData
.
ExtChannelType_SDK
.
length
==
0
)
{
return
this
.
$message
.
warning
(
'请输入必填信息'
)
return
this
.
$message
.
warning
(
'请输入必填信息'
)
}
else
if
(
formData
.
ExtRegisteredCapital_SDK
==
''
||
formData
.
ExtRegisteredCapital_SDK
==
null
){
}
else
if
(
this
.
formData
.
ExtProcessNode_SDK
==
4
)
{
return
this
.
$message
.
warning
(
'请输入注册资金'
)
if
(
!
this
.
formData
.
ExtRegisteredCapital_SDK
)
{
}
else
{
return
this
.
$message
.
warning
(
'请输入注册资金'
)
}
else
{
this
.
dialogFormVisible
=
true
this
.
status
=
1
}
}
else
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
1
this
.
status
=
1
}
}
},
},
reject
()
{
reject
()
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
...
@@ -456,7 +468,7 @@ export default {
...
@@ -456,7 +468,7 @@ export default {
const
extLockCity_SDK
=
this
.
formData
.
ExtLockCity_SDK
.
toString
()
const
extLockCity_SDK
=
this
.
formData
.
ExtLockCity_SDK
.
toString
()
const
extLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
extLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
cc
=
{
const
cc
=
{
extRegisteredCapital_SDK
:
this
.
formData
.
ExtRegisteredCapital_SDK
,
extRegisteredCapital_SDK
:
this
.
formData
.
ExtRegisteredCapital_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
...
...
src/views/customers/potential-list/index.vue
View file @
e362e088
...
@@ -3,12 +3,15 @@
...
@@ -3,12 +3,15 @@
<Title
:title=
"title"
>
<Title
:title=
"title"
>
<span>
*
</span>
为必填项
<span>
*
</span>
为必填项
</Title>
</Title>
<div
class=
"basic-info"
v-loading=
'loading'
>
<div
class=
"basic-info"
v-loading=
'loading'
>
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtRegisteredCapital_SDK=
"
{ formData }">
<template
v-slot:ExtRegisteredCapital_SDK=
"
{ formData }">
<el-input
v-if=
"formData.ExtProcessNode_SDK==5"
v-model=
"formData.ExtRegisteredCapital_SDK"
:disabled=
"!formData.ExtRegisteredCapital_SDK=='' || !formData.ExtRegisteredCapital_SDK==null"
>
<el-input
v-if=
"formData.ExtProcessNode_SDK==5"
v-model=
"formData.ExtRegisteredCapital_SDK"
:disabled=
"isEdit"
>
</el-input>
</el-input>
</
template
>
</
template
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
...
@@ -131,7 +134,7 @@ export default {
...
@@ -131,7 +134,7 @@ export default {
status
:
0
,
status
:
0
,
loading
:
false
,
loading
:
false
,
formData
:
{
formData
:
{
ExtLockCity_SDK
:[]
ExtLockCity_SDK
:
[]
},
},
province
:
[],
province
:
[],
tableData2
:
[],
tableData2
:
[],
...
@@ -307,11 +310,12 @@ export default {
...
@@ -307,11 +310,12 @@ export default {
},
},
],
],
tableData
:
[],
tableData
:
[],
isEdit
:
true
,
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{},
page
:
{},
// 同 vue-ele-form
// 同 vue-ele-form
rules
:
{
rules
:
{
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择覆盖城市范围'
,
trigger
:
'change'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择覆盖城市范围'
,
trigger
:
'change'
},
}
}
}
}
},
},
...
@@ -345,12 +349,17 @@ export default {
...
@@ -345,12 +349,17 @@ export default {
window
.
open
(
row
.
FileURL
)
window
.
open
(
row
.
FileURL
)
},
},
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
if
(
this
.
formData
.
ExtProcessNode_SDK
==
2
){
if
(
this
.
formData
.
ExtProcessNode_SDK
==
5
)
{
this
.
formData
.
ExtLockCity_SDK
=
[]
if
(
!
this
.
formData
.
ExtRegisteredCapital_SDK
)
{
this
.
isEdit
=
false
}
}
if
(
this
.
formData
.
ExtProcessNode_SDK
==
2
)
{
this
.
formData
.
ExtLockCity_SDK
=
[]
}
}
const
app
=
{
provinceCode
:
resp
.
results
[
0
].
ExtProvince_SDK
}
const
app
=
{
provinceCode
:
resp
.
results
[
0
].
ExtProvince_SDK
}
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
...
@@ -381,15 +390,20 @@ export default {
...
@@ -381,15 +390,20 @@ export default {
// this.$message.success('创建成功')
// this.$message.success('创建成功')
},
},
approve
()
{
approve
()
{
if
(
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
)
{
if
(
this
.
formData
.
ExtLockCity_SDK
.
length
==
0
)
{
return
this
.
$message
.
warning
(
'请输入必填信息'
)
return
this
.
$message
.
warning
(
'请输入必填信息'
)
}
else
if
(
formData
.
ExtRegisteredCapital_SDK
==
''
||
formData
.
ExtRegisteredCapital_SDK
==
null
){
}
else
if
(
this
.
formData
.
ExtProcessNode_SDK
==
5
)
{
return
this
.
$message
.
warning
(
'请输入注册资金'
)
if
(
!
this
.
formData
.
ExtRegisteredCapital_SDK
)
{
}
else
{
return
this
.
$message
.
warning
(
'请输入注册资金'
)
}
else
{
this
.
dialogFormVisible
=
true
this
.
status
=
1
}
}
else
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
1
this
.
status
=
1
}
}
},
},
reject
()
{
reject
()
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
...
@@ -400,7 +414,7 @@ export default {
...
@@ -400,7 +414,7 @@ export default {
const
ExtLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
ExtLockCityName_SDK
=
this
.
formData
.
ExtLockCityName_SDK
.
toString
()
const
cc
=
{
const
cc
=
{
extRegisteredCapital_SDK
:
this
.
formData
.
ExtRegisteredCapital_SDK
,
extRegisteredCapital_SDK
:
this
.
formData
.
ExtRegisteredCapital_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
...
...
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