From 1de239fd89d33d074d0031f2d1363a211dce98f4 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期四, 05 十二月 2024 18:04:07 +0800 Subject: [PATCH] 表单增加参数,数据授权 --- Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue b/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue index ccad73e..5b51340 100644 --- a/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/system/fileCab/index.vue @@ -2,7 +2,7 @@ <!--鏂囦粨绠$悊椤甸潰--> <basic-container> <avue-crud - ref="logCrud" + ref="crud" v-model="form" :data="tableData" :option="option" @@ -11,6 +11,7 @@ @row-save="rowSaveHandler" @row-update="rowUpdateHandler" @row-del="rowDeleteHandler" + @row-click="rowClickHandler" @selection-change="selectionChange" > <template slot="menuLeft" slot-scope="scope"> @@ -236,6 +237,17 @@ selectionChange(list) { this.selectionList = list; }, + + // 琛屽崟閫� + rowClickHandler(row) { + func.rowClickHandler( + row, + this.$refs.crud, + this.lastIndex, + (newIndex) => { this.lastIndex = newIndex; }, + () => { this.selectionList = []; } + ); + }, } } </script> -- Gitblit v1.9.3