浏览代码

测温记录 人员信息判断

xiao547607 5 年之前
父节点
当前提交
c693ce5a9a
共有 2 个文件被更改,包括 9 次插入4 次删除
  1. 0 3
      .env.development
  2. 9 1
      src/views/base/personDeviceLog-list.vue

+ 0 - 3
.env.development

@@ -1,8 +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://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/
 #手机版
 VUE_APP_COMPANY_HEALTH_WECHAT_URL=http://wisdomhousewechat.sudaonline.net/prevention/motemwall.html 
 #企业版

+ 9 - 1
src/views/base/personDeviceLog-list.vue

@@ -134,7 +134,15 @@
         </template>
       </el-table-column>
       <el-table-column prop="person" label="人员姓名" width="120">
-        <template slot-scope="{row}">{{row.person == null ? "匿名用户" : row.person.name}}</template>
+        <template slot-scope="{row}">
+          <span v-if="row.personName == '' || row.personName == null">
+            {{row.person == null ?"匿名用户" : row.person.name}}
+          </span>
+          <span v-else>
+            {{row.personName == "未识别" ? "匿名用户" : row.personName}}
+          </span>
+          
+          </template>
       </el-table-column>
       <el-table-column prop="temperature" label="测温度数" width="120"></el-table-column>
       <!-- <el-table-column prop="matchStatus" label="匹配状态" width="180"></el-table-column> -->