@@ -1,2 +1,2 @@
# 窗口使用弹出还是抽屉 (dialog And drawer)
-VUE_APP_WINDOW=dialog
+VUE_APP_WINDOW=drawer
@@ -274,7 +274,7 @@ export default {
}
-.el-dialog {
+.el-dialog, .el-drawer {
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
@@ -9,6 +9,6 @@ VUE_APP_HOME_TITLE=社会科学联合会信息管理系统
# 首页描述
VUE_APP_HOME_DESCRIDE=基于内容管理、系统管理、等功能的优秀网站管理系统。
# 文件上传地址 (app = 各模块自行配置名称)
VUE_APP_FILE_UPLOAD=/api/files/frame/upload
@@ -20,7 +20,7 @@
<script>
const config = {
- window: process.env.VUE_APP_WINDOW == 'dialog'
+ window: eval(process.env.VUE_APP_WINDOW == 'dialog')
};
export default {
props: {
@@ -69,7 +69,7 @@ export default {
type: Object,
default: () => ({
size: 'mini',
- width: 150
+ width: 250
})
},
@@ -4,6 +4,7 @@
size="mini"
:border="true"
:data="listFields"
+ stripe
style="width: 100%"
@selection-change="handleSelectionChange"
@row-dblclick="dblclick"
@@ -120,7 +121,8 @@ export default {
::v-deep .labelName {
font-size: 15px;
font-weight: 900;
- color: #666;
+ color: #0036c9;
+ text-align: center;
.text {
@@ -130,4 +132,10 @@ export default {
white-space: nowrap;
border: none;
+.el-icon-delete {
+ color: #fc0000;
+}
+.el-icon-edit {
+ color: #02c002;
</style>
@@ -32,7 +32,13 @@ export default {
computed: {
menuData() {
- return this.$tree(this.menuList) ?? [];
+ const tree = this.$tree(this.menuList) ?? [];
+ const item = tree.find(e => e.title == '系统管理');
+ if (item) {
+ tree.splice(1, 1);
+ tree.push(item);
+ }
+ return tree;
data() {