From 61a88398a74bc33ae242af75bfe716912f0d3b2d Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Thu, 4 Jan 2024 13:53:27 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/project/taskAdd.vue | 1390 ++++++++++++++++++++++++++
src/mixins/common.js | 1 +
src/router/home.js | 7 +
src/views/index.vue | 1 +
src/views/project/space/task.vue | 152 +--
src/views/project/space/taskadd.vue | 74 ++
src/views/project/template/index.vue | 4 +-
vue.config.js | 2 +-
8 files changed, 1565 insertions(+), 66 deletions(-)
create mode 100644 src/components/project/taskAdd.vue
create mode 100644 src/views/project/space/taskadd.vue
diff --git a/src/components/project/taskAdd.vue b/src/components/project/taskAdd.vue
new file mode 100644
index 0000000..6d06635
--- /dev/null
+++ b/src/components/project/taskAdd.vue
@@ -0,0 +1,1390 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击设置开始时间
+
+
+
+
+
+ -
+
+
+
+
+ 点击设置截止时间
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击设置抄送人
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{task.priText}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mixins/common.js b/src/mixins/common.js
index eb22778..0f2d9d5 100644
--- a/src/mixins/common.js
+++ b/src/mixins/common.js
@@ -17,6 +17,7 @@ export default {
toHome() {
const currentOrganization = getStore('currentOrganization', true);
let home = config.HOME_PAGE;
+ console.log(config.HOME_PAGE);
if (currentOrganization) {
home = home + '/' + currentOrganization.code;
}
diff --git a/src/router/home.js b/src/router/home.js
index 655a481..b65e0b1 100644
--- a/src/router/home.js
+++ b/src/router/home.js
@@ -16,6 +16,13 @@ export default [
component: resolve => require(['@/views/project/space/taskdetail'], resolve),
meta: {model: 'Project', info: {show_slider: false}},
},
+ {
+ //任务添加
+ name: 'taskadd',
+ path: 'add/:taskCode',
+ component: resolve => require(['@/views/project/space/taskadd'], resolve),
+ meta: {model: 'Project', info: {show_slider: false}},
+ },
]
},
{
diff --git a/src/views/index.vue b/src/views/index.vue
index 71159d9..7d97050 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -328,6 +328,7 @@
//点击顶部导航跳转页面
let that = this;
that.menu.forEach(function (v, k) {
+ console.log(v);
if (v.id == event.key) {
that.menus = v.children;
let turnPath = '/';
diff --git a/src/views/project/space/task.vue b/src/views/project/space/task.vue
index 821d797..27649c1 100644
--- a/src/views/project/space/task.vue
+++ b/src/views/project/space/task.vue
@@ -27,6 +27,7 @@
文件
+
概览
@@ -78,6 +79,13 @@
· {{ stage.tasks.length }}
+
+