|
@@ -18,7 +18,7 @@
|
|
|
:data="listData"
|
|
:data="listData"
|
|
|
:index-row="false"
|
|
:index-row="false"
|
|
|
:toolbars="listConfig.toolbars"
|
|
:toolbars="listConfig.toolbars"
|
|
|
- :row-handle="listConfig.rowHandle"
|
|
|
|
|
|
|
+ :row-handle="hasEditRole ? listConfig.rowHandle : null"
|
|
|
:search-form="listConfig.searchForm"
|
|
:search-form="listConfig.searchForm"
|
|
|
:pk-key="pkKey"
|
|
:pk-key="pkKey"
|
|
|
:columns="listConfig.columns"
|
|
:columns="listConfig.columns"
|
|
@@ -174,6 +174,7 @@ export default {
|
|
|
dept: '',
|
|
dept: '',
|
|
|
submitBy: ''
|
|
submitBy: ''
|
|
|
},
|
|
},
|
|
|
|
|
+ hasEditRole,
|
|
|
listConfig: {
|
|
listConfig: {
|
|
|
// 工具栏
|
|
// 工具栏
|
|
|
toolbars: [
|
|
toolbars: [
|