Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
b9024ca7
Commit
b9024ca7
authored
Oct 10, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增企业详情=》项目商机=》重点项目
parent
140d4633
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2149 additions
and
1950 deletions
+2149
-1950
opport.js
dsk-operate-ui/src/api/detail/party-a/opport.js
+21
-14
HeadFormNew.vue
...ate-ui/src/views/detail/party-a/component/HeadFormNew.vue
+3
-3
Sidebar.vue
...operate-ui/src/views/detail/party-a/component/Sidebar.vue
+401
-380
Tables.vue
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
+1
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+166
-160
MajorProject.vue
...erate-ui/src/views/detail/party-a/opport/MajorProject.vue
+133
-0
detail.vue
dsk-operate-ui/src/views/project/projectList/detail.vue
+472
-461
index.vue
...rate-ui/src/views/radar/components/MajorProject/index.vue
+952
-931
No files found.
dsk-operate-ui/src/api/detail/party-a/opport.js
View file @
b9024ca7
...
@@ -6,7 +6,7 @@ export function bidNoticePage(data) {
...
@@ -6,7 +6,7 @@ export function bidNoticePage(data) {
url
:
'/enterpriseProject/bidNoticePage'
,
url
:
'/enterpriseProject/bidNoticePage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 招标公告招标类别
// 招标公告招标类别
...
@@ -15,7 +15,7 @@ export function bidNoticeTenderStage(data) {
...
@@ -15,7 +15,7 @@ export function bidNoticeTenderStage(data) {
url
:
'/enterpriseProject/bidNoticeTenderStage'
,
url
:
'/enterpriseProject/bidNoticeTenderStage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 招标公告地区
// 招标公告地区
...
@@ -24,7 +24,7 @@ export function bidNoticeArea(data) {
...
@@ -24,7 +24,7 @@ export function bidNoticeArea(data) {
url
:
'/enterpriseProject/bidNoticeArea'
,
url
:
'/enterpriseProject/bidNoticeArea'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 土地交易列表
// 土地交易列表
...
@@ -33,7 +33,7 @@ export function landTransactionPage(data) {
...
@@ -33,7 +33,7 @@ export function landTransactionPage(data) {
url
:
'/enterpriseProject/landTransactionPage'
,
url
:
'/enterpriseProject/landTransactionPage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 土地交易用途
// 土地交易用途
...
@@ -42,7 +42,7 @@ export function landUse(data) {
...
@@ -42,7 +42,7 @@ export function landUse(data) {
url
:
'/enterpriseProject/landUse'
,
url
:
'/enterpriseProject/landUse'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 拟建项目列表
// 拟建项目列表
...
@@ -51,7 +51,7 @@ export function approvalProjectPage(data) {
...
@@ -51,7 +51,7 @@ export function approvalProjectPage(data) {
url
:
'/enterpriseProject/approvalProjectPage'
,
url
:
'/enterpriseProject/approvalProjectPage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 标讯PRO招标公告列表
// 标讯PRO招标公告列表
...
@@ -60,7 +60,7 @@ export function bidNoticeProPage(data) {
...
@@ -60,7 +60,7 @@ export function bidNoticeProPage(data) {
url
:
'/enterpriseProject/bidNoticeProPage'
,
url
:
'/enterpriseProject/bidNoticeProPage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 标讯PRO招标公告项目类别
// 标讯PRO招标公告项目类别
...
@@ -69,7 +69,7 @@ export function bidNoticeProProjectType(data) {
...
@@ -69,7 +69,7 @@ export function bidNoticeProProjectType(data) {
url
:
'/enterpriseProject/bidNoticeProProjectType'
,
url
:
'/enterpriseProject/bidNoticeProProjectType'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 标讯PRO招标公告工程类别
// 标讯PRO招标公告工程类别
...
@@ -78,7 +78,7 @@ export function bidNoticeProProjectPurposes(data) {
...
@@ -78,7 +78,7 @@ export function bidNoticeProProjectPurposes(data) {
url
:
'/enterpriseProject/bidNoticeProProjectPurposes'
,
url
:
'/enterpriseProject/bidNoticeProProjectPurposes'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 标讯PRO招标公告评标办法
// 标讯PRO招标公告评标办法
...
@@ -87,7 +87,7 @@ export function bidNoticeProAssessmentWay(data) {
...
@@ -87,7 +87,7 @@ export function bidNoticeProAssessmentWay(data) {
url
:
'/enterpriseProject/bidNoticeProAssessmentWay'
,
url
:
'/enterpriseProject/bidNoticeProAssessmentWay'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 行政许可列表
// 行政许可列表
...
@@ -96,7 +96,7 @@ export function creditXzxkPage(data) {
...
@@ -96,7 +96,7 @@ export function creditXzxkPage(data) {
url
:
'/enterpriseProject/creditXzxkPage'
,
url
:
'/enterpriseProject/creditXzxkPage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 专项债项目列表
// 专项债项目列表
...
@@ -105,7 +105,7 @@ export function specialDebtProjectPage(data) {
...
@@ -105,7 +105,7 @@ export function specialDebtProjectPage(data) {
url
:
'/enterpriseProject/specialDebtProjectPage'
,
url
:
'/enterpriseProject/specialDebtProjectPage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 招标计划列表
// 招标计划列表
...
@@ -114,7 +114,7 @@ export function bidPlanPage(data) {
...
@@ -114,7 +114,7 @@ export function bidPlanPage(data) {
url
:
'/enterpriseProject/bidPlanPage'
,
url
:
'/enterpriseProject/bidPlanPage'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 招标计划项目类型
// 招标计划项目类型
export
function
bidPlanProjectType
(
data
)
{
export
function
bidPlanProjectType
(
data
)
{
...
@@ -122,5 +122,12 @@ export function bidPlanProjectType(data) {
...
@@ -122,5 +122,12 @@ export function bidPlanProjectType(data) {
url
:
'/enterpriseProject/bidPlanProjectType'
,
url
:
'/enterpriseProject/bidPlanProjectType'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
;
}
}
// 企业重点项目列表
export
const
getMajorProjectListApi
=
(
data
)
=>
request
({
url
:
"/enterpriseProject/importantList"
,
method
:
"post"
,
data
});
\ No newline at end of file
dsk-operate-ui/src/views/detail/party-a/component/HeadFormNew.vue
View file @
b9024ca7
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<slot
name=
"slot"
></slot>
<slot
name=
"slot"
></slot>
</
template
>
</
template
>
<div
v-else
class=
"flex-box"
>
<div
v-else
class=
"flex-box"
>
<span
class=
"flex-box ability-total"
v-if=
"isTotal"
>
共{{ total }}条
</span>
<span
class=
"flex-box ability-total"
v-if=
"isTotal"
>
共
有
{{ total }}条
</span>
<span
class=
"flex-box ability-excel"
v-hasPermi=
"['combine:info:export:win:bid']"
v-if=
"isExcel && title ==='集团业绩'"
@
click=
"clickEXCEL"
><img
<span
class=
"flex-box ability-excel"
v-hasPermi=
"['combine:info:export:win:bid']"
v-if=
"isExcel && title ==='集团业绩'"
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box ability-excel"
v-else
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box ability-excel"
v-else
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
<slot
name=
"slot"
></slot>
<slot
name=
"slot"
></slot>
</
template
>
</
template
>
<div
v-else
class=
"flex-box"
>
<div
v-else
class=
"flex-box"
>
<span
class=
"flex-box ability-total"
v-if=
"isTotal"
>
共{{ total }}条
</span>
<span
class=
"flex-box ability-total"
v-if=
"isTotal"
>
共
有
{{ total }}条
</span>
<span
class=
"flex-box ability-excel"
v-hasPermi=
"['combine:info:export:win:bid']"
v-if=
"isExcel && title ==='集团业绩'"
@
click=
"clickEXCEL"
><img
<span
class=
"flex-box ability-excel"
v-hasPermi=
"['combine:info:export:win:bid']"
v-if=
"isExcel && title ==='集团业绩'"
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box ability-excel"
v-else
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
<span
class=
"flex-box ability-excel"
v-else
@
click=
"clickEXCEL"
><img
src=
"@/assets/images/ability_excel.png"
>
导出EXCEL
</span>
...
@@ -450,7 +450,7 @@ export default {
...
@@ -450,7 +450,7 @@ export default {
height
:
32px
;
height
:
32px
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
padding-right
:
2
2
px
;
padding-right
:
2
8
px
;
font-size
:
12px
;
font-size
:
12px
;
padding-left
:
8px
;
padding-left
:
8px
;
}
}
...
...
dsk-operate-ui/src/views/detail/party-a/component/Sidebar.vue
View file @
b9024ca7
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/detail/party-a/component/Tables.vue
View file @
b9024ca7
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
this
.
$emit
(
'sort-change'
,
e
)
this
.
$emit
(
'sort-change'
,
e
)
},
},
flexWidth
(
tableData
)
{
flexWidth
(
tableData
)
{
let
currentMax
=
this
.
queryParams
.
pageNum
*
this
.
queryParams
.
pageSize
-
this
.
queryParams
.
pageSize
+
tableData
.
length
,
wdth
=
5
5
let
currentMax
=
this
.
queryParams
.
pageNum
*
this
.
queryParams
.
pageSize
-
this
.
queryParams
.
pageSize
+
tableData
.
length
,
wdth
=
5
9
// return currentMax.toString().length*25 + 'px'
// return currentMax.toString().length*25 + 'px'
if
(
currentMax
.
toString
().
length
>
3
){
if
(
currentMax
.
toString
().
length
>
3
){
wdth
=
wdth
+
(
currentMax
.
toString
().
length
-
3
)
*
10
wdth
=
wdth
+
(
currentMax
.
toString
().
length
-
3
)
*
10
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
b9024ca7
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/detail/party-a/opport/MajorProject.vue
0 → 100644
View file @
b9024ca7
<
template
>
<div
class=
"detail-container major-project"
>
<head-form-new
title=
"重点项目"
:form-data=
"formData"
:query-params=
"queryParams"
:total=
"tableDataTotal"
:isExcel=
"false"
@
handle-search=
"handleSearch"
/>
<skeleton
style=
"margin-left:16px;"
v-if=
"isSkeleton"
></skeleton>
<tables
v-else
:tableLoading=
"tableLoading"
:tableData=
"tableData"
:forData=
"forData"
:tableDataTotal=
"tableDataTotal"
:queryParams=
"queryParams"
@
handle-current-change=
"handleCurrentChange"
@
sort-change=
"sortChange"
>
<template
slot=
"projectName"
slot-scope=
"scope"
>
<router-link
:to=
"`/radar/Land/details/$
{scope.row.id}`" tag="a" class="a-link" v-if="scope.row.id
&&
scope.row.projectName "
v-html="scope.row.projectName">
</router-link>
<div
v-else
v-html=
"scope.row.projectName || '--'"
></div>
</
template
>
<!-- 项目投资金额 -->
<
template
slot=
"totalInvestment"
slot-scope=
"scope"
>
<div
style=
"text-align:right;"
>
{{
scope
.
row
.
totalInvestment
?
`${scope.row.totalInvestment
}
万元`
:
"--"
}}
<
/div
>
<
/template
>
<
/tables
>
<
/div
>
<
/template
>
<
script
>
import
mixin
from
'../mixins/mixin'
;
import
{
getMajorProjectListApi
}
from
'@/api/detail/party-a/opport'
;
import
skeleton
from
'@/views/project/projectList/component/skeleton'
;
export
default
{
name
:
'majorProject'
,
props
:
[
'companyId'
],
mixins
:
[
mixin
],
components
:
{
skeleton
}
,
data
()
{
return
{
isSkeleton
:
true
,
queryParams
:
{
cid
:
this
.
companyId
,
pageNum
:
1
,
pageSize
:
20
}
,
forData
:
[
{
label
:
'项目名称'
,
prop
:
'projectName'
,
minWidth
:
'450'
,
slot
:
true
}
,
{
label
:
'项目地区'
,
prop
:
'projectAddress'
,
width
:
'127'
}
,
{
label
:
'项目等级'
,
prop
:
'projectLevel'
,
width
:
'90'
}
,
{
label
:
'项目投资金额'
,
prop
:
'totalInvestment'
,
width
:
'120'
,
slot
:
true
}
,
{
label
:
'项目类型'
,
prop
:
'projectType'
,
width
:
'120'
}
,
{
label
:
'项目年度'
,
prop
:
'year'
,
width
:
'90'
}
,
],
formData
:
[
{
type
:
1
,
fieldName
:
'projectLevel'
,
value
:
''
,
placeholder
:
'项目级别'
,
options
:
[],
uid
:
this
.
getUid
()
}
,
{
type
:
4
,
fieldName
:
'projectType'
,
value
:
''
,
placeholder
:
'项目类型'
,
options
:
[],
uid
:
this
.
getUid
()
}
,
{
type
:
3
,
fieldName
:
'keys'
,
value
:
''
,
placeholder
:
'输入项目名称关键词查询'
,
options
:
[],
width
:
220
,
uid
:
this
.
getUid
()
}
],
//列表
tableLoading
:
false
,
tableData
:
[],
tableDataTotal
:
0
}
;
}
,
computed
:
{
}
,
created
()
{
this
.
setProjectLevelOptions
();
this
.
setProjectTypeOptions
();
this
.
handleQuery
();
}
,
methods
:
{
async
setProjectLevelOptions
()
{
try
{
const
result
=
await
this
.
getDicts
(
"project_level"
);
if
(
result
.
code
==
200
)
{
const
levels
=
result
.
data
.
map
(
item
=>
{
return
{
name
:
item
.
dictLabel
,
value
:
item
.
dictValue
,
id
:
item
.
dictCode
}
;
}
);
this
.
setFormData
(
"projectLevel"
,
levels
);
}
}
catch
(
error
)
{
}
}
,
async
setProjectTypeOptions
()
{
try
{
const
result
=
await
this
.
getDicts
(
"project_type_new"
);
if
(
result
.
code
==
200
)
{
const
types
=
result
.
data
.
map
(
item
=>
{
return
{
name
:
item
.
dictLabel
,
value
:
item
.
dictValue
,
id
:
item
.
dictCode
}
;
}
);
this
.
setFormData
(
"projectType"
,
types
);
}
}
catch
(
error
)
{
}
}
,
async
handleQuery
(
params
)
{
this
.
tableLoading
=
true
;
let
param
=
params
?
params
:
this
.
queryParams
;
let
res
=
await
getMajorProjectListApi
(
param
);
this
.
tableLoading
=
false
;
if
(
res
.
code
==
200
)
{
this
.
isSkeleton
=
false
;
this
.
tableData
=
res
.
rows
;
if
(
this
.
tableData
.
length
>
0
)
{
this
.
tableData
.
map
(
item
=>
{
item
.
transactionPrice
==
0
&&
(
item
.
transactionPrice
=
'--'
);
}
);
}
}
this
.
tableDataTotal
=
res
.
total
;
}
}
}
<
/script
>
<
style
lang
=
"scss"
scoped
>
.
detail
-
container
{
background
:
#
ffffff
;
border
-
radius
:
4
px
;
padding
:
16
px
;
}
.
major
-
project
{
@
import
"@/assets/styles/search-common.scss"
;
}
<
/style>
\ No newline at end of file
dsk-operate-ui/src/views/project/projectList/detail.vue
View file @
b9024ca7
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/radar/components/MajorProject/index.vue
View file @
b9024ca7
This diff is collapsed.
Click to expand it.
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