Przeglądaj źródła

Merge branch 'msg-sever' into dev

haojianlong 5 lat temu
rodzic
commit
0aca19b4d4

+ 8 - 1
src/api/scan/request.js

@@ -1461,10 +1461,17 @@ export function buildingQueryAndCount(param, success) {
 //创建分区信息
 export function createZone(param, success) {
     let data = param.data
-    let url = `${baseUrl}/datacenter/${zone[param.zone]}/create-bd-fl`;
+    let url = `${baseUrl}/datacenter/${zone[param.zone]}/create`;
     http.postJson(url, data, success)
 }
 
+//创建分区信息
+// export function createZone(param, success) {
+//     let data = param.data
+//     let url = `${baseUrl}/datacenter/${zone[param.zone]}/create-bd-fl`;
+//     http.postJson(url, data, success)
+// }
+
 //删除分区信息
 export function deleteZone(param, success) {
   let data = param.data

+ 4 - 0
src/components/business_space/newGraphy/createBSP.vue

@@ -26,6 +26,10 @@ export default {
     },
     // 确认
     confirm() {
+      if (this.roomName == '') {
+        this.$message.warning("请填写空间名称");
+        return
+      }
       this.$emit('createRoom', this.roomName);
       this.dialogVisible = false;
     }