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
61e974fc
Commit
61e974fc
authored
Mar 18, 2024
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
0e48ce41
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
68 deletions
+22
-68
index.vue
...rojectCostLedger/detail/components/MeasureItems/index.vue
+8
-4
index.vue
.../projectCostLedger/detail/components/ProfitLoss/index.vue
+9
-63
index.vue
dsk-operate-ui/src/views/projectCostLedger/index.vue
+5
-1
No files found.
dsk-operate-ui/src/views/projectCostLedger/detail/components/MeasureItems/index.vue
View file @
61e974fc
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
<!--汇总-->
<!--汇总-->
<div
class=
"table-item"
v-if=
"isall"
>
<div
class=
"table-item"
v-if=
"isall"
>
<el-table
element-loading-text=
"Loading"
:data=
"tableData"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
<el-table
element-loading-text=
"Loading"
:data=
"tableData"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
:max-height=
"tableHeight"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
highlight-current-row
:cell-class-name=
"tored"
:header-cell-class-name=
"tored"
>
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
highlight-current-row
:cell-class-name=
"tored"
:header-cell-class-name=
"tored"
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
></el-table-column>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
></el-table-column>
<el-table-column
label=
"名称"
width=
"220"
prop=
"expenseName"
>
<el-table-column
label=
"名称"
width=
"220"
prop=
"expenseName"
>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</div>
</div>
<!--单条-->
<!--单条-->
<div
class=
"table-item"
v-else
>
<div
class=
"table-item"
v-else
>
<el-table
element-loading-text=
"Loading"
ref=
"edittable"
:data=
"tableData"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
<el-table
element-loading-text=
"Loading"
ref=
"edittable"
:data=
"tableData"
row-key=
"id"
v-horizontal-scroll=
"'hover'"
default-expand-all
:max-height=
"tableHeight"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
highlight-current-row
:cell-class-name=
"tored1"
:header-cell-class-name=
"tored1"
>
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
highlight-current-row
:cell-class-name=
"tored1"
:header-cell-class-name=
"tored1"
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
fixed=
"left"
></el-table-column>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
fixed=
"left"
></el-table-column>
<el-table-column
label=
"清单内容"
width=
"130"
prop=
"itemContent"
fixed=
"left"
>
<el-table-column
label=
"清单内容"
width=
"130"
prop=
"itemContent"
fixed=
"left"
>
...
@@ -247,8 +247,7 @@ export default {
...
@@ -247,8 +247,7 @@ export default {
comProjectDetailInfo
:
this
.
projectDetailInfo
?
cloneDeep
(
this
.
projectDetailInfo
)
:
{},
comProjectDetailInfo
:
this
.
projectDetailInfo
?
cloneDeep
(
this
.
projectDetailInfo
)
:
{},
comProjectId
:
this
.
projectId
,
comProjectId
:
this
.
projectId
,
defaultActive
:
""
,
defaultActive
:
""
,
menuTreeList
:
[
menuTreeList
:
[],
],
id
:
0
,
id
:
0
,
expenseDate
:
''
,
expenseDate
:
''
,
tableData
:
[],
tableData
:
[],
...
@@ -259,6 +258,7 @@ export default {
...
@@ -259,6 +258,7 @@ export default {
cbVisible
:
false
,
cbVisible
:
false
,
chooseDate
:
""
,
chooseDate
:
""
,
isinput
:
false
,
//是否填写
isinput
:
false
,
//是否填写
tableHeight
:
window
.
innerHeight
-
355
};
};
},
},
//可访问data属性
//可访问data属性
...
@@ -315,6 +315,7 @@ export default {
...
@@ -315,6 +315,7 @@ export default {
}
}
},
},
async
select
(
menuPath
)
{
async
select
(
menuPath
)
{
console
.
log
(
menuPath
)
this
.
id
=
menuPath
;
this
.
id
=
menuPath
;
this
.
getactualMonths
();
this
.
getactualMonths
();
// let month = this.expenseDate.replace('-', "");
// let month = this.expenseDate.replace('-', "");
...
@@ -483,6 +484,9 @@ export default {
...
@@ -483,6 +484,9 @@ export default {
.table-item
{
.table-item
{
margin-top
:
16px
;
margin-top
:
16px
;
}
}
::v-deep
.el-scrollbar.el-table-horizontal-scrollbar
{
display
:
none
!
important
;
}
}
}
}
}
.search
{
.search
{
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/ProfitLoss/index.vue
View file @
61e974fc
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
border
border
highlight-current-row
highlight-current-row
:max-height=
"tableHeight"
>
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
></el-table-column>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
></el-table-column>
<el-table-column
label=
"名称"
width=
"300"
prop=
"cbName"
>
<el-table-column
label=
"名称"
width=
"300"
prop=
"cbName"
>
...
@@ -77,8 +78,9 @@
...
@@ -77,8 +78,9 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
ProjectSideMenu
from
"@/views/projectCostLedger/detail/components/ProjectSideMenu"
;
import
ProjectSideMenu
from
'@/views/projectCostLedger/detail/components/ProjectSideMenu'
import
{
getProfitLossMenuTreeApi
,
getAnalysislist
}
from
"@/api/projectCostLedger"
;
import
{
getAnalysislist
,
getProfitLossMenuTreeApi
}
from
'@/api/projectCostLedger'
export
default
{
export
default
{
name
:
"orifitloss"
,
name
:
"orifitloss"
,
props
:
{
props
:
{
...
@@ -132,70 +134,11 @@
...
@@ -132,70 +134,11 @@
comProjectDetailInfo
:
{},
comProjectDetailInfo
:
{},
comProjectId
:
""
,
comProjectId
:
""
,
defaultActive
:
""
,
defaultActive
:
""
,
menuTreeList
:
[
menuTreeList
:
[],
// {
// nodeName: "房建类成本科目",
// id: "1",
// children: [
// {
// nodeName: "劳务分包工程",
// id: "1-1",
// children: [
// {
// nodeName: "主体工程-结构劳务",
// id: "1-1-1",
// children: [
// {
// nodeName: "结构劳务分包",
// id: "1-1-1-1",
// }
// ]
// },
// {
// nodeName: "二次结构及粗装修劳务",
// id: "1-2-1",
// children: [
// {
// nodeName: "二次机构及粗装修劳务",
// id: "1-2-1",
// }
// ]
// },
// {
// nodeName: "拆除、修缮、清理、改造劳...",
// id: "1-3-1",
// children: [
// {
// nodeName: "拆除、修缮、清理、改造劳...",
// id: "1-3-1",
// }
// ]
// }
// ]
// },
// {
// nodeName: "专业分包工程",
// id: "2-1",
// },
// {
// nodeName: "实体工程材料(土建)",
// id: "3-1",
// },
// {
// nodeName: "其他直接费成本",
// id: "4-1",
// },
// ]
// },
// {
// nodeName: "未归类项目",
// id: "2",
// children: []
// }
],
id
:
0
,
id
:
0
,
expenseDate
:
''
,
expenseDate
:
''
,
tableData
:[],
tableData
:[],
tableHeight
:
window
.
innerHeight
-
355
};
};
},
},
//可访问data属性
//可访问data属性
...
@@ -284,6 +227,9 @@
...
@@ -284,6 +227,9 @@
.table-item
{
.table-item
{
margin-top
:
16px
;
margin-top
:
16px
;
}
}
::v-deep
.el-scrollbar.el-table-horizontal-scrollbar
{
display
:
none
!
important
;
}
}
}
}
}
}
}
...
...
dsk-operate-ui/src/views/projectCostLedger/index.vue
View file @
61e974fc
...
@@ -40,7 +40,9 @@
...
@@ -40,7 +40,9 @@
<div
class=
"item-jf-titel"
>
暂无数据,点击按钮导入项目成本数据
</div>
<div
class=
"item-jf-titel"
>
暂无数据,点击按钮导入项目成本数据
</div>
<el-button
type=
"primary"
class=
"jf-btn"
size=
"small"
@
click=
"addPro"
>
新增项目
</el-button>
<el-button
type=
"primary"
class=
"jf-btn"
size=
"small"
@
click=
"addPro"
>
新增项目
</el-button>
</div>
</div>
<skeleton
v-if=
"isSkeleton"
></skeleton>
<div
style=
"padding: 16px;"
v-if=
"isSkeleton"
>
<skeleton></skeleton>
</div>
<div
style=
'padding: 16px'
v-if=
"!isSkeleton&&total>0"
>
<div
style=
'padding: 16px'
v-if=
"!isSkeleton&&total>0"
>
<div
class=
"total-title"
>
<div
class=
"total-title"
>
<div
class=
"totals"
>
共
{{
total
}}
条
</div>
<div
class=
"totals"
>
共
{{
total
}}
条
</div>
...
@@ -345,6 +347,7 @@
...
@@ -345,6 +347,7 @@
},
},
//获取台账列表
//获取台账列表
getlist
(){
getlist
(){
this
.
isSkeleton
=
true
getProjectList
(
this
.
formdata
).
then
(
res
=>
{
getProjectList
(
this
.
formdata
).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
){
this
.
total
=
res
.
total
this
.
total
=
res
.
total
...
@@ -357,6 +360,7 @@
...
@@ -357,6 +360,7 @@
this
.
total
=
0
this
.
total
=
0
this
.
tableData
=
[]
this
.
tableData
=
[]
}
}
this
.
isSkeleton
=
false
})
})
},
},
handleCheckAllChange
(
val
){
handleCheckAllChange
(
val
){
...
...
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