配置页面宽度问题
This commit is contained in:
parent
c18eda026c
commit
c2b8a50c3f
@ -5,13 +5,13 @@ const APP_CONFIG = {
|
|||||||
//主题设置
|
//主题设置
|
||||||
THEMESETTING: true,
|
THEMESETTING: true,
|
||||||
// Cookie name
|
// Cookie name
|
||||||
SESSIONNAME: 'miucms_session',
|
SESSIONNAME: 'MIUCMSSESSION',
|
||||||
//TokenName
|
//TokenName
|
||||||
TOKEN_NAME: "authorization",
|
TOKEN_NAME: "token",
|
||||||
// 网站LOGO, 正式形
|
// 网站LOGO, 正式形
|
||||||
APP_LOGO: '',
|
APP_LOGO: '',
|
||||||
//接口地址
|
//接口地址
|
||||||
API_URL: 'https://app.gter.net/admin/',
|
API_URL: 'http://192.168.124.17/admin/',
|
||||||
// 微信扫码登录
|
// 微信扫码登录
|
||||||
MY_SHOW_LOGIN_OAUTH: true,
|
MY_SHOW_LOGIN_OAUTH: true,
|
||||||
}
|
}
|
@ -2,13 +2,12 @@
|
|||||||
<el-container>
|
<el-container>
|
||||||
<el-main>
|
<el-main>
|
||||||
<el-card shadow="never" class="setting">
|
<el-card shadow="never" class="setting">
|
||||||
<x-page-header title="系统设置" description="可以配置和修改网站的各种设置" icon="el-icon-setting"></x-page-header>
|
<x-page-header title="系统设置" description="可以修改网站及应用的各种配置" icon="el-icon-setting"></x-page-header>
|
||||||
<el-tabs :tab-position="tabposition" v-model="activename" v-loading="loading">
|
<el-tabs :tab-position="tabposition" v-model="activename" v-loading="loading">
|
||||||
<el-tab-pane v-for="item in settingList" :key="item.key" :label="item.name" :name="item.key">
|
<el-tab-pane v-for="item in settingList" :key="item.key" :label="item.name" :name="item.key">
|
||||||
<div v-if="item.type == 'extend'">
|
<div v-if="item.type == 'extend'">
|
||||||
<el-alert :title="item.tips" v-if="item.tips" type="warning" style="margin-bottom: 15px;"></el-alert>
|
<el-alert :title="item.tips" v-if="item.tips" type="warning" style="margin-bottom: 15px;"></el-alert>
|
||||||
<x-form-table v-model="extend[item.key]" :hideAdd="true" drag-sort placeholder="暂无数据">
|
<x-form-table v-model="extend[item.key]" :hideAdd="true" drag-sort placeholder="暂无数据">
|
||||||
|
|
||||||
<el-table-column :label="c.label" :prop="c.prop" :width="c.width" :key="c.prop" v-for="c in item.column">
|
<el-table-column :label="c.label" :prop="c.prop" :width="c.width" :key="c.prop" v-for="c in item.column">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-select v-if="c.component=='select'" v-model="scope.row[c.prop]" v-bind="c.options" clearable filterable style="width: 100%;">
|
<el-select v-if="c.component=='select'" v-model="scope.row[c.prop]" v-bind="c.options" clearable filterable style="width: 100%;">
|
||||||
@ -36,6 +35,10 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.setting /deep/ .el-tabs--left .el-tabs__nav.is-left{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.setting /deep/ .el-card__body {
|
.setting /deep/ .el-card__body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
</el-icon>
|
</el-icon>
|
||||||
<span>系统管理组</span>
|
<span>系统管理组</span>
|
||||||
</template>
|
</template>
|
||||||
|
<el-alert title="暂无系统管理组数据" v-if="!groupList.system" center type="info" :closable="false"></el-alert>
|
||||||
<el-menu-item v-for="(i, index) in groupList.system" :key="index" :index="i.id" @click="menuClick(i)">
|
<el-menu-item v-for="(i, index) in groupList.system" :key="index" :index="i.id" @click="menuClick(i)">
|
||||||
{{ i.title }}
|
{{ i.title }}
|
||||||
<span v-if="i.count" class="menu-tag">{{ i.count }}</span>
|
<span v-if="i.count" class="menu-tag">{{ i.count }}</span>
|
||||||
@ -27,6 +28,7 @@
|
|||||||
</el-icon>
|
</el-icon>
|
||||||
<span>自定义用户组</span>
|
<span>自定义用户组</span>
|
||||||
</template>
|
</template>
|
||||||
|
<el-alert title="暂无自定义用户组数据" v-if="!groupList.default" center type="info" :closable="false"></el-alert>
|
||||||
<el-menu-item v-for="(i, index) in groupList.default" :key="index" :index="i.id" @click="menuClick(i)">
|
<el-menu-item v-for="(i, index) in groupList.default" :key="index" :index="i.id" @click="menuClick(i)">
|
||||||
{{ i.title }}
|
{{ i.title }}
|
||||||
<span v-if="i.count" class="menu-tag">{{ i.count }}</span>
|
<span v-if="i.count" class="menu-tag">{{ i.count }}</span>
|
||||||
@ -39,6 +41,7 @@
|
|||||||
</el-icon>
|
</el-icon>
|
||||||
<span>用户等级组</span>
|
<span>用户等级组</span>
|
||||||
</template>
|
</template>
|
||||||
|
<el-alert title="暂无用户等级组数据" v-if="!groupList.member" center type="info" :closable="false"></el-alert>
|
||||||
<el-menu-item v-for="(i, index) in groupList.member" :key="index" :index="i.id" @click="menuClick(i)">
|
<el-menu-item v-for="(i, index) in groupList.member" :key="index" :index="i.id" @click="menuClick(i)">
|
||||||
{{ i.title }}
|
{{ i.title }}
|
||||||
<span v-if="i.count" class="menu-tag">{{ i.count }}</span>
|
<span v-if="i.count" class="menu-tag">{{ i.count }}</span>
|
||||||
|
@ -251,7 +251,7 @@ export default {
|
|||||||
|
|
||||||
var that = this;
|
var that = this;
|
||||||
|
|
||||||
setTimeout(function () { that.loadingshow = false; }, 180);
|
setTimeout(function () { that.loadingshow = false; }, 120);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user