1
lzhe
2024-12-09 da965fc61c09a17a39a43e5e4d45edeca67148a1
src/views/console/workstation/CollDialog.vue
@@ -157,7 +157,7 @@
            return this
        },
        getDetailList(params) {
            this.$HTTP.get(`/api/smart-collect/tpl/typelist`, {}, { params }).then(res => {
            this.$HTTP.get(`/api/smis/collecttpl/typelist`, {}, { params }).then(res => {
                this.typeList = res.data || [];
                // return res
@@ -220,7 +220,7 @@
        //     }
        // },
        getList(params) {
            this.$HTTP.get(`/api/blade-cps/workstation/listDatapointsByWorkstationId`, {}, { params }).then(res => {
            this.$HTTP.get(`/api/smis/workstation/listDatapointsByWorkstationId`, {}, { params }).then(res => {
                try {
                    this.cols = JSON.parse(res.data.dpHead)
                    this.addOptions(this.cols)
@@ -266,7 +266,7 @@
            if (len != this.tabledata.length) {
                return this.$message.warning('数据点名称不能重复')
            }
            this.$HTTP.put('/api/blade-cps/workstation/saveDatapoints', {
            this.$HTTP.put('/api/smis/workstation/saveDatapoints', {
                dpConfig: JSON.stringify(this.tabledata.map(v => {
                    delete v.status
                    return v