1
lzhe
2024-05-30 f1979714d52195a5333d88fd7b11d79bb9f55bd7
1
已修改1个文件
12 ■■■■ 文件已修改
src/views/configuration/custom/planSettings.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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(() => {