From aa3a264ebddd490fb9d830c6fadc8efb76d649a9 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期三, 04 六月 2025 18:38:05 +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..8ec296e 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==='kitty'">鏌ヨ</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