From f1979714d52195a5333d88fd7b11d79bb9f55bd7 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期四, 30 五月 2024 18:18:26 +0800
Subject: [PATCH] 1
---
src/views/configuration/custom/planSettings.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/views/configuration/custom/planSettings.vue b/src/views/configuration/custom/planSettings.vue
index 50bcca1..a82571e 100644
--- a/src/views/configuration/custom/planSettings.vue
+++ b/src/views/configuration/custom/planSettings.vue
@@ -2,7 +2,7 @@
* @Author: lzhe lzhe@example.com
* @Date: 2024-03-26 10:28:33
* @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-05-30 18:04:52
+ * @LastEditTime: 2024-05-30 18:17:23
* @FilePath: /smart-web/src/views/master/person/main/index.vue
* @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -18,7 +18,7 @@
<template #reference>...</template>
<template #default>
<span class="popvoer-title" @click="table_edit(item,index)">缂栬緫</span>
- <span class="popvoer-title" style="margin-left: 12px" v-if="index != 0">鍒犻櫎</span>
+ <span class="popvoer-title" style="margin-left: 12px" v-if="index != 0" @click="del_tab(item)">鍒犻櫎</span>
</template>
</el-popover>
</div>
@@ -138,6 +138,14 @@
this.$refs.saveDialog.open(this.productList,this.planData,'edit').setData(row);
})
},
+ del_tab(row) {
+ this.$HTTP.delete(`/api/blade-system/custom-template/remove`,[row.id]).then(res=> {
+ if(res.code == 200) {
+ this.$message.success("鎿嶄綔鎴愬姛");
+ this.getBaseData();
+ }
+ })
+ },
openPlan() {
this.dialog.save = true
this.$nextTick(() => {
--
Gitblit v1.9.3