| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-04-02 11:56:39 |
| | | * @LastEditTime: 2024-04-07 11:54:15 |
| | | * @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> |
| | | <div class="dict-main"> |
| | | <el-form :inline="true" :model="searchData" abel-width="80px"> |
| | | <el-form :inline="true" :model="searchData" label-width="80px"> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="菜单名称"> |
| | |
| | | methods: { |
| | | handleSuccess(formAddMenu) { |
| | | this.searchData.parentId = formAddMenu.parentId; |
| | | this.searchClearBtn(); |
| | | this.clearSearch(); |
| | | }, |
| | | tableLoad(row,treeNode,resolve) { |
| | | this.searchData.parentId= row.id; |
| | |
| | | resolve(res.data); |
| | | } |
| | | }) |
| | | |
| | | }, |
| | | clearSearch() { |
| | | this.searchData= { |
| | |
| | | }) |
| | | }, |
| | | table_edit(row,index,fixed){ |
| | | this.dialog.save = true |
| | | this.$HTTP.get("/api/blade-system/menu/detail?id="+row.id).then(res=> { |
| | | if(res.code == 200) { |
| | | this.dialog.save = true; |