feat: 数据字典 树形结构

This commit is contained in:
super_liu
2021-07-08 13:59:50 +08:00
parent 9ed20ec430
commit bdbe66eac4
4 changed files with 1285 additions and 16 deletions
@@ -381,16 +381,25 @@ export default {
},
goNuwPage (item) {
this.$store.commit('setDetailMap', this.$route.path)
this.$router.push({
name: 'StandLawsAttrDetails',
params: {
id: item.id,
dictionaryName: item.dictionaryName,
dictionType: item.dictionType,
isRelate: item.isRelate,
relateDicId: item.relateDicId
}
})
const params = {
id: item.id,
dictionaryName: item.dictionaryName,
dictionType: item.dictionType,
isRelate: item.isRelate,
relateDicId: item.relateDicId
}
if(item.dictionType && item.dictionType === 'TREE'){
this.$router.push({
name: 'standLawsAttrTreeDetails',
params: params
})
}else {
this.$router.push({
name: 'StandLawsAttrDetails',
params: params
})
}
},
handleSelectone (data) {
this.selectedList = []
File diff suppressed because it is too large Load Diff
@@ -76,12 +76,12 @@
</div>
</table-tools-bar>
<div class="action-bar">
<el-button type="primary"
class="common-button-primary add-button"
@click="addModal"
size="mini"
v-btn-permission="'57f40856850c95912be0760a082db0e0'"
:disabled="addBtnDisabled"><i class="iconfont">&#xe84e;</i>新增</el-button>
<!-- <el-button type="primary"-->
<!-- class="common-button-primary add-button"-->
<!-- @click="addModal"-->
<!-- size="mini"-->
<!-- v-btn-permission="'57f40856850c95912be0760a082db0e0'"-->
<!-- :disabled="addBtnDisabled"><i class="iconfont">&#xe84e;</i>新增</el-button>-->
<el-button class="common-button-default in-button"
:loading="searching"
size="mini"
+11
View File
@@ -1027,6 +1027,17 @@ const routes = [
title: '标准法规属性管理详情页'
}
},
{
path: '/standLawsAttrTreeDetails/:id?/:dictionaryName?/:dictionType?/:isRelate?/:relateDicId?',
name: 'standLawsAttrTreeDetails',
component: () =>
import('@/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails'),
meta: {
requireAuth: true,
parentPath: '/standLawsAttrManage',
title: '标准法规属性管理详情页'
}
},
{
path: '/attributeCustom',
name: 'AttributeCustom',