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
75f5d1a2
Commit
75f5d1a2
authored
Mar 04, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b8a60ab0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
1 deletion
+78
-1
index.js
dsk-operate-ui/src/api/projectCostLedger/index.js
+29
-0
index.vue
.../projectCostLedger/detail/components/DirectCost/index.vue
+47
-0
index.vue
...Ledger/detail/components/EngineeringInformation/index.vue
+2
-1
No files found.
dsk-operate-ui/src/api/projectCostLedger/index.js
View file @
75f5d1a2
...
...
@@ -248,6 +248,35 @@ export const getCbProjectInfo = (relatedId) => request({
method
:
"get"
,
});
//直接费菜单
export
const
getCbDirectExpenseMenuTreeApi
=
(
relatedId
)
=>
request
({
url
:
'/cbDirectExpense/getMenuList/'
+
relatedId
,
method
:
"get"
,
});
//直接费数据
export
const
getCbDirectExpenseList
=
(
relatedId
)
=>
request
({
url
:
'/cbDirectExpense/getDataDetail/'
+
relatedId
,
method
:
"get"
,
});
//新增直接费费用项
export
function
cbDirectExpenseAdd
(
data
)
{
return
request
({
url
:
'/cbDirectExpense/addExpense'
,
method
:
'post'
,
data
:
data
,
});
}
//删除直接费费用项
export
function
cbDirectExpenseDelete
(
ids
)
{
return
request
({
url
:
'/cbDirectExpense/deleteExpense/'
+
ids
,
method
:
'Delete'
,
});
}
// 其他项目
//其他项目左侧菜单
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/DirectCost/index.vue
View file @
75f5d1a2
...
...
@@ -93,8 +93,22 @@
</template>
<
script
>
import
ProjectSideMenu
from
"@/views/projectCostLedger/detail/components/ProjectSideMenu"
;
import
{
getCbDirectExpenseMenuTreeApi
}
from
"@/api/projectCostLedger"
;
export
default
{
name
:
"directCost"
,
props
:
{
// 项目ID
// projectId: {
// type: String,
// required: true,
// default: ""
// },
// 详情信息
projectDetailInfo
:
{
type
:
Object
,
default
:
()
=>
({})
}
},
components
:
{
ProjectSideMenu
},
data
()
{
return
{
...
...
@@ -231,6 +245,25 @@ export default {
},
};
},
watch
:
{
projectDetailInfo
:
{
handler
(
newValue
)
{
this
.
comProjectDetailInfo
=
newValue
?
newValue
:
{};
this
.
getCbDirectExpenseMenuTreeApi
(
'1759507630130479106'
)
// this.getProjectOtherStatistics(this.comProjectDetailInfo.projectId)
// this.getProjectOtherStatistics('1762014527685136385')
// this.init(this.comProjectDetailInfo);
},
deep
:
true
,
immediate
:
true
},
projectId
:
{
handler
(
newValue
)
{
this
.
comProjectId
=
newValue
;
},
immediate
:
true
}
},
//可访问data属性
created
()
{
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -258,6 +291,20 @@ export default {
},
//方法集
methods
:
{
async
getCbDirectExpenseMenuTreeApi
(
params
)
{
try
{
const
result
=
await
getCbDirectExpenseMenuTreeApi
(
params
);
if
(
result
.
code
==
200
)
{
const
_tempArray
=
result
.
data
;
console
.
log
(
_tempArray
)
// _tempArray.unshift({id:"11",itemContent:"费用汇总"});
// this.menuTreeList[0].children = _tempArray;
}
}
catch
(
error
)
{
}
},
tableRowClassName
({
row
,
rowIndex
})
{
if
(
row
.
qd
===
'清'
)
{
return
'color1'
;
...
...
dsk-operate-ui/src/views/projectCostLedger/detail/components/EngineeringInformation/index.vue
View file @
75f5d1a2
...
...
@@ -70,6 +70,7 @@ export default {
{
name
:
'代理公司(或工料测量师)'
,
prop
:
'term'
},
{
name
:
'招标形式'
,
prop
:
'qualification'
},
{
name
:
'承包方式'
,
prop
:
'provinceCode'
},
{
name
:
'预计合同额(万元)'
,
prop
:
'provinceCode'
},
{
name
:
'资金来源'
,
prop
:
'moneySource'
},
{
name
:
'分包标准费用项价格库'
,
prop
:
'colleguesNum'
},
{
name
:
'材料机械标准费用价格库'
,
prop
:
'colleguesNum'
},
...
...
@@ -77,7 +78,7 @@ export default {
{
name
:
'平台项目名称'
,
prop
:
'scope'
},
{
name
:
'核定总人数'
,
prop
:
'scope'
},
{
name
:
'折算收入不含税系数(应纳税率)'
,
prop
:
'scope'
},
{
name
:
'收入清单增值税率'
,
prop
:
'scope'
},
{
name
:
'收入清单增值税率'
,
prop
:
'scope'
,
style
:
true
},
],
defaultList2
:
[
{
name
:
'地上建筑面积'
,
prop
:
'creditNo'
},
...
...
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