Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
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
Administrator
dsk-cr20g
Commits
a9172361
Commit
a9172361
authored
Jun 27, 2023
by
xiongjinke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5bb5cfe3
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
207 additions
and
99 deletions
+207
-99
index.vue
dsk-operate-ui/src/views/detail/party-a/business/index.vue
+29
-14
index.vue
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
+149
-77
index.vue
...rate-ui/src/views/detail/party-a/decisionMaking/index.vue
+3
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+22
-6
index.vue
dsk-operate-ui/src/views/detail/party-a/preference/index.vue
+4
-1
No files found.
dsk-operate-ui/src/views/detail/party-a/business/index.vue
View file @
a9172361
...
@@ -59,7 +59,7 @@ import BasicIinformation from "./component/basicIinformation"
...
@@ -59,7 +59,7 @@ import BasicIinformation from "./component/basicIinformation"
import
ElCardinput
from
"./component/elCardinput"
import
ElCardinput
from
"./component/elCardinput"
export
default
{
export
default
{
name
:
'Business'
,
name
:
'Business'
,
props
:
[
'customerIds'
,
'companyInfo'
],
props
:
[
'customerIds'
,
'companyInfo'
,
'customerInfo'
],
components
:
{
components
:
{
Info
,
Info
,
BasicIinformation
,
BasicIinformation
,
...
@@ -99,25 +99,40 @@ export default {
...
@@ -99,25 +99,40 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
handleQuery
()
this
.
infos
=
this
.
customerInfo
},
mounted
(){
this
.
customerInfos
()
this
.
customerInfos
()
//企业性质
getDictType
(
'company_nature_type'
).
then
(
result
=>
{
this
.
companyType
.
companyNaturelist
=
result
.
code
==
200
?
result
.
data
:[]
})
//企业级别
getDictType
(
'company_level_type'
).
then
(
result
=>
{
this
.
companyType
.
companyLevellist
=
result
.
code
==
200
?
result
.
data
:[]
})
//资信等级
getDictType
(
'credit_level_type'
).
then
(
result
=>
{
this
.
companyType
.
creditLevellist
=
result
.
code
==
200
?
result
.
data
:[]
})
},
},
methods
:
{
methods
:
{
async
handleQuery
()
{
let
[
type1
,
type2
,
type3
]
=
await
Promise
.
all
([
getDictType
(
'company_nature_type'
),
getDictType
(
'company_level_type'
),
getDictType
(
'credit_level_type'
)
])
if
(
type1
.
code
==
200
){
type1
.
data
.
forEach
(
item
=>
{
this
.
companyType
.
companyNaturelist
.
push
({
dictLabel
:
item
.
dictLabel
,
dictValue
:
item
.
dictLabel
})
})
}
if
(
type2
.
code
==
200
){
type2
.
data
.
forEach
(
item
=>
{
this
.
companyType
.
companyLevellist
.
push
({
dictLabel
:
item
.
dictLabel
,
dictValue
:
item
.
dictLabel
})
})
}
if
(
type3
.
code
==
200
){
type3
.
data
.
forEach
(
item
=>
{
this
.
companyType
.
creditLevellist
.
push
({
dictLabel
:
item
.
dictLabel
,
dictValue
:
item
.
dictLabel
})
})
}
this
.
isInfo
=
true
},
customerInfos
(){
customerInfos
(){
customerInfo
(
this
.
customerIds
).
then
(
res
=>
{
customerInfo
(
this
.
customerIds
).
then
(
res
=>
{
this
.
infos
=
res
.
data
this
.
infos
=
res
.
data
this
.
isInfo
=
true
})
})
},
},
focusNowedits
(
e
){
focusNowedits
(
e
){
...
...
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
View file @
a9172361
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/detail/party-a/decisionMaking/index.vue
View file @
a9172361
...
@@ -320,5 +320,7 @@ export default {
...
@@ -320,5 +320,7 @@ export default {
::v-deep
.el-table__fixed
::before
,
::v-deep
.el-table__fixed-right
::before
{
::v-deep
.el-table__fixed
::before
,
::v-deep
.el-table__fixed-right
::before
{
background-color
:unset
;
background-color
:unset
;
}
}
::v-deep
.el-dialog__headerbtn
{
z-index
:
9
;
}
</
style
>
</
style
>
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
a9172361
...
@@ -44,11 +44,11 @@
...
@@ -44,11 +44,11 @@
<OpenacourtsessionNotice
v-if=
"currentPath.pathName=='openacourtsessionNotice'"
:company-id=
"companyId"
/>
<OpenacourtsessionNotice
v-if=
"currentPath.pathName=='openacourtsessionNotice'"
:company-id=
"companyId"
/>
<template
v-if=
"customerId"
>
<template
v-if=
"customerId"
>
<!-- 商务信息 -->
<!-- 商务信息 -->
<Business
v-if=
"currentPath.pathName=='business'"
:customer-ids=
"customerId"
:companyInfo=
"companyInfo"
/>
<Business
v-if=
"currentPath.pathName=='business'"
:customer-ids=
"customerId"
:companyInfo=
"companyInfo"
:customerInfo=
"customerInfo"
/>
<!-- 招标偏好 -->
<!-- 招标偏好 -->
<Preference
v-if=
"currentPath.pathName=='preference'"
:customer-ids=
"customerId"
/>
<Preference
v-if=
"currentPath.pathName=='preference'"
:customer-ids=
"customerId"
:customerInfo=
"customerInfo"
/>
<!-- 合作情况 -->
<!-- 合作情况 -->
<Cooperate
v-if=
"currentPath.pathName=='cooperate'"
:customer-ids=
"customerId"
:companyInfo=
"companyInfo"
:cooDetail=
"cooDetail"
@
detail=
"cooperateDetail"
/>
<Cooperate
v-if=
"currentPath.pathName=='cooperate'"
:customer-ids=
"customerId"
:companyInfo=
"companyInfo"
:cooDetail=
"cooDetail"
:customerInfo=
"customerInfo"
@
detail=
"cooperateDetail"
/>
<!-- 决策链条 -->
<!-- 决策链条 -->
<DecisionMaking
v-if=
"currentPath.pathName=='decisionMaking'"
:customer-ids=
"customerId"
:companyInfo=
"companyInfo"
/>
<DecisionMaking
v-if=
"currentPath.pathName=='decisionMaking'"
:customer-ids=
"customerId"
:companyInfo=
"companyInfo"
/>
<!-- 跟进记录 -->
<!-- 跟进记录 -->
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
<
script
>
<
script
>
import
{
idRemark
}
from
'@/api/common'
import
{
idRemark
}
from
'@/api/common'
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
import
{
infoHeader
}
from
'@/api/detail/party-a/index'
import
{
customerInfo
}
from
'@/api/detail/party-a/cooperate'
import
elementResizeDetectorMaker
from
"element-resize-detector"
import
elementResizeDetectorMaker
from
"element-resize-detector"
import
Header
from
"./component/Header"
import
Header
from
"./component/Header"
import
SideBar
from
"./component/Sidebar"
import
SideBar
from
"./component/Sidebar"
...
@@ -146,6 +147,7 @@ export default {
...
@@ -146,6 +147,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
companyInfo
:
{},
companyInfo
:
{},
customerInfo
:
{},
companyId
:
''
,
//企业Id(测试默认3068)
companyId
:
''
,
//企业Id(测试默认3068)
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
customerId
:
''
,
//企业Id(测试默认'a00d582a6041f32c16aac804e4924736')
currentPath
:
{
currentPath
:
{
...
@@ -176,9 +178,6 @@ export default {
...
@@ -176,9 +178,6 @@ export default {
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
if
(
this
.
$route
.
query
.
path
)
{
// 获取跳转对应板块
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
this
.
currentPath
.
pathName
=
this
.
$route
.
query
.
path
}
}
if
(
this
.
$route
.
query
.
customerId
)
{
// 判断是否显示
this
.
customerId
=
this
.
$route
.
query
.
customerId
}
},
},
mounted
()
{
mounted
()
{
},
},
...
@@ -197,6 +196,7 @@ export default {
...
@@ -197,6 +196,7 @@ export default {
this
.
listenSider
()
this
.
listenSider
()
})
})
this
.
handleQuery
()
this
.
handleQuery
()
this
.
association
(
this
.
$route
.
query
.
customerId
)
}
}
},
},
async
handleQuery
()
{
async
handleQuery
()
{
...
@@ -216,7 +216,23 @@ export default {
...
@@ -216,7 +216,23 @@ export default {
},
},
closeDetail
(){
closeDetail
(){
this
.
cooDetail
=
false
this
.
cooDetail
=
false
},
// 判断客户是否关联显示修改
association
(
id
){
customerInfo
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
data
.
companyId
==
this
.
companyId
&&
res
.
data
.
userId
==
this
.
$store
.
state
.
user
.
userId
){
this
.
customerInfo
=
res
.
data
this
.
customerId
=
res
.
data
.
customerId
}
else
{
this
.
currentPath
.
pathName
=
'overview'
}
}
}).
catch
(
err
=>
{
this
.
currentPath
.
pathName
=
'overview'
})
}
}
}
}
}
}
</
script
>
</
script
>
...
...
dsk-operate-ui/src/views/detail/party-a/preference/index.vue
View file @
a9172361
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
components
:
{
components
:
{
},
},
props
:
[
'customerIds'
],
props
:
[
'customerIds'
,
'customerInfo'
],
data
()
{
data
()
{
return
{
return
{
autosize
:
{
autosize
:
{
...
@@ -181,6 +181,9 @@ export default {
...
@@ -181,6 +181,9 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
queryParams
=
this
.
customerInfo
},
mounted
(){
this
.
customerInfos
()
this
.
customerInfos
()
},
},
computed
:
{
computed
:
{
...
...
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