瀏覽代碼

报警列表修改。

zhengqiang 5 年之前
父節點
當前提交
29cce0bbfe
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2 2
      .env.development
  2. 1 2
      src/views/base/alarmConfig-list.vue

+ 2 - 2
.env.development

@@ -1,5 +1,5 @@
-VUE_APP_BACKEND_URL=http://wisdomhouse.sudaonline.net
-#VUE_APP_BACKEND_URL=http://127.0.0.1:8086/smart-community-server
+#VUE_APP_BACKEND_URL=http://wisdomhouse.sudaonline.net
+VUE_APP_BACKEND_URL=http://127.0.0.1:8086/smart-community-server
 #VUE_APP_BACKEND_URL=http://192.168.33.26:8080/smart-community-server
 #VUE_APP_BACKEND_URL=http://zldb.xiaoxinda.com:8088/smart-community-server
 #VUE_APP_BACKEND_URL=http://kr6zr7.natappfree.cc/smart-community-server/

+ 1 - 2
src/views/base/alarmConfig-list.vue

@@ -63,7 +63,6 @@
       style="min-height:400px;"
       v-loading="loading"
       stripe
-      :height="tableHeight"
       @sort-change="sortChange"
       @selection-change="handleSelectionChange"
     >
@@ -89,7 +88,7 @@
           <span v-html="row.needMeasureTemperature ? '是': '否'"></span>
         </template>
       </el-table-column>
-      <el-table-column label="操作" width="480">
+      <el-table-column label="操作" width="200" fixed="right">
         <template slot-scope="{row}">
           <el-button size="mini" type="warning" @click="handleEdit(row)">修改</el-button>
           <el-button size="mini" type="danger" @click="handleDelete(row)">删除</el-button>