whx 5 달 전
부모
커밋
ddd370e30c
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      virgo.wzfrontend/console/src/httpApi/test.js
  2. 1 1
      virgo.wzfrontend/console/src/views/work/iot/security/accessControl.vue

+ 3 - 2
virgo.wzfrontend/console/src/httpApi/test.js

@@ -90,10 +90,11 @@ export function getAccessControlCounAList(data) {
  * 
  * 
  */
-export function getAccessControlCountBList() {
+export function getAccessControlCountBList(data) {
 	return request({
 		url: `/api/test/accessControl/countB`,
-		method: 'get'
+		method: 'post',
+		data: data
 	})
 }
 /* 

+ 1 - 1
virgo.wzfrontend/console/src/views/work/iot/security/accessControl.vue

@@ -163,7 +163,7 @@
 						this.countTest = res.data;
 					}
 				})
-				getAccessControlCountBList().then(res => {
+				getAccessControlCountBList(postData).then(res => {
 					if (res.state) {
 						this.organizationList = res.data;
 					}