feat:更新字典
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
/** 获取本地字典
|
||||
* @param {string} key 字典key
|
||||
* @returns {Array} 字典数组
|
||||
*/
|
||||
export function getLocalDic(key) {
|
||||
let dicobj = {
|
||||
/** "岗哨系统重点人员预警等级" */
|
||||
@ -171,9 +175,126 @@ export function getLocalDic(key) {
|
||||
}
|
||||
],
|
||||
/** 车辆预警标签 */
|
||||
BD_BK_CLYJBQ: true,
|
||||
BD_BK_CLYJBQ: [
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "DQCL",
|
||||
"zdId": 59589198,
|
||||
"zdbh": "BD_BK_CLYJBQ",
|
||||
"zdmc": "盗抢车辆",
|
||||
"dm": "DQCL",
|
||||
"py": "DQCL",
|
||||
"px": 1,
|
||||
"bz": "",
|
||||
"label": "盗抢车辆",
|
||||
"value": "DQCL",
|
||||
"children": null
|
||||
},
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "LKCL",
|
||||
"zdId": 59589198,
|
||||
"zdbh": "BD_BK_CLYJBQ",
|
||||
"zdmc": "临控车辆",
|
||||
"dm": "LKCL",
|
||||
"py": "LKCL",
|
||||
"px": 1,
|
||||
"bz": "",
|
||||
"label": "临控车辆",
|
||||
"value": "LKCL",
|
||||
"children": null
|
||||
}
|
||||
],
|
||||
/** 是否 */
|
||||
D_BZ_SF: true,
|
||||
D_BZ_SF: [
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "0",
|
||||
"zdId": 59587921,
|
||||
"zdbh": "D_BZ_SF",
|
||||
"zdmc": "否",
|
||||
"dm": "0",
|
||||
"py": "F",
|
||||
"px": 1,
|
||||
"bz": "",
|
||||
"label": "否",
|
||||
"value": "0",
|
||||
"children": null
|
||||
},
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "1",
|
||||
"zdId": 59587921,
|
||||
"zdbh": "D_BZ_SF",
|
||||
"zdmc": "是",
|
||||
"dm": "1",
|
||||
"py": "S",
|
||||
"px": 2,
|
||||
"bz": "",
|
||||
"label": "是",
|
||||
"value": "1",
|
||||
"children": null
|
||||
}
|
||||
],
|
||||
/** 常控处置措施类型 */
|
||||
D_YJXX_CZCSLX: [
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "01",
|
||||
"zdId": 59589206,
|
||||
"zdbh": "D_YJXX_CZCSLX",
|
||||
"zdmc": "抓捕",
|
||||
"dm": "01",
|
||||
"py": "ZP",
|
||||
"px": 1,
|
||||
"bz": "",
|
||||
"label": "抓捕",
|
||||
"value": "01",
|
||||
"children": null
|
||||
},
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "02",
|
||||
"zdId": 59589206,
|
||||
"zdbh": "D_YJXX_CZCSLX",
|
||||
"zdmc": "管控",
|
||||
"dm": "02",
|
||||
"py": "GK",
|
||||
"px": 2,
|
||||
"bz": "",
|
||||
"label": "管控",
|
||||
"value": "02",
|
||||
"children": null
|
||||
},
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "03",
|
||||
"zdId": 59589206,
|
||||
"zdbh": "D_YJXX_CZCSLX",
|
||||
"zdmc": "经营",
|
||||
"dm": "03",
|
||||
"py": "JY",
|
||||
"px": 3,
|
||||
"bz": "",
|
||||
"label": "经营",
|
||||
"value": "03",
|
||||
"children": null
|
||||
},
|
||||
{
|
||||
"itemList": null,
|
||||
"id": "04",
|
||||
"zdId": 59589206,
|
||||
"zdbh": "D_YJXX_CZCSLX",
|
||||
"zdmc": "关注",
|
||||
"dm": "04",
|
||||
"py": "GZ",
|
||||
"px": 4,
|
||||
"bz": "",
|
||||
"label": "关注",
|
||||
"value": "04",
|
||||
"children": null
|
||||
}
|
||||
],
|
||||
}
|
||||
return dicobj[key]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user