Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
ac8f8271
提交
ac8f8271
authored
3月 15, 2021
作者:
fit2cloud-chenyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 新增树表格
上级
8d911cd4
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
177 行增加
和
112 行删除
+177
-112
index.vue
frontend/src/components/business/tree-table/index.vue
+90
-0
index.vue
frontend/src/views/system/dept/index.vue
+36
-22
index.vue
frontend/src/views/system/menu/index.vue
+51
-90
没有找到文件。
frontend/src/components/business/tree-table/index.vue
0 → 100644
浏览文件 @
ac8f8271
<
template
>
<div
class=
"complex-table"
>
<div
v-if=
"$slots.header || header"
class=
"complex-table__header"
>
<slot
name=
"header"
>
{{
header
}}
</slot>
</div>
<div
v-if=
"$slots.toolbar || searchConfig"
class=
"complex-table__toolbar"
>
<slot
name=
"toolbar"
>
<fu-search-bar
v-bind=
"searchConfig"
@
exec=
"search"
>
<slot
name=
"buttons"
/>
<fu-table-column-select
:columns=
"columns"
/>
</fu-search-bar>
</slot>
</div>
<div
class=
"complex-table__body"
>
<slot
/>
<!--
<fu-table
ref=
"table"
v-bind=
"$attrs"
:columns=
"columns"
:local-key=
"localKey"
v-on=
"$listeners"
>
<slot
/>
</fu-table>
-->
</div>
<div
v-if=
"$slots.pagination || paginationConfig"
class=
"complex-table__pagination"
>
<slot
name=
"pagination"
>
<fu-table-pagination
:current-page
.
sync=
"paginationConfig.currentPage"
:page-size
.
sync=
"paginationConfig.pageSize"
v-bind=
"paginationConfig"
@
change=
"search"
/>
</slot>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'TreeTable'
,
props
:
{
columns
:
{
type
:
Array
,
default
:
()
=>
[]
},
// eslint-disable-next-line vue/require-default-prop
localKey
:
String
,
// 如果需要记住选择的列,则这里添加一个唯一的Key
// eslint-disable-next-line vue/require-default-prop
header
:
String
,
// eslint-disable-next-line vue/require-default-prop
searchConfig
:
Object
,
// eslint-disable-next-line vue/require-default-prop
paginationConfig
:
Object
},
data
()
{
return
{
condition
:
{}
}
},
methods
:
{
search
(
condition
,
e
)
{
if
(
condition
)
{
this
.
condition
=
condition
}
this
.
$emit
(
'search'
,
this
.
condition
,
e
)
}
}
}
</
script
>
<
style
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/variables.scss"
;
.complex-table
{
.complex-table__header
{
@include
flex-row
(
flex-start
,
center
);
height
:
60px
;
font-size
:
20px
;
}
.complex-table__toolbar
{
@include
flex-row
(
flex-end
,
center
);
}
.complex-table__pagination
{
margin-top
:
20px
;
@include
flex-row
(
flex-end
);
}
}
</
style
>
frontend/src/views/system/dept/index.vue
浏览文件 @
ac8f8271
<
template
>
<
template
>
<layout-content
v-loading=
"$store.getters.loadingMap[$store.getters.currentPath]"
>
<layout-content
v-loading=
"$store.getters.loadingMap[$store.getters.currentPath]"
>
<complex-table
<
!--
<
complex-table
ref=
"table"
ref=
"table"
:data=
"tableData"
:data=
"tableData"
:lazy=
"isLazy"
:lazy=
"isLazy"
...
@@ -15,15 +15,31 @@
...
@@ -15,15 +15,31 @@
:default-expand-all="isTableExpand"
:default-expand-all="isTableExpand"
row-key="deptId"
row-key="deptId"
@search="search"
@search="search"
> -->
<tree-table
:columns=
"columns"
:buttons=
"buttons"
:header=
"header"
:search-config=
"searchConfig"
@
search=
"search"
>
>
<template
#
buttons
>
<template
#
buttons
>
<fu-table-button
icon=
"el-icon-circle-plus-outline"
:label=
"$t('organization.create')"
@
click=
"create"
/>
<fu-table-button
icon=
"el-icon-circle-plus-outline"
:label=
"$t('organization.create')"
@
click=
"create"
/>
</
template
>
</
template
>
<el-table
<!-- <el-table-column type="selection" fix /> -->
ref=
"table"
<el-table-column
label=
"名称"
prop=
"name"
/>
:data=
"tableData"
<el-table-column
label=
"下属组织数"
prop=
"subCount"
/>
lazy
<!-- <el-table-column label="状态" align="center" prop="enabled">
:load=
"loadExpandDatas"
style=
"width: 100%"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
row-key=
"deptId"
>
<!-- <el-table-column type="selection" fix /> -->
<el-table-column
label=
"名称"
prop=
"name"
/>
<el-table-column
label=
"下属组织数"
prop=
"subCount"
/>
<!-- <el-table-column label="状态" align="center" prop="enabled">
<template slot-scope="scope">
<template slot-scope="scope">
<el-switch
<el-switch
v-model="scope.row.enabled"
v-model="scope.row.enabled"
...
@@ -34,14 +50,16 @@
...
@@ -34,14 +50,16 @@
/>
/>
</template>
</template>
</el-table-column> -->
</el-table-column> -->
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<el-table-column
prop=
"createTime"
label=
"创建日期"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
<span>
{{
scope
.
row
.
createTime
|
timestampFormatDate
}}
</span>
<span>
{{
scope
.
row
.
createTime
|
timestampFormatDate
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<fu-table-operations
:buttons=
"buttons"
label=
"操作"
fix
/>
<fu-table-operations
:buttons=
"buttons"
label=
"操作"
fix
/>
</complex-table>
</el-table>
</tree-table>
<!-- </complex-table> -->
<!-- add organization form -->
<!-- add organization form -->
<el-dialog
<el-dialog
...
@@ -106,7 +124,7 @@
...
@@ -106,7 +124,7 @@
<
script
>
<
script
>
import
LayoutContent
from
'@/components/business/LayoutContent'
import
LayoutContent
from
'@/components/business/LayoutContent'
import
ComplexTable
from
'@/components/business/complex
-table'
import
TreeTable
from
'@/components/business/tree
-table'
import
Treeselect
from
'@riophae/vue-treeselect'
import
Treeselect
from
'@riophae/vue-treeselect'
import
{
formatCondition
}
from
'@/utils/index'
import
{
formatCondition
}
from
'@/utils/index'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
import
'@riophae/vue-treeselect/dist/vue-treeselect.css'
...
@@ -118,7 +136,7 @@ export default {
...
@@ -118,7 +136,7 @@ export default {
name
:
'MsOrganization'
,
name
:
'MsOrganization'
,
components
:
{
components
:
{
LayoutContent
,
LayoutContent
,
Complex
Table
,
Tree
Table
,
Treeselect
Treeselect
},
},
data
()
{
data
()
{
...
@@ -168,11 +186,7 @@ export default {
...
@@ -168,11 +186,7 @@ export default {
]
]
},
},
paginationConfig
:
{
currentPage
:
1
,
pageSize
:
10
,
total
:
0
},
defaultCondition
:
{
defaultCondition
:
{
field
:
'pid'
,
field
:
'pid'
,
operator
:
'eq'
,
operator
:
'eq'
,
...
@@ -271,7 +285,7 @@ export default {
...
@@ -271,7 +285,7 @@ export default {
},
},
// 加载表格数据
// 加载表格数据
search
(
condition
)
{
search
(
condition
)
{
this
.
setTableAttr
()
//
this.setTableAttr()
this
.
tableData
=
[]
this
.
tableData
=
[]
let
param
=
{}
let
param
=
{}
if
(
condition
&&
condition
.
quick
)
{
if
(
condition
&&
condition
.
quick
)
{
...
@@ -293,7 +307,7 @@ export default {
...
@@ -293,7 +307,7 @@ export default {
if
(
condition
&&
condition
.
quick
)
{
if
(
condition
&&
condition
.
quick
)
{
data
=
this
.
buildTree
(
data
)
data
=
this
.
buildTree
(
data
)
this
.
setTableAttr
(
true
)
//
this.setTableAttr(true)
}
}
this
.
tableData
=
data
this
.
tableData
=
data
this
.
depts
=
null
this
.
depts
=
null
...
...
frontend/src/views/system/menu/index.vue
浏览文件 @
ac8f8271
<
template
>
<
template
>
<layout-content
v-loading=
"$store.getters.loadingMap[$store.getters.currentPath]"
>
<layout-content
v-loading=
"$store.getters.loadingMap[$store.getters.currentPath]"
>
<complex-table
<tree-table
ref=
"table"
:data=
"tableData"
lazy
:load=
"initTableData"
:columns=
"columns"
:columns=
"columns"
:buttons=
"buttons"
:buttons=
"buttons"
:header=
"header"
:header=
"header"
:search-config=
"searchConfig"
:search-config=
"searchConfig"
:pagination-config=
"paginationConfig"
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}"
row-key="menuId"
@
search=
"initTableData"
@
search=
"initTableData"
>
>
<template
#
buttons
>
<template
#
buttons
>
<fu-table-button
icon=
"el-icon-circle-plus-outline"
:label=
"$t('menu.create')"
@
click=
"create"
/>
<fu-table-button
icon=
"el-icon-circle-plus-outline"
:label=
"$t('menu.create')"
@
click=
"create"
/>
</
template
>
</
template
>
<!-- <el-table-column type="selection" fix /> -->
<el-table
<el-table-column
:show-overflow-tooltip=
"true"
label=
"菜单标题"
width=
"150px"
prop=
"title"
/>
ref=
"table"
<el-table-column
prop=
"icon"
label=
"图标"
align=
"center"
width=
"60px"
>
:data=
"tableData"
<
template
slot-scope=
"scope"
>
lazy
<svg-icon
:icon-class=
"scope.row.icon ? scope.row.icon : ''"
/>
:load=
"initTableData"
</
template
>
style=
"width: 100%"
</el-table-column>
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
row-key=
"menuId"
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"permission"
label=
"权限标识"
/>
>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"component"
label=
"组件路径"
/>
<!-- <el-table-column prop="iframe" label="外链" width="75px">
<!-- <el-table-column type="selection" fix /> -->
<template slot-scope="scope">
<el-table-column
:show-overflow-tooltip=
"true"
label=
"菜单标题"
width=
"150px"
prop=
"title"
/>
<span v-if="scope.row.iframe">是</span>
<el-table-column
prop=
"icon"
label=
"图标"
align=
"center"
width=
"60px"
>
<span v-else>否</span>
<
template
slot-scope=
"scope"
>
</template>
<svg-icon
:icon-class=
"scope.row.icon ? scope.row.icon : ''"
/>
</el-table-column>
</
template
>
<el-table-column prop="cache" label="缓存" width="75px">
</el-table-column>
<template slot-scope="scope">
<span v-if="scope.row.cache">是</span>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"permission"
label=
"权限标识"
/>
<span v-else>否</span>
<el-table-column
:show-overflow-tooltip=
"true"
prop=
"component"
label=
"组件路径"
/>
</template>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建日期"
width=
"160px"
>
<el-table-column prop="hidden" label="可见" width="75px">
<
template
v-slot:default=
"scope"
>
<template slot-scope="scope">
<span>
{{
scope
.
row
.
createTime
|
timestampFormatDate
}}
</span>
<span v-if="scope.row.hidden">否</span>
</
template
>
<span v-else>是</span>
</el-table-column>
</template>
</el-table-column> -->
<fu-table-operations
:buttons=
"buttons"
label=
"操作"
fix
/>
<el-table-column
prop=
"createTime"
label=
"创建日期"
width=
"160px"
>
</el-table>
<
template
v-slot:default=
"scope"
>
</tree-table>
<span>
{{
scope
.
row
.
createTime
|
timestampFormatDate
}}
</span>
</
template
>
</el-table-column>
<fu-table-operations
:buttons=
"buttons"
label=
"操作"
fix
/>
</complex-table>
<el-dialog
<el-dialog
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
...
@@ -66,13 +53,13 @@
...
@@ -66,13 +53,13 @@
<el-form
ref=
"menuForm"
inline
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"80px"
>
<el-form
ref=
"menuForm"
inline
:model=
"form"
:rules=
"rule"
size=
"small"
label-width=
"80px"
>
<el-form-item
label=
"菜单类型"
prop=
"type"
>
<el-form-item
label=
"菜单类型"
prop=
"type"
>
<el-radio-group
v-model=
"form.type"
size=
"mini"
style=
"width: 179px"
>
<el-radio-group
v-model=
"form.type"
size=
"mini"
:disabled=
"formType!=='add'"
style=
"width: 179px"
>
<el-radio-button
label=
"0"
>
目录
</el-radio-button>
<el-radio-button
label=
"0"
>
目录
</el-radio-button>
<el-radio-button
label=
"1"
>
菜单
</el-radio-button>
<el-radio-button
label=
"1"
>
菜单
</el-radio-button>
<el-radio-button
label=
"2"
>
按钮
</el-radio-button>
<el-radio-button
label=
"2"
>
按钮
</el-radio-button>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"form.type!==
'2'
"
label=
"菜单图标"
prop=
"icon"
>
<el-form-item
v-show=
"form.type!==
2
"
label=
"菜单图标"
prop=
"icon"
>
<el-popover
<el-popover
placement=
"bottom-start"
placement=
"bottom-start"
width=
"425"
width=
"425"
...
@@ -86,48 +73,32 @@
...
@@ -86,48 +73,32 @@
</el-input>
</el-input>
</el-popover>
</el-popover>
</el-form-item>
</el-form-item>
<!-- <el-form-item v-show="form.type !== '2'" label="外链菜单" prop="iframe">
<el-radio-group v-model="form.iframe" size="mini">
<el-form-item
v-if=
"form.type !== 2"
label=
"菜单标题"
prop=
"title"
>
<el-radio-button label="true">是</el-radio-button>
<el-radio-button label="false">否</el-radio-button>
</el-radio-group>
</el-form-item>
<el-form-item v-show="form.type=== '1'" label="菜单缓存" prop="cache">
<el-radio-group v-model="form.cache" size="mini">
<el-radio-button label="true">是</el-radio-button>
<el-radio-button label="false">否</el-radio-button>
</el-radio-group>
</el-form-item>
<el-form-item v-show="form.type !== '2'" label="菜单可见" prop="hidden">
<el-radio-group v-model="form.hidden" size="mini">
<el-radio-button label="false">是</el-radio-button>
<el-radio-button label="true">否</el-radio-button>
</el-radio-group>
</el-form-item> -->
<el-form-item
v-if=
"form.type !== '2'"
label=
"菜单标题"
prop=
"title"
>
<el-input
v-model=
"form.title"
:style=
" form.type === '0' ? 'width: 450px' : 'width: 179px'"
placeholder=
"菜单标题"
/>
<el-input
v-model=
"form.title"
:style=
" form.type === '0' ? 'width: 450px' : 'width: 179px'"
placeholder=
"菜单标题"
/>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"form.type ===
'2'
"
label=
"按钮名称"
prop=
"title"
>
<el-form-item
v-if=
"form.type ===
2
"
label=
"按钮名称"
prop=
"title"
>
<el-input
v-model=
"form.title"
placeholder=
"按钮名称"
style=
"width: 179px;"
/>
<el-input
v-model=
"form.title"
placeholder=
"按钮名称"
style=
"width: 179px;"
/>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"form.type !==
'0'
"
label=
"权限标识"
prop=
"permission"
>
<el-form-item
v-show=
"form.type !==
0
"
label=
"权限标识"
prop=
"permission"
>
<el-input
v-model=
"form.permission"
:disabled=
"form.iframe"
placeholder=
"权限标识"
style=
"width: 179px;"
/>
<el-input
v-model=
"form.permission"
:disabled=
"form.iframe
|| formType!=='add'
"
placeholder=
"权限标识"
style=
"width: 179px;"
/>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"form.type !==
'2'
"
label=
"路由地址"
prop=
"path"
>
<el-form-item
v-if=
"form.type !==
2
"
label=
"路由地址"
prop=
"path"
>
<el-input
v-model=
"form.path"
placeholder=
"路由地址"
style=
"width: 179px;"
/>
<el-input
v-model=
"form.path"
placeholder=
"路由地址"
:disabled=
"formType!=='add'"
style=
"width: 179px;"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"菜单排序"
prop=
"menuSort"
>
<el-form-item
label=
"菜单排序"
prop=
"menuSort"
>
<el-input-number
v-model
.
number=
"form.menuSort"
:min=
"0"
:max=
"999"
controls-position=
"right"
style=
"width: 179px;"
/>
<el-input-number
v-model
.
number=
"form.menuSort"
:min=
"0"
:max=
"999"
controls-position=
"right"
style=
"width: 179px;"
/>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"!form.iframe && form.type ===
'1'
"
label=
"组件名称"
prop=
"componentName"
>
<el-form-item
v-show=
"!form.iframe && form.type ===
1
"
label=
"组件名称"
prop=
"componentName"
>
<el-input
v-model=
"form.componentName"
style=
"width: 179px;"
placeholder=
"匹配组件内Name字段"
/>
<el-input
v-model=
"form.componentName"
:disabled=
"formType!=='add'"
style=
"width: 179px;"
placeholder=
"匹配组件内Name字段"
/>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"!form.iframe && form.type ===
'1'
"
label=
"组件路径"
prop=
"component"
>
<el-form-item
v-show=
"!form.iframe && form.type ===
1
"
label=
"组件路径"
prop=
"component"
>
<el-input
v-model=
"form.component"
style=
"width: 179px;"
placeholder=
"组件路径"
/>
<el-input
v-model=
"form.component"
:disabled=
"formType!=='add'"
style=
"width: 179px;"
placeholder=
"组件路径"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"上级类目"
prop=
"pid"
>
<el-form-item
label=
"上级类目"
prop=
"pid"
>
<treeselect
<treeselect
v-model=
"form.pid"
v-model=
"form.pid"
:disabled=
"formType!=='add'"
:options=
"menus"
:options=
"menus"
:load-options=
"loadMenus"
:load-options=
"loadMenus"
style=
"width: 450px;"
style=
"width: 450px;"
...
@@ -139,12 +110,7 @@
...
@@ -139,12 +110,7 @@
<el-button
type=
"text"
@
click=
"dialogVisible = false"
>
{{ $t('commons.cancel') }}
</el-button>
<el-button
type=
"text"
@
click=
"dialogVisible = false"
>
{{ $t('commons.cancel') }}
</el-button>
<el-button
type=
"primary"
@
click=
"createMenu('menuForm')"
>
确认
</el-button>
<el-button
type=
"primary"
@
click=
"createMenu('menuForm')"
>
确认
</el-button>
</div>
</div>
<!-- <template v-slot:footer>
<ms-dialog-footer
@cancel="dialogVisible = false"
@confirm="createMenu('menuForm')"
/>
</template> -->
</el-dialog>
</el-dialog>
</layout-content>
</layout-content>
...
@@ -152,7 +118,7 @@
...
@@ -152,7 +118,7 @@
<
script
>
<
script
>
import
LayoutContent
from
'@/components/business/LayoutContent'
import
LayoutContent
from
'@/components/business/LayoutContent'
import
ComplexTable
from
'@/components/business/complex
-table'
import
TreeTable
from
'@/components/business/tree
-table'
// import { checkPermission } from '@/utils/permission'
// import { checkPermission } from '@/utils/permission'
import
IconSelect
from
'@/components/IconSelect'
import
IconSelect
from
'@/components/IconSelect'
import
Treeselect
from
'@riophae/vue-treeselect'
import
Treeselect
from
'@riophae/vue-treeselect'
...
@@ -162,9 +128,8 @@ import { LOAD_CHILDREN_OPTIONS, LOAD_ROOT_OPTIONS } from '@riophae/vue-treeselec
...
@@ -162,9 +128,8 @@ import { LOAD_CHILDREN_OPTIONS, LOAD_ROOT_OPTIONS } from '@riophae/vue-treeselec
import
{
addMenu
,
editMenu
,
delMenu
,
getMenusTree
}
from
'@/api/system/menu'
import
{
addMenu
,
editMenu
,
delMenu
,
getMenusTree
}
from
'@/api/system/menu'
export
default
{
export
default
{
name
:
'MsMenu'
,
components
:
{
components
:
{
Complex
Table
,
Tree
Table
,
LayoutContent
,
LayoutContent
,
Treeselect
,
Treeselect
,
IconSelect
IconSelect
...
@@ -224,11 +189,6 @@ export default {
...
@@ -224,11 +189,6 @@ export default {
// multiple: false
// multiple: false
// }
// }
]
]
},
paginationConfig
:
{
currentPage
:
1
,
pageSize
:
10
,
total
:
0
}
}
}
}
...
@@ -374,7 +334,7 @@ export default {
...
@@ -374,7 +334,7 @@ export default {
this
.
formType
===
'modify'
&&
this
.
form
[
'menuId'
]
&&
(
method
=
editMenu
)
this
.
formType
===
'modify'
&&
this
.
form
[
'menuId'
]
&&
(
method
=
editMenu
)
method
(
this
.
form
).
then
(
res
=>
{
method
(
this
.
form
).
then
(
res
=>
{
this
.
$success
(
this
.
$t
(
'commons.save_success'
))
this
.
$success
(
this
.
$t
(
'commons.save_success'
))
this
.
initTableData
()
//
this.initTableData()
this
.
oldPid
&&
this
.
reloadByPid
(
this
.
oldPid
)
this
.
oldPid
&&
this
.
reloadByPid
(
this
.
oldPid
)
this
.
reloadByPid
(
this
.
form
[
'pid'
])
this
.
reloadByPid
(
this
.
form
[
'pid'
])
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
...
@@ -407,7 +367,8 @@ export default {
...
@@ -407,7 +367,8 @@ export default {
reloadByPid
(
pid
)
{
reloadByPid
(
pid
)
{
if
(
pid
!==
0
&&
this
.
maps
.
get
(
pid
))
{
if
(
pid
!==
0
&&
this
.
maps
.
get
(
pid
))
{
const
{
row
,
treeNode
,
resolve
}
=
this
.
maps
.
get
(
pid
)
const
{
row
,
treeNode
,
resolve
}
=
this
.
maps
.
get
(
pid
)
this
.
$set
(
this
.
$refs
.
table
.
store
.
states
.
lazyTreeNodeMap
,
pid
,
[])
const
sto
=
this
.
$refs
.
table
[
'store'
]
this
.
$set
(
sto
.
states
.
lazyTreeNodeMap
,
pid
,
[])
this
.
initTableData
(
row
,
treeNode
,
resolve
)
this
.
initTableData
(
row
,
treeNode
,
resolve
)
}
}
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论