From 2d55ed180fddd028bf4f839345bf0ef4d2f032e7 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 07 三月 2025 13:34:31 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev
---
src/views/standard/model/index.vue | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/views/standard/model/index.vue b/src/views/standard/model/index.vue
index f6eccfd..418c55b 100644
--- a/src/views/standard/model/index.vue
+++ b/src/views/standard/model/index.vue
@@ -112,7 +112,7 @@
type: "text",
clickFun: (row) => {
this.title = "缂栬緫";
- this.copyForm = row;
+ this.copyForm = this.HaveJson(row);
this.isShowCopyTem = true;
},
showHide: (row) => {
@@ -226,7 +226,6 @@
delete params.id;
addStandardTemplate(params)
.then((res) => {
- if (res.code == 201) return;
this.isShowCopyTem = false;
this.submitCopyInfoLoading = false;
this.$message.success("鏂板鎴愬姛");
@@ -241,7 +240,6 @@
params.thing = this.copyForm.thing ? this.copyForm.thing : "";
upStandardTemplate(params)
.then((res) => {
- if (res.code == 201) return;
this.isShowCopyTem = false;
this.submitCopyInfoLoading = false;
this.$message.success("淇敼鎴愬姛");
@@ -255,7 +253,6 @@
case "澶嶅埗妯$増":
copyStandardTemplate(params)
.then((res) => {
- if (res.code == 201) return;
this.isShowCopyTem = false;
this.submitCopyInfoLoading = false;
this.$message.success("澶嶅埗鎴愬姛");
@@ -286,7 +283,6 @@
})
.then(() => {
delStandardTemplate({ id: row.id }).then((res) => {
- if (res.code == 201) return;
this.$message.success("鍒犻櫎鎴愬姛");
this.refreshTable("page");
});
@@ -360,7 +356,6 @@
thing: JSON.stringify(data),
name: luckysheet.getWorkbookName(["name"]),
}).then((res) => {
- if (res.code == 201) return;
this.loading = false;
this.$message.success("宸蹭繚瀛�");
this.isShow = false;
--
Gitblit v1.9.3