|
|
|
@ -117,12 +117,12 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="端口地址" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button @click="configure(scope.row)">配置</el-button> |
|
|
|
|
<el-button @click="configure(scope.row)" :disabled="isDetail">配置</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="状态" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-switch v-model="scope.row.isEnable" :active-value="1" :inactive-value="0" :active-text="scope.row.isEnable ? '启用' : '禁用'" @change="switchOff($event,scope.row,scope.$index)"></el-switch> |
|
|
|
|
<el-switch v-model="scope.row.isEnable" :active-value="1" :inactive-value="0" :active-text="scope.row.isEnable ? '启用' : '禁用'" :disabled="isDetail" @change="switchOff($event,scope.row,scope.$index)"></el-switch> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
@ -164,12 +164,12 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="端口地址" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button @click="configure(scope.row)">配置</el-button> |
|
|
|
|
<el-button @click="configure(scope.row)" :disabled="isDetail">配置</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="状态" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-switch v-model="scope.row.isEnable" :active-value="1" :inactive-value="0" :active-text="scope.row.isEnable ? '启用' : '禁用'" @change="switchOff($event,scope.row,scope.$index)"></el-switch> |
|
|
|
|
<el-switch v-model="scope.row.isEnable" :active-value="1" :inactive-value="0" :active-text="scope.row.isEnable ? '启用' : '禁用'" :disabled="isDetail" @change="switchOff($event,scope.row,scope.$index)"></el-switch> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|