|
@@ -46,6 +46,11 @@
|
|
|
@page-change="pageChange"
|
|
|
@selection-change="selectionChange"
|
|
|
>
|
|
|
+ <template slot-scope="scope" slot="faceStatus">
|
|
|
+ {{ !!scope.row.appStatus ? `${scope.row.appStatus == 0 ? '不支持/' : '支持/'}` : '' }}
|
|
|
+ {{ !!scope.row.faceStatus ? `${scope.row.faceStatus == 0 ? '关闭' : '开启'}` : '' }}
|
|
|
+ </template>
|
|
|
+
|
|
|
<template slot-scope="scope" slot="opt">
|
|
|
<div class="opt">
|
|
|
<el-tooltip class="item" effect="light" placement="bottom" content="详情">
|
|
@@ -116,11 +121,20 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: 'APP开门',
|
|
|
- prop: 'appStatus'
|
|
|
+ prop: 'appStatus',
|
|
|
+ format(val) {
|
|
|
+ switch (val) {
|
|
|
+ case 0:
|
|
|
+ return `不支持`;
|
|
|
+ case 1:
|
|
|
+ return `支持`;
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
label: '人脸开门',
|
|
|
- prop: 'faceStatus'
|
|
|
+ prop: 'faceStatus',
|
|
|
+ slot: 'faceStatus'
|
|
|
},
|
|
|
{
|
|
|
label: '临时密码开门',
|