Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web
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
INET-TWO
web
Commits
76fb1041
Commit
76fb1041
authored
Sep 11, 2024
by
ztf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目要素相关组件
parent
ab0ba506
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
15 deletions
+30
-15
index.vue
...-plan/src/privateComponents/components/newFunds/index.vue
+10
-1
index.vue
.../privateComponents/components/gotoProjectDetial/index.vue
+1
-7
view.js
.../src/privateComponents/components/leftProjectTree/view.js
+19
-7
No files found.
applications/dee-plan/src/privateComponents/components/newFunds/index.vue
View file @
76fb1041
<!--
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-09-03 16:02:46
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-09-09 14:05:46
-->
<
template
>
<el-tabs
type=
"card"
>
<el-tab-pane
label=
"收入合同"
>
<div
class=
"content"
>
<dee-as-page
:key=
"incomeContractPageKey"
:page-key=
"incomeContractPageKey"
/>
<dee-as-page
:key=
"incomeContractPageKey"
:page-key=
"incomeContractPageKey"
/>
</div>
</el-tab-pane>
<el-tab-pane
label=
"支出合同"
>
...
...
applications/dee-project/src/privateComponents/components/gotoProjectDetial/index.vue
View file @
76fb1041
<!--
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-09-02 11:34:39
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-09-05 14:43:50
-->
<
template
>
<div
class=
"link"
@
click=
"ToRelatedPage"
>
{{
currentValue
}}
</div>
</
template
>
...
...
@@ -56,7 +50,7 @@ export default {
const
title
=
'项目要素'
this
.
$router
.
push
({
path
:
`/page/
${
pageNumber
}
/
${
id
}
?title=
${
title
}
&id=
${
id
}
&name=
${
name
}
`
,
query
:
{
name
:
name
+
'详情'
,
id
:
id
}
query
:
{
name
:
name
,
id
:
id
}
})
}
}
...
...
applications/dee-project/src/privateComponents/components/leftProjectTree/view.js
View file @
76fb1041
...
...
@@ -2,13 +2,18 @@
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-09-02 09:44:58
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-09-0
5 11:39:18
* @LastEditTime: 2024-09-0
6 17:35:03
*/
export
default
{
props
:
{},
data
()
{
return
{
projectMenus
:
[
// 这里还要监听是项目还是子项
// 项目全都展示
// 子项只有进度计划、采购计划,没有ICM接口计划 、IED计划
// 通过传进来的id进行判断这个项目的分类,进行判断,然后进行显示与隐藏
// 通过data.ifShow控制显隐
{
disabled
:
false
,
name
:
'计划'
,
...
...
@@ -24,7 +29,8 @@ export default {
icon
:
'/icons/dee-project/baseline.png'
,
componentType
:
'formConfig'
,
formConfigType
:
'page'
,
pageKey
:
'22c90a9f-0907-49ea-8f8d-d5234e93e0e6'
pageKey
:
'22c90a9f-0907-49ea-8f8d-d5234e93e0e6'
,
ifShow
:
true
},
{
name
:
'采购计划'
,
...
...
@@ -32,7 +38,8 @@ export default {
icon
:
'/icons/dee-project/baseline.png'
,
componentType
:
'formConfig'
,
formConfigType
:
'page'
,
pageKey
:
'a5728005-cd38-4568-bc63-8888fd7e5b5a'
pageKey
:
'a5728005-cd38-4568-bc63-8888fd7e5b5a'
,
ifShow
:
true
},
{
name
:
'IED计划'
,
...
...
@@ -40,7 +47,8 @@ export default {
icon
:
'/icons/dee-project/baseline.png'
,
componentType
:
'formConfig'
,
formConfigType
:
'page'
,
pageKey
:
'd4e791a9-57bf-477c-b760-53bdc351bc7f'
pageKey
:
'd4e791a9-57bf-477c-b760-53bdc351bc7f'
,
ifShow
:
true
},
{
name
:
'接口计划'
,
...
...
@@ -48,11 +56,12 @@ export default {
icon
:
'/icons/dee-project/baseline.png'
,
componentType
:
'formConfig'
,
formConfigType
:
'page'
,
pageKey
:
'fe0b5925-0b7f-42bd-adbc-8ecb738013a0'
pageKey
:
'fe0b5925-0b7f-42bd-adbc-8ecb738013a0'
,
ifShow
:
true
}]
},
{
name
:
'
资源
'
,
name
:
'
团队
'
,
planId
:
this
.
$route
.
query
.
id
,
componentName
:
'PlanTeam'
,
icon
:
'/icons/dee-project/team.png'
,
...
...
@@ -106,10 +115,13 @@ export default {
}
},
computed
:
{},
watch
:
{},
watch
:
{
},
created
()
{
},
methods
:
{
// 判断是项目还是子项进行显示与隐藏
}
}
...
...
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