能力标签化:样式调整

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-form-item>
<el-form-item>
<el-button>标签检索</el-button>
<el-button type="primary">标签检索</el-button>
</el-form-item>
<div class="tree-box">
<el-tree ref="treeDom" class="filter-tree" :data="dataListCopy" :props="defaultProps" node-key="id"
@ -40,10 +40,6 @@
<script>
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 {
mixins: [mixinViewModule],
@ -60,6 +56,7 @@ export default {
dictName: '',
dictType: '',
dictLabel: '',
limit: 99999999,
},
filterText: '',
dataList: [],

View File

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

View File

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