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
ad7add2d
Commit
ad7add2d
authored
Mar 12, 2024
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
e3d006d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
15 deletions
+16
-15
index.vue
dsk-operate-ui/src/components/CustomTable/index.vue
+8
-7
index.vue
.../projectCostLedger/detail/components/DirectCost/index.vue
+5
-5
index.vue
...ojectCostLedger/detail/components/FieldExpenses/index.vue
+3
-3
No files found.
dsk-operate-ui/src/components/CustomTable/index.vue
View file @
ad7add2d
...
...
@@ -143,7 +143,7 @@ export default {
comMaxHeight
:
null
,
hasQueryParams
:
false
,
comMaxBodyHeight
:
0
,
headerLastBlockHeight
:
4
0
,
headerLastBlockHeight
:
0
,
observer
:
null
,
resizeTimer
:
null
};
...
...
@@ -234,12 +234,13 @@ export default {
const
bodyMaxHeight
=
containerMaxHeight
-
headerHeight
-
16
;
// console.log(bodyMaxHeight, "bodyMaxHeight");
this
.
comMaxBodyHeight
=
bodyMaxHeight
;
}
// 正常情况下 计算默认header高度
const
defaultHeader
=
this
.
$el
.
querySelector
(
".el-table__header-wrapper"
);
if
(
defaultHeader
)
{
const
headerHeight
=
parseInt
(
window
.
getComputedStyle
(
defaultHeader
).
height
);
this
.
headerLastBlockHeight
=
headerHeight
;
}
else
{
// 没有固定列 正常情况下 计算默认header高度
const
defaultHeader
=
this
.
$el
.
querySelector
(
".el-table__header-wrapper"
);
if
(
defaultHeader
)
{
const
headerHeight
=
parseInt
(
window
.
getComputedStyle
(
defaultHeader
).
height
);
this
.
headerLastBlockHeight
=
headerHeight
;
}
}
}
}
catch
(
error
)
{
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/DirectCost/index.vue
View file @
ad7add2d
...
...
@@ -158,7 +158,7 @@ export default {
menuDetails
:{},
menuOptions
:
{
nodeName
:
"menuName"
,
nodeValue
:
"menu
Name
"
,
nodeValue
:
"menu
Id
"
,
children
:
"childrenList"
},
detailsId
:
''
,
...
...
@@ -206,7 +206,7 @@ export default {
this
.
menuTreeList
.
push
(
_tempArray
);
const
defaultCurrent
=
this
.
findMenuNode
(
this
.
menuTreeList
,
"土石方部分"
);
if
(
defaultCurrent
)
{
this
.
defaultActive
=
defaultCurrent
.
menu
Name
;
this
.
defaultActive
=
defaultCurrent
.
menu
Id
;
this
.
menuId
=
defaultCurrent
.
menuId
;
}
this
.
getCbDirectExpenseList
(
defaultCurrent
.
menuId
)
...
...
@@ -233,8 +233,8 @@ export default {
},
handleSelect
(
menuPath
,
menuPathArray
){
this
.
defaultActive
=
menuPath
;
this
.
menuId
=
menuPath
Array
.
originData
.
menuId
this
.
getCbDirectExpenseList
(
menuPath
Array
.
originData
.
menuId
)
this
.
menuId
=
menuPath
this
.
getCbDirectExpenseList
(
menuPath
)
},
tableRowClassName
({
row
,
rowIndex
})
{
if
(
row
.
expenseCategoryTag
===
'清'
)
{
...
...
@@ -286,7 +286,7 @@ export default {
});
},
findMenuNode
(
tree
,
nodeName
)
{
console
.
log
(
tree
)
//
console.log(tree)
for
(
const
item
of
tree
)
{
if
(
item
.
menuName
==
nodeName
)
return
item
;
if
(
item
.
childrenList
instanceof
Array
)
{
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/FieldExpenses/index.vue
View file @
ad7add2d
...
...
@@ -104,7 +104,7 @@ export default {
{
label
:
'截至本月总费用'
,
prop
:
"jzbyzfy"
,
minWidth
:
"175"
,
uid
:
v4
()
},
],
"其他费用(包含建设其他费)"
:
[
{
label
:
'序号'
,
prop
:
"number"
,
width
:
"
53
"
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'序号'
,
prop
:
"number"
,
width
:
"
60
"
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'名称'
,
prop
:
"expenseName"
,
width
:
"121"
,
uid
:
v4
(),
showOverflowTooltip
:
true
},
{
label
:
'单位'
,
prop
:
"unit"
,
width
:
"121"
,
uid
:
v4
()
},
{
label
:
'成本数量'
,
prop
:
"cbCount"
,
width
:
"121"
,
uid
:
v4
()
},
...
...
@@ -119,7 +119,7 @@ export default {
{
label
:
'截止本月总费用'
,
prop
:
"jzbyzfy"
,
width
:
"129"
,
uid
:
v4
()
},
],
"工资统筹"
:
[
{
label
:
'序号'
,
prop
:
"number"
,
width
:
"
53
"
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'序号'
,
prop
:
"number"
,
width
:
"
60
"
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'名称'
,
prop
:
"expenseName"
,
minWidth
:
"121"
,
uid
:
v4
(),
showOverflowTooltip
:
true
},
{
label
:
'单位'
,
prop
:
"unit"
,
width
:
"121"
,
uid
:
v4
()
},
{
label
:
'成本数量'
,
prop
:
"cbCount"
,
width
:
"121"
,
uid
:
v4
()
},
...
...
@@ -133,7 +133,7 @@ export default {
{
label
:
'截止本月总费用'
,
prop
:
"jzbyzfy"
,
width
:
"128"
,
uid
:
v4
()
},
],
"现场管理费"
:
[
{
label
:
'序号'
,
prop
:
"number"
,
width
:
"
53
"
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'序号'
,
prop
:
"number"
,
width
:
"
60
"
,
fixed
:
false
,
uid
:
v4
()
},
{
label
:
'名称'
,
prop
:
"expenseName"
,
minWidth
:
"121"
,
uid
:
v4
(),
showOverflowTooltip
:
true
},
{
label
:
'单位'
,
prop
:
"unit"
,
width
:
"121"
,
uid
:
v4
()
},
{
label
:
'工程量'
,
prop
:
"engineeringVolume"
,
width
:
"121"
,
uid
:
v4
()
},
...
...
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