| | |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-03-26 10:28:33 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-06-05 12:03:50 |
| | | * @LastEditTime: 2024-11-01 14:56: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 |
| | | --> |
| | |
| | | type: 'warning' |
| | | }).then(() => { |
| | | var arr = [row.id] |
| | | this.$HTTP.delete("/api/blade-cps/workstation-wcs-feedback",arr).then(res=> { |
| | | this.$HTTP.delete("/api/mdc/workstation-wcs-feedback",arr).then(res=> { |
| | | if(res.code == 200) { |
| | | this.$message.success("操作成功"); |
| | | this.getlist(); |
| | |
| | | this.getlist(); |
| | | }, |
| | | getfeedBackStatusList() { |
| | | this.$HTTP.get("/api/blade-cps/global_wcs/wcs-achievements").then(res=> { |
| | | this.$HTTP.get("/api/smis/global_wcs/wcs-achievements").then(res=> { |
| | | if(res.code == 200) { |
| | | res.data.forEach(item=> { |
| | | if(item.type == "4") { |
| | |
| | | if(this.searchData.startDate) { |
| | | obj.startDate = this.searchData.startDate; |
| | | } |
| | | this.$HTTP.post("/api/blade-cps/workstation-wcs-feedback/page?current=1&size=15",obj).then(res=> { |
| | | this.$HTTP.post("/api/mdc/workstation-wcs-feedback/page?current=1&size=15",obj).then(res=> { |
| | | if(res.code == 200) { |
| | | this.searchDataList = res.data.records; |
| | | } |
| | |
| | | groupCategory: 1, |
| | | groupType: "group_workstation" |
| | | } |
| | | this.$HTTP.post("/api/blade-cps/group/groupWorkstation/type",obj).then(res=> { |
| | | this.$HTTP.post("/api/smis/group/groupWorkstation/type",obj).then(res=> { |
| | | if(res.code == 200) { |
| | | var treeDisabled = this.addTreeDisable(res.data); |
| | | this.tableData = this.buildTree(treeDisabled); //从扁平化变为树状结构 |
| | |
| | | if(this.searchData.startDate) { |
| | | obj.startDate = this.searchData.startDate; |
| | | } |
| | | this.$HTTP.post("/api/blade-cps/workstation-wcs-feedback/page?current=1&size=15",obj).then(res=> { |
| | | this.$HTTP.post("/api/mdc/workstation-wcs-feedback/page?current=1&size=15",obj).then(res=> { |
| | | if(res.code == 200) { |
| | | this.searchDataList = res.data.records; |
| | | } |
| | |
| | | sel.push(item.id); |
| | | }) |
| | | var that = this; |
| | | this.$HTTP.delete("/api/blade-cps/workstation-wcs-feedback",sel).then(res=> { |
| | | this.$HTTP.delete("/api/mdc/workstation-wcs-feedback",sel).then(res=> { |
| | | if(res.code == 200) { |
| | | this.$message.success("操作成功"); |
| | | this.getlist(); |