wangting
2025-01-08 832688e48b3b6351ba3cd9ba490d9de0ab83e2fe
固定列错位,默认隐藏搜索框,图标修改回显,调整页面
已修改5个文件
59 ■■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/styles/ui.scss 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/util/basic-option.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/styles/ui.scss
@@ -409,13 +409,24 @@
  min-height: 26px;
}
.avue-crud .avue-crud__menu .el-button{
  margin-bottom: 5px;
}
.avue-crud .avue-crud__menu .el-button--text{
  padding: 2px 6px;
}
.avue-crud table td{
  line-height: 22px;
}
/**左侧操作栏**/
.avue-crud__left{
  display: flex;
  align-items: center;
}
/**表内操作栏**/
.avue-crud .avue-crud__menu{
  min-height: 22px;
  display: flex;
  justify-content: space-around;
}
.el-table--small, .el-table__expand-icon{
  font-size: 14px;
@@ -454,12 +465,29 @@
  bottom: 0;
}
/****处理固定列错行问题****/
.el-table th.el-table__cell .cell{
  display: flex;
  justify-content:flex-start;
}
.el-table th.el-table__cell.is-center .cell{
  justify-content:center;
}
.el-table th.el-table__cell.is-right .cell{
  justify-content: flex-end;
}
.el-table th.el-table__cell .cell span:first-child{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.el-table .el-table__fixed,.el-table .el-table__fixed-right{
  height: 100% !important;
}
.el-table__fixed .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-body-wrapper{
  height: calc(100% - 37px) !important;
  top:37px !important;
  height: calc(100% - 47px) !important;
  top:35px !important;
  padding-bottom: 12px !important;
}
/*
分页
@@ -624,19 +652,6 @@
  content: '';
}
.avue-crud .avue-crud__menu .el-button{
  margin-top: 5px;
}
.avue-crud__left{
  display: flex;
  align-items: center;
}
.avue-crud__menu{
  display: flex;
  justify-content: space-around;
}
.font14{font-size: 14px;width: 12px;height: 12px;display: inline-block;}
.font16{font-size: 16px;width: 14px;height: 14px;display: inline-block;}
Source/plt-web/plt-web-ui/src/util/basic-option.js
@@ -4,7 +4,6 @@
  index:true,
  indexFixed:false,//固定列
  dialogDrag:true,
  searchShow:true,
  searchIcon:true,
  selection:true, //是否有选择框
  selectionFixed:false,
@@ -13,6 +12,7 @@
  align: 'center',
  emptyText: '暂无内容',
  tip:false,
  searchShow:false,//搜索栏默认隐藏
  // menu:false, 是否有操作栏
  // menuTitle:xxx, 操作栏标题
}
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
@@ -354,7 +354,7 @@
              {
                required: true,
                message: '请选择图标',
                trigger: 'blur'
                trigger: 'submit'
              }
            ]
          },
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Icons/index.vue
@@ -29,7 +29,7 @@
          <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane v-for="item in iconList" :label="item.lable" :name="item.lable" style="height: calc(100vh - 270px);overflow: auto ">
              <div class="iconList">
              <div class="iconList" :key="key">
                <div class="iconItem" v-for="svg in item.list"
                     :data-value="svg.name" v-right-click="{action:checkSvg,data:svg}">
                  <div class="svgContent" v-html="svg.content"></div>
@@ -110,6 +110,7 @@
  },
  data() {
    return {
      key:1,
      types: [],
      checkedTypes:[],
      searchText:'',
@@ -264,6 +265,7 @@
            if (this.iconList.length > 0) {
              this.activeName = this.iconList[0].lable;
            }
            this.key++;
          } else {
            this.$message.error(res.data.msg);
          }
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue
@@ -240,12 +240,14 @@
        column: [{
          label: '名称',
          prop: 'plName',
          search: true
          search: true,
          overHidden:true
        }, {
          label: 'UI上下文',
          prop: 'plCode',
          search: true,
          sortable: true,
          overHidden:true
        }, {
          label: '导航区',
          prop: 'plIsShowNavigator',