能力标签化:样式调整

This commit is contained in:
guoyue 2022-11-02 16:07:01 +08:00
parent a6a7d467e6
commit 492360166c
3 changed files with 7 additions and 11 deletions

View File

@ -6,7 +6,7 @@
<el-input v-model="filterText" placeholder="标签名称" clearable></el-input> <el-input v-model="filterText" placeholder="标签名称" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button>标签检索</el-button> <el-button type="primary">标签检索</el-button>
</el-form-item> </el-form-item>
<div class="tree-box"> <div class="tree-box">
<el-tree ref="treeDom" class="filter-tree" :data="dataListCopy" :props="defaultProps" node-key="id" <el-tree ref="treeDom" class="filter-tree" :data="dataListCopy" :props="defaultProps" node-key="id"
@ -40,10 +40,6 @@
<script> <script>
import mixinViewModule from '@/mixins/view-module' import mixinViewModule from '@/mixins/view-module'
import AddOrUpdate from '../tag-type-add-or-update'
import TagSysBuildLife from './tag-sys-build-life'
import { addDynamicRoute } from '@/router'
export default { export default {
mixins: [mixinViewModule], mixins: [mixinViewModule],
@ -60,6 +56,7 @@ export default {
dictName: '', dictName: '',
dictType: '', dictType: '',
dictLabel: '', dictLabel: '',
limit: 99999999,
}, },
filterText: '', filterText: '',
dataList: [], dataList: [],

View File

@ -6,7 +6,7 @@
<el-input v-model="dataForm.dictName" placeholder="标签名称" clearable></el-input> <el-input v-model="dataForm.dictName" placeholder="标签名称" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button> <el-button type="primary" @click="getDataList()">{{ $t('query') }}</el-button>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="addOrUpdateHandle()">新增分类</el-button> <el-button type="primary" @click="addOrUpdateHandle()">新增分类</el-button>
@ -59,8 +59,8 @@ export default {
mixinViewModuleOptions: { mixinViewModuleOptions: {
getDataListURL: '/sys/dict/type/page', getDataListURL: '/sys/dict/type/page',
getDataListIsPage: true, getDataListIsPage: true,
deleteURL: '/sys/dict/type', // deleteURL: '/sys/dict/type',
deleteIsBatch: true deleteIsBatch: false
}, },
dataForm: { dataForm: {
id: '0', id: '0',
@ -95,7 +95,6 @@ export default {
this.$refs.lifeModal.rowData = row; this.$refs.lifeModal.rowData = row;
}, },
handleClick() { handleClick() {
} }
} }
} }

View File

@ -6,19 +6,19 @@
{{ tab.name }} {{ tab.name }}
</div> </div>
</div> </div>
<!-- 标签体系构建 -->
<TagSysBuild v-if="selectTab == 'build'"></TagSysBuild> <TagSysBuild v-if="selectTab == 'build'"></TagSysBuild>
<!-- 标签目录管理 -->
<TagDirectory v-if="selectTab == 'directory'"></TagDirectory> <TagDirectory v-if="selectTab == 'directory'"></TagDirectory>
</el-card> </el-card>
</template> </template>
<script> <script>
import mixinViewModule from '@/mixins/view-module'
import TagSysBuild from './components/tag-sys-build' import TagSysBuild from './components/tag-sys-build'
import TagDirectory from './components/tag-directory' import TagDirectory from './components/tag-directory'
import { addDynamicRoute } from '@/router' import { addDynamicRoute } from '@/router'
export default { export default {
mixins: [mixinViewModule],
data() { data() {
return { return {
tabList: [ tabList: [