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
fc730c1a
Commit
fc730c1a
authored
Oct 16, 2021
by
qinj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug 1016测试bug
parent
c4e8dc79
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
309 additions
and
182 deletions
+309
-182
customers.js
src/api/customers.js
+9
-1
index.vue
src/views/customers/citypotenial-list/index.vue
+65
-24
index.vue
src/views/customers/potential-list/index.vue
+41
-2
index.vue
src/views/login/city-progress/index.vue
+3
-3
index.vue
src/views/login/city-register/index.vue
+165
-146
index.vue
src/views/login/prov-progress/index.vue
+3
-3
index.vue
src/views/login/prov-register/index.vue
+23
-3
No files found.
src/api/customers.js
View file @
fc730c1a
...
@@ -135,7 +135,7 @@ export function processHistory(data){
...
@@ -135,7 +135,7 @@ export function processHistory(data){
data
data
})
})
}
}
//
审批流程历史记录
//
获取附件列表
export
function
getModels
(
data
){
export
function
getModels
(
data
){
return
request
({
return
request
({
url
:
'/search'
,
url
:
'/search'
,
...
@@ -143,6 +143,14 @@ export function getModels(data){
...
@@ -143,6 +143,14 @@ export function getModels(data){
data
data
})
})
}
}
//单条信息附件
export
function
getOneModel
(
data
){
return
request
({
url
:
'/getOne'
,
method
:
'post'
,
data
})
}
// // 客户发布记录
// // 客户发布记录
// export const releaseRecord = {
// export const releaseRecord = {
// createUrl: '/releaserecord/create',
// createUrl: '/releaserecord/create',
...
...
src/views/customers/citypotenial-list/index.vue
View file @
fc730c1a
...
@@ -14,9 +14,9 @@
...
@@ -14,9 +14,9 @@
<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"
v-model=
"formData.ExtLockRsp_SDK"
:disabled=
"!formData.ExtProcessNode_SDK==2"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
@
change=
"handleSelectRSP"
>
<el-option
<el-option
v-for=
"item in province"
v-for=
"item in province"
:key=
"item.Ext
ProcessStatus
_SDK"
:key=
"item.Ext
AgentID
_SDK"
:label=
"item.Name"
:label=
"item.Name"
:value=
"item.Ext
ProcessStatus
_SDK"
:value=
"item.Ext
AgentID
_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
>
...
@@ -45,10 +45,34 @@
...
@@ -45,10 +45,34 @@
:value=
"item.keyword"
:value=
"item.keyword"
/>
/>
</el-select>
</el-select>
<el-input
v-else
v-model=
"formData.ExtChannelType_SDK"
disabled
>
<el-input
v-else
v-model=
"formData.ExtChannelType_SDK
Text
"
disabled
>
</el-input>
</el-input>
</
template
>
</
template
>
</ele-form-section>
</ele-form-section>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
附件信息
</div>
<el-table
:data=
"tableData2"
border
style=
"width: 100%"
>
<el-table-column
prop=
"FileName"
label=
"附件名称"
>
</el-table-column>
<el-table-column
prop=
"CreateOn_SDK"
label=
"上传日期"
>
</el-table-column>
<el-table-column
prop=
"CreateName_SDK"
label=
"操作者"
>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-link
slot-scope=
"{ row }"
type=
"primary"
@
click=
"btnLink(row)"
>
下载
</el-link>
</el-table-column>
</el-table>
<pagination
v-show=
"TotalRecords>0"
:total=
"TotalRecords"
:page
.
sync=
"page.currentPage"
:limit
.
sync=
"page.pageSize"
@
pagination=
"getList"
/>
</div>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"btn"
>
<div
class=
"btn"
>
...
@@ -95,7 +119,7 @@
...
@@ -95,7 +119,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
,
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
{
...
@@ -113,6 +137,7 @@ export default {
...
@@ -113,6 +137,7 @@ export default {
id
:
''
,
id
:
''
,
status
:
0
,
status
:
0
,
loading
:
false
,
loading
:
false
,
tableData2
:[],
formData
:
{},
formData
:
{},
province
:
[],
province
:
[],
sections
:
[
sections
:
[
...
@@ -237,24 +262,24 @@ export default {
...
@@ -237,24 +262,24 @@ export default {
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
},
//
},
}
}
},
},
{
{
...
@@ -297,12 +322,24 @@ export default {
...
@@ -297,12 +322,24 @@ export default {
},
},
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
()
},
},
methods
:
{
methods
:
{
getFile
(){
const
page
=
{
currentPage
:
1
,
pageSize
:
10
,
objectID
:
this
.
id
}
getOneModel
(
page
).
then
(
resp
=>
{
this
.
tableData2
=
resp
.
results
})
},
getList
(){
getList
(){
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
...
@@ -324,15 +361,19 @@ export default {
...
@@ -324,15 +361,19 @@ export default {
processHistory
({
businessObjectID
:
this
.
id
}).
then
((
resp
)
=>
{
processHistory
({
businessObjectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
tableData
=
resp
.
results
this
.
tableData
=
resp
.
results
})
})
},
btnLink
(
row
){
window
.
location
.
href
=
row
.
FileURL
},
},
handleSelectRSP
(
value
){
handleSelectRSP
(
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
.
Ext
ProcessStatus
_SDK
==
item
){
if
(
el
.
Ext
AgentID
_SDK
==
item
){
cont
.
push
(
el
.
Name
)
cont
.
push
(
el
.
Name
)
val
.
push
(
el
.
Ext
ProcessStatus
_SDK
)
val
.
push
(
el
.
Ext
AgentID
_SDK
)
}
}
})
})
})
})
...
...
src/views/customers/potential-list/index.vue
View file @
fc730c1a
...
@@ -19,10 +19,34 @@
...
@@ -19,10 +19,34 @@
:value=
"item.Code"
:value=
"item.Code"
/>
/>
</el-select>
</el-select>
<el-input
v-else
v-model=
"formData.ExtLock
Rsp
Name_SDK"
disabled
>
<el-input
v-else
v-model=
"formData.ExtLock
City
Name_SDK"
disabled
>
</el-input>
</el-input>
</
template
>
</
template
>
</ele-form-section>
</ele-form-section>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
附件信息
</div>
<el-table
:data=
"tableData2"
border
style=
"width: 100%"
>
<el-table-column
prop=
"FileName"
label=
"附件名称"
>
</el-table-column>
<el-table-column
prop=
"CreateOn_SDK"
label=
"上传日期"
>
</el-table-column>
<el-table-column
prop=
"CreateName_SDK"
label=
"操作者"
>
</el-table-column>
<el-table-column
label=
"操作"
>
<el-link
slot-scope=
"{ row }"
type=
"primary"
@
click=
"btnLink(row)"
>
下载
</el-link>
</el-table-column>
</el-table>
<pagination
v-show=
"TotalRecords>0"
:total=
"TotalRecords"
:page
.
sync=
"page.currentPage"
:limit
.
sync=
"page.pageSize"
@
pagination=
"getList"
/>
</div>
<div
class=
"table-contain"
>
<div
class=
"table-contain"
>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"form-container"
>
审批意见
</div>
<div
class=
"btn"
>
<div
class=
"btn"
>
...
@@ -69,7 +93,7 @@
...
@@ -69,7 +93,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
,
getOneModel
}
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
{
...
@@ -89,6 +113,7 @@ export default {
...
@@ -89,6 +113,7 @@ export default {
loading
:
false
,
loading
:
false
,
formData
:
{},
formData
:
{},
province
:
[],
province
:
[],
tableData2
:[],
sections
:
[
sections
:
[
{
{
title
:
'基本信息'
,
title
:
'基本信息'
,
...
@@ -282,8 +307,22 @@ export default {
...
@@ -282,8 +307,22 @@ export default {
this
.
id
=
this
.
$route
.
query
.
id
this
.
id
=
this
.
$route
.
query
.
id
this
.
getList
()
this
.
getList
()
this
.
getHistoryList
()
this
.
getHistoryList
()
this
.
getFile
()
},
},
methods
:
{
methods
:
{
getFile
(){
const
page
=
{
currentPage
:
1
,
pageSize
:
10
,
objectID
:
this
.
id
}
getOneModel
(
page
).
then
(
resp
=>
{
this
.
tableData2
=
resp
.
results
})
},
btnLink
(
row
){
window
.
location
.
href
=
row
.
FileURL
},
getList
(){
getList
(){
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
getCustomer
({
objectID
:
this
.
id
}).
then
((
resp
)
=>
{
this
.
formData
=
resp
.
results
[
0
]
this
.
formData
=
resp
.
results
[
0
]
...
...
src/views/login/city-progress/index.vue
View file @
fc730c1a
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<div
style=
"height:50px;display: flex;align-items: center;float: right;
<div
style=
"height:50px;display: flex;align-items: center;float: right;
margin-right: 90px;"
>
margin-right: 90px;"
>
<div
class=
"parallelogram2"
></div>
<div
class=
"parallelogram2"
></div>
<div
style=
"margin-right:15px"
>
已审批
</div>
<div
style=
"margin-right:15px"
>
当前节点
</div>
<div
class=
"parallelogram3"
></div>
<
!--
<
div
class=
"parallelogram3"
></div>
<div
style=
"margin-right:15px"
>
未审批
</div>
<div
style=
"margin-right:15px"
>
未审批
</div>
-->
</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"
>
...
...
src/views/login/city-register/index.vue
View file @
fc730c1a
This diff is collapsed.
Click to expand it.
src/views/login/prov-progress/index.vue
View file @
fc730c1a
...
@@ -6,9 +6,9 @@
...
@@ -6,9 +6,9 @@
<div
style=
"height:50px;display: flex;align-items: center;float: right;
<div
style=
"height:50px;display: flex;align-items: center;float: right;
margin-right: 90px;"
>
margin-right: 90px;"
>
<div
class=
"parallelogram2"
></div>
<div
class=
"parallelogram2"
></div>
<div
style=
"margin-right:15px"
>
已审批
</div>
<div
style=
"margin-right:15px"
>
当前节点
</div>
<div
class=
"parallelogram3"
></div>
<
!--
<
div
class=
"parallelogram3"
></div>
<div
style=
"margin-right:15px"
>
未审批
</div>
<div
style=
"margin-right:15px"
>
未审批
</div>
-->
</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"
>
...
...
src/views/login/prov-register/index.vue
View file @
fc730c1a
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
<el-form
id=
"registerForm"
<el-form
id=
"registerForm"
:model=
"formData"
:model=
"formData"
status-icon
status-icon
v-loading=
"btnloading"
ref=
"formData"
ref=
"formData"
:rules=
"supplierBaseRules"
:rules=
"supplierBaseRules"
label-position=
"right"
>
label-position=
"right"
>
...
@@ -320,7 +321,7 @@
...
@@ -320,7 +321,7 @@
:offset=
"1"
:offset=
"1"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"营业执照:"
<el-form-item
label=
"营业执照:"
prop=
"filel
ss
"
prop=
"filel
ll
"
label-width=
"100px"
label-width=
"100px"
class=
"filter-icon-none"
class=
"filter-icon-none"
>
>
...
@@ -328,7 +329,9 @@
...
@@ -328,7 +329,9 @@
ref=
"uploadExcel"
ref=
"uploadExcel"
action=
"https://jsonplaceholder.typicode.com/posts/"
action=
"https://jsonplaceholder.typicode.com/posts/"
:limit=
'1'
:limit=
'1'
:auto-upload=
"false"
accept=
".doc,.txt,.pdf,.xls,.docx,.xlsx,.jpg,.png"
:on-success=
"handleAvatarSuccess"
:on-remove=
"handleRemoveFile"
:on-change=
"fileChange"
:on-change=
"fileChange"
>
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
...
@@ -438,6 +441,7 @@ export default {
...
@@ -438,6 +441,7 @@ 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'
}],
filelll
:
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
'blur'
}],
},
},
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
TotalRecords
:
0
,
TotalRecords
:
0
,
...
@@ -461,6 +465,8 @@ export default {
...
@@ -461,6 +465,8 @@ export default {
this
.
getCommon
()
this
.
getCommon
()
},
},
methods
:
{
methods
:
{
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
)
=>
{
...
@@ -590,7 +596,13 @@ export default {
...
@@ -590,7 +596,13 @@ export default {
this
.
$message
.
success
(
'提交成功!'
)
this
.
$message
.
success
(
'提交成功!'
)
this
.
$router
.
back
()
this
.
$router
.
back
()
})
}).
catch
((
err
)
=>
{
this
.
btnloading
=
false
// this.$message({
// type: 'warning',
// message: err
// })
})
}
else
{
}
else
{
this
.
btnloading
=
false
this
.
btnloading
=
false
this
.
$message
.
warning
(
'请输入必填信息!'
)
this
.
$message
.
warning
(
'请输入必填信息!'
)
...
@@ -635,6 +647,14 @@ export default {
...
@@ -635,6 +647,14 @@ export default {
fileChange
(
res
,
file
){
fileChange
(
res
,
file
){
this
.
formData
.
file
=
(
res
.
raw
)
this
.
formData
.
file
=
(
res
.
raw
)
},
},
handleAvatarSuccess
(
res
,
file
){
console
.
log
(
'res'
,
res
,
"file"
,
file
)
this
.
supplierBaseRules
.
filelll
=
[]
},
handleRemoveFile
(
res
,
file
)
{
console
.
log
(
'restest'
,
res
,
"file"
,
file
)
this
.
supplierBaseRules
.
filelll
=
[{
required
:
true
,
message
:
'请上传附件'
,
trigger
:
'blur'
}]
},
onSubmit
()
{},
onSubmit
()
{},
handlePreview
()
{
},
handlePreview
()
{
},
handleRemove
()
{
},
handleRemove
()
{
},
...
...
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