Forráskód Böngészése

门禁 列表和点位信息 列表显示门禁列表信息 门禁点位控制 控制门禁开关等操作

bzd_lxf 1 hónapja
szülő
commit
26d500789b

+ 5 - 3
pm_ui/src/views/accessControl/index.vue

@@ -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 || [];

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 507 - 327
pm_ui/src/views/accessControl/index2.vue


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott