From e3313f1db0e285c6ab5cb8ad918b642d5d4961f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Wed, 13 Jul 2022 16:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/core/xmIteration/XmIterationAdd.vue | 14 +-- .../xm/core/xmIteration/XmIterationMng.vue | 93 ++++--------------- 2 files changed, 24 insertions(+), 83 deletions(-) diff --git a/src/views/xm/core/xmIteration/XmIterationAdd.vue b/src/views/xm/core/xmIteration/XmIterationAdd.vue index 3c8f7c74..28c241d1 100644 --- a/src/views/xm/core/xmIteration/XmIterationAdd.vue +++ b/src/views/xm/core/xmIteration/XmIterationAdd.vue @@ -7,17 +7,17 @@ {{addForm.productName}} - + + + + + + + 格式如下: 上线日期+主题+V版本号 例如: 2021.6.15购书商城V1.0.9   留空,选日期后自动填写迭代名称 - - - - - - {{addForm.adminUsername}} 选择负责人 diff --git a/src/views/xm/core/xmIteration/XmIterationMng.vue b/src/views/xm/core/xmIteration/XmIterationMng.vue index 086b425a..be2c2b18 100644 --- a/src/views/xm/core/xmIteration/XmIterationMng.vue +++ b/src/views/xm/core/xmIteration/XmIterationMng.vue @@ -5,7 +5,7 @@ v-if="!xmProduct || !xmProduct.id" ref="xmProductSelect1" style="display: inline" - :auto-select="true" + :auto-select="false" :link-project-id="selProject ? selProject.id : null" @row-click="onProductSelected" @clear="onProductClearSelect" @@ -124,14 +124,14 @@ aria-disabled width="55" > - + - + - - - - { - addXmIterationLink({ - iterationId: xmIteration.id, - productId: xmProduct.id, - }).then((res) => { - var tips = res.data.tips; - if (tips.isOk) { - this.getXmIterations(); - } - this.$notify({ - position: "bottom-left", - showClose: true, - message: tips.msg, - type: tips.isOk ? "success" : "error", - }); - }); - }); - }, - doDelXmIterationLink(row) { - var xmIteration = row; - var xmProduct = this.xmProduct; - this.$confirm( - "确认将产品【" + - xmProduct.productName + - "】与迭代【" + - xmIteration.iterationName + - "】进行脱钩吗?脱钩后,产品与迭代互相查看不到对方信息。", - "提示", - { - type: "warning", - } - ).then(() => { - delXmIterationLink({ - iterationId: xmIteration.id, - productId: xmProduct.id, - }).then((res) => { - var tips = res.data.tips; - if (tips.isOk) { - this.getXmIterations(); - } - this.$notify({ - position: "bottom-left", - showClose: true, - message: tips.msg, - type: tips.isOk ? "success" : "error", - }); - }); - }); - }, + }, focusOrUnfocus: function (row) { if (this.menukey == "myFocus") { delUserFocus({