From 26125762f35c22a5bb3ea17f6bc3807991b79057 Mon Sep 17 00:00:00 2001 From: revive <1664535558@qq.com> Date: Tue, 24 Nov 2020 14:33:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9projectItem=20ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/img/global.svg | 11 ++ public/static/img/prjManage.svg | 11 ++ src/views/main_web/index/index.vue | 91 ++--------- src/views/main_web/proj-item.vue | 242 +++++++++++++++++++++++++++-- 4 files changed, 263 insertions(+), 92 deletions(-) create mode 100644 public/static/img/global.svg create mode 100644 public/static/img/prjManage.svg diff --git a/public/static/img/global.svg b/public/static/img/global.svg new file mode 100644 index 00000000..52715655 --- /dev/null +++ b/public/static/img/global.svg @@ -0,0 +1,11 @@ + + + Fill 1 + + + + + + + + \ No newline at end of file diff --git a/public/static/img/prjManage.svg b/public/static/img/prjManage.svg new file mode 100644 index 00000000..8b3a6f17 --- /dev/null +++ b/public/static/img/prjManage.svg @@ -0,0 +1,11 @@ + + + Fill 1 + + + + + + + + \ No newline at end of file diff --git a/src/views/main_web/index/index.vue b/src/views/main_web/index/index.vue index 419beb81..00c89318 100644 --- a/src/views/main_web/index/index.vue +++ b/src/views/main_web/index/index.vue @@ -66,84 +66,13 @@ -
-
-
- - 暂无项目 -
-
-
-
-
-
- -
- -
- - - - - - - - - 项目概况 - - - - 工作指派 - - - - - -
-
-
- 新项目 -

{{ projItem.ProjName }}

-
-
-
- -
- - - 请完成工作指派 -
-
-
-
-
-
+ + +
帮助
@@ -225,6 +154,7 @@ import ProjSetting from "@/views/components_web/projSetting/projSetting"; import { haveAccess, AccessCode } from '@/utils/access'; import * as prjService from '@/services/project' import Timer from '@/views/main_web/time' +import ProjItem from '@/views/main_web/proj-item' const BMap = window.BMap; const Velocity = window.Velocity; export default { @@ -235,6 +165,7 @@ export default { ProjSetting, Timer, AppHeader, + ProjItem }, data() { const { currentPlatform } = this.$store.state; @@ -653,14 +584,10 @@ export default { * 打开项目概况 */ openPrjInfo(proj){ - //const projectInfoRes= await prjService.QueryProjectInfoByProjId(proj.Id); - //this.isProjectManager = projectInfoRes.Data.Status; this.currProjId = proj.Id; this.isProjectManager=proj.Status; this.isShowProjSetting = true; this.isEditProjFolder = false; - //this.nowProj=projectInfoRes.Data; - //console.log(this.nowProj.Status) }, /** * @description: 编辑项目概况回调 diff --git a/src/views/main_web/proj-item.vue b/src/views/main_web/proj-item.vue index 22ee20a8..5a57fe89 100644 --- a/src/views/main_web/proj-item.vue +++ b/src/views/main_web/proj-item.vue @@ -1,23 +1,245 @@ - \ No newline at end of file