U
he wei
2025-04-24 368413ba07c0876e8b4eb8ba3484b27fa843d68f
U
3个文件已修改
18 ■■■■ 已修改文件
index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/device/realtime/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/device/realtime/settings.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.html
@@ -4,7 +4,7 @@
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + Vue</title>
    <title>鸿蒙智能电子锁管理平台</title>
  </head>
  <body>
    <div id="app"></div>
src/views/device/realtime/index.vue
@@ -263,7 +263,7 @@
        tree.value.setCurrent(baojiId.value + '-' + stationId.value);
    }
    console.log('baojiId, stationId', baojiId.value, stationId.value, '=============real');
    // console.log('baojiId, stationId', baojiId.value, stationId.value, '=============real');
})
</script>
src/views/device/realtime/settings.vue
@@ -168,7 +168,8 @@
<template>
  <!-- 遍历所有的锁 给每个锁选择 机柜序号 门序号 -->
  <!-- <el-form :model="lockConfigs"> -->
  <el-form>
  <el-form class="form">
    <div class="scroller">
    <template v-for="(lock, index) in locationInfo.control" :key="index">
      <el-row :gutter="16">
        <el-col :span="24">
@@ -207,6 +208,7 @@
        </el-col>
      </el-row>
    </template>
    </div>
    <div class="footer">
      <el-button @click="cancel">取消</el-button>
      <el-button type="primary" @click="submitForm">提交配置</el-button>
@@ -215,6 +217,16 @@
</template>
<style scoped lang="less">
// .form {
//   padding-right: 8px;
// }
.scroller {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-right: -8px;
  padding-right: 18px;
}
.info {
  font-size: 14px;
  color: #333;