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
ee984843
Commit
ee984843
authored
Oct 18, 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
5708c069
1cc42bcb
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1066 additions
and
973 deletions
+1066
-973
index.vue
src/views/customers/citypotenial-list/index.vue
+273
-239
index.vue
src/views/login/city-progress/index.vue
+239
-216
index.vue
src/views/login/city-register/index.vue
+15
-26
index.vue
src/views/login/prov-progress/index.vue
+235
-221
index.vue
src/views/login/prov-register/index.vue
+304
-271
No files found.
src/views/customers/citypotenial-list/index.vue
View file @
ee984843
...
@@ -4,48 +4,68 @@
...
@@ -4,48 +4,68 @@
<span>
*
</span>
为必填项
<span>
*
</span>
为必填项
</Title>
</Title>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
>
<ele-form-section
<ele-form-section
v-model=
"formData"
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
: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"
v-model=
"formData.ExtLockRsp_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handleSelectRSP"
>
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-option
v-model=
"formData.ExtLockRsp_SDK"
v-for=
"item in province"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handleSelectRSP"
>
<el-option
v-for=
"item in province"
:key=
"item.ExtAgentID_SDK"
:key=
"item.ExtAgentID_SDK"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.ExtAgentID_SDK"
:value=
"item.ExtAgentID_SDK"
/>
/>
</el-select>
</el-select>
<el-input
v-else
v-model=
"formData.ExtLockRspName_SDK"
disabled
>
<el-input
v-else
v-model=
"formData.ExtLockRspName_SDK"
disabled
>
</el-input>
</el-input>
</
template
>
</
template
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
v-model=
"formData.ExtLockCity_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
'handleSelectCity'
>
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-option
v-model=
"formData.ExtLockCity_SDK"
v-for=
"item in apptions"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
'handleSelectCity'
>
<el-option
v-for=
"item in apptions"
:key=
"item.Code"
:key=
"item.Code"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.Code"
:value=
"item.Code"
/>
/>
</el-select>
</el-select>
<el-input
v-else
v-model=
"formData.ExtLockCityName_SDK"
disabled
>
<el-input
v-else
v-model=
"formData.ExtLockCityName_SDK"
disabled
>
</el-input>
</el-input>
</
template
>
</
template
>
<
template
v-slot:ExtChannelType_SDK=
"{ formData }"
>
<
template
v-slot:ExtChannelType_SDK=
"{ formData }"
>
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
v-model=
"formData.ExtChannelType_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-select
v-if=
"formData.ExtProcessNode_SDK==2"
<el-option
v-model=
"formData.ExtChannelType_SDK"
v-for=
"item in cOptions"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in cOptions"
:key=
"item.keyword"
:key=
"item.keyword"
:label=
"item.content"
:label=
"item.content"
:value=
"item.keyword"
:value=
"item.keyword"
/>
/>
</el-select>
</el-select>
<el-input
v-else
v-model=
"formData.ExtChannelType_SDKText"
disabled
>
<el-input
v-else
v-model=
"formData.ExtChannelType_SDKText"
disabled
>
</el-input>
</el-input>
</
template
>
</
template
>
</ele-form-section>
</ele-form-section>
...
@@ -64,7 +84,9 @@
...
@@ -64,7 +84,9 @@
label=
"操作者"
>
label=
"操作者"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-table-column
label=
"操作"
>
<el-link
slot-scope=
"{ row }"
type=
"primary"
@
click=
"btnLink(row)"
>
下载
</el-link>
<el-link
slot-scope=
"{ row }"
type=
"primary"
@
click=
"btnLink(row)"
>
下载
</el-link>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"TotalRecords>0"
<pagination
v-show=
"TotalRecords>0"
...
@@ -76,8 +98,10 @@
...
@@ -76,8 +98,10 @@
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"btn"
>
<div
class=
"btn"
>
<el-button
type=
"primary"
@
click=
"approve"
>
审批
</el-button>
<el-button
type=
"primary"
<el-button
type=
""
@
click=
"reject"
>
退回
</el-button>
@
click=
"approve"
>
审批
</el-button>
<el-button
type=
""
@
click=
"reject"
>
退回
</el-button>
</div>
</div>
<el-table
:data=
"tableData"
<el-table
:data=
"tableData"
border
border
...
@@ -101,17 +125,22 @@
...
@@ -101,17 +125,22 @@
:limit
.
sync=
"page.pageSize"
:limit
.
sync=
"page.pageSize"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
</div>
</div>
<el-dialog
title=
"审批意见"
:visible
.
sync=
"dialogFormVisible"
>
<el-dialog
title=
"审批意见"
:visible
.
sync=
"dialogFormVisible"
>
<el-form
:model=
"form"
>
<el-form
:model=
"form"
>
<el-form-item
label-width=
500
>
<el-form-item
label-width=
500
>
<el-input
v-model=
"form.note"
autocomplete=
"off"
></el-input>
<el-input
v-model=
"form.note"
autocomplete=
"off"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogFormVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"dialogFormVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"approveClick"
>
确 定
</el-button>
<el-button
type=
"primary"
:loading=
"loading"
@
click=
"approveClick"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</div>
...
@@ -119,7 +148,7 @@
...
@@ -119,7 +148,7 @@
<
script
>
<
script
>
import
Title
from
'@/components/Title'
import
Title
from
'@/components/Title'
import
{
getCustomer
,
typeSearch
,
lockRsp
,
ProcessApproval
,
processHistory
,
getOneModel
}
from
'@/api/customers'
;
import
{
getCustomer
,
typeSearch
,
lockRsp
,
ProcessApproval
,
processHistory
,
getOneModel
}
from
'@/api/customers'
;
import
Pagination
from
'@/components/Pagination'
import
Pagination
from
'@/components/Pagination'
import
{
Country
}
from
'@/api/qcc'
import
{
Country
}
from
'@/api/qcc'
export
default
{
export
default
{
...
@@ -127,17 +156,17 @@ export default {
...
@@ -127,17 +156,17 @@ export default {
Pagination
,
Pagination
,
Title
,
Title
,
},
},
data
()
{
data
()
{
return
{
return
{
form
:{},
form
:
{},
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
title
:
'城市代理商审批'
,
title
:
'城市代理商审批'
,
addBtnStart
:
false
,
addBtnStart
:
false
,
objectId
:
''
,
objectId
:
''
,
id
:
''
,
id
:
''
,
status
:
0
,
status
:
0
,
loading
:
false
,
loading
:
false
,
tableData2
:[],
tableData2
:
[],
formData
:
{},
formData
:
{},
province
:
[],
province
:
[],
sections
:
[
sections
:
[
...
@@ -149,8 +178,8 @@ export default {
...
@@ -149,8 +178,8 @@ export default {
label
:
'公司全称'
,
label
:
'公司全称'
,
layout
:
24
,
layout
:
24
,
code
:
'qcc'
,
code
:
'qcc'
,
disabled
:
true
,
disabled
:
true
,
returnFn
:
function
(
row
)
{
returnFn
:
function
(
row
)
{
return
{
return
{
Name
:
row
.
Name
,
Name
:
row
.
Name
,
ExtSocialUnifiedCreditCode_SDK
:
row
.
CreditCode
,
ExtSocialUnifiedCreditCode_SDK
:
row
.
CreditCode
,
...
@@ -162,24 +191,24 @@ export default {
...
@@ -162,24 +191,24 @@ export default {
type
:
'input'
,
type
:
'input'
,
label
:
'公司全称曾用名'
,
label
:
'公司全称曾用名'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'社会统一信用代码'
,
label
:
'社会统一信用代码'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtRegisteredCapital_SDK
:
{
ExtRegisteredCapital_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'注册资本(万元)'
,
label
:
'注册资本(万元)'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
,
layout
:
12
,
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'法人'
,
label
:
'法人'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
,
layout
:
12
,
},
},
// Ext_QuoteOppotunity_KUT: {
// Ext_QuoteOppotunity_KUT: {
...
@@ -196,7 +225,7 @@ export default {
...
@@ -196,7 +225,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
label
:
'省份'
,
label
:
'省份'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtCityName_SDK
:
{
ExtCityName_SDK
:
{
...
@@ -204,7 +233,7 @@ export default {
...
@@ -204,7 +233,7 @@ export default {
label
:
'城市'
,
label
:
'城市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtDistrictName_SDK
:
{
ExtDistrictName_SDK
:
{
...
@@ -212,14 +241,14 @@ export default {
...
@@ -212,14 +241,14 @@ export default {
label
:
'县市'
,
label
:
'县市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtAddressDetail_SDK
:
{
ExtAddressDetail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'详细经营地址'
,
label
:
'详细经营地址'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
}
}
},
},
...
@@ -229,36 +258,36 @@ export default {
...
@@ -229,36 +258,36 @@ export default {
ExtLeader_SDK
:
{
ExtLeader_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人姓名'
,
label
:
'公司负责人姓名'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtLeaderPhone_SDK
:
{
ExtLeaderPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人联系方式'
,
label
:
'公司负责人联系方式'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtLeaderEmail_SDK
:
{
ExtLeaderEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人邮箱'
,
label
:
'公司负责人邮箱'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtUnis_SDK
:
{
ExtUnis_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人姓名'
label
:
'Unis业务负责人姓名'
},
},
ExtUnisPhone_SDK
:
{
ExtUnisPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人联系方式'
label
:
'Unis业务负责人联系方式'
},
},
ExtUnisEmail_SDK
:
{
ExtUnisEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人邮箱'
,
label
:
'Unis业务负责人邮箱'
,
layout
:
12
layout
:
12
},
},
...
@@ -285,7 +314,7 @@ export default {
...
@@ -285,7 +314,7 @@ export default {
{
{
title
:
'签约信息'
,
title
:
'签约信息'
,
formDesc
:
{
formDesc
:
{
ExtChannelType_SDK
:
{
ExtChannelType_SDK
:
{
type
:
'select'
,
type
:
'select'
,
label
:
'签约渠道类型'
,
label
:
'签约渠道类型'
,
layout
:
12
,
layout
:
12
,
...
@@ -305,137 +334,142 @@ export default {
...
@@ -305,137 +334,142 @@ export default {
}
}
},
},
],
],
tableData
:
[],
tableData
:
[],
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{},
page
:
{},
apptions
:
[],
apptions
:
[],
cOptions
:
[],
cOptions
:
[],
// 同 vue-ele-form
// 同 vue-ele-form
rules
:
{
rules
:
{
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
},
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
},
}
}
}
}
},
},
watch
:{
watch
:
{
},
},
created
(){
created
()
{
this
.
id
=
this
.
$route
.
query
.
id
this
.
id
=
this
.
$route
.
query
.
id
this
.
getList
()
this
.
getList
()
this
.
getHistoryList
()
this
.
getHistoryList
()
this
.
getChannelType
()
this
.
getChannelType
()
this
.
getFile
()
this
.
getFile
()
},
},
methods
:
{
methods
:
{
getFile
(){
getFile
()
{
const
page
=
{
const
page
=
{
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
10
,
pageSize
:
10
,
businessObjectID
:
this
.
id
businessObjectID
:
this
.
id
}
}
getOneModel
(
page
).
then
(
resp
=>
{
getOneModel
(
page
).
then
(
resp
=>
{
this
.
tableData2
=
resp
.
results
this
.
tableData2
=
resp
.
results
})
})
},
},
getList
(){
getList
()
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
resp
.
results
[
0
].
ExtChannelType_SDK
=
null
resp
.
results
[
0
].
ExtChannelType_SDK
=
null
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
lockRsp
({
extProvince_SDK
:
resp
.
results
[
0
].
ExtProvince_SDK
}).
then
((
resp
)
=>
{
if
(
this
.
formData
.
ExtProcessNode_SDK
!=
2
)
{
this
.
province
=
resp
.
results
this
.
rules
.
ExtChannelType_SDK
=
[]
}
lockRsp
({
extProvince_SDK
:
resp
.
results
[
0
].
ExtProvince_SDK
}).
then
((
resp
)
=>
{
this
.
province
=
resp
.
results
})
})
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
)
=>
{
this
.
apptions
=
resp
.
results
this
.
apptions
=
resp
.
results
})
})
})
})
},
},
getChannelType
(){
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
})
})
},
},
btnLink
(
row
)
{
btnLink
(
row
)
{
window
.
location
.
href
=
row
.
FileURL
window
.
location
.
href
=
row
.
FileURL
},
},
handleSelectRSP
(
value
){
handleSelectRSP
(
value
)
{
console
.
log
(
'val'
,
value
)
console
.
log
(
'val'
,
value
)
let
cont
=
[]
let
cont
=
[]
let
val
=
[]
let
val
=
[]
this
.
province
.
forEach
((
el
)
=>
{
this
.
province
.
forEach
((
el
)
=>
{
value
.
forEach
((
item
)
=>
{
value
.
forEach
((
item
)
=>
{
if
(
el
.
ExtAgentID_SDK
==
item
)
{
if
(
el
.
ExtAgentID_SDK
==
item
)
{
cont
.
push
(
el
.
Name
)
cont
.
push
(
el
.
Name
)
val
.
push
(
el
.
ExtAgentID_SDK
)
val
.
push
(
el
.
ExtAgentID_SDK
)
}
}
})
})
})
})
this
.
formData
.
ExtLockRspName_SDK
=
cont
//获取的 name
this
.
formData
.
ExtLockRspName_SDK
=
cont
//获取的 name
this
.
formData
.
ExtLockRsp_SDK
=
val
//获取的 id
this
.
formData
.
ExtLockRsp_SDK
=
val
//获取的 id
},
},
handleSelectCity
(
value
)
{
handleSelectCity
(
value
)
{
let
cont
=
[]
let
cont
=
[]
let
val
=
[]
let
val
=
[]
this
.
apptions
.
forEach
((
el
)
=>
{
this
.
apptions
.
forEach
((
el
)
=>
{
value
.
forEach
((
item
)
=>
{
value
.
forEach
((
item
)
=>
{
if
(
el
.
Code
==
item
)
{
if
(
el
.
Code
==
item
)
{
cont
.
push
(
el
.
Name
)
cont
.
push
(
el
.
Name
)
val
.
push
(
el
.
Code
)
val
.
push
(
el
.
Code
)
}
}
})
})
})
})
this
.
formData
.
ExtLockCityName_SDK
=
cont
//获取的 name
this
.
formData
.
ExtLockCityName_SDK
=
cont
//获取的 name
this
.
formData
.
ExtLockCity_SDK
=
val
//获取的 id
this
.
formData
.
ExtLockCity_SDK
=
val
//获取的 id
},
},
handleSuccess
()
{
handleSuccess
()
{
// this.$message.success('创建成功')
// this.$message.success('创建成功')
},
},
approve
(){
approve
()
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
1
this
.
status
=
1
},
},
reject
(){
reject
()
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
2
this
.
status
=
2
},
},
approveClick
(){
approveClick
()
{
const
extLockRsp_SDK
=
this
.
formData
.
ExtLockRsp_SDK
.
toString
()
const
extLockRsp_SDK
=
this
.
formData
.
ExtLockRsp_SDK
.
toString
()
const
extLockRspName_SDK
=
this
.
formData
.
ExtLockRspName_SDK
.
toString
()
const
extLockRspName_SDK
=
this
.
formData
.
ExtLockRspName_SDK
.
toString
()
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
=
{
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
const
cc
=
{
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
objectID
:
this
.
formData
.
ObjectID
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extLockRsp_SDK
:
extLockRsp_SDK
,
objectID
:
this
.
formData
.
ObjectID
,
extLockRspName_SDK
:
extLockRspName_SDK
,
extLockRsp_SDK
:
extLockRsp_SDK
,
extLockCity_SDK
:
extLockCity_SDK
,
extLockRspName_SDK
:
extLockRspName_SDK
,
extLockCityName_SDK
:
extLockCityName_SDK
,
extLockCity_SDK
:
extLockCity_SDK
,
extChannelType_SDK
:
this
.
formData
.
ExtChannelType_SDK
}
extLockCityName_SDK
:
extLockCityName_SDK
,
if
(
this
.
status
==
1
){
extChannelType_SDK
:
this
.
formData
.
ExtChannelType_SDK
const
add
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"approve"
}
}
this
.
loading
=
true
if
(
this
.
status
==
1
)
{
ProcessApproval
(
add
).
then
((
resp
)
=>
{
const
add
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"approve"
}
this
.
loading
=
false
this
.
loading
=
true
ProcessApproval
(
add
).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
$message
.
success
(
"审批成功!"
)
this
.
$message
.
success
(
"审批成功!"
)
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
$router
.
back
()
this
.
$router
.
back
()
})
})
}
else
{
}
else
{
const
bdd
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"reject"
}
const
bdd
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"reject"
}
this
.
loading
=
true
this
.
loading
=
true
ProcessApproval
(
bdd
).
then
((
resp
)
=>
{
ProcessApproval
(
bdd
).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
$message
.
success
(
"退回成功!"
)
this
.
$message
.
success
(
"退回成功!"
)
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
$router
.
back
()
this
.
$router
.
back
()
})
})
}
}
...
@@ -460,24 +494,24 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
...
@@ -460,24 +494,24 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-row--flex
{
::v-deep
.el-row--flex
{
display
:
-
webkit-box
;
display
:
-
webkit-box
;
.el-col-14
{
.el-col-14
{
width
:
90%
;
width
:
90%
;
}
}
}
}
.basic-info
{
.basic-info
{
::v-deep
.ele-form-btns
{
::v-deep
.ele-form-btns
{
.el-form-item__content
{
.el-form-item__content
{
display
:
none
;
display
:
none
;
}
}
}
}
}
}
.btn
{
.btn
{
margin-left
:
45%
;
margin-left
:
45%
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
.table-contain
{
.table-contain
{
padding
:
0
80px
0
20px
;
padding
:
0
80px
0
20px
;
margin-left
:
65px
;
margin-left
:
65px
;
background
:
#fff
;
background
:
#fff
;
...
...
src/views/login/city-progress/index.vue
View file @
ee984843
...
@@ -13,67 +13,90 @@
...
@@ -13,67 +13,90 @@
</div>
</div>
<div
style=
"height:150px;display: flex;margin: 20px 290px;"
>
<div
style=
"height:150px;display: flex;margin: 20px 290px;"
>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
<div
class=
"div_txt"
>
提交
</div>
<div
class=
"div_txt"
>
提交
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
</div>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==2}">
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==2}">
<div
class=
"div_txt2"
>
审批_1区域渠道经理
</div>
<div
class=
"div_txt2"
>
审批_1区域渠道经理
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
<div
class=
"div_list"
>
</div>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==3}">
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==3}">
<div
class=
"div_txt2"
>
审批_2渠道销售总监
</div>
<div
class=
"div_txt2"
>
审批_2渠道销售总监
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
<div
class=
"div_list"
>
</div>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==4}">
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==4}">
<div
class=
"div_txt2"
>
审批_3渠道管理部
</div>
<div
class=
"div_txt2"
>
审批_3渠道管理部
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
</div>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==5}">
<div
class=
"div_txt2"
>
完成
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
>
<ele-form-section
<ele-form-section
v-model=
"formData"
v-model=
"formData"
:rules=
"rules"
:rules=
"rules"
: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-model=
"formData.ExtLockRsp_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.ExtLockRsp_SDK"
<el-option
:disabled=
"!formData.ExtProcessNode_SDK==2"
v-for=
"item in province"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in province"
:key=
"item.AccountID"
:key=
"item.AccountID"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.ExtSocialUnifiedCreditCode_SDK"
:value=
"item.ExtSocialUnifiedCreditCode_SDK"
/>
/>
</el-select>
</el-select>
</
template
>
</
template
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<
template
v-slot:ExtLockCity_SDK=
"{ formData }"
>
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-model=
"formData.ExtLockCity_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.ExtLockCity_SDK"
<el-option
:disabled=
"!formData.ExtProcessNode_SDK==2"
v-for=
"item in apptions"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in apptions"
:key=
"item.Code"
:key=
"item.Code"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.Code"
:value=
"item.Code"
/>
/>
</el-select>
</el-select>
</
template
>
</
template
>
<
template
v-slot:ExtChannelType_SDK=
"{ formData }"
>
<
template
v-slot:ExtChannelType_SDK=
"{ formData }"
>
<!-- 插槽内容有el-form-item组件包裹 -->
<!-- 插槽内容有el-form-item组件包裹 -->
<el-select
v-model=
"formData.ExtChannelType_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.ExtChannelType_SDK"
<el-option
:disabled=
"!formData.ExtProcessNode_SDK==2"
v-for=
"item in cOptions"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in cOptions"
:key=
"item.id"
:key=
"item.id"
:label=
"item.content"
:label=
"item.content"
:value=
"item.keyword"
:value=
"item.keyword"
/>
/>
</el-select>
</el-select>
</
template
>
</
template
>
</ele-form-section>
</ele-form-section>
...
@@ -126,7 +149,7 @@
...
@@ -126,7 +149,7 @@
<
script
>
<
script
>
import
Title
from
'@/components/Title'
import
Title
from
'@/components/Title'
import
{
getCustomer
,
typeSearch
,
lockRsp
,
ProcessApproval
,
processHistory
}
from
'@/api/customers'
;
import
{
getCustomer
,
typeSearch
,
lockRsp
,
ProcessApproval
,
processHistory
}
from
'@/api/customers'
;
import
Pagination
from
'@/components/Pagination'
import
Pagination
from
'@/components/Pagination'
import
{
Country
}
from
'@/api/qcc'
import
{
Country
}
from
'@/api/qcc'
export
default
{
export
default
{
...
@@ -134,16 +157,16 @@ export default {
...
@@ -134,16 +157,16 @@ export default {
Pagination
,
Pagination
,
Title
,
Title
,
},
},
data
()
{
data
()
{
return
{
return
{
form
:{},
form
:
{},
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
title
:
'城市代理商审批进度查询'
,
title
:
'城市代理商审批进度查询'
,
addBtnStart
:
false
,
addBtnStart
:
false
,
objectId
:
''
,
objectId
:
''
,
id
:
''
,
id
:
''
,
status
:
0
,
status
:
0
,
loading
:
false
,
loading
:
false
,
formData
:
{},
formData
:
{},
province
:
[],
province
:
[],
sections
:
[
sections
:
[
...
@@ -155,8 +178,8 @@ export default {
...
@@ -155,8 +178,8 @@ export default {
label
:
'公司全称'
,
label
:
'公司全称'
,
layout
:
24
,
layout
:
24
,
code
:
'qcc'
,
code
:
'qcc'
,
disabled
:
true
,
disabled
:
true
,
returnFn
:
function
(
row
)
{
returnFn
:
function
(
row
)
{
return
{
return
{
Name
:
row
.
Name
,
Name
:
row
.
Name
,
ExtSocialUnifiedCreditCode_SDK
:
row
.
CreditCode
,
ExtSocialUnifiedCreditCode_SDK
:
row
.
CreditCode
,
...
@@ -168,24 +191,24 @@ export default {
...
@@ -168,24 +191,24 @@ export default {
type
:
'input'
,
type
:
'input'
,
label
:
'公司全称曾用名'
,
label
:
'公司全称曾用名'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'社会统一信用代码'
,
label
:
'社会统一信用代码'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtRegisteredCapital_SDK
:
{
ExtRegisteredCapital_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'注册资本(万元)'
,
label
:
'注册资本(万元)'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
,
layout
:
12
,
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'法人'
,
label
:
'法人'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
,
layout
:
12
,
},
},
// Ext_QuoteOppotunity_KUT: {
// Ext_QuoteOppotunity_KUT: {
...
@@ -202,7 +225,7 @@ export default {
...
@@ -202,7 +225,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
label
:
'省份'
,
label
:
'省份'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtCityName_SDK
:
{
ExtCityName_SDK
:
{
...
@@ -210,7 +233,7 @@ export default {
...
@@ -210,7 +233,7 @@ export default {
label
:
'城市'
,
label
:
'城市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtDistrictName_SDK
:
{
ExtDistrictName_SDK
:
{
...
@@ -218,14 +241,14 @@ export default {
...
@@ -218,14 +241,14 @@ export default {
label
:
'县市'
,
label
:
'县市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtAddressDetail_SDK
:
{
ExtAddressDetail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'详细经营地址'
,
label
:
'详细经营地址'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
}
}
},
},
...
@@ -235,36 +258,36 @@ export default {
...
@@ -235,36 +258,36 @@ export default {
ExtLeader_SDK
:
{
ExtLeader_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人姓名'
,
label
:
'公司负责人姓名'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtLeaderPhone_SDK
:
{
ExtLeaderPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人联系方式'
,
label
:
'公司负责人联系方式'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtLeaderEmail_SDK
:
{
ExtLeaderEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人邮箱'
,
label
:
'公司负责人邮箱'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtUnis_SDK
:
{
ExtUnis_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人姓名'
label
:
'Unis业务负责人姓名'
},
},
ExtUnisPhone_SDK
:
{
ExtUnisPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人联系方式'
label
:
'Unis业务负责人联系方式'
},
},
ExtUnisEmail_SDK
:
{
ExtUnisEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人邮箱'
,
label
:
'Unis业务负责人邮箱'
,
layout
:
12
layout
:
12
},
},
...
@@ -289,54 +312,54 @@ export default {
...
@@ -289,54 +312,54 @@ export default {
}
}
},
},
],
],
tableData
:
[],
tableData
:
[],
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{},
page
:
{},
apptions
:
[],
apptions
:
[],
cOptions
:
[],
cOptions
:
[],
// 同 vue-ele-form
// 同 vue-ele-form
rules
:
{
rules
:
{
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
},
ExtChannelType_SDK
:
{
required
:
true
,
message
:
'请选择签约渠道类型'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
},
ExtLockRsp_SDK
:
{
required
:
true
,
message
:
'请选择锁定RSP'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
},
ExtLockCity_SDK
:
{
required
:
true
,
message
:
'请选择城市覆盖范围'
},
}
}
}
}
},
},
watch
:{
watch
:
{
},
},
created
(){
created
()
{
this
.
id
=
this
.
$route
.
query
.
objectID
this
.
id
=
this
.
$route
.
query
.
objectID
this
.
getList
()
this
.
getList
()
this
.
getHistoryList
()
this
.
getHistoryList
()
this
.
getChannelType
()
this
.
getChannelType
()
},
},
methods
:
{
methods
:
{
getList
(){
getList
()
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
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
})
})
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
)
=>
{
this
.
apptions
=
resp
.
results
this
.
apptions
=
resp
.
results
})
})
})
})
},
},
getChannelType
(){
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
})
})
},
},
handleSuccess
()
{
handleSuccess
()
{
// this.$message.success('创建成功')
// this.$message.success('创建成功')
},
},
// 对象格式转化为键值对
// 对象格式转化为键值对
...
@@ -358,40 +381,40 @@ export default {
...
@@ -358,40 +381,40 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-row--flex
{
::v-deep
.el-row--flex
{
display
:
-
webkit-box
;
display
:
-
webkit-box
;
.el-col-14
{
.el-col-14
{
width
:
90%
;
width
:
90%
;
}
}
}
}
.basic-info
{
.basic-info
{
::v-deep
.ele-form-btns
{
::v-deep
.ele-form-btns
{
.el-form-item__content
{
.el-form-item__content
{
display
:
none
;
display
:
none
;
}
}
}
}
}
}
.btn
{
.btn
{
margin-left
:
45%
;
margin-left
:
45%
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
.table-contain
{
.table-contain
{
padding
:
0
80px
0
20px
;
padding
:
0
80px
0
20px
;
margin-left
:
65px
;
margin-left
:
65px
;
background
:
#fff
;
background
:
#fff
;
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.div_list
{
.div_list
{
display
:
flex
;
display
:
flex
;
margin-right
:
10px
;
margin-right
:
10px
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
}
}
.div_txt
{
.div_txt
{
text-align
:
center
;
text-align
:
center
;
line-height
:
75px
;
line-height
:
75px
;
}
}
.div_txt2
{
.div_txt2
{
height
:
80px
;
height
:
80px
;
margin-top
:
12px
;
margin-top
:
12px
;
}
}
...
@@ -403,7 +426,7 @@ export default {
...
@@ -403,7 +426,7 @@ export default {
border-left
:
20px
solid
#a22796
;
border-left
:
20px
solid
#a22796
;
border-bottom
:
20px
solid
transparent
;
border-bottom
:
20px
solid
transparent
;
}
}
.bgcolor
{
.bgcolor
{
background
:
#a22796
!
important
;
background
:
#a22796
!
important
;
}
}
#parallelogram
{
#parallelogram
{
...
...
src/views/login/city-register/index.vue
View file @
ee984843
...
@@ -263,14 +263,13 @@
...
@@ -263,14 +263,13 @@
:offset=
"1"
:offset=
"1"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"营业执照:"
<el-form-item
label=
"营业执照:"
prop=
"file
lll
"
prop=
"file"
label-width=
"100px"
label-width=
"100px"
class=
"filter-icon-none"
>
class=
"filter-icon-none"
>
<el-upload
:on-change=
"handleChange"
<el-upload
:on-change=
"handleChange"
:on-success=
"handleAvatarSuccess"
:on-remove=
"handleRemoveFile"
:on-remove=
"handleRemoveFile"
action=
"https://jsonplaceholder.typicode.com/posts/"
:auto-upload=
'false'
ac
cept=
".doc,.txt,.pdf,.xls,.docx,.xlsx
"
ac
tion=
"false
"
:limit=
"1"
>
:limit=
"1"
>
<el-button
size=
"small"
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
type=
"primary"
>
点击上传
</el-button>
...
@@ -361,7 +360,7 @@ export default {
...
@@ -361,7 +360,7 @@ export default {
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
'blur'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
[
'blur'
,
'change'
]
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
'blur'
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
'blur'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'blur'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
...
@@ -371,7 +370,7 @@ export default {
...
@@ -371,7 +370,7 @@ export default {
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
extUnis_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人姓名'
,
trigger
:
'blur'
}],
extUnis_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人姓名'
,
trigger
:
'blur'
}],
extUnisPhone_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人电话'
,
trigger
:
'blur'
}],
extUnisPhone_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人电话'
,
trigger
:
'blur'
}],
file
lll
:
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
'blur'
}],
file
:
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
[
'blur'
,
'change'
]
}],
extUnisEmail_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人邮箱'
,
trigger
:
'blur'
},
extUnisEmail_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人邮箱'
,
trigger
:
'blur'
},
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
{
type
:
'email'
,
message
:
'请输入正确的邮箱地址'
,
trigger
:
[
'blur'
,
'change'
]
}],
},
},
...
@@ -388,7 +387,7 @@ export default {
...
@@ -388,7 +387,7 @@ export default {
watch
:
{
watch
:
{
},
},
computed
:
{
computed
:
{
visitedViews
()
{
visitedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
visitedViews
return
this
.
$store
.
state
.
tagsView
.
visitedViews
},
},
...
@@ -474,7 +473,7 @@ export default {
...
@@ -474,7 +473,7 @@ export default {
this
.
$message
.
success
(
'提交成功!'
)
this
.
$message
.
success
(
'提交成功!'
)
this
.
$router
.
back
()
this
.
$router
.
back
()
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
// this.$message({
// this.$message({
// type: 'warning',
// type: 'warning',
// message: err
// message: err
...
@@ -520,22 +519,12 @@ export default {
...
@@ -520,22 +519,12 @@ export default {
return
{
'Content-Type'
:
'multipart/form-data'
}
return
{
'Content-Type'
:
'multipart/form-data'
}
},
},
handleChange
(
file
,
fileList
)
{
handleChange
(
file
,
fileList
)
{
this
.
formData
.
file
=
(
file
.
raw
)
this
.
formData
.
file
=
file
.
raw
},
this
.
supplierBaseRules
.
file
=
[]
handleAvatarSuccess
(
res
,
file
)
{
console
.
log
(
'res'
,
res
,
"file"
,
file
)
this
.
supplierBaseRules
.
filelll
=
[]
},
},
handleRemoveFile
(
res
,
file
)
{
handleRemoveFile
(
res
,
file
)
{
console
.
log
(
'restest'
,
res
,
"file"
,
file
)
this
.
supplierBaseRules
.
file
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
[
'blur'
,
'change'
]
}]
this
.
supplierBaseRules
.
filelll
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
'blur'
}]
},
},
onSubmit
()
{
},
handlePreview
()
{
},
handleRemove
()
{
},
beforeRemove
()
{
},
handleExceed
()
{
},
handleNext
()
{
}
}
}
}
}
</
script
>
</
script
>
...
...
src/views/login/prov-progress/index.vue
View file @
ee984843
...
@@ -12,43 +12,55 @@
...
@@ -12,43 +12,55 @@
</div>
</div>
<div
style=
"height:150px;display: flex;margin: 20px 290px;"
>
<div
style=
"height:150px;display: flex;margin: 20px 290px;"
>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==1}">
<div
class=
"div_txt"
>
提交
</div>
<div
class=
"div_txt"
>
提交
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
</div>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==2}">
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==2}">
<div
class=
"div_txt2"
>
审批_1区域渠道经理
</div>
<div
class=
"div_txt2"
>
审批_1区域渠道经理
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
</div>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==3}">
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==3}">
<div
class=
"div_txt2"
>
审批_2渠道销售部大区负责人
</div>
<div
class=
"div_txt2"
>
审批_2渠道销售部大区负责人
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
</div>
<div
class=
"div_list"
>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==4}">
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==4}">
<div
class=
"div_txt2"
>
审批_3渠道销售总监
</div>
<div
class=
"div_txt2"
>
审批_3渠道销售总监
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
<div
class=
"triangle_right"
></div>
</div>
<div
class=
"div_list"
>
</div>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==5}">
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==5}">
<div
class=
"div_txt2"
>
审批_4渠道管理部
</div>
<div
class=
"div_txt2"
>
审批_4渠道管理部
</div>
</div>
</div>
<div
class=
"parallelogram1"
></div>
<div
class=
"triangle_right"
></div>
</div>
<div
class=
"div_list"
>
<div
id=
"parallelogram"
:class=
"
{'bgcolor':formData.ExtProcessNode_SDK==6}">
<div
class=
"div_txt2"
>
完成
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"basic-info"
>
<div
class=
"basic-info"
>
<ele-form-section
<ele-form-section
v-model=
"formData"
v-model=
"formData"
:sections=
"sections"
>
:sections=
"sections"
>
</ele-form-section>
</ele-form-section>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
...
@@ -100,7 +112,7 @@
...
@@ -100,7 +112,7 @@
<
script
>
<
script
>
import
Title
from
'@/components/Title'
import
Title
from
'@/components/Title'
import
{
getCustomer
,
typeSearch
,
lockRsp
,
ProcessApproval
,
processHistory
,
province
}
from
'@/api/customers'
;
import
{
getCustomer
,
typeSearch
,
lockRsp
,
ProcessApproval
,
processHistory
,
province
}
from
'@/api/customers'
;
import
{
Country
}
from
'@/api/qcc'
import
{
Country
}
from
'@/api/qcc'
import
Pagination
from
'@/components/Pagination'
import
Pagination
from
'@/components/Pagination'
export
default
{
export
default
{
...
@@ -108,16 +120,16 @@ export default {
...
@@ -108,16 +120,16 @@ export default {
Pagination
,
Pagination
,
Title
,
Title
,
},
},
data
()
{
data
()
{
return
{
return
{
form
:{},
form
:
{},
dialogFormVisible
:
false
,
dialogFormVisible
:
false
,
title
:
'省级代理商审批进度查询'
,
title
:
'省级代理商审批进度查询'
,
addBtnStart
:
false
,
addBtnStart
:
false
,
objectId
:
''
,
objectId
:
''
,
id
:
''
,
id
:
''
,
status
:
0
,
status
:
0
,
loading
:
false
,
loading
:
false
,
formData
:
{},
formData
:
{},
province
:
[],
province
:
[],
sections
:
[
sections
:
[
...
@@ -129,8 +141,8 @@ export default {
...
@@ -129,8 +141,8 @@ export default {
label
:
'公司全称'
,
label
:
'公司全称'
,
layout
:
24
,
layout
:
24
,
code
:
'qcc'
,
code
:
'qcc'
,
disabled
:
true
,
disabled
:
true
,
returnFn
:
function
(
row
)
{
returnFn
:
function
(
row
)
{
return
{
return
{
Name
:
row
.
Name
,
Name
:
row
.
Name
,
ExtSocialUnifiedCreditCode_SDK
:
row
.
CreditCode
,
ExtSocialUnifiedCreditCode_SDK
:
row
.
CreditCode
,
...
@@ -142,24 +154,24 @@ export default {
...
@@ -142,24 +154,24 @@ export default {
type
:
'input'
,
type
:
'input'
,
label
:
'公司全称曾用名'
,
label
:
'公司全称曾用名'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtSocialUnifiedCreditCode_SDK
:
{
ExtSocialUnifiedCreditCode_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'社会统一信用代码'
,
label
:
'社会统一信用代码'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtRegisteredCapital_SDK
:
{
ExtRegisteredCapital_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'注册资本(万元)'
,
label
:
'注册资本(万元)'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
,
layout
:
12
,
},
},
ExtCorporateName_SDK
:
{
ExtCorporateName_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'法人'
,
label
:
'法人'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
,
layout
:
12
,
},
},
// Ext_QuoteOppotunity_KUT: {
// Ext_QuoteOppotunity_KUT: {
...
@@ -176,7 +188,7 @@ export default {
...
@@ -176,7 +188,7 @@ export default {
type
:
'input'
,
type
:
'input'
,
label
:
'省份'
,
label
:
'省份'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtCityName_SDK
:
{
ExtCityName_SDK
:
{
...
@@ -184,7 +196,7 @@ export default {
...
@@ -184,7 +196,7 @@ export default {
label
:
'城市'
,
label
:
'城市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtDistrictName_SDK
:
{
ExtDistrictName_SDK
:
{
...
@@ -192,14 +204,14 @@ export default {
...
@@ -192,14 +204,14 @@ export default {
label
:
'县市'
,
label
:
'县市'
,
layout
:
12
,
layout
:
12
,
isOptions
:
true
,
isOptions
:
true
,
disabled
:
true
,
disabled
:
true
,
},
},
ExtAddressDetail_SDK
:
{
ExtAddressDetail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'详细经营地址'
,
label
:
'详细经营地址'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
},
},
}
}
},
},
...
@@ -209,54 +221,54 @@ export default {
...
@@ -209,54 +221,54 @@ export default {
ExtLeader_SDK
:
{
ExtLeader_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人姓名'
,
label
:
'公司负责人姓名'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtLeaderPhone_SDK
:
{
ExtLeaderPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人联系方式'
,
label
:
'公司负责人联系方式'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtLeaderEmail_SDK
:
{
ExtLeaderEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'公司负责人邮箱'
,
label
:
'公司负责人邮箱'
,
disabled
:
true
,
disabled
:
true
,
layout
:
12
layout
:
12
},
},
ExtUnis_SDK
:
{
ExtUnis_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人姓名'
label
:
'Unis业务负责人姓名'
},
},
ExtUnisPhone_SDK
:
{
ExtUnisPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人联系方式'
label
:
'Unis业务负责人联系方式'
},
},
ExtUnisEmail_SDK
:
{
ExtUnisEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
disabled
:
true
,
disabled
:
true
,
label
:
'Unis业务负责人邮箱'
,
label
:
'Unis业务负责人邮箱'
,
layout
:
12
layout
:
12
},
},
ExtBusiness_SDK
:
{
ExtBusiness_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'商务负责人姓名'
label
:
'商务负责人姓名'
},
},
ExtBusinessPhone_SDK
:
{
ExtBusinessPhone_SDK
:
{
type
:
'input'
,
type
:
'input'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
,
disabled
:
true
,
label
:
'商务负责人联系方式'
label
:
'商务负责人联系方式'
},
},
ExtBusinessEmail_SDK
:
{
ExtBusinessEmail_SDK
:
{
type
:
'input'
,
type
:
'input'
,
disabled
:
true
,
disabled
:
true
,
label
:
'商务负责人邮箱'
,
label
:
'商务负责人邮箱'
,
layout
:
12
layout
:
12
},
},
...
@@ -265,43 +277,43 @@ export default {
...
@@ -265,43 +277,43 @@ export default {
{
{
title
:
'签约信息'
,
title
:
'签约信息'
,
formDesc
:
{
formDesc
:
{
ExtChannelType_SDK
:
{
ExtChannelType_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'签约渠道类型'
,
label
:
'签约渠道类型'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
disabled
:
true
},
},
ExtProductGroup_SDK
:
{
ExtProductGroup_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'签约产品组'
,
label
:
'签约产品组'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
disabled
:
true
},
},
ExtTotalAgent_SDK
:
{
ExtTotalAgent_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'签约总代'
,
label
:
'签约总代'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
disabled
:
true
},
},
ExtLockCityName_SDK
:
{
ExtLockCityName_SDK
:
{
type
:
'input'
,
type
:
'input'
,
label
:
'覆盖范围(城市)'
,
label
:
'覆盖范围(城市)'
,
layout
:
12
,
layout
:
12
,
disabled
:
true
disabled
:
true
},
},
}
}
},
},
],
],
tableData
:
[],
tableData
:
[],
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{},
page
:
{},
// 同 vue-ele-form
// 同 vue-ele-form
// rules: {
// rules: {
// ExtLockCity_SDK: {required: true, message: '请选择覆盖城市范围'},
// ExtLockCity_SDK: {required: true, message: '请选择覆盖城市范围'},
// }
// }
}
}
},
},
watch
:{
watch
:
{
// province:{
// province:{
// handler(newVal,oldVal){
// handler(newVal,oldVal){
// this.province=newVal
// this.province=newVal
...
@@ -310,63 +322,65 @@ export default {
...
@@ -310,63 +322,65 @@ export default {
// }
// }
},
},
created
(){
created
()
{
this
.
id
=
this
.
$route
.
query
.
objectID
this
.
id
=
this
.
$route
.
query
.
objectID
this
.
getList
()
this
.
getList
()
this
.
getHistoryList
()
this
.
getHistoryList
()
},
},
methods
:
{
methods
:
{
getList
(){
getList
()
{
console
.
log
(
'objectId'
,
this
.
id
)
console
.
log
(
'objectId'
,
this
.
id
)
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
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
)
=>
{
this
.
province
=
resp
.
results
this
.
province
=
resp
.
results
})
})
})
})
},
},
getHistoryList
(){
getHistoryList
()
{
processHistory
({
businessObjectID
:
this
.
id
}).
then
((
resp
)
=>
{
processHistory
({
businessObjectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
tableData
=
resp
.
results
this
.
tableData
=
resp
.
results
})
})
},
},
handleSuccess
()
{
handleSuccess
()
{
// this.$message.success('创建成功')
// this.$message.success('创建成功')
},
},
approve
(){
approve
()
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
1
this
.
status
=
1
},
},
reject
(){
reject
()
{
this
.
dialogFormVisible
=
true
this
.
dialogFormVisible
=
true
this
.
status
=
2
this
.
status
=
2
},
},
approveClick
(){
approveClick
()
{
const
ExtLockCity_SDK
=
this
.
formData
.
ExtLockCity_SDK
.
toString
()
const
ExtLockCity_SDK
=
this
.
formData
.
ExtLockCity_SDK
.
toString
()
const
cc
=
{
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
const
cc
=
{
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
extProcessNode_SDK
:
this
.
formData
.
ExtProcessNode_SDK
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extCustomerType_SDK
:
this
.
formData
.
ExtCustomerType_SDK
,
objectID
:
this
.
formData
.
ObjectID
,
extProvince_SDK
:
this
.
formData
.
ExtProvince_SDK
,
extLockRsp_SDK
:
this
.
formData
.
extLockRsp_SDK
,
objectID
:
this
.
formData
.
ObjectID
,
extLockCity_SDK
:
ExtLockCity_SDK
,
extLockRsp_SDK
:
this
.
formData
.
extLockRsp_SDK
,
extChannelType_SDK
:
this
.
formData
.
ExtChannelType_SDK
}
extLockCity_SDK
:
ExtLockCity_SDK
,
if
(
this
.
status
==
1
){
extChannelType_SDK
:
this
.
formData
.
ExtChannelType_SDK
const
add
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"approve"
}
}
this
.
loading
=
true
if
(
this
.
status
==
1
)
{
ProcessApproval
(
add
).
then
((
resp
)
=>
{
const
add
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"approve"
}
this
.
loading
=
false
this
.
loading
=
true
ProcessApproval
(
add
).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
$message
.
success
(
"审批成功!"
)
this
.
$message
.
success
(
"审批成功!"
)
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
$router
.
back
()
this
.
$router
.
back
()
})
})
}
else
{
}
else
{
this
.
loading
=
true
this
.
loading
=
true
const
bdd
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"reject"
}
const
bdd
=
{
customerDTO
:
cc
,
note
:
this
.
form
.
note
,
result
:
"reject"
}
ProcessApproval
(
bdd
).
then
((
resp
)
=>
{
ProcessApproval
(
bdd
).
then
((
resp
)
=>
{
this
.
loading
=
false
this
.
loading
=
false
this
.
$message
.
success
(
"退回成功!"
)
this
.
$message
.
success
(
"退回成功!"
)
this
.
dialogFormVisible
=
false
this
.
dialogFormVisible
=
false
this
.
$router
.
back
()
this
.
$router
.
back
()
})
})
}
}
...
@@ -391,40 +405,40 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
...
@@ -391,40 +405,40 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-row--flex
{
::v-deep
.el-row--flex
{
display
:
-
webkit-box
;
display
:
-
webkit-box
;
.el-col-14
{
.el-col-14
{
width
:
90%
;
width
:
90%
;
}
}
}
}
.basic-info
{
.basic-info
{
::v-deep
.ele-form-btns
{
::v-deep
.ele-form-btns
{
.el-form-item__content
{
.el-form-item__content
{
display
:
none
;
display
:
none
;
}
}
}
}
}
}
.btn
{
.btn
{
margin-left
:
45%
;
margin-left
:
45%
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
.table-contain
{
.table-contain
{
padding
:
0
80px
0
20px
;
padding
:
0
80px
0
20px
;
margin-left
:
65px
;
margin-left
:
65px
;
background
:
#fff
;
background
:
#fff
;
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.div_list
{
.div_list
{
display
:
flex
;
display
:
flex
;
margin-right
:
10px
;
margin-right
:
10px
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
}
}
.div_txt
{
.div_txt
{
text-align
:
center
;
text-align
:
center
;
line-height
:
75px
;
line-height
:
75px
;
}
}
.div_txt2
{
.div_txt2
{
height
:
80px
;
height
:
80px
;
margin-top
:
12px
;
margin-top
:
12px
;
}
}
...
@@ -436,7 +450,7 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
...
@@ -436,7 +450,7 @@ extChannelType_SDK:this.formData.ExtChannelType_SDK}
border-left
:
20px
solid
#a22796
;
border-left
:
20px
solid
#a22796
;
border-bottom
:
20px
solid
transparent
;
border-bottom
:
20px
solid
transparent
;
}
}
.bgcolor
{
.bgcolor
{
background
:
#a22796
!
important
;
background
:
#a22796
!
important
;
}
}
#parallelogram
{
#parallelogram
{
...
...
src/views/login/prov-register/index.vue
View file @
ee984843
...
@@ -18,8 +18,7 @@
...
@@ -18,8 +18,7 @@
<el-col
:span=
"13"
<el-col
:span=
"13"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"公司全称:"
<el-form-item
label=
"公司全称:"
label-width=
"150px"
label-width=
"150px"
>
>
<el-input
v-model=
"formData.name"
<el-input
v-model=
"formData.name"
readonly
readonly
placeholder=
'请选择公司'
placeholder=
'请选择公司'
...
@@ -47,8 +46,7 @@
...
@@ -47,8 +46,7 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"统一社会信用代码:"
<el-form-item
label=
"统一社会信用代码:"
label-width=
"150px"
label-width=
"150px"
prop=
"extSocialUnifiedCreditCode_SDK"
prop=
"extSocialUnifiedCreditCode_SDK"
>
>
<template>
<template>
<el-input
v-model=
"formData.extSocialUnifiedCreditCode_SDK"
<el-input
v-model=
"formData.extSocialUnifiedCreditCode_SDK"
placeholder=
"企查查获取"
placeholder=
"企查查获取"
...
@@ -102,15 +100,17 @@
...
@@ -102,15 +100,17 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"省份:"
<el-form-item
label=
"省份:"
prop=
"extProvince_SDK"
prop=
"extProvince_SDK"
label-width=
"80px"
label-width=
"80px"
>
>
<el-select
v-model=
"formData.extProvince_SDK"
<el-select
v-model=
"formData.extProvince_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择省份"
no-match-text=
"无匹配数据"
@
change=
"handleSelect($event)"
>
style=
"width: 91%"
<el-option
filterable
v-for=
"item in countryOptions"
placeholder=
"请选择省份"
no-match-text=
"无匹配数据"
@
change=
"handleSelect($event)"
>
<el-option
v-for=
"item in countryOptions"
:key=
"item.Code"
:key=
"item.Code"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.Code"
:value=
"item.Code"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -118,15 +118,16 @@
...
@@ -118,15 +118,16 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"市:"
<el-form-item
label=
"市:"
prop=
"extCity_SDK"
prop=
"extCity_SDK"
label-width=
"80px"
label-width=
"80px"
>
>
<el-select
v-model=
"formData.extCity_SDK"
<el-select
v-model=
"formData.extCity_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择市"
@
change=
"handleSelectCity"
>
style=
"width: 91%"
<el-option
filterable
v-for=
"item in cityOptions"
placeholder=
"请选择市"
@
change=
"handleSelectCity"
>
<el-option
v-for=
"item in cityOptions"
:key=
"item.Code"
:key=
"item.Code"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.Code"
:value=
"item.Code"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -134,15 +135,17 @@
...
@@ -134,15 +135,17 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"区:"
<el-form-item
label=
"区:"
prop=
"extDistrict_SDK"
prop=
"extDistrict_SDK"
label-width=
"80px"
label-width=
"80px"
>
>
<el-select
v-model=
"formData.extDistrict_SDK"
<el-select
v-model=
"formData.extDistrict_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
@
change=
"handleSelectDis"
>
style=
"width: 91%"
<el-option
filterable
v-for=
"item in disOptions"
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
@
change=
"handleSelectDis"
>
<el-option
v-for=
"item in disOptions"
:key=
"item.Code"
:key=
"item.Code"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.Code"
:value=
"item.Code"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -169,8 +172,7 @@
...
@@ -169,8 +172,7 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"公司负责人姓名:"
<el-form-item
label=
"公司负责人姓名:"
prop=
"extLeader_SDK"
prop=
"extLeader_SDK"
label-width=
"150px"
label-width=
"150px"
>
>
<el-input
v-model=
"formData.extLeader_SDK"
<el-input
v-model=
"formData.extLeader_SDK"
placeholder=
""
placeholder=
""
style=
"width: 80%"
style=
"width: 80%"
...
@@ -183,8 +185,7 @@
...
@@ -183,8 +185,7 @@
<el-form-item
label=
"公司负责人联系电话:"
<el-form-item
label=
"公司负责人联系电话:"
prop=
"extLeaderPhone_SDK"
prop=
"extLeaderPhone_SDK"
label-width=
"160px"
label-width=
"160px"
class=
"filter-icon-none"
class=
"filter-icon-none"
>
>
<el-input
v-model=
"formData.extLeaderPhone_SDK"
<el-input
v-model=
"formData.extLeaderPhone_SDK"
placeholder=
""
placeholder=
""
style=
"width: 80%"
style=
"width: 80%"
...
@@ -203,8 +204,7 @@
...
@@ -203,8 +204,7 @@
<el-form-item
label=
"公司负责人邮箱:"
<el-form-item
label=
"公司负责人邮箱:"
prop=
"extLeaderEmail_SDK"
prop=
"extLeaderEmail_SDK"
label-width=
"150px"
label-width=
"150px"
class=
"filter-icon-none"
class=
"filter-icon-none"
>
>
<el-input
v-model=
"formData.extLeaderEmail_SDK"
<el-input
v-model=
"formData.extLeaderEmail_SDK"
placeholder=
""
placeholder=
""
style=
"width: 52%"
style=
"width: 52%"
...
@@ -218,8 +218,7 @@
...
@@ -218,8 +218,7 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"Unis业务负责人姓名:"
<el-form-item
label=
"Unis业务负责人姓名:"
prop=
"extUnis_SDK"
prop=
"extUnis_SDK"
label-width=
"160px"
label-width=
"160px"
>
>
<el-input
v-model=
"formData.extUnis_SDK"
<el-input
v-model=
"formData.extUnis_SDK"
placeholder=
""
placeholder=
""
style=
"width: 80%"
style=
"width: 80%"
...
@@ -231,8 +230,7 @@
...
@@ -231,8 +230,7 @@
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"Unis业务负责人电话:"
<el-form-item
label=
"Unis业务负责人电话:"
prop=
"extUnisPhone_SDK"
prop=
"extUnisPhone_SDK"
label-width=
"160px"
label-width=
"160px"
>
>
<el-input
v-model=
"formData.extUnisPhone_SDK"
<el-input
v-model=
"formData.extUnisPhone_SDK"
placeholder=
""
placeholder=
""
style=
"width: 90%"
style=
"width: 90%"
...
@@ -246,8 +244,7 @@
...
@@ -246,8 +244,7 @@
<el-form-item
label=
"Unis业务负责人邮箱:"
<el-form-item
label=
"Unis业务负责人邮箱:"
prop=
"extUnisEmail_SDK"
prop=
"extUnisEmail_SDK"
label-width=
"160px"
label-width=
"160px"
class=
"filter-icon-none"
class=
"filter-icon-none"
>
>
<el-input
v-model=
"formData.extUnisEmail_SDK"
<el-input
v-model=
"formData.extUnisEmail_SDK"
placeholder=
""
placeholder=
""
style=
"width: 80%"
style=
"width: 80%"
...
@@ -255,19 +252,43 @@
...
@@ -255,19 +252,43 @@
clearable
/>
clearable
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
:offset=
"1"
class=
"padding-bottom"
>
<el-col
:span=
"12"
<el-form-item
label=
"商务负责人姓名:"
prop=
"extBusiness_SDK"
label-width=
"150px"
>
:offset=
"1"
<el-input
v-model=
"formData.extBusiness_SDK"
placeholder=
""
style=
"width: 80%"
class=
"filter-item"
clearable
/>
class=
"padding-bottom"
>
<el-form-item
label=
"商务负责人姓名:"
prop=
"extBusiness_SDK"
label-width=
"150px"
>
<el-input
v-model=
"formData.extBusiness_SDK"
placeholder=
""
style=
"width: 80%"
class=
"filter-item"
clearable
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"10"
class=
"padding-bottom"
>
<el-col
:span=
"10"
<el-form-item
label=
"商务负责人电话:"
prop=
"extBusinessPhone_SDK"
label-width=
"140px"
>
class=
"padding-bottom"
>
<el-input
v-model=
"formData.extBusinessPhone_SDK"
placeholder=
""
style=
"width: 90%"
class=
"filter-item"
clearable
/>
<el-form-item
label=
"商务负责人电话:"
prop=
"extBusinessPhone_SDK"
label-width=
"140px"
>
<el-input
v-model=
"formData.extBusinessPhone_SDK"
placeholder=
""
style=
"width: 90%"
class=
"filter-item"
clearable
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-col
:span=
"11"
<el-form-item
label=
"商务负责人邮箱:"
prop=
"extBusinessEmail_SDK"
label-width=
"160px"
class=
"filter-icon-none"
>
:offset=
"1"
<el-input
v-model=
"formData.extBusinessEmail_SDK"
placeholder=
""
style=
"width: 80%"
class=
"filter-item"
clearable
/>
class=
"padding-bottom"
>
<el-form-item
label=
"商务负责人邮箱:"
prop=
"extBusinessEmail_SDK"
label-width=
"160px"
class=
"filter-icon-none"
>
<el-input
v-model=
"formData.extBusinessEmail_SDK"
placeholder=
""
style=
"width: 80%"
class=
"filter-item"
clearable
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -275,39 +296,60 @@
...
@@ -275,39 +296,60 @@
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"签约信息"
/>
<el-form-item
label=
"签约信息"
/>
</el-col>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-col
:span=
"11"
<el-form-item
label=
"签约渠道类型:"
prop=
"extChannelType_SDK"
label-width=
"120px"
>
:offset=
"1"
<el-select
v-model=
"formData.extChannelType_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
class=
"padding-bottom"
>
<el-option
<el-form-item
label=
"签约渠道类型:"
v-for=
"item in aOptions"
prop=
"extChannelType_SDK"
label-width=
"120px"
>
<el-select
v-model=
"formData.extChannelType_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
v-for=
"item in aOptions"
:key=
"item.id"
:key=
"item.id"
:label=
"item.content"
:label=
"item.content"
:value=
"item.keyword"
:value=
"item.keyword"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
class=
"padding-bottom"
>
<el-col
:span=
"12"
<el-form-item
label=
"签约产品组:"
prop=
"extProductGroup_KUT"
label-width=
"120px"
>
class=
"padding-bottom"
>
<el-select
v-model=
"formData.extProductGroup_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handSelect2"
>
<el-form-item
label=
"签约产品组:"
<el-option
prop=
"extProductGroup_KUT"
v-for=
"item in bOptions"
label-width=
"120px"
>
<el-select
v-model=
"formData.extProductGroup_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handSelect2"
>
<el-option
v-for=
"item in bOptions"
:key=
"item.id"
:key=
"item.id"
:label=
"item.content"
:label=
"item.content"
:value=
"item.keyword"
:value=
"item.keyword"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-col
:span=
"11"
<el-form-item
label=
"签约总代:"
prop=
"extTotalAgent_KUT"
label-width=
"100px"
>
:offset=
"1"
<el-select
v-model=
"formData.extTotalAgent_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handSelect3"
>
class=
"padding-bottom"
>
<el-option
<el-form-item
label=
"签约总代:"
v-for=
"item in cOptions"
prop=
"extTotalAgent_KUT"
label-width=
"100px"
>
<el-select
v-model=
"formData.extTotalAgent_KUT"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handSelect3"
>
<el-option
v-for=
"item in cOptions"
:key=
"item.id"
:key=
"item.id"
:label=
"item.content"
:label=
"item.content"
:value=
"item.keyword"
:value=
"item.keyword"
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -321,27 +363,26 @@
...
@@ -321,27 +363,26 @@
:offset=
"1"
:offset=
"1"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"营业执照:"
<el-form-item
label=
"营业执照:"
prop=
"file
lll
"
prop=
"file"
label-width=
"100px"
label-width=
"100px"
class=
"filter-icon-none"
class=
"filter-icon-none"
>
>
<el-upload
ref=
"uploadExcel"
<el-upload
action=
"false"
ref=
"uploadExcel"
action=
"https://jsonplaceholder.typicode.com/posts/"
:limit=
'1'
:limit=
'1'
accept=
".doc,.txt,.pdf,.xls,.docx,.xlsx "
:auto-upload=
'false'
:on-success=
"handleAvatarSuccess"
:on-remove=
"handleRemoveFile"
:on-remove=
"handleRemoveFile"
:on-change=
"fileChange"
:on-change=
"fileChange"
>
>
<el-button
size=
"small"
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
type=
"primary"
>
点击上传
</el-button>
</el-upload>
</el-upload>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
align=
"center"
>
<el-col
align=
"center"
>
<el-button
type=
"primary"
:loading=
"btnloading"
@
click=
"handleApprove()"
>
提交
</el-button>
<el-button
type=
"primary"
:loading=
"btnloading"
@
click=
"handleApprove()"
>
提交
</el-button>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -389,13 +430,12 @@
...
@@ -389,13 +430,12 @@
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
Qcc
,
Country
,
Customer
,
Common
}
from
'@/api/qcc'
import
{
Qcc
,
Country
,
Customer
,
Common
}
from
'@/api/qcc'
import
Pagination
from
'@/components/Pagination'
import
Pagination
from
'@/components/Pagination'
export
default
{
export
default
{
name
:
'city-register'
,
name
:
'city-register'
,
...
@@ -410,19 +450,19 @@ export default {
...
@@ -410,19 +450,19 @@ export default {
formInline
:
{},
formInline
:
{},
recordList
:
[],
recordList
:
[],
tableData
:
[],
tableData
:
[],
btnloading
:
false
,
btnloading
:
false
,
fileList
:[],
fileList
:
[],
countryOptions
:[],
countryOptions
:
[],
cityOptions
:[],
cityOptions
:
[],
disOptions
:[],
disOptions
:
[],
aOptions
:[],
aOptions
:
[],
bOptions
:[],
bOptions
:
[],
cOptions
:[],
cOptions
:
[],
supplierBaseRules
:
{
supplierBaseRules
:
{
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
'blur'
}],
extProvince_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
[
'blur'
,
'change'
]
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
'blur'
}],
extCity_SDK
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
'blur'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'blur'
}],
extDistrict_SDK
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
...
@@ -441,10 +481,10 @@ export default {
...
@@ -441,10 +481,10 @@ export default {
extChannelType_SDK
:
[{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'blur'
}],
extChannelType_SDK
:
[{
required
:
true
,
message
:
'请选择签约渠道类型'
,
trigger
:
'blur'
}],
extProductGroup_KUT
:
[{
required
:
true
,
message
:
'请选择签约产品组'
,
trigger
:
'blur'
}],
extProductGroup_KUT
:
[{
required
:
true
,
message
:
'请选择签约产品组'
,
trigger
:
'blur'
}],
extTotalAgent_KUT
:
[{
required
:
true
,
message
:
'请选择签约总代'
,
trigger
:
'blur'
}],
extTotalAgent_KUT
:
[{
required
:
true
,
message
:
'请选择签约总代'
,
trigger
:
'blur'
}],
file
lll
:
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
'blur'
}],
file
:
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
[
'blur'
,
'change'
]
}],
},
},
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
TotalRecords
:
0
,
TotalRecords
:
0
,
page
:
{
page
:
{
currentPage
:
0
,
currentPage
:
0
,
pageSize
:
0
pageSize
:
0
...
@@ -455,7 +495,7 @@ export default {
...
@@ -455,7 +495,7 @@ export default {
watch
:
{
watch
:
{
},
},
computed
:{
computed
:
{
visitedViews
()
{
visitedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
visitedViews
return
this
.
$store
.
state
.
tagsView
.
visitedViews
},
},
...
@@ -468,108 +508,108 @@ export default {
...
@@ -468,108 +508,108 @@ export default {
getList
()
{
getList
()
{
this
.
page
.
searchKey
=
this
.
formInline
.
Name
this
.
page
.
searchKey
=
this
.
formInline
.
Name
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
tableData
=
resp
.
results
.
Result
this
.
tableData
=
resp
.
results
.
Result
this
.
page
=
resp
.
results
.
Paging
this
.
page
=
resp
.
results
.
Paging
this
.
TotalRecords
=
resp
.
results
.
Paging
.
TotalRecords
this
.
TotalRecords
=
resp
.
results
.
Paging
.
TotalRecords
})
})
},
},
selectCountry
(){
selectCountry
()
{
this
.
$request
(
Country
.
searchPro
,
this
.
page
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchPro
,
this
.
page
).
then
((
resp
)
=>
{
this
.
countryOptions
=
resp
.
results
this
.
countryOptions
=
resp
.
results
})
})
},
},
getCommon
(){
getCommon
()
{
const
adata
=
{
code
:
'ExtChannelType_SDK'
,
module
:
'Customer'
,
content
:
'RSP'
}
const
adata
=
{
code
:
'ExtChannelType_SDK'
,
module
:
'Customer'
,
content
:
'RSP'
}
this
.
$request
(
Common
.
searchUrl
,
adata
).
then
((
resp
)
=>
{
this
.
$request
(
Common
.
searchUrl
,
adata
).
then
((
resp
)
=>
{
this
.
aOptions
=
resp
this
.
aOptions
=
resp
})
})
const
bdata
=
{
code
:
'ExtProductGroup_KUT'
,
module
:
'Customer'
}
const
bdata
=
{
code
:
'ExtProductGroup_KUT'
,
module
:
'Customer'
}
this
.
$request
(
Common
.
searchUrl
,
bdata
).
then
((
resp
)
=>
{
this
.
$request
(
Common
.
searchUrl
,
bdata
).
then
((
resp
)
=>
{
this
.
bOptions
=
resp
this
.
bOptions
=
resp
})
})
const
cdata
=
{
code
:
'ExtTotalAgent_KUT'
,
module
:
'Customer'
}
const
cdata
=
{
code
:
'ExtTotalAgent_KUT'
,
module
:
'Customer'
}
this
.
$request
(
Common
.
searchUrl
,
cdata
).
then
((
resp
)
=>
{
this
.
$request
(
Common
.
searchUrl
,
cdata
).
then
((
resp
)
=>
{
this
.
cOptions
=
resp
this
.
cOptions
=
resp
})
})
},
},
handleSelect
(
value
)
{
handleSelect
(
value
)
{
const
app
=
{
provinceCode
:
value
}
const
app
=
{
provinceCode
:
value
}
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchCity
,
app
).
then
((
resp
)
=>
{
this
.
cityOptions
=
resp
.
results
this
.
cityOptions
=
resp
.
results
})
})
let
obj
=
{};
let
obj
=
{};
obj
=
this
.
countryOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
obj
=
this
.
countryOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
return
item
.
Code
===
value
;
//筛选出匹配数据
});
});
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvinceName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
this
.
formData
.
extProvince_SDK
=
value
//获取的 id
},
},
handleSelectCity
(
value
)
{
handleSelectCity
(
value
)
{
const
app
=
{
cityCode
:
value
}
const
app
=
{
cityCode
:
value
}
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
$request
(
Country
.
searchDis
,
app
).
then
((
resp
)
=>
{
this
.
disOptions
=
resp
.
results
this
.
disOptions
=
resp
.
results
})
})
let
obj
=
{};
let
obj
=
{};
obj
=
this
.
cityOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
obj
=
this
.
cityOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
return
item
.
Code
===
value
;
//筛选出匹配数据
});
});
this
.
formData
.
extCityName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extCityName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extCity_SDK
=
value
//获取的 id
this
.
formData
.
extCity_SDK
=
value
//获取的 id
},
},
handleSelectDis
(
value
)
{
handleSelectDis
(
value
)
{
let
obj
=
{};
let
obj
=
{};
obj
=
this
.
disOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
obj
=
this
.
disOptions
.
find
((
item
)
=>
{
//这里的userList就是上面遍历的数据源
return
item
.
Code
===
value
;
//筛选出匹配数据
return
item
.
Code
===
value
;
//筛选出匹配数据
});
});
this
.
formData
.
extDistrictName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extDistrictName_SDK
=
obj
.
Name
//获取的 name
this
.
formData
.
extDistrict_SDK
=
value
//获取的 id
this
.
formData
.
extDistrict_SDK
=
value
//获取的 id
},
},
handSelect2
(
value
)
{
handSelect2
(
value
)
{
let
cont
=
[]
let
cont
=
[]
let
val
=
[]
let
val
=
[]
this
.
bOptions
.
forEach
((
el
)
=>
{
this
.
bOptions
.
forEach
((
el
)
=>
{
value
.
forEach
((
item
)
=>
{
value
.
forEach
((
item
)
=>
{
if
(
el
.
keyword
==
item
)
{
if
(
el
.
keyword
==
item
)
{
cont
.
push
(
el
.
content
)
cont
.
push
(
el
.
content
)
val
.
push
(
el
.
keyword
)
val
.
push
(
el
.
keyword
)
}
}
})
})
})
})
this
.
formData
.
extProductGroup_SDK
=
cont
//获取的 name
this
.
formData
.
extProductGroup_SDK
=
cont
//获取的 name
this
.
formData
.
extProductGroup_KUT
=
val
//获取的 id
this
.
formData
.
extProductGroup_KUT
=
val
//获取的 id
},
},
handSelect3
(
value
){
handSelect3
(
value
)
{
let
cont
=
[]
let
cont
=
[]
let
val
=
[]
let
val
=
[]
this
.
cOptions
.
forEach
((
el
)
=>
{
this
.
cOptions
.
forEach
((
el
)
=>
{
value
.
forEach
((
item
)
=>
{
value
.
forEach
((
item
)
=>
{
if
(
el
.
keyword
==
item
)
{
if
(
el
.
keyword
==
item
)
{
cont
.
push
(
el
.
content
)
cont
.
push
(
el
.
content
)
val
.
push
(
el
.
keyword
)
val
.
push
(
el
.
keyword
)
}
}
})
})
})
})
this
.
formData
.
extTotalAgent_SDK
=
cont
//获取的 name
this
.
formData
.
extTotalAgent_SDK
=
cont
//获取的 name
this
.
formData
.
extTotalAgent_KUT
=
val
//获取的 id
this
.
formData
.
extTotalAgent_KUT
=
val
//获取的 id
},
},
createLovTable
()
{
createLovTable
()
{
this
.
dialogTableVisible
=
true
this
.
dialogTableVisible
=
true
},
},
select
(
row
,
column
,
event
)
{
select
(
row
,
column
,
event
)
{
this
.
page
.
searchKey
=
row
.
CreditCode
this
.
page
.
searchKey
=
row
.
CreditCode
this
.
$request
(
Qcc
.
detailUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
$request
(
Qcc
.
detailUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
formData
.
extCorporateName_SDK
=
row
.
OperName
this
.
formData
.
extCorporateName_SDK
=
row
.
OperName
this
.
formData
.
extSocialUnifiedCreditCode_SDK
=
row
.
CreditCode
this
.
formData
.
extSocialUnifiedCreditCode_SDK
=
row
.
CreditCode
this
.
formData
.
name
=
row
.
Name
this
.
formData
.
name
=
row
.
Name
this
.
formData
.
extRegisteredCapital_SDK
=
resp
.
results
.
Result
.
RegistCapi
this
.
formData
.
extRegisteredCapital_SDK
=
resp
.
results
.
Result
.
RegistCapi
this
.
dialogTableVisible
=
false
this
.
dialogTableVisible
=
false
})
})
},
},
handleApprove
()
{
handleApprove
()
{
this
.
$refs
.
formData
.
validate
((
valid
)
=>
{
this
.
$refs
.
formData
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
// this.aOptions.forEach(el=>{
// this.aOptions.forEach(el=>{
...
@@ -581,30 +621,30 @@ export default {
...
@@ -581,30 +621,30 @@ export default {
// this.cOptions.forEach(el=>{
// this.cOptions.forEach(el=>{
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// this.formData.extDistrictName_SDK=el[this.formData.extDistrict_SDK]
// })
// })
this
.
formData
.
extCustomerType_SDK
=
101
this
.
formData
.
extCustomerType_SDK
=
101
const
ExtProductGroup_KUT
=
this
.
formData
.
extProductGroup_KUT
.
toString
()
const
ExtProductGroup_KUT
=
this
.
formData
.
extProductGroup_KUT
.
toString
()
const
ExtProductGroup_SDK
=
this
.
formData
.
extProductGroup_SDK
.
toString
()
const
ExtProductGroup_SDK
=
this
.
formData
.
extProductGroup_SDK
.
toString
()
const
ExtTotalAgent_KUT
=
this
.
formData
.
extTotalAgent_KUT
.
toString
()
const
ExtTotalAgent_KUT
=
this
.
formData
.
extTotalAgent_KUT
.
toString
()
const
ExtTotalAgent_SDK
=
this
.
formData
.
extTotalAgent_SDK
.
toString
()
const
ExtTotalAgent_SDK
=
this
.
formData
.
extTotalAgent_SDK
.
toString
()
this
.
formData
.
extProductGroup_KUT
=
ExtProductGroup_KUT
this
.
formData
.
extProductGroup_KUT
=
ExtProductGroup_KUT
this
.
formData
.
extProductGroup_SDK
=
ExtProductGroup_SDK
this
.
formData
.
extProductGroup_SDK
=
ExtProductGroup_SDK
this
.
formData
.
extTotalAgent_KUT
=
ExtTotalAgent_KUT
this
.
formData
.
extTotalAgent_KUT
=
ExtTotalAgent_KUT
this
.
formData
.
extTotalAgent_SDK
=
ExtTotalAgent_SDK
this
.
formData
.
extTotalAgent_SDK
=
ExtTotalAgent_SDK
this
.
btnloading
=
true
this
.
btnloading
=
true
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
success
(
'提交成功!'
)
this
.
$message
.
success
(
'提交成功!'
)
this
.
$router
.
back
()
this
.
$router
.
back
()
}).
catch
((
err
)
=>
{
}).
catch
((
err
)
=>
{
this
.
btnloading
=
false
this
.
btnloading
=
false
// this.$message({
// this.$message({
// type: 'warning',
// type: 'warning',
// message: err
// message: err
// })
// })
})
})
}
else
{
}
else
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
warning
(
'请输入必填信息!'
)
this
.
$message
.
warning
(
'请输入必填信息!'
)
}
}
});
});
...
@@ -634,28 +674,21 @@ export default {
...
@@ -634,28 +674,21 @@ export default {
formData
.
append
(
key
,
obj
[
key
]);
formData
.
append
(
key
,
obj
[
key
]);
});
});
return
formData
;
return
formData
;
},
},
reSet
()
{
reSet
()
{
this
.
formInline
.
Name
=
''
this
.
formInline
.
Name
=
''
},
},
handleClose
()
{
handleClose
()
{
this
.
dialogTableVisible
=
false
this
.
dialogTableVisible
=
false
},
},
myHeader
(){
fileChange
(
res
,
file
)
{
return
{
'Content-Type'
:
'multipart/form-data'
}
this
.
formData
.
file
=
res
.
raw
},
this
.
supplierBaseRules
.
file
=
[]
fileChange
(
res
,
file
){
this
.
formData
.
file
=
(
res
.
raw
)
},
handleAvatarSuccess
(
res
,
file
){
console
.
log
(
'res'
,
res
,
"file"
,
file
)
this
.
supplierBaseRules
.
filelll
=
[]
},
},
handleRemoveFile
(
res
,
file
)
{
handleRemoveFile
(
res
,
file
){
console
.
log
(
'restest'
,
res
,
"file"
,
file
)
this
.
supplierBaseRules
.
file
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
[
'blur'
,
'change'
]
}]
this
.
supplierBaseRules
.
filelll
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
'blur'
}]
},
},
onSubmit
()
{},
onSubmit
()
{
},
handlePreview
()
{
},
handlePreview
()
{
},
handleRemove
()
{
},
handleRemove
()
{
},
beforeRemove
()
{
},
beforeRemove
()
{
},
...
...
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