|
@@ -240,7 +240,7 @@
|
|
|
<el-button type="primary" size="small" :icon="View" @click.stop="handleView(scope.row)">
|
|
|
详情
|
|
|
</el-button>
|
|
|
- <el-button type="success" size="small" :icon="Setting" @click.stop="handleConfig(scope.row)">
|
|
|
+ <el-button type="success" disabled size="small" :icon="Setting" @click.stop="handleConfig(scope.row)">
|
|
|
配置
|
|
|
</el-button>
|
|
|
<!-- <el-button type="warning" size="small" :icon="Monitor" @click.stop="handleMonitor(scope.row)">
|
|
@@ -471,7 +471,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
-<script setup name="DoorDevices">
|
|
|
+<script setup name="AccessControl">
|
|
|
import { ref, reactive, computed, onMounted } from "vue";
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
import {
|
|
@@ -545,9 +545,11 @@ const totalDoors = computed(() => {
|
|
|
const regionOptions = ref([]);
|
|
|
const modelOptions = ref([]);
|
|
|
|
|
|
+/*
|
|
|
onMounted(() => {
|
|
|
getList();
|
|
|
});
|
|
|
+*/
|
|
|
|
|
|
// 获取门禁设备列表
|
|
|
const getList = async () => {
|
|
@@ -561,7 +563,7 @@ const getList = async () => {
|
|
|
devTypeDesc: queryParams.devTypeDesc
|
|
|
};
|
|
|
|
|
|
- const response = await axios.get(`http://10.1.1.165:8000/Hikvision/getAcsDeviceSearch`, { params });
|
|
|
+ const response = await axios.get(`http://${__LOCAL_API__}/Hikvision/getAcsDeviceSearch`, { params });
|
|
|
|
|
|
if (response.data.code === 200) {
|
|
|
doorDevices.value = response.data.data.list || [];
|