Commit 76fb1041 authored by ztf's avatar ztf

项目要素相关组件

parent ab0ba506
<!--
* @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="支出合同">
......
<!--
* @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 }
})
}
}
......
......@@ -2,13 +2,18 @@
* @Author: zhangtianfeng 3232807530@qq.com
* @Date: 2024-09-02 09:44:58
* @LastEditors: zhangtianfeng 3232807530@qq.com
* @LastEditTime: 2024-09-05 11:39:18
* @LastEditTime: 2024-09-06 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: {
// 判断是项目还是子项进行显示与隐藏
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment