Browse Source

日期width/缓存档案固定栏用户操作

master
xuhuajiao 3 years ago
parent
commit
3b04211585
  1. 9
      src/views/archivesManage/archivesList/index.vue
  2. 1
      src/views/components/category/PreviewForm.vue

9
src/views/archivesManage/archivesList/index.vue

@ -26,7 +26,7 @@
<!-- 档案管理列表 -->
<el-col class="archives-right-list" :xs="14" :sm="18" :md="19" :lg="18" :xl="19">
<div v-if="selectedCategory.isType !== 1 && !isRecycle" :class="['archives-top', {'archives-fixed-top': selectedCategory.isType === 2 || selectedCategory.isType === 4 }]">
<el-checkbox v-model="fixedStatusBar">隐藏状态栏</el-checkbox>
<el-checkbox v-model="fixedStatusBar" @change="statusBarChecked">隐藏状态栏</el-checkbox>
</div>
<!-- 项目 -->
<archivesProject
@ -135,7 +135,14 @@ export default {
isRecycle: function(newValue, oldValue) {
}
},
mounted() {
this.fixedStatusBar = JSON.parse(localStorage.getItem('statusBarFixedType')) === true
},
methods: {
//
statusBarChecked(val) {
localStorage.setItem('statusBarFixedType', val)
},
//
findNode(tree, func) {
for (const node of tree) {

1
src/views/components/category/PreviewForm.vue

@ -477,6 +477,7 @@ export default {
}
}
::v-deep .el-date-editor {
width: 196px;
.el-input__inner {
padding-left: 15px;
}

Loading…
Cancel
Save