feat: 数据字典 树形结构
This commit is contained in:
@@ -381,16 +381,25 @@ export default {
|
|||||||
},
|
},
|
||||||
goNuwPage (item) {
|
goNuwPage (item) {
|
||||||
this.$store.commit('setDetailMap', this.$route.path)
|
this.$store.commit('setDetailMap', this.$route.path)
|
||||||
this.$router.push({
|
const params = {
|
||||||
name: 'StandLawsAttrDetails',
|
id: item.id,
|
||||||
params: {
|
dictionaryName: item.dictionaryName,
|
||||||
id: item.id,
|
dictionType: item.dictionType,
|
||||||
dictionaryName: item.dictionaryName,
|
isRelate: item.isRelate,
|
||||||
dictionType: item.dictionType,
|
relateDicId: item.relateDicId
|
||||||
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) {
|
handleSelectone (data) {
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -76,12 +76,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</table-tools-bar>
|
</table-tools-bar>
|
||||||
<div class="action-bar">
|
<div class="action-bar">
|
||||||
<el-button type="primary"
|
<!-- <el-button type="primary"-->
|
||||||
class="common-button-primary add-button"
|
<!-- class="common-button-primary add-button"-->
|
||||||
@click="addModal"
|
<!-- @click="addModal"-->
|
||||||
size="mini"
|
<!-- size="mini"-->
|
||||||
v-btn-permission="'57f40856850c95912be0760a082db0e0'"
|
<!-- v-btn-permission="'57f40856850c95912be0760a082db0e0'"-->
|
||||||
:disabled="addBtnDisabled"><i class="iconfont"></i>新增</el-button>
|
<!-- :disabled="addBtnDisabled"><i class="iconfont"></i>新增</el-button>-->
|
||||||
<el-button class="common-button-default in-button"
|
<el-button class="common-button-default in-button"
|
||||||
:loading="searching"
|
:loading="searching"
|
||||||
size="mini"
|
size="mini"
|
||||||
|
|||||||
@@ -1027,6 +1027,17 @@ const routes = [
|
|||||||
title: '标准法规属性管理详情页'
|
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',
|
path: '/attributeCustom',
|
||||||
name: 'AttributeCustom',
|
name: 'AttributeCustom',
|
||||||
|
|||||||
Reference in New Issue
Block a user