ludc
2024-04-24 238121be19655f63a45fc9c9c3d864801eb4471b
Source/UBCS-WEB/src/views/docking/loge.vue
@@ -5,7 +5,6 @@
               :table-loading="loading"
               :data="data || getList"
               :page.sync="page"
               :permission="permissionList"
               ref="crud"
               @cell-dblclick="cellDbClick"
               @search-change="searchChange"
@@ -17,6 +16,16 @@
               @on-load="onLoad">
      <template slot-scope="scope" slot="menuLeft">
        <vci-docking-search :SearchObject="SearchObject" :page="page" :formInline="formInline" :status="status" @getList="dockingGetList"></vci-docking-search>
      </template>
      <template slot="paramString" slot-scope="scope">
        <avue-text-ellipsis :text="scope.row.paramString" :height="50">
          <small slot="more">...</small>
        </avue-text-ellipsis>
      </template>
      <template slot="returnString" slot-scope="scope">
        <avue-text-ellipsis :text="scope.row.returnString" :height="50">
          <small slot="more">...</small>
        </avue-text-ellipsis>
      </template>
    </avue-crud>
  </basic-container>
@@ -117,16 +126,22 @@
      data:[],
      option: {
        height:'auto',
        calcHeight: 0,
        calcHeight: 20,
        menuWidth:120,
        tip: false,
        searchShow: false,
        // searchMenuSpan: 12,
        border: true,
        index: true,
        viewBtn: true,
        indexFixed:false,
        selection: false,
        dialogClickModal: false,
        menu:false,
        menuFixed:'right',
        dialogType: 'drawer',
        viewBtn: true,
        stripe: true,
        addBtn:false,
        editBtn:false,
        delBtn:false,
        column: [
          {
            label: "数据编码",
@@ -176,6 +191,7 @@
          {
            label: '集成系统编号',
            prop: 'systemCode',
            labelWidth:150,
            sortable:true,
            width: 130
          },
@@ -183,6 +199,7 @@
            label: '集成系统名称',
            prop: 'systemName',
            sortable:true,
            labelWidth:150,
            width: 150
          },
          {
@@ -194,20 +211,26 @@
          {
            label:'接口参数',
            prop:'paramString',
            overHidden:true,
            sortable:true,
            width: 150
            minRows: 20,
            width: 150,
            type: "textarea",
            slot: true,
            hide:true,
          },
          {
            label:'返回参数',
            prop:'returnString',
            overHidden:true,
            sortable:true,
            width: 150
            minRows: 20,
            width: 150,
            type: "textarea",
            slot: true,
          },
          {
            label: '返回msg',
            prop: 'msg',
            width: 150,
            overHidden: true
          },
          {
@@ -231,7 +254,7 @@
              value: "key"
            },
            formatter : function (row, column) {
              return row.interfaceStatus == 'true' || row.interfaceStatus == '' ? '<i class="el-icon-check" style="color: limegreen;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: red;font-size: 20px;font-weight: 800"></i>'
              return row.interfaceStatus == 'true' || row.interfaceStatus == '' ? '<i class="el-icon-check" style="color: #32cd32;font-size: 20px;font-weight: 800"></i>' : '<i class="el-icon-close" style="color: #ff0000;font-size: 20px;font-weight: 800"></i>'
            }
          },
        ]
@@ -297,13 +320,13 @@
    },
    onLoad(page, params={}) {
      this.loading = true;
      var query={}
      var queryCondition={}
      if (this.query) {
        for (var key in this.query) {
          query['conditionMap["' + key + '"]'] = this.query[key];
          queryCondition['conditionMap["' + key + '"]'] = this.query[key];
        }
      }
      getLogoList(page.currentPage, page.pageSize, Object.assign(params,this.params, query,this.query)).then(res => {
      getLogoList(page.currentPage, page.pageSize,'createTime','desc',Object.assign(params,this.params, queryCondition,this.query),).then(res => {
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;
@@ -319,6 +342,20 @@
}
</script>
<style scoped>
<style lang="scss" scoped>
// 滚动条样式修改
// 滚动条的宽度
   /deep/ .el-table__body-wrapper::-webkit-scrollbar {
     height: 15px; // 纵向滚动条 必写
   background: white;
     border: white;
     width: 10px;
   }
// 滚动条的滑块
   /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
     background-color: #ececec;
     border-radius: 20px;
     border: #ececec;
   }
</style>