From 31e47cebb043a65c838a23c517848f1afdab778c Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 13 三月 2025 09:45:30 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/standard/standardLibrary/index.vue | 51 +-------------------------------------------------- 1 files changed, 1 insertions(+), 50 deletions(-) diff --git a/src/views/standard/standardLibrary/index.vue b/src/views/standard/standardLibrary/index.vue index 713c062..36e74a2 100644 --- a/src/views/standard/standardLibrary/index.vue +++ b/src/views/standard/standardLibrary/index.vue @@ -778,7 +778,6 @@ } this.selectTree = data2.replace(" - ", ""); delStandardTree({ tree: this.selectTree }).then((res) => { - if (res.code == 201) return; this.$message.success("宸插垹闄�"); let arr = this.selectTree.split(" - "); this.deleteStandard(this.list, arr[arr.length - 1]); @@ -879,10 +878,6 @@ this.addLoad = true; addStandardTree(this.addOb) .then((res) => { - if (res.code === 201) { - this.addLoad = false; - return; - } this.$message.success("娣诲姞鎴愬姛"); this.addDia = false; this.list @@ -916,10 +911,6 @@ this.updateLoad = true; updateStandardTree(this.addOb) .then((res) => { - if (res.code === 201) { - this.updateLoad = false; - return; - } this.$message.success("娣诲姞鎴愬姛"); this.$tab.refreshPage(); // this.selectStandardTreeList(); @@ -953,10 +944,6 @@ ask: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -967,10 +954,6 @@ tell: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -982,10 +965,6 @@ methodS: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -997,10 +976,6 @@ radius: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -1011,10 +986,6 @@ price: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -1025,10 +996,6 @@ manHour: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -1039,10 +1006,6 @@ templateId: value, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); }); }, @@ -1123,11 +1086,7 @@ state: row.state, }), }).then((res) => { - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } - // this.$message.success('宸蹭繚瀛�') + this.$message.success('宸蹭繚瀛�') }); }, filterHandler(value) { @@ -1277,10 +1236,6 @@ }), }).then((res) => { this.sectionLoad = false; - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); this.sectionUpDia = false; }); @@ -1299,10 +1254,6 @@ }, }).then((res) => { this.sectionLoad = false; - if (res.code == 201) { - this.$message.error("鏈繚瀛�"); - return; - } this.$message.success("宸蹭繚瀛�"); this.sectionUpDia = false; this.currentPage0 = 1; -- Gitblit v1.9.3