zhongrj
2023-11-07 c83da1ed289f629eae67664496f8c1e05d2c028a
场所标签接口替换
1 files modified
1 files added
16 ■■■■ changed files
api/label/categoryLabel.js 10 ●●●●● patch | view | raw | blame | history
subPackage/workbench/views/cscj.vue 6 ●●●● patch | view | raw | blame | history
api/label/categoryLabel.js
New file
@@ -0,0 +1,10 @@
import http from '@/http/api.js'
//保存
export const getLabelList = (params) => {
    return http.request({
        url: 'blade-categoryLabel/categoryLabel/list',
        method: 'GET',
        params
    })
}
subPackage/workbench/views/cscj.vue
@@ -152,7 +152,7 @@
    import lineItem from "@/subPackage/workbench/components/lineItem.vue"
    import {
        getLabelList
    } from "@/api/label/label";
    } from "@/api/label/categoryLabel.js";
    import {
        getDoorplateAddressDetail,
        getDoorplateAddressList
@@ -536,8 +536,8 @@
                    data.forEach(label => {
                        this.labelList[0].children.push({
                            id: label.id,
                            text: label.labelName
                            id: label.categoryNo,
                            text: label.categoryName
                        })
                    })
                })