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
067af916
Commit
067af916
authored
Oct 19, 2021
by
jiangqihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件
parent
2b4f7141
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
137 additions
and
107 deletions
+137
-107
customers.js
src/router/modules/customers.js
+4
-4
area.vue
src/views/customers/customers-details/area.vue
+50
-48
index.vue
src/views/customers/customers-details/index.vue
+10
-7
province.vue
src/views/customers/customers-details/province.vue
+34
-29
index.vue
...ers/personal-customers/conponents/personal-info/index.vue
+11
-0
index.vue
src/views/customers/personal-customers/index.vue
+28
-19
No files found.
src/router/modules/customers.js
View file @
067af916
...
...
@@ -24,28 +24,28 @@ const customersRouter = {
path
:
'/customersAdd'
,
component
:
()
=>
import
(
'@/views/customers/customers-add'
),
name
:
'CustomersOverviewAdd'
,
meta
:
{
title
:
'
代理商新增
'
},
meta
:
{
title
:
'
总代注册
'
},
hidden
:
true
,
},
{
path
:
'/CustomersOverview-detail'
,
component
:
()
=>
import
(
'@/views/customers/customers-details/index.vue'
),
name
:
'CustomersOverviewDetail'
,
meta
:
{
title
:
'总代
理商
详情'
},
meta
:
{
title
:
'总代详情'
},
hidden
:
true
,
},
{
path
:
'/CustomersProvince-detail'
,
component
:
()
=>
import
(
'@/views/customers/customers-details/province.vue'
),
name
:
'CustomersProvinceDetail'
,
meta
:
{
title
:
'
省代理商
详情'
},
meta
:
{
title
:
'
RSP信息
详情'
},
hidden
:
true
,
},
{
path
:
'/CustomersCity-detail'
,
component
:
()
=>
import
(
'@/views/customers/customers-details/area.vue'
),
name
:
'CustomersCityDetail'
,
meta
:
{
title
:
'
城市代理商
详情'
},
meta
:
{
title
:
'
CCP信息
详情'
},
hidden
:
true
,
},
{
...
...
src/views/customers/customers-details/area.vue
View file @
067af916
...
...
@@ -23,7 +23,7 @@
</el-button>
</div>
<div>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
:isShowBtn=
'isShowBtn'
:isShowEditBtn=
"isShowEditBtn"
@
showAuthentication=
"showStart"
/>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
:isShowBtn=
'isShowBtn'
:isShowEditBtn=
"isShowEditBtn"
@
showAuthentication=
"showStart"
:searchUrl=
"searchUrl"
/>
</div>
<!--
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
:isShowEditBtn=
'btn'
/>
-->
</div>
...
...
@@ -52,9 +52,10 @@ export default {
data
()
{
return
{
loading
:
false
,
searchUrl
:
''
,
btnLoading
:
false
,
typeCode
:
uploadCode
.
customer
,
title
:
'
城市代理商
详情'
,
title
:
'
CCP信息
详情'
,
addBtnStart
:
true
,
dedeleBtnStart
:
true
,
isShowBtn
:
true
,
...
...
@@ -251,52 +252,52 @@ export default {
},
}
},
{
title
:
"签约信息"
,
formDesc
:
{
ExtChannelType_SDKText
:
{
type
:
'input'
,
label
:
'签约渠道类型'
,
layout
:
12
,
disabled
:
true
},
ExtLockRsp_SDK
:
{
type
:
'input'
,
label
:
'签约渠道类型'
,
layout
:
12
,
disabled
:
true
},
ExtLockCity_SDK
:
{
type
:
'input'
,
label
:
'城市范围覆盖'
,
layout
:
12
,
disabled
:
true
},
}
},
{
title
:
"合作日期"
,
formDesc
:
{
ExtStartDate_SDK
:
{
type
:
'input'
,
label
:
'初始合作开始时间'
,
layout
:
12
,
disabled
:
true
},
ExtAuthenticationDate_SDK
:
{
type
:
'input'
,
label
:
'高级认证日期'
,
layout
:
12
,
disabled
:
true
},
ExtEndDate_SDK
:
{
type
:
'input'
,
label
:
'合作终止日期'
,
layout
:
12
,
disabled
:
true
},
}
}
//
{
//
title: "签约信息",
//
formDesc: {
//
ExtChannelType_SDKText: {
//
type: 'input',
//
label: '签约渠道类型',
//
layout: 12,
//
disabled: true
//
},
//
ExtLockRsp_SDK: {
//
type: 'input',
//
label: '签约渠道类型',
//
layout: 12,
//
disabled: true
//
},
//
ExtLockCity_SDK: {
//
type: 'input',
//
label: '城市范围覆盖',
//
layout: 12,
//
disabled: true
//
},
//
}
//
},
//
{
//
title: "合作日期",
//
formDesc: {
//
ExtStartDate_SDK: {
//
type: 'input',
//
label: '初始合作开始时间',
//
layout: 12,
//
disabled: true
//
},
//
ExtAuthenticationDate_SDK: {
//
type: 'input',
//
label: '高级认证日期',
//
layout: 12,
//
disabled: true
//
},
//
ExtEndDate_SDK: {
//
type: 'input',
//
label: '合作终止日期',
//
layout: 12,
//
disabled: true
//
},
//
}
//
}
],
rules
:
{}
}
...
...
@@ -339,6 +340,7 @@ export default {
},
getOneData
()
{
this
.
loading
=
true
this
.
searchUrl
=
'/file/search'
const
dataId
=
this
.
$route
.
query
.
objectID
customerGetOne
({
objectID
:
dataId
}).
then
(
res
=>
{
this
.
loading
=
false
...
...
src/views/customers/customers-details/index.vue
View file @
067af916
...
...
@@ -12,7 +12,7 @@
@
request-success=
"handleSuccess"
/>
</div>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
/>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
:searchUrl=
"searchUrl"
/>
</div>
</
template
>
...
...
@@ -36,9 +36,10 @@ export default {
},
data
()
{
return
{
searchUrl
:
''
,
loading
:
false
,
typeCode
:
uploadCode
.
customer
,
title
:
'总代
理商
详情'
,
title
:
'总代详情'
,
addBtnStart
:
true
,
dedeleBtnStart
:
true
,
objectID
:
''
,
...
...
@@ -239,17 +240,18 @@ export default {
type
:
'input'
,
label
:
'签约渠道类型'
,
layout
:
12
,
disabled
:
true
disabled
:
true
,
// value: 'ExtChannelType_SDKText'
},
Ext
LockRs
p_SDK
:
{
Ext
ProductGrou
p_SDK
:
{
type
:
'input'
,
label
:
'签约
渠道类型
'
,
label
:
'签约
产品组
'
,
layout
:
12
,
disabled
:
true
},
Ext
LockCity
_SDK
:
{
Ext
TotalAgent
_SDK
:
{
type
:
'input'
,
label
:
'
城市范围覆盖
'
,
label
:
'
签约总代
'
,
layout
:
12
,
disabled
:
true
},
...
...
@@ -315,6 +317,7 @@ export default {
},
getOneData
()
{
this
.
loading
=
true
this
.
searchUrl
=
'/file/search'
const
dataId
=
this
.
$route
.
query
.
objectID
customerGetOne
({
objectID
:
dataId
}).
then
(
res
=>
{
this
.
formData
=
res
.
results
[
0
]
...
...
src/views/customers/customers-details/province.vue
View file @
067af916
...
...
@@ -12,7 +12,7 @@
@
request-success=
"handleSuccess"
/>
</div>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
/>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
:searchUrl=
"searchUrl"
/>
</div>
</
template
>
...
...
@@ -36,9 +36,10 @@ export default {
},
data
()
{
return
{
searchUrl
:
''
,
loading
:
false
,
typeCode
:
uploadCode
.
customer
,
title
:
'
省代理商
详情'
,
title
:
'
RSP信息
详情'
,
addBtnStart
:
true
,
dedeleBtnStart
:
true
,
objectID
:
''
,
...
...
@@ -242,43 +243,20 @@ export default {
disabled
:
true
,
// value: 'ExtChannelType_SDKText'
},
Ext
LockRs
p_SDK
:
{
Ext
ProductGrou
p_SDK
:
{
type
:
'input'
,
label
:
'签约
渠道类型
'
,
label
:
'签约
产品组
'
,
layout
:
12
,
disabled
:
true
},
Ext
LockCity
_SDK
:
{
Ext
TotalAgent
_SDK
:
{
type
:
'input'
,
label
:
'
城市范围覆盖
'
,
label
:
'
签约总代
'
,
layout
:
12
,
disabled
:
true
},
}
},
{
title
:
"合作日期"
,
formDesc
:
{
ExtStartDate_SDK
:
{
type
:
'input'
,
label
:
'初始合作开始时间'
,
layout
:
12
,
disabled
:
true
},
ExtAuthenticationDate_SDK
:
{
type
:
'input'
,
label
:
'高级认证日期'
,
layout
:
12
,
disabled
:
true
},
ExtEndDate_SDK
:
{
type
:
'input'
,
label
:
'合作终止日期'
,
layout
:
12
,
disabled
:
true
},
}
}
],
rules
:
{}
}
...
...
@@ -316,6 +294,7 @@ export default {
},
getOneData
()
{
this
.
loading
=
true
this
.
searchUrl
=
'/file/search'
const
dataId
=
this
.
$route
.
query
.
objectID
customerGetOne
({
objectID
:
dataId
}).
then
(
res
=>
{
this
.
loading
=
false
...
...
@@ -323,6 +302,32 @@ export default {
if
(
res
.
results
[
0
].
ExtCustomerType_SDK
===
'111'
)
{
this
.
btnStart
=
false
}
if
(
res
.
results
[
0
].
ExtProcessStatus_SDK
===
'131'
)
{
const
time
=
{
title
:
"合作日期"
,
formDesc
:
{
ExtStartDate_SDK
:
{
type
:
'input'
,
label
:
'初始合作开始时间'
,
layout
:
12
,
disabled
:
true
},
ExtAuthenticationDate_SDK
:
{
type
:
'input'
,
label
:
'高级认证日期'
,
layout
:
12
,
disabled
:
true
},
ExtEndDate_SDK
:
{
type
:
'input'
,
label
:
'合作终止日期'
,
layout
:
12
,
disabled
:
true
},
}
}
this
.
sections
.
push
(
time
)
}
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$$message
.
error
(
"数据获取失败"
)
...
...
src/views/customers/personal-customers/conponents/personal-info/index.vue
View file @
067af916
...
...
@@ -100,6 +100,10 @@ export default {
isShowBtn
:
{
type
:
Boolean
,
default
:
true
,
},
searchUrl
:
{
type
:
String
,
default
:
''
}
},
data
()
{
...
...
@@ -141,9 +145,16 @@ export default {
handler
(
val
){},
deep
:
true
,
immediate
:
true
,
},
searchUrl
:
{
handler
(
val
){},
deep
:
true
,
immediate
:
true
,
}
},
created
()
{
this
.
tableConfig
.
url
=
this
.
searchUrl
// console.log(this.tableConfig.url)
this
.
tableConfig
.
columns
.
handle
.
vif
=
this
.
isShowBtn
constant
.
tableConfig
.
initialParams
=
{
BusinessObjectID
:
this
.
objectID
||
this
.
$route
.
query
.
objectID
,
...
...
src/views/customers/personal-customers/index.vue
View file @
067af916
...
...
@@ -12,7 +12,7 @@
@
request-success=
"handleSuccess"
/>
</div>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
/>
<PersonalInFo
:addBtnStart=
'addBtnStart'
:dedeleBtnStart=
"dedeleBtnStart"
:type-code=
"typeCode"
:searchUrl=
"searchUrl"
/>
</div>
</
template
>
...
...
@@ -37,8 +37,9 @@ export default {
data
()
{
return
{
loading
:
false
,
searchUrl
:
''
,
typeCode
:
uploadCode
.
customer
,
title
:
'
代理商
详情'
,
title
:
'
注册
详情'
,
dedeleBtnStart
:
true
,
objectID
:
''
,
addBtnStart
:
true
,
...
...
@@ -236,17 +237,17 @@ export default {
type
:
'input'
,
label
:
'签约渠道类型'
,
layout
:
12
,
disabled
:
true
disabled
:
true
,
},
ExtLockRs
p_SDK
:
{
extProductGrou
p_SDK
:
{
type
:
'input'
,
label
:
'签约
渠道类型
'
,
label
:
'签约
产品组
'
,
layout
:
12
,
disabled
:
true
},
ExtLockCity
_SDK
:
{
extTotalAgent
_SDK
:
{
type
:
'input'
,
label
:
'
城市范围覆盖
'
,
label
:
'
签约总代
'
,
layout
:
12
,
disabled
:
true
},
...
...
@@ -312,19 +313,27 @@ export default {
},
async
getOneData
()
{
this
.
loading
=
true
customerGetOne
({
objectID
:
JSON
.
parse
(
localStorage
.
getItem
(
'USERINFO'
)).
ExtCustomerObjectID_SDK
}).
then
(
res
=>
{
this
.
formData
=
res
.
results
[
0
]
this
.
addBtnStart
=
false
if
(
JSON
.
parse
(
localStorage
.
getItem
(
'USERINFO'
)).
ExtCustomerObjectID_SDK
!==
''
)
{
this
.
searchUrl
=
'/file/search'
customerGetOne
({
objectID
:
JSON
.
parse
(
localStorage
.
getItem
(
'USERINFO'
)).
ExtCustomerObjectID_SDK
}).
then
(
res
=>
{
// this.searchUrl = '/file/search'
this
.
formData
=
res
.
results
[
0
]
this
.
addBtnStart
=
false
this
.
loading
=
false
this
.
dedeleBtnStart
=
false
this
.
$router
.
push
({
path
:
'/Personal-customers'
,
query
:
{
objectID
:
JSON
.
parse
(
localStorage
.
getItem
(
'USERINFO'
)).
ExtCustomerObjectID_SDK
}
})
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$$message
.
error
(
"数据获取失败"
)
})
}
else
{
this
.
searchUrl
=
''
this
.
loading
=
false
this
.
dedeleBtnStart
=
false
this
.
$router
.
push
({
path
:
'/Personal-customers'
,
query
:
{
objectID
:
JSON
.
parse
(
localStorage
.
getItem
(
'USERINFO'
)).
ExtCustomerObjectID_SDK
}
})
}).
catch
(()
=>
{
this
.
loading
=
false
this
.
$$message
.
error
(
"数据获取失败"
)
})
this
.
$message
.
error
(
'数据有误,请联系管理员'
)
}
}
}
}
...
...
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