| | |
| | | * @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 |
| | | --> |
| | |
| | | <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> |
| | |
| | | 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(() => { |