From 2d6bfa860ed7fdde82144382f5284d69172a8646 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 18 Dec 2022 15:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9D=A1=E4=BB=B6=E9=80=89?= =?UTF-8?q?=E6=8B=A9=20=E6=9B=B4=E5=A4=9A=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 6 +- src/views/login/components/login.vue | 2 +- .../xm/core/xmQuestion/XmQuestionMng.vue | 39 ++-- src/views/xm/core/xmTask/XmTaskMng.vue | 171 +++++++++++------- 4 files changed, 135 insertions(+), 83 deletions(-) diff --git a/src/permission.js b/src/permission.js index f5db46b4..205ac83d 100644 --- a/src/permission.js +++ b/src/permission.js @@ -153,13 +153,13 @@ function getQueryVariable(variable,url){ function setIndexPath() { var indexPath=null var url=window.location.href; - if(url.indexOf("/login")<=0){ + if(url.indexOf("/login")<0){ var indexOf=url.indexOf("/#") if(indexOf > 0){ indexPath=url.substring(indexOf+2) - localStorage.setItem("index-path",indexPath); + sessionStorage.setItem("index-path",indexPath); }else{ - localStorage.setItem("index-path",null); + sessionStorage.setItem("index-path",null); } } } diff --git a/src/views/login/components/login.vue b/src/views/login/components/login.vue index 03411a77..7d59fd8c 100644 --- a/src/views/login/components/login.vue +++ b/src/views/login/components/login.vue @@ -312,7 +312,7 @@ export default { }, //角色身份验证 rolesChecked(){ - var indexPath=localStorage.getItem("index-path"); + var indexPath=sessionStorage.getItem("index-path"); if(!indexPath){ indexPath="/" } diff --git a/src/views/xm/core/xmQuestion/XmQuestionMng.vue b/src/views/xm/core/xmQuestion/XmQuestionMng.vue index 3020eb89..4532839c 100644 --- a/src/views/xm/core/xmQuestion/XmQuestionMng.vue +++ b/src/views/xm/core/xmQuestion/XmQuestionMng.vue @@ -27,7 +27,7 @@ @@ -38,39 +38,47 @@ - 创建者: - - - - 指派给: - + + 创建者: + + + + 指派给: + + + 需求: {{item.menuName.substr(0,10)}} 选需求 - - + + + 缺陷编号: + + 优先级: {{b.name}} - - + + 解决方案: {{b.name}} + + 创建时间: - - + + 更新时间: + 查询 @@ -1094,4 +1103,8 @@ margin-top: 10px; margin-right: 40px; } + +>>> .el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner { + width: 250px; +} diff --git a/src/views/xm/core/xmTask/XmTaskMng.vue b/src/views/xm/core/xmTask/XmTaskMng.vue index 5f81ca8b..d981dc8b 100644 --- a/src/views/xm/core/xmTask/XmTaskMng.vue +++ b/src/views/xm/core/xmTask/XmTaskMng.vue @@ -73,7 +73,7 @@ @@ -99,18 +99,23 @@ - 责任人: - - - - 执行人: - + + 责任人: + + + + 执行人: + + + + 产品: - - + + + 需求: 选需求 + - 技能: + + 技能: {{ skill.skillName }} + + + 标签: + 选标签 + {{ filters.tags[0].tagName.substr(0, 5) }}等({{ + filters.tags.length + }})个 + + + + + 众包任务: + + 只查众包 + + + - 标签: - 选标签 - {{ filters.tags[0].tagName.substr(0, 5) }}等({{ - filters.tags.length - }})个 - - - - 众包任务: - - 众包 - + + + 最后变动日期: + + + - 计划开始时间: + + 计划开始时间: + + + + 实际开始时间: - + + + - 计划结束时间: + + 计划结束时间: - - - - 实际开始时间: - - - - 实际结束时间: + + + 实际结束时间: - + + -