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
dbe567ce
Commit
dbe567ce
authored
Oct 19, 2021
by
qinj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是否可编辑
parent
50fc6c88
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
29 deletions
+20
-29
index.vue
src/views/customers/citypotenial-list/index.vue
+10
-18
index.vue
src/views/customers/potential-list/index.vue
+2
-3
index.vue
src/views/login/city-progress/index.vue
+4
-4
index.vue
src/views/login/prov-progress/index.vue
+4
-4
No files found.
src/views/customers/citypotenial-list/index.vue
View file @
dbe567ce
...
@@ -3,16 +3,15 @@
...
@@ -3,16 +3,15 @@
<Title
:title=
"title"
>
<Title
:title=
"title"
>
<span>
*
</span>
为必填项
<span>
*
</span>
为必填项
</Title>
</Title>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
v-loading=
'loading'
>
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
v-loading=
'loading'
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtLockRsp_SDK=
"
{ formData }">
<template
v-slot:ExtLockRsp_SDK=
"
{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
v-model=
"formData.ExtLockRsp_SDK"
v-model=
"formData.ExtLockRsp_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
style=
"width: 91%"
multiple
multiple
filterable
filterable
...
@@ -33,7 +32,6 @@
...
@@ -33,7 +32,6 @@
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
v-model=
"formData.ExtLockCity_SDK"
v-model=
"formData.ExtLockCity_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
style=
"width: 91%"
multiple
multiple
filterable
filterable
...
@@ -54,9 +52,8 @@
...
@@ -54,9 +52,8 @@
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
v-model=
"formData.ExtChannelType_SDK"
v-model=
"formData.ExtChannelType_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
style=
"width: 91%"
filterable
placeholder=
"请选择"
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in cOptions"
<el-option
v-for=
"item in cOptions"
...
@@ -342,7 +339,7 @@ export default {
...
@@ -342,7 +339,7 @@ export default {
cOptions
:
[],
cOptions
:
[],
// 同 vue-ele-form
// 同 vue-ele-form
rules
:
{
rules
:
{
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
},
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'change'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
},
}
}
...
@@ -356,7 +353,6 @@ export default {
...
@@ -356,7 +353,6 @@ export default {
this
.
id
=
this
.
$route
.
query
.
id
this
.
id
=
this
.
$route
.
query
.
id
this
.
getList
()
this
.
getList
()
this
.
getHistoryList
()
this
.
getHistoryList
()
this
.
getChannelType
()
this
.
getFile
()
this
.
getFile
()
},
},
methods
:
{
methods
:
{
...
@@ -374,12 +370,9 @@ export default {
...
@@ -374,12 +370,9 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
loading
=
false
resp
.
results
[
0
].
ExtChannelType_SDK
=
null
resp
.
results
[
0
].
ExtChannelType_SDK
=
null
resp
.
results
[
0
].
ExtChannelType_SDKText
=
null
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
.
ExtChannelType_SDK
=
null
if
(
this
.
formData
.
ExtProcessNode_SDK
!=
2
)
{
this
.
rules
.
ExtChannelType_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
})
})
...
@@ -387,13 +380,12 @@ export default {
...
@@ -387,13 +380,12 @@ export default {
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
apptions
=
resp
.
results
this
.
apptions
=
resp
.
results
})
})
})
},
getChannelType
()
{
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
})
})
})
},
},
getHistoryList
()
{
getHistoryList
()
{
processHistory
({
businessObjectID
:
this
.
id
}).
then
((
resp
)
=>
{
processHistory
({
businessObjectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
tableData
=
resp
.
results
this
.
tableData
=
resp
.
results
...
...
src/views/customers/potential-list/index.vue
View file @
dbe567ce
...
@@ -3,10 +3,9 @@
...
@@ -3,10 +3,9 @@
<Title
:title=
"title"
>
<Title
:title=
"title"
>
<span>
*
</span>
为必填项
<span>
*
</span>
为必填项
</Title>
</Title>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
v-loading=
'loading'
>
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
v-loading=
'loading'
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtLockCity_SDK=
"
{ formData }">
<template
v-slot:ExtLockCity_SDK=
"
{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
...
...
src/views/login/city-progress/index.vue
View file @
dbe567ce
...
@@ -51,10 +51,10 @@
...
@@ -51,10 +51,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
v-loading=
'loading'
>
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
v-loading=
"btnloading"
:sections=
"sections"
:sections=
"sections"
ref=
"formData"
>
ref=
"formData"
>
<template
v-slot:ExtLeader_SDK=
"
{ formData }">
<template
v-slot:ExtLeader_SDK=
"
{ formData }">
...
@@ -338,9 +338,9 @@ export default {
...
@@ -338,9 +338,9 @@ export default {
})
})
},
},
getList
()
{
getList
()
{
this
.
btn
loading
=
true
this
.
loading
=
true
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
btn
loading
=
false
this
.
loading
=
false
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
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
...
...
src/views/login/prov-progress/index.vue
View file @
dbe567ce
...
@@ -58,10 +58,10 @@
...
@@ -58,10 +58,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
v-loading=
"loading"
>
<ele-form-section
v-model=
"formData"
<ele-form-section
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
v-loading=
"btnloading"
:sections=
"sections"
>
:sections=
"sections"
>
<template
v-slot:ExtLeader_SDK=
"
{ formData }">
<template
v-slot:ExtLeader_SDK=
"
{ formData }">
...
@@ -461,9 +461,9 @@ export default {
...
@@ -461,9 +461,9 @@ export default {
methods
:
{
methods
:
{
getList
()
{
getList
()
{
console
.
log
(
'objectId'
,
this
.
id
)
console
.
log
(
'objectId'
,
this
.
id
)
this
.
btn
loading
=
true
this
.
loading
=
true
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
btn
loading
=
false
this
.
loading
=
false
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
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
)
=>
{
...
...
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