From a3a91e83b2627425035ae16b7e53962b58049680 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Fri, 8 Apr 2022 10:01:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/project/add/index.vue | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/pages/project/add/index.vue b/src/pages/project/add/index.vue index 2cfb63c..8dc7198 100644 --- a/src/pages/project/add/index.vue +++ b/src/pages/project/add/index.vue @@ -248,7 +248,7 @@ export default { return 0; } if (score > 100) { - // util.warningMsg(res.message); + // util.errorMsg(res.message); util.errorMsg("分配的数值已超过100"); } console.log("chuli"); @@ -357,36 +357,36 @@ export default { hintOpen } = this.projectManage; if (!projectName) { - util.warningMsg("请输入项目名称"); + util.errorMsg("请输入项目名称"); return false; } if (this.projectNameRepeat) { - util.warningMsg("该项目名称已存在"); + util.errorMsg("项目名称重复!"); return false; } if (state) { if (!experimentTarget || !this.removeTag(experimentTarget)) { - util.warningMsg("请输入实验目标"); + util.errorMsg("请输入实验目标"); return false; } if (!experimentDescription || !this.removeTag(experimentDescription)) { - util.warningMsg("请输入案例描述"); + util.errorMsg("请输入案例描述"); return false; } if (this.projectJudgmentData.length == 0) { - util.warningMsg("请添加判分点"); + util.errorMsg("请添加判分点"); return false; } if (this.handDistributionScore < 100) { - util.warningMsg("判分点分数未满100"); + util.errorMsg("判分点分数未满100"); return false; } if (this.handDistributionScore > 100) { - util.warningMsg("判分点分数已超过100"); + util.errorMsg("判分点分数已超过100"); return false; } if ((!experimentHint || !this.removeTag(experimentHint)) && hintOpen == 0) { - util.warningMsg("请输入实验提示"); + util.errorMsg("请输入实验提示"); return false; } } @@ -495,7 +495,7 @@ export default { }).catch(() => { }); } else { - util.warningMsg("请选择判分点"); + util.errorMsg("请选择判分点"); } }, handleQueryJudgment() { // 查询判分点数据 @@ -567,7 +567,7 @@ export default { this.$refs.projectJudgementTable.clearSelection(); }); } else { - util.warningMsg("请选择判分点"); + util.errorMsg("请选择判分点"); } }, handleCacheData() { // 处理缓存数据