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
f91cdfe9
Commit
f91cdfe9
authored
Mar 20, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/V20231129-中建一局二公司' into V20231129-中建一局二公司
parents
a16d3cd1
77e284af
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
68 additions
and
24 deletions
+68
-24
cooperativeConstructionUnit.vue
...y-a/consultingTransaction/cooperativeConstructionUnit.vue
+1
-1
cooperativeOwnerUnits.vue
...l/party-a/consultingTransaction/cooperativeOwnerUnits.vue
+1
-1
consultingAgencyCooperation.vue
...rty-a/internalCooperation/consultingAgencyCooperation.vue
+1
-1
index.vue
.../projectCostLedger/detail/components/DirectCost/index.vue
+46
-8
index.vue
...ojectCostLedger/detail/components/OtherProjects/index.vue
+19
-13
No files found.
dsk-operate-ui/src/views/detail/party-a/consultingTransaction/cooperativeConstructionUnit.vue
View file @
f91cdfe9
...
...
@@ -41,7 +41,7 @@
<router-link
:to=
"`/biddetail/$
{scope.row.sourceId}`" tag="a" class="a-link" v-if="scope.row.sourceId" v-html="scope.row.projectName">
</router-link>
<div
v-else
v-html=
"scope.row.projectName || '--'"
></div>
</
template
>
<
template
>
<
template
v-else
>
<span
@
click=
"linkTo1(scope.row.sourceId)"
v-if=
"scope.row.projectName"
style=
"color: #0081FF;cursor: pointer;"
v-html=
"scope.row.projectName"
>
{{
scope
.
row
.
projectName
}}
</span>
<span
v-else
>
-
</span>
</
template
>
...
...
dsk-operate-ui/src/views/detail/party-a/consultingTransaction/cooperativeOwnerUnits.vue
View file @
f91cdfe9
...
...
@@ -41,7 +41,7 @@
<router-link
:to=
"`/biddetail/$
{scope.row.sourceId}`" tag="a" class="a-link" v-if="scope.row.sourceId" v-html="scope.row.projectName">
</router-link>
<div
v-else
v-html=
"scope.row.projectName || '--'"
></div>
</
template
>
<
template
>
<
template
v-else
>
<span
@
click=
"linkTo1(scope.row.sourceId)"
v-if=
"scope.row.projectName"
style=
"color: #0081FF;cursor: pointer;"
v-html=
"scope.row.projectName"
>
{{
scope
.
row
.
projectName
}}
</span>
<span
v-else
>
-
</span>
</
template
>
...
...
dsk-operate-ui/src/views/detail/party-a/internalCooperation/consultingAgencyCooperation.vue
View file @
f91cdfe9
...
...
@@ -176,7 +176,7 @@ export default {
}
,
// 跳转项目详情
viewProjectDetail
(
row
)
{
this
.
$tab
.
openPage
(
row
.
projectName
,
`/consultingOrgManagement/projectDetail?advisoryBodyCid=${row.advisoryBody?.advisoryBodyCid ? row.advisoryBody?.advisoryBodyCid : ""
}
&projectKey=${row.projectKey
}
`
);
}
,
viewEnterprise
(
row
)
{
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/DirectCost/index.vue
View file @
f91cdfe9
...
...
@@ -9,7 +9,7 @@
<div
class=
"directCost-cont"
>
<div
class=
"left"
>
<div
class=
"left-side-menu"
>
<project-side-menu
:menuTree=
"menuTreeList"
:menuOptions=
"menuOptions"
:unique-opened=
"false"
:default-active
=
"defaultActive"
@
select=
"handleSelect"
>
<project-side-menu
:menuTree=
"menuTreeList"
:menuOptions=
"menuOptions"
:unique-opened=
"false"
v-model
=
"defaultActive"
@
select=
"handleSelect"
>
<template
:slot=
"`$
{menuDetails.menuName}-${menuDetails.menuLevel}`">
<img
src=
"@/assets/images/projectCostLedger/icon_cost_detail_1.svg"
alt=
""
>
<div
class=
"project-sub-menu-title-text"
>
{{
menuDetails
.
menuName
}}
</div>
...
...
@@ -17,14 +17,16 @@
</project-side-menu>
</div>
</div>
<div
class=
"right-table"
>
<div
class=
"right-table"
ref=
"rightTable"
>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"table-item"
>
<el-table
v-if=
"!isSkeleton"
element-loading-text=
"Loading"
:maxHeight=
"maxHeight"
:data=
"tableData"
:row-class-name=
"tableRowClassName"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
:tree-props=
"{children: 'childrenList', hasChildren: 'hasChildren'}"
border
...
...
@@ -60,7 +62,6 @@
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
...
...
@@ -101,6 +102,7 @@
<
script
>
import
ProjectSideMenu
from
"@/views/projectCostLedger/detail/components/ProjectSideMenu"
;
import
{
getCbDirectExpenseMenuTreeApi
,
getCbDirectExpenseList
,
cbDirectExpenseAdd
,
cbDirectExpenseDelete
}
from
"@/api/projectCostLedger"
;
import
skeleton
from
'../../../../component/skeleton'
export
default
{
name
:
"directCost"
,
props
:
{
...
...
@@ -116,10 +118,11 @@ export default {
default
:
()
=>
({})
}
},
components
:
{
ProjectSideMenu
},
components
:
{
ProjectSideMenu
,
skeleton
},
data
()
{
return
{
date
:
'2023年11月'
,
isSkeleton
:
true
,
datelist
:[
{
dictValue
:
'2023年11月'
,
...
...
@@ -162,7 +165,8 @@ export default {
children
:
"childrenList"
},
detailsId
:
''
,
menuId
:
''
menuId
:
''
,
maxHeight
:
''
};
},
watch
:
{
...
...
@@ -184,7 +188,6 @@ export default {
immediate
:
true
}
},
//可访问data属性
created
()
{
},
...
...
@@ -217,7 +220,6 @@ export default {
},
async
getCbDirectExpenseList
(
params
)
{
try
{
const
result
=
await
getCbDirectExpenseList
(
params
);
if
(
result
.
code
==
200
)
{
const
_dataArray
=
result
.
data
;
...
...
@@ -226,6 +228,8 @@ export default {
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
.
index
=
index
+
1
})
this
.
maxHeightInit
();
this
.
isSkeleton
=
false
;
}
}
catch
(
error
)
{
...
...
@@ -295,6 +299,11 @@ export default {
}
}
},
async
maxHeightInit
()
{
const
divHeight
=
this
.
$refs
.
rightTable
.
clientHeight
-
32
;
this
.
maxHeight
=
divHeight
;
console
.
log
(
'DIV的高度是:'
,
divHeight
);
}
},
}
</
script
>
...
...
@@ -352,6 +361,35 @@ export default {
.color2
{
background
:
#FFFFFF
;
}
.el-table__fixed-right
{
z-index
:
9
;
right
:
16px
!
important
;
bottom
:
15px
!
important
;
.el-table__fixed-header-wrapper
{
position
:
absolute
;
}
}
.el-table__fixed-right-patch
{
width
:
16px
!
important
;
z-index
:
9
;
top
:
0px
;
background
:
#f0f3fa
;
border
:
1px
solid
#e6eaf1
;
border-left
:
unset
;
border-top
:
unset
;
}
// 自动适配下 减去滚动条高度
.el-table__fixed
{
height
:
calc
(
100%
-
15px
)
!
important
;
}
.el-table__fixed-right
{
height
:
calc
(
100%
-
15px
)
!
important
;
}
.el-table__fixed-body-wrapper
{
.el-table__body
{
padding-bottom
:
10px
!
important
;
}
}
}
}
}
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/OtherProjects/index.vue
View file @
f91cdfe9
...
...
@@ -3,7 +3,7 @@
<div
class=
"otherProjects-cont"
>
<div
class=
"left"
>
<div
class=
"left-side-menu"
>
<project-side-menu
:menuTree=
"menuTreeList"
:menuOptions=
"menuOptions"
:unique-opened=
"false"
:default-active
=
"defaultActive"
@
select=
"select"
>
<project-side-menu
:menuTree=
"menuTreeList"
:menuOptions=
"menuOptions"
:unique-opened=
"false"
v-model
=
"defaultActive"
@
select=
"select"
>
<template
slot=
"其他费-1"
>
<img
src=
"@/assets/images/projectCostLedger/icon_cost_detail_5.svg"
alt=
""
>
<div
class=
"project-sub-menu-title-text"
>
其他费
</div>
...
...
@@ -12,7 +12,8 @@
</div>
</div>
<div
class=
"right-table"
>
<div
class=
"table-item"
v-if=
"defaultActive ==='费用汇总'"
>
<skeleton
v-if=
"isSkeleton"
style=
"padding: 16px"
></skeleton>
<div
class=
"table-item"
v-if=
"defaultActiveTitle ==='费用汇总'"
>
<tables
v-if=
"!isSkeleton"
:tableLoading=
"tableLoading"
...
...
@@ -62,10 +63,11 @@
import
Tables
from
"../../../../component/Tables"
import
ProjectSideMenu
from
"@/views/projectCostLedger/detail/components/ProjectSideMenu"
;
import
{
getProjectOtherMenuTreeApi
,
getProjectOtherStatistics
,
getProjectOtherList
}
from
"@/api/projectCostLedger"
;
import
skeleton
from
'../../../../component/skeleton'
export
default
{
name
:
"directCost"
,
components
:
{
Tables
,
ProjectSideMenu
Tables
,
ProjectSideMenu
,
skeleton
},
props
:
{
// 项目ID
...
...
@@ -83,8 +85,9 @@ export default {
data
()
{
return
{
comProjectId
:
''
,
isSkeleton
:
false
,
tableLoading
:
false
,
// 加载数据列表
isSkeleton
:
true
,
tableLoading
:
false
,
tableData
:[],
tableDataTotal
:
0
,
forData
:
[
...
...
@@ -109,6 +112,7 @@ export default {
pageNum
:
1
,
pageSize
:
10
,
},
defaultActiveTitle
:
"费用汇总"
,
defaultActive
:
""
,
menuTreeList
:
[
{
...
...
@@ -145,11 +149,7 @@ export default {
immediate
:
true
}
},
//可访问data属性
created
()
{
},
//计算集
computed
:
{
...
...
@@ -177,6 +177,7 @@ export default {
const
_dataArray
=
result
.
data
;
this
.
tableDataTotal
=
_dataArray
.
length
;
this
.
tableData
=
_dataArray
;
this
.
isSkeleton
=
false
;
}
}
catch
(
error
)
{
...
...
@@ -184,14 +185,19 @@ export default {
},
select
(
menuPath
,
menuPathArray
){
this
.
defaultActive
=
menuPath
;
this
.
defaultActiveTitle
=
menuPathArray
.
nodeName
;
let
param
=
{
projectId
:
this
.
comProjectDetailInfo
.
projectId
,
parentId
:
menuPathArray
.
originData
.
id
}
if
(
menuPathArray
.
nodeName
===
'费用汇总'
){
this
.
getProjectOtherStatistics
(
this
.
comProjectDetailInfo
.
projectId
)
}
else
{
getProjectOtherList
(
param
).
then
(
res
=>
{
this
.
tableData1
=
res
.
data
;
this
.
tableDataTotal1
=
res
.
data
.
length
;
})
}
},
//分页
handleCurrentChange
(
e
){
...
...
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