From a68ce68105de4a7d61c89298f4e4ef079443ba4a Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 09 十二月 2024 16:53:58 +0800 Subject: [PATCH] 图标管理 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 2 +- Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue | 1 - 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue index 0eba875..551742c 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue @@ -356,7 +356,7 @@ if (Object.keys(this.sourceData).length>0 && this.isShow) { this.tableList = []; this.loading = true; - let url='' + let url=''; if(this.componentVO.bsCustQueryCLsOrUrl && this.componentVO.bsCustQueryCLsOrUrl.indexOf('/')!=-1){ url=this.componentVO.bsCustQueryCLsOrUrl; } diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue index c044f35..5a2a9f3 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue @@ -1,6 +1,5 @@ <template> <el-container> - <el-aside> <basic-container> <div ref="TreeBox" style="height: calc(100vh - 144px);!important;"> diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue new file mode 100644 index 0000000..8029910 --- /dev/null +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue @@ -0,0 +1,49 @@ +<template> + <el-container> + <el-main> + <basic-container> + <div class="tag-group"> + <span class="tag-group__title">鍒嗙被</span> + <el-tag + v-for="item in types" + :key="item" + :type="checkedTypes.includes(item)?'success':'info'" size="small" + effect="plain" @click="changeType(item)"> + {{ item }} + </el-tag> + </div> + <div> + </div> + </basic-container> + </el-main> + </el-container> +</template> + +<script> +export default { +name: "index", + data() { + return { + types: ['鏍囩涓�' , '鏍囩浜�' , '鏍囩涓�' , '鏍囩鍥�','鏍囩浜�' ], + checkedTypes:[] + } + }, + methods:{ + changeType(type){ + if(this.checkedTypes.includes(type)){ + this.checkedTypes=this.checkedTypes.filter(item=> item!=type) + }else { + this.checkedTypes.push(type) + } + } + } +} +</script> + +<style scoped> +.tag-group{font-size: 14px;} +.el-tag{ + margin: 0 0 10px 10px; + cursor: pointer; +} +</style> -- Gitblit v1.9.3