diff --git a/src/request/map_settings.js b/src/request/map_settings.js index a19aa2e..1bc157f 100644 --- a/src/request/map_settings.js +++ b/src/request/map_settings.js @@ -30,4 +30,5 @@ export const getPathPlanningList = (params) => export const setPathPlanningDelete = (params) => post("/positAlarm/coordinateLine/batchDelete", params); // 路径规划删除 export const setPositioning = (params) => - post("/videomanager/setPositioning", params); // 摆放摄像头 + post("/videomanager/setPositioning", params); // 摆放摄像头 +export const setLayAdd = (params) => post("/positAlarm/save", params); // 新建图层 diff --git a/src/views/enterprise_management/user/add.vue b/src/views/enterprise_management/user/add.vue index d5f60f4..bc2ea8d 100644 --- a/src/views/enterprise_management/user/add.vue +++ b/src/views/enterprise_management/user/add.vue @@ -529,10 +529,10 @@ const rules = { { required: true, message: "请选择入职日期", trigger: "change" }, ], CARDNO: [ - { required: false, message: "请输入定位卡号(4位纯数字)", trigger: "blur" }, + { required: false, message: "请输入定位卡号", trigger: "blur" }, { pattern: /^-?[0-9]\d*$/, - message: "请输入正确的定位卡号(4位纯数字)", + message: "请输入正确的定位卡号", trigger: "blur", }, ], diff --git a/src/views/map_settings/layer_settings/components/add.vue b/src/views/map_settings/layer_settings/components/add.vue index 58964b5..64b19d6 100644 --- a/src/views/map_settings/layer_settings/components/add.vue +++ b/src/views/map_settings/layer_settings/components/add.vue @@ -4,6 +4,29 @@ :title="type === 'add' ? '新增' : '修改'" :on-close="fnClose" > + + + + + + + + + + + +