| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-04-18 17:10:39 |
| | | * @LastEditTime: 2024-04-18 18:07:47 |
| | | * @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 |
| | | --> |
| | |
| | | this.$HTTP.post("/api/blade-cps/workstation-wcs-feedback/page?current=1&size=15",obj).then(res=> { |
| | | if(res.code == 200) { |
| | | this.searchDataList = res.data.records; |
| | | } |
| | | }) |
| | | }, |
| | | loadNode(node, resolve, reject) { |
| | | if(node.data.id) { |
| | | this.parentId = node.data.id; |
| | | }else { |
| | | this.parentId = '0'; |
| | | } |
| | | this.$HTTP.get("/api/blade-system/menu/lazy-list",{parentId: this.parentId}).then(res=> { |
| | | if(res.code == 200) { |
| | | res.data.forEach(node => { |
| | | node.hasChildren = !node.hasChildren; |
| | | }); |
| | | resolve(res.data); |
| | | } |
| | | }) |
| | | }, |