From 390c3dd9027f3d112bebc0864b9dc70b15d5457e Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期五, 03 十一月 2023 09:39:40 +0800 Subject: [PATCH] 查询 --- src/views/system/NewPermissionList.vue | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/views/system/NewPermissionList.vue b/src/views/system/NewPermissionList.vue index e23fa6c..771e49b 100644 --- a/src/views/system/NewPermissionList.vue +++ b/src/views/system/NewPermissionList.vue @@ -11,6 +11,7 @@ type="primary" icon="delete">鎵归噺鍒犻櫎 </a-button> + <a-button @click="handleSecret" type="primary" icon="frown" v-if="selectionRows.length===1&&selectionRows[0].title==='鑺濋夯寮�闂�'">鏌ヨ</a-button> </div> <!-- table鍖哄煙-begin --> @@ -75,6 +76,7 @@ <permission-modal ref="modalForm" @ok="modalFormOk"></permission-modal> <permission-data-rule-list ref="PermissionDataRuleList" @ok="modalFormOk"></permission-data-rule-list> + <secret-model ref="secret"></secret-model> </a-card> </template> @@ -85,6 +87,7 @@ import { JeecgListMixin } from '@/mixins/JeecgListMixin' import PermissionDataRuleList from './PermissionDataRuleList' import JEllipsis from '@/components/jeecg/JEllipsis' +import SecretModel from './modules/SecretModel.vue' const columns = [ { @@ -147,7 +150,8 @@ components: { PermissionDataRuleList, PermissionModal, - JEllipsis + JEllipsis, + SecretModel }, data() { return { @@ -185,6 +189,10 @@ }) } }, + onSelectChange(selectedRowKeys, selectionRows) { + this.selectedRowKeys = selectedRowKeys; + this.selectionRows = selectionRows; + }, // 鏍规嵁宸插睍寮�鐨勮鏌ヨ鏁版嵁锛堢敤浜庝繚瀛樺悗鍒锋柊鏃跺紓姝ュ姞杞藉瓙绾х殑鏁版嵁锛� loadDataByExpandedRows(dataList) { if (this.expandedRowKeys.length > 0) { @@ -220,6 +228,11 @@ handleExpandedRowsChange(expandedRows) { this.expandedRowKeys = expandedRows }, + handleSecret(){ + this.$refs.secret.title='绉樺瘑' + this.$refs.secret.add(); + + } } } </script> -- Gitblit v1.9.3