master
lion 10 months ago
parent 2f4b3cd498
commit d24c34ffbd

@ -79,10 +79,10 @@
</div> </div>
</div> </div>
</template> </template>
<template v-slot:catalog_id v-if="false"> <template v-slot:catalog_id v-if="stateObj.is_admin">
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold"> <div class="xy-table-item-label" style="font-weight: bold">
<span style="color: red;font-weight: bold;padding-right: 4px;">*</span>所属目录 <span style="color: red;font-weight: bold;padding-right: 4px;"></span>所属目录
</div> </div>
<div class="xy-table-item-content" style="height:150px;overflow: scroll;"> <div class="xy-table-item-content" style="height:150px;overflow: scroll;">
<el-tree v-if="isShow" :default-checked-keys="checkArr" :check-strictly="true" @check="getSelectedNodes" <el-tree v-if="isShow" :default-checked-keys="checkArr" :check-strictly="true" @check="getSelectedNodes"

@ -76,10 +76,10 @@
</div> </div>
</div> </div>
</template> </template>
<template v-slot:catalog_id v-if="false"> <template v-slot:catalog_id v-if="stateObj.is_admin">
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold"> <div class="xy-table-item-label" style="font-weight: bold">
<span style="color: red;font-weight: bold;padding-right: 4px;">*</span>所属目录 <span style="color: red;font-weight: bold;padding-right: 4px;"></span>所属目录
</div> </div>
<div class="xy-table-item-content" style="height:150px;overflow: scroll;"> <div class="xy-table-item-content" style="height:150px;overflow: scroll;">
<el-tree v-if="isShow" :default-checked-keys="checkArr" :check-strictly="true" @check="getSelectedNodes" <el-tree v-if="isShow" :default-checked-keys="checkArr" :check-strictly="true" @check="getSelectedNodes"

@ -3,7 +3,7 @@
<div> <div>
<div ref="lxHeader"> <div ref="lxHeader">
<lx-header icon="md-apps" :text="$route.meta.title+select.catalog_name" <lx-header icon="md-apps" :text="is_search?$route.meta.title+'--'+select.keyword:$route.meta.title"
style="margin-bottom: 10px; border: 0px; margin-top: 15px"> style="margin-bottom: 10px; border: 0px; margin-top: 15px">
<div slot="content" v-if="!hasMenu"> <div slot="content" v-if="!hasMenu">
<div class="searchwrap" style="display: flex;align-items: center;"> <div class="searchwrap" style="display: flex;align-items: center;">
@ -416,7 +416,8 @@
this.stateObj = state.state this.stateObj = state.state
this.is_search = false this.is_search = false
if (this.$route.query.searchTitle) { if (this.$route.query.searchTitle) {
this.select.keyword = this.$route.query.searchTitle this.select.keyword = this.$route.query.searchTitle
this.getCatalogList()
this.is_search = true this.is_search = true
} }
if (this.$route.query.dateTotal) { if (this.$route.query.dateTotal) {

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin', publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin_test', outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin',
assetsDir: 'static', assetsDir: 'static',
css: { css: {
loaderOptions: { // 向 CSS 相关的 loader 传递选项 loaderOptions: { // 向 CSS 相关的 loader 传递选项

Loading…
Cancel
Save