From 810e34d320111d0101ca8115de5f82db61d080e2 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 21 九月 2023 09:13:54 +0800 Subject: [PATCH] 引用码段JSON字符串bug处理 --- Source/UBCS-WEB/src/views/integration/systemInfo.vue | 52 ++++++++++++++++++++++++++++++++++------------------ 1 files changed, 34 insertions(+), 18 deletions(-) diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue index 392d645..7cd24b1 100644 --- a/Source/UBCS-WEB/src/views/integration/systemInfo.vue +++ b/Source/UBCS-WEB/src/views/integration/systemInfo.vue @@ -19,7 +19,24 @@ :size="size" clearable style="width:300px;margin-left: 10px;" @clear="handleClear" @keyup.enter.native="handleEnter"></el-input> </template> + <template #menu="{row,index,size}"> + <el-button type="text" icon="el-icon-menu" size="small" @click="classifyHandler">鍒嗙被鎺堟潈</el-button> + + </template> </avue-crud> + <el-dialog :visible.sync="dialogVisible" append-to-body title="鍒嗙被鎺堟潈"> + + <el-row> + <el-col :span="14"> + <avue-tree ref="tree" + :option="TreeOption" + :data="TreeData" + v-model="TreeForm" + @check-change="checkChange"> + </avue-tree> + </el-col> + </el-row> + </el-dialog> </basic-container> </template> <script> @@ -28,7 +45,16 @@ export default { data() { return { + TreeOption:{ + defaultExpandAll: true, + multiple: true, + addBtn:false, + filter:false + }, + TreeData:[], + TreeForm:{}, loading: false, + dialogVisible:false, page: { currentPage: 1, pageSize: 10, @@ -93,24 +119,14 @@ } }, methods: { - // 鑾峰彇鍒楄〃 - // async getDataList() { - // this.loading = true - // console.log(this.search) - // const { pageSize, currentPage } = this.page - // let param = { size: pageSize, current: currentPage } - // this.search = Object.keys(this.search) - // .filter((key) => this.search[key] !== null && this.search[key] !== undefined && this.search[key] !== "") - // .reduce((acc, key) => ({ ...acc, [key]: this.search[key] }), {}); - // const response = await getSysInfoList(pageSize,currentPage,{...param}) - // if (response.status === 200) { - // console.log(response) - // this.loading = false - // const data = response.data.data - // this.data = data.records - // this.page.total = data.total - // } else this.loading = false - // }, + //鍒嗙被鎺堟潈澶氶�夊洖璋� + checkChange(){ + + }, + //鍒嗙被鎺堟潈 + classifyHandler(){ + this.dialogVisible=true; + }, async getDataList() { this.loading = true; console.log(this.search); -- Gitblit v1.9.3