Commit ded8f87a by liangzhen

无用界面删除

1 parent b481bb9b
...@@ -55,4 +55,6 @@ export function addExpertUser(params) { ...@@ -55,4 +55,6 @@ export function addExpertUser(params) {
export function userGetId(params) { export function userGetId(params) {
return post(ARCH_MANAGE +'/user/get', params) return post(ARCH_MANAGE +'/user/get', params)
} }
\ No newline at end of file
//角色管理
\ No newline at end of file
...@@ -143,23 +143,6 @@ export const routes = [ ...@@ -143,23 +143,6 @@ export const routes = [
}, },
}, },
{ {
path: "/main/typicalExampleManage", //典型案例库管理
name: "typicalExampleManage",
component: () => import("@/views/typical-example-manage/index.vue"),
meta: {
title: "典型案例库管理",
},
},
{
path: "/main/typicalExampleRelativeUse", //典型案例库关联使用
name: "typicalExampleRelativeUse",
component: () =>
import("@/views/typical-example-relative-use/index.vue"),
meta: {
title: "典型案例库关联使用",
},
},
{
path: "/main/totalArchiPropertyDocument", //总体架构资产文档库 path: "/main/totalArchiPropertyDocument", //总体架构资产文档库
name: "totalArchiPropertyDocument", name: "totalArchiPropertyDocument",
component: () => component: () =>
...@@ -168,11 +151,6 @@ export const routes = [ ...@@ -168,11 +151,6 @@ export const routes = [
title: "总体架构资产文档库", title: "总体架构资产文档库",
}, },
}, },
// {
// path: '/main/YuanMoXingGuanLiTable',//drawio跳转的表格
// name: 'YuanMoXingGuanLiTable',
// component: () => import('@/views/YuanMoXingGuanLi/YuanMoXingGuanLiTable/index.vue'),
// },
{ {
path: "/main/etp-Manage", //专家人才库 path: "/main/etp-Manage", //专家人才库
name: "etp-Manage", name: "etp-Manage",
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<img class="btn_icon" src="@/assets/images/a1.png" alt="" /> <img class="btn_icon" src="@/assets/images/a1.png" alt="" />
</div> </div>
<div> <div>
<p>早安,李晓霞,祝你开心每一天!</p> <p>晚安,李永哲,祝你加班每一天!</p>
<p class="info">公司/职位/某某某</p> <p class="info">公司/职位/某某某</p>
</div> </div>
</div> </div>
...@@ -22,41 +22,45 @@ ...@@ -22,41 +22,45 @@
<p>编写架构方案</p> <p>编写架构方案</p>
</div> </div>
</div> </div>
<div class="buttom"> <div class="bottom">
<div class="module"> <div class="module modules">
<div class="left"> <div class="left child">
<!-- <p class="title">视图列表</p> <p class="title">待办任务</p>
<p v-for="(item, index) in arr" :key=index class="content"> <p v-for="(item, index) in arr" :key="index" class="content">
<span >{{ index+1 }}</span>{{ item.name }} <span>{{ index + 1 }}</span
</p> >{{ item.name }}
<div class="left">
<p class="title">视图列表</p>
<p v-for="(item, index) in arr" :key=index class="content">
<span >{{ index+1 }}</span>{{ item.name }}
</p>
</div> -->
</div>
</div>
<div class="module">
<p class="title">视图列表</p>
<p v-for="(item, index) in arr" :key=index class="content">
<span >{{ index+1 }}</span>{{ item.name }}
</p>
</div>
<div class="module">
<p class="title">通知信息</p>
<p v-for="(item, index) in arr" :key=index class="content">
<span >{{ index+1 }}</span>{{ item.name }}
</p> </p>
</div> </div>
<div class="module"> <div class="right child">
<p class="title">文档列表</p> <p class="title">已办任务</p>
<p v-for="(item, index) in arr" :key=index class="content"> <p v-for="(item, index) in arr" :key="index" class="content">
<span >{{ index+1 }}</span>{{ item.name }} <span>{{ index + 1 }}</span
>{{ item.name }}
</p> </p>
</div> </div>
</div>
<div class="module">
<p class="title">视图列表</p>
<p v-for="(item, index) in arr" :key="index" class="content">
<span>{{ index + 1 }}</span
>{{ item.name }}
</p>
</div>
<div class="module">
<p class="title">通知信息</p>
<p v-for="(item, index) in arr" :key="index" class="content">
<span>{{ index + 1 }}</span
>{{ item.name }}
</p>
</div>
<div class="module">
<p class="title">文档列表</p>
<p v-for="(item, index) in arr" :key="index" class="content">
<span>{{ index + 1 }}</span
>{{ item.name }}
</p>
</div>
</div> </div>
</div> </div>
<router-view :key="key" /> <router-view :key="key" />
</keep-alive> </keep-alive>
...@@ -67,17 +71,16 @@ ...@@ -67,17 +71,16 @@
<script> <script>
export default { export default {
name: "AppMain", name: "AppMain",
data(){ data() {
return{ return {
arr:[ arr: [
{name:'需要对XX项目架构进行审批'}, { name: "需要对XX项目架构进行审批" },
{name:'需要对XX项目架构进行审批'}, { name: "需要对XX项目架构进行审批" },
{name:'需要对XX项目架构进行审批'}, { name: "需要对XX项目架构进行审批" },
{name:'需要对XX项目架构进行审批'}, { name: "需要对XX项目架构进行审批" },
{name:'需要对XX项目架构进行审批'}, { name: "需要对XX项目架构进行审批" },
] ],
} };
}, },
computed: { computed: {
cachedViews() { cachedViews() {
...@@ -136,9 +139,8 @@ export default { ...@@ -136,9 +139,8 @@ export default {
margin: 10px; margin: 10px;
display: flex; display: flex;
.left { .left {
// padding:30px 10px;
background: #fff; background: #fff;
width: 81%; width: 82%;
height: 160px; height: 160px;
display: flex; display: flex;
text-align: left; text-align: left;
...@@ -175,61 +177,103 @@ export default { ...@@ -175,61 +177,103 @@ export default {
} }
} }
} }
.buttom{ .bottom {
margin-left: 5px;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-around; justify-content: space-around;
.module { .module {
flex: 0 0 49.4%; /* 每个模块宽度为容器宽度的一半 */ flex: 0 0 49.4%; /* 每个模块宽度为容器宽度的一半 */
box-sizing: border-box; /* 防止padding引起宽度变化 */ box-sizing: border-box; /* 防止padding引起宽度变化 */
// padding: 10px; // padding: 10px;
margin: 3px; /* 模块间间距 */ margin: 3px; /* 模块间间距 */
text-align: left; text-align: left;
background: #fff; background: #fff;
.title{ .title {
border-bottom: 1px solid gainsboro; border-bottom: 1px solid gainsboro;
line-height: 60px; line-height: 60px;
margin: 0; margin: 0;
padding-left: 20px; padding-left: 20px;
} }
.content{ .content {
padding-left: 20px; padding-left: 20px;
} line-height: 32px;
span{ }
display: inline-block; span {
width: 20px; display: inline-block;
height: 20px; width: 20px;
border-radius: 10px; height: 20px;
background: gainsboro; border-radius: 10px;
color: #000; background: gainsboro;
text-align: center; color: #000;
line-height: 22px; text-align: center;
margin-right: 20px; line-height: 22px;
font-size: 14px; margin-right: 20px;
font-size: 14px;
} }
>:nth-of-type(2) { > :nth-of-type(2) {
span{ span {
background: black; background: black;
color: #fff; color: #fff;
} }
} }
>:nth-of-type(3) { > :nth-of-type(3) {
span{ span {
background: black; background: black;
color: #fff; color: #fff;
} }
} }
>:nth-of-type(4) { > :nth-of-type(4) {
span{ span {
background: black; background: black;
color: #fff; color: #fff;
} }
}
}
} }
} }
.modules {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
background:rgb(234, 234, 234)!important;
.child {
background: #fff;
flex: 0 0 49.4%;
box-sizing: border-box;
text-align: left;
// background: #fff;
span {
display: inline-block;
width: 20px;
height: 20px;
border-radius: 10px;
background: gainsboro !important;
color: #000 !important;
text-align: center;
line-height: 22px;
margin-right: 20px;
font-size: 14px;
}
> :nth-of-type(2) {
span {
background: black !important;
color: #fff !important;
}
}
> :nth-of-type(3) {
span {
background: black !important;
color: #fff !important;
}
}
> :nth-of-type(4) {
span {
background: black !important;
color: #fff !important;
}
}
} }
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!