mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
feat:创建项目页面返回路由
This commit is contained in:
@@ -111,19 +111,19 @@ export default {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
if (n === "/researchmanage" || n === "/ResearchManage") {
|
if (n === "/researchmanage" || n === "/ResearchManage") {
|
||||||
state.list = [
|
state.list = [
|
||||||
{
|
{
|
||||||
name: "调研管理",
|
name: "调研管理",
|
||||||
href: "",
|
href: "",
|
||||||
// href: "#/researchmanage",
|
// href: "#/researchmanage",
|
||||||
=======
|
},
|
||||||
|
];
|
||||||
|
}
|
||||||
if (n === "/systemmanage" || n === "/SystemManage") {
|
if (n === "/systemmanage" || n === "/SystemManage") {
|
||||||
state.list = [
|
state.list = [
|
||||||
{
|
{
|
||||||
name: "系统管理",
|
name: "系统管理",
|
||||||
>>>>>>> e4c5bddd27044684b5bca09f3451b40713469f3a
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<span class="title">创建/编辑单层项目</span>
|
<span class="title">创建/编辑单层项目</span>
|
||||||
<div class="goback"><span class="return"></span><span class="returntext">返回</span></div>
|
<div class="goback"><span class="return"></span><router-link class="returntext" to="/projectmanage">返回</router-link></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="main">
|
<div class="main">
|
||||||
|
|||||||
@@ -0,0 +1,72 @@
|
|||||||
|
<template>
|
||||||
|
<div class="header">
|
||||||
|
<span class="title">创建调研</span>
|
||||||
|
<div class="goback"><span class="return"></span><router-link class="returntext" to="/researchmanage">返回</router-link></div>
|
||||||
|
</div>
|
||||||
|
<div class="content">
|
||||||
|
<div class="type"></div>
|
||||||
|
<div class="name">
|
||||||
|
<div class="star">*</div>
|
||||||
|
<div class="inname">提干</div>
|
||||||
|
<div class="in">
|
||||||
|
<a-input v-model:value="valueE" placeholder="请输入项目名称"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer">
|
||||||
|
<div class="btn">
|
||||||
|
<a-button type="primary" style="width: 100px;height: 40px;border-radius: 8px">保存</a-button>
|
||||||
|
<a-button type="primary" ghost style="width: 100px;height: 40px;margin-left: 14px;border-radius: 8px">取消</a-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<style>
|
||||||
|
.header {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
.title {
|
||||||
|
color: #000000;
|
||||||
|
font-size: 18px;
|
||||||
|
//line-height: 36px;
|
||||||
|
padding-top: 30px;
|
||||||
|
padding-left: 37px;
|
||||||
|
//font-weight: 500;
|
||||||
|
}
|
||||||
|
.goback {
|
||||||
|
padding-right: 70px;
|
||||||
|
//padding-top: 37px;
|
||||||
|
position: relative;
|
||||||
|
.return {
|
||||||
|
display: inline-block;
|
||||||
|
width: 42px;
|
||||||
|
height: 42px;
|
||||||
|
margin-top: 17px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url("../../assets/images/projectadd/return.png");
|
||||||
|
}
|
||||||
|
.returntext {
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
top: 27px;
|
||||||
|
color: #4EA6FF;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
}
|
||||||
|
.footer {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 31px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
.btn {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user