wangting
2025-01-14 fbbd60a85c9e9b2e6f34332fe7b72c262abfe380
调整查询模板显示以及bug
已修改3个文件
69 ■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/index.vue 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/linkTypeQuery/formDialog.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/linkTypeQuery/index.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/index.vue
@@ -48,11 +48,6 @@
                    @row-click="rowClick"
                    :data="crudData" :option="crudOption" :table-loading="tableLoading" style="margin-top: 10px">
        </avue-crud>
        <form-dialog ref="formRef" @refresh="getTemp"></form-dialog>
        <!--导入    -->
        <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入"
                     @updata="uploadCallBack"></upload-file>
        <div>
          <fieldset>
            <legend>&nbsp;查询条件&nbsp;</legend>
@@ -65,6 +60,11 @@
            ></form-query-dialog>
          </fieldset>
        </div>
        <!--添加 修改弹窗-->
        <form-dialog ref="formRef" @refresh="getTemp"></form-dialog>
        <!--导入    -->
        <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入"
                     @updata="uploadCallBack"></upload-file>
      </basic-container>
    </el-main>
@@ -125,7 +125,7 @@
        selection: true,
        menu: false,
        height: "auto",
        calcHeight: 300,
        calcHeight: 305,
        tip: false,
        header:false,
        column: [{
@@ -197,9 +197,17 @@
    },
    // 树点击
    nodeClick(row) {
      this.nodeRow = row;
      this.tableLoading = true;
      this.getTemp();
      if(row.oid=="topNode"){
        this.nodeRow = null;
        this.crudData=[];
        this.queryCondition=[];
        this.queryTree={};
        this.levelFlag=0;
      }else{
        this.nodeRow = row;
        this.tableLoading = true;
        this.getTemp();
      }
    },
    //模板列表数据
    getTemp() {
@@ -319,6 +327,9 @@
  .el-scrollbar__wrap {
    overflow: auto !important;
  }
  .el-main .avue-crud .avue-crud__body .el-card__body .el-form .el-table--small{
    min-height: 300px;
  }
}
fieldset {
  padding: 10px 6px;
Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/linkTypeQuery/formDialog.vue
@@ -2,7 +2,7 @@
  <el-dialog v-dialogDrag
             :title="dialog.title"
             :visible.sync="dialog.showDialog"
             width="1620px"
             width="1650px"
             :append-to-body="true"
             class="avue-dialog"
             :destroy-on-close="true"
@@ -124,7 +124,7 @@
        prop: 'qtName',
        type: 'input',
        span:4.5,
        labelWidth: 100,
        labelWidth: 110,
        rules: [{
          required: true,
          message: "请输入查询模板名称",
@@ -149,6 +149,12 @@
        prop: 'btmType',
        type: 'select',
        labelWidth:110,
        clearable:false,
        rules: [{
          required: true,
          message: "请选择业务类型",
          trigger: "blur"
        }],
        dicData: []
      }, {
        label: '版本版次',
Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/linkTypeQuery/index.vue
@@ -45,12 +45,8 @@
        <avue-crud  ref="crud"
                    @selection-change="selectionChange"
                    @row-click="rowClick"
                    :data="crudData" :option="crudOption" :table-loading="tableLoading" style="margin-top: 10px">
                    :data="crudData" :option="crudOption" :table-loading="tableLoading" style="margin-top: 10px;">
        </avue-crud>
        <form-dialog ref="formRef" @refresh="getTemp"></form-dialog>
        <!--导入    -->
        <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入"
                     @updata="uploadCallBack"></upload-file>
        <div>
          <fieldset>
            <legend>&nbsp;查询条件&nbsp;</legend>
@@ -63,6 +59,11 @@
            ></form-query-dialog>
          </fieldset>
        </div>
        <!--添加 修改弹窗-->
        <form-dialog ref="formRef" @refresh="getTemp"></form-dialog>
        <!--导入    -->
        <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="导入"
                     @updata="uploadCallBack"></upload-file>
      </basic-container>
    </el-main>
  </el-container>
@@ -112,7 +113,7 @@
        selection: true,
        menu: false,
        height: "auto",
        calcHeight: 300,
        calcHeight: 305,
        tip: false,
        header:false,
        column: [{
@@ -220,9 +221,17 @@
    // 树点击
    nodeClick(row) {
      this.nodeRow = row;
      this.tableLoading = true;
      this.getTemp();
      if(row.oid=="topNode"){
        this.nodeRow = null;
        this.crudData=[];
        this.queryCondition=[];
        this.queryTree={};
        this.levelFlag=0;
      }else{
        this.nodeRow = row;
        this.tableLoading = true;
        this.getTemp();
      }
    },
    //获取查询模板列表
    getTemp() {
@@ -344,6 +353,9 @@
  .el-scrollbar__wrap {
    overflow: auto !important;
  }
  .el-main .avue-crud .avue-crud__body .el-card__body .el-form .el-table--small{
    min-height: 300px;
  }
}
fieldset {