gaoshp
2024-06-02 b46e6d2306515f94bf77c06e8d80ac76267e3ddb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import API from "@/api";
 
//字典选择器配置
 
export default {
    dicApiObj: API.system.dic.get,        //获取字典接口对象
    parseData: function (res) {
        return {
            data: res.data,                //分析行数据字段结构
            msg: res.message,            //分析描述字段结构
            code: res.code                //分析状态字段结构
        }
    },
    request: {
        name: 'name'                    //规定搜索字段
    },
    props: {
        label: 'label',                    //映射label显示字段
        value: 'value',                    //映射value值字段
    }
}