gaoshp
2024-11-03 3e091224ab26252d8624b42b461ba773ee8bee0f
src/views/mdc/state-feedback.vue
@@ -2,7 +2,7 @@
 * @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
-->
@@ -116,7 +116,7 @@
               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();
@@ -130,7 +130,7 @@
            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") {
@@ -188,7 +188,7 @@
               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;
                  }
@@ -255,7 +255,7 @@
               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);  //从扁平化变为树状结构
@@ -280,7 +280,7 @@
            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;
               }
@@ -305,7 +305,7 @@
               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();