Commit 75049000 by lixinming

no message

parent b65ecd7e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-aside :style="defaultLeftMenu"> <el-aside :style="defaultLeftMenu">
<div class="leftBox"> <div class="leftBox">
<div class="logoBox"> <div class="logoBox">
<img src="../assets/login/logo.png" @click="clickNotebook" width="118px" height="44px" class="logoImg" /> <img src="../assets/login/logo.png" width="118px" height="44px" class="logoImg" />
</div> </div>
<div class="menuBox"> <div class="menuBox">
<letfmenu></letfmenu> <letfmenu></letfmenu>
...@@ -67,9 +67,6 @@ export default { ...@@ -67,9 +67,6 @@ export default {
let windowHeight = window.innerHeight; let windowHeight = window.innerHeight;
this.defaultMainHeight.height = windowHeight - 60 +"px"; this.defaultMainHeight.height = windowHeight - 60 +"px";
this.defaultLeftMenu.height = windowHeight +"px"; this.defaultLeftMenu.height = windowHeight +"px";
},
clickNotebook() {
this.$router.push({path: '/home/notebook'});
} }
}, },
created: async function () { created: async function () {
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
</template> </template>
<script> <script>
// import pageNameModel from "./../publicModel/pageName.vue"
import projectInfo from "./projectInfo.vue" import projectInfo from "./projectInfo.vue"
export default { export default {
data() { data() {
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<script> <script>
import * as echarts from 'echarts'; import * as echarts from 'echarts';
export default { export default {
// 笔记本
data() { data() {
return { return {
notebookList:[ notebookList:[
......
<template>
<div class="selfTask">
<div class="myTaskBaseBox">
<el-card shadow="always">
<div class="pscChartBox">
<pscChart></pscChart>
</div>
<div class="calendarChartBox">
<div id="calendarChart" style="width:400px;height:400px"></div>
</div>
</el-card>
</div>
</div>
</template>
<script>
import pscChart from "./pscChart.vue"
export default {
// 任务
data() {
return {
}
},
components: { pscChart },
mounted:function(){
this.initPscChart();
this.initDayChart();
},
methods:{
checkNotebookItem:function() {
},
addNotebook:function() {
},
initPscChart:function() {
}
}
}
</script>
<style>
.selfTask .myTaskBaseBox {
width: 100%;
height: 700px;
}
.selfTask .myTaskBaseBox .el-card {
box-shadow: 0 2px 12px 0 rgba(252, 252, 252, 0.144);
background-color: rgb(255 255 255 / 15%);
border-radius: 6px;
background-color: rgb(255 255 255 / 25%);
height: 810px;
}
.myTaskBaseBox .pscChartBox {
width: 100%;
height: 400px;
}
.myTaskBaseBox .calendarChartBox {
width: 100%;
height: 300px;
/* background: rgb(231, 131, 131); */
}
</style>
\ No newline at end of file
<template>
<div>
添加笔记
</div>
</template>
<script>
export default {
//添加笔记
data() {
return {
}
},
components: { },
mounted:function(){
},
methods:{
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div>建设中</div>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<div class="notebookBox"> <div class="notebookBox">
<div class="notebookMainBox">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="10"> <el-col :span="24">
<div class="notebookBaseBox">
<el-card shadow="always">
<div class="pscChartBox">
<pscChart></pscChart>
</div>
<div class="calendarChartBox">
<div id="calendarChart" style="width:400px;height:400px"></div>
</div>
</el-card>
</div>
</el-col>
<el-col :span="14">
<div class="selectNotebookBox"> <div class="selectNotebookBox">
<div class="addNotebookBox"> <div class="addNotebookBox">
<el-button type="primary" @click="addNotebook"><font style="font-size:22px" class="el-icon-plus"></font></el-button> <el-button type="primary" @click="addNotebookEvent"><font style="font-size:22px" class="el-icon-plus"></font></el-button>
</div> </div>
</div> </div>
<div class="notebookTable"> <div class="notebookTable">
...@@ -36,10 +25,19 @@ ...@@ -36,10 +25,19 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<div class="notebookDialogBox">
<div class="addNotebookInfoDialog">
<el-dialog width="80%" top="2vh" :visible.sync="addNotebookInfoDialogVisible">
<addNotebook></addNotebook>
</el-dialog>
</div>
</div>
</div>
</template> </template>
<script> <script>
import pscChart from "./pscChart.vue" import addNotebook from "./addNotebook.vue"
export default { export default {
// 笔记本 // 笔记本
data() { data() {
...@@ -51,10 +49,11 @@ export default { ...@@ -51,10 +49,11 @@ export default {
{projectName:"徐汇二期", count:3}, {projectName:"徐汇二期", count:3},
{projectName:"深圳艺校三期", count:6}, {projectName:"深圳艺校三期", count:6},
{projectName:"深圳艺校四期", count:0}, {projectName:"深圳艺校四期", count:0},
] ],
addNotebookInfoDialogVisible:false,
} }
}, },
components: { pscChart }, components: { addNotebook },
mounted:function(){ mounted:function(){
this.initPscChart(); this.initPscChart();
this.initDayChart(); this.initDayChart();
...@@ -63,8 +62,8 @@ export default { ...@@ -63,8 +62,8 @@ export default {
checkNotebookItem:function() { checkNotebookItem:function() {
}, },
addNotebook:function() { addNotebookEvent:function() {
this.addNotebookInfoDialogVisible = true;
}, },
initPscChart:function() { initPscChart:function() {
...@@ -121,28 +120,15 @@ export default { ...@@ -121,28 +120,15 @@ export default {
border-color: rgb(255 255 255 / 35%); border-color: rgb(255 255 255 / 35%);
} }
.notebookBox .notebookBaseBox { /* 弹出框 */
width: 100%; .notebookDialogBox .el-dialog, .el-pager li {
height: 700px; /* background-color: rgba(206, 206, 206, 0.486); */
} border-radius: 40px;
box-shadow: 0 2px 50px 0 rgba(255, 255, 255, 0.699);
.notebookBox .notebookBaseBox .el-card { background: url('../../assets/login/logbackground.png') no-repeat;
box-shadow: 0 2px 12px 0 rgba(252, 252, 252, 0.144);
background-color: rgb(255 255 255 / 15%);
border-radius: 6px;
background-color: rgb(255 255 255 / 25%);
height: 810px;
} }
.notebookDialogBox .el-dialog__header {
.notebookBaseBox .pscChartBox { padding:0 0 0 0;
width: 100%;
height: 400px;
} }
.notebookBaseBox .calendarChartBox {
width: 100%;
height: 300px;
/* background: rgb(231, 131, 131); */
}
</style> </style>
\ No newline at end of file
<template>
<div></div>
</template>
<script>
export default {
}
</script>
<style>
</style>
\ No newline at end of file
...@@ -15,7 +15,6 @@ export default new Router({ ...@@ -15,7 +15,6 @@ export default new Router({
name: 'new', name: 'new',
component: () => import('../pages/new/menu.vue'), component: () => import('../pages/new/menu.vue'),
children: [ children: [
{path: 'test', name: 'test', component: () => import('../pages/task/taskList.vue')},
{path: 'test2', name: 'test2', component: () => import('../pages/new/test.vue')} {path: 'test2', name: 'test2', component: () => import('../pages/new/test.vue')}
] ]
}, },
...@@ -30,7 +29,15 @@ export default new Router({ ...@@ -30,7 +29,15 @@ export default new Router({
name: 'home', name: 'home',
component: () => import('../pages/home.vue'), component: () => import('../pages/home.vue'),
children: [ children: [
{path: 'notebook', name: 'notebook', component: () => import('../pages/self/notebook.vue')} ]
},
{
path: '/desk',
name: 'desk',
component: () => import('../pages/home.vue'),
children: [
{path: 'notebook', name: 'notebook', component: () => import('../pages/self/notebook.vue')},
{path: 'files', name: 'files', component: () => import('../pages/self/files.vue')}
] ]
}, },
{ {
...@@ -39,8 +46,16 @@ export default new Router({ ...@@ -39,8 +46,16 @@ export default new Router({
component: () => import('../pages/home.vue'), component: () => import('../pages/home.vue'),
children: [ children: [
{path: 'projectList', name: 'projectList', component: () => import('../pages/project/projectList.vue')}, {path: 'projectList', name: 'projectList', component: () => import('../pages/project/projectList.vue')},
{path: 'taskList', name: 'taskList', component: () => import('../pages/task/taskList.vue')}, {path: 'task', name: 'task', component: () => import('../pages/project/task.vue')},
{path: 'initiate', name: 'initiate', component: () => import('../pages/task/initiate.vue')}, ]
},
{
path: '/feedback',
name: 'feedback',
component: () => import('../pages/home.vue'),
children: [
{path: 'taskList', name: 'taskList', component: () => import('../pages/feedback/taskList.vue')},
{path: 'initiate', name: 'initiate', component: () => import('../pages/feedback/initiate.vue')},
] ]
}, },
{ {
......
...@@ -2,17 +2,16 @@ ...@@ -2,17 +2,16 @@
let picList = [ let picList = [
{ {
index:1, index:1,
name:"PROJECT", name:" 反 馈",
icon:"el-icon-collection", icon:"el-icon-s-opportunity",
subList:[ subList:[
{subName:"项目列表", path:"/project/projectList"}, {subName:"指派给我的", path:"/feedback/taskList"},
{subName:"我的任务", path:"/project/taskList"}, {subName:"我发起的", path:"/feedback/initiate"}
{subName:"我发起的", path:"/project/initiate"}
] ]
}, },
{ {
index:2, index:2,
name:"SYSTEM", name:" 系 统 设 置",
icon:"el-icon-s-tools", icon:"el-icon-s-tools",
subList:[ subList:[
{subName:"修改密码", path:"/set/pwd"}, {subName:"修改密码", path:"/set/pwd"},
...@@ -35,6 +34,17 @@ let picList = [ ...@@ -35,6 +34,17 @@ let picList = [
{subName:"项目维护", path:"/pm/replenish"}, {subName:"项目维护", path:"/pm/replenish"},
{subName:"统计", path:"/pm/stats"}, {subName:"统计", path:"/pm/stats"},
] ]
},
{
index:5,
name:" 工 作 台",
icon:"el-icon-s-platform",
subList:[
{subName:"笔记", path:"/desk/notebook"},
{subName:"文件仓库", path:"/desk/files"},
{subName:"项目列表", path:"/project/projectList"},
{subName:"我的任务", path:"/project/task"},
]
} }
] ]
......
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