|
@@ -70,28 +70,29 @@
|
|
size="small"
|
|
size="small"
|
|
type="primary"
|
|
type="primary"
|
|
icon="el-icon-refresh"
|
|
icon="el-icon-refresh"
|
|
|
|
+ v-show="false"
|
|
@click="doRefreshRule"
|
|
@click="doRefreshRule"
|
|
>刷新
|
|
>刷新
|
|
</el-button>
|
|
</el-button>
|
|
- </div>
|
|
|
|
|
|
|
|
- <div class="page pull-right">
|
|
|
|
- <el-form :inline="true">
|
|
|
|
- <span
|
|
|
|
- v-for="(item, index) in topLoginRuleList"
|
|
|
|
- :key="index"
|
|
|
|
- style="padding: 0px 15px"
|
|
|
|
- >
|
|
|
|
- <el-form-item :label="'开放' + getTypeTitle(item.type)">
|
|
|
|
- <el-switch
|
|
|
|
- v-model="switchModels[index].allow"
|
|
|
|
- @change="updateTopRule(item.type, index)"
|
|
|
|
- active-color="#13ce66"
|
|
|
|
- inactive-color="#ff4949"
|
|
|
|
- ></el-switch>
|
|
|
|
- </el-form-item>
|
|
|
|
- </span>
|
|
|
|
- </el-form>
|
|
|
|
|
|
+ <div class="page pull-right">
|
|
|
|
+ <el-form :inline="true">
|
|
|
|
+ <span
|
|
|
|
+ v-for="(item, index) in topLoginRuleList"
|
|
|
|
+ :key="index"
|
|
|
|
+ style="padding: 0px 15px"
|
|
|
|
+ >
|
|
|
|
+ <el-form-item :label="'开放' + getTypeTitle(item.type)">
|
|
|
|
+ <el-switch
|
|
|
|
+ v-model="switchModels[index].allow"
|
|
|
|
+ @change="updateTopRule(item.type, index)"
|
|
|
|
+ active-color="#13ce66"
|
|
|
|
+ inactive-color="#ff4949"
|
|
|
|
+ ></el-switch>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </span>
|
|
|
|
+ </el-form>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<el-table
|
|
<el-table
|