|
@@ -36,6 +36,11 @@
|
|
<el-tag prop="isAudit" v-for="(item, index) in isAuditOptions" :type="scope.row.isAudit==-1?'danger':'success'" v-if="scope.row.isAudit==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
<el-tag prop="isAudit" v-for="(item, index) in isAuditOptions" :type="scope.row.isAudit==-1?'danger':'success'" v-if="scope.row.isAudit==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column label="在线状态" align="center" prop="authCheck" >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-tag prop="authCheck" v-for="(item, index) in authCheckOptions" :type="scope.row.authCheck==0?'danger':'success'" v-if="scope.row.authCheck==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="关联设备id" align="center" prop="deviceId" />
|
|
<el-table-column label="关联设备id" align="center" prop="deviceId" />
|
|
<el-table-column label="创建时间" align="center" prop="createTime" />
|
|
<el-table-column label="创建时间" align="center" prop="createTime" />
|
|
<el-table-column label="设备是否可用" align="center" prop="availableDevice" >
|
|
<el-table-column label="设备是否可用" align="center" prop="availableDevice" >
|
|
@@ -47,7 +52,7 @@
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
- v-if="scope.row.availableDevice >= -1"
|
|
|
|
|
|
+ v-if="scope.row.availableDevice == -1"
|
|
size="mini"
|
|
size="mini"
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
@@ -57,6 +62,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-offline"
|
|
icon="el-icon-offline"
|
|
|
|
+ v-if="scope.row.authCheck == 1"
|
|
@click="handleOffLine(scope.row)"
|
|
@click="handleOffLine(scope.row)"
|
|
>强制下线</el-button>
|
|
>强制下线</el-button>
|
|
</template>
|
|
</template>
|
|
@@ -116,6 +122,7 @@ export default {
|
|
accountList: [],
|
|
accountList: [],
|
|
isAuditOptions:[],
|
|
isAuditOptions:[],
|
|
availableOptions:[],
|
|
availableOptions:[],
|
|
|
|
+ authCheckOptions:[],
|
|
// 弹出层标题
|
|
// 弹出层标题
|
|
title: "",
|
|
title: "",
|
|
// 是否显示弹出层
|
|
// 是否显示弹出层
|
|
@@ -166,6 +173,9 @@ export default {
|
|
this.getDicts("qw_device_status").then((response) => {
|
|
this.getDicts("qw_device_status").then((response) => {
|
|
this.availableOptions = response.data;
|
|
this.availableOptions = response.data;
|
|
});
|
|
});
|
|
|
|
+ this.getDicts("qw_login_status").then((response) => {
|
|
|
|
+ this.authCheckOptions = response.data;
|
|
|
|
+ });
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
/** 查询企微功能账号管理列表 */
|
|
/** 查询企微功能账号管理列表 */
|