wangting
2023-08-17 ea6a87dc865f9fb0344019a29ce6a871c9d9c2c3
修改业务数据保存、修改参照快速查询
已修改3个文件
16 ■■■■■ 文件已修改
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/work/BusinessWork.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/refer/vciWebReferDefalut.vue
@@ -176,6 +176,7 @@
          hidden: (!this.controllerSecret)
        }];
      } else {
        debugger;
        this.option.column = this.options.tableConfig.cols.map(item => {
          if (item.field != 'LAY_TABLE_INDEX' && item.field != 'LAY_CHECKED') {
            return {
@@ -183,7 +184,9 @@
              label: item.title,
              prop: item.field,
              formatter:item.template,
              search: true
              search:this.options.tableConfig.queryColumns.some(qItem=>{
                return qItem.field==item.field
              })
            }
          }
        })
Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue
@@ -247,7 +247,9 @@
                label: item.title,
                prop: item.field,
                formatter:item.template,
                search: true
                search: this.options.tableConfig.queryColumns.some(qItem=>{
                  return qItem.field==item.field
                })
              }
            }
          })
Source/UBCS-WEB/src/components/work/BusinessWork.vue
@@ -1,6 +1,6 @@
<template>
<div>
  <el-button  @click="HandlerSave" v-if="hasEditor" size="small" type="primary" style="margin-bottom: 20px">保存</el-button>
  <el-button  @click="HandlerSave" v-if="hasEditor" size="small" type="primary" style="margin-bottom: 10px">保存</el-button>
  <el-table
    v-loading="isLoading"
    :data="tableData"
@@ -17,7 +17,7 @@
      :prop="item.prop"
      :sortable="item.sortable"
      :formatter="item.formatter"
      :width="item.label.length >=4 ?'150':item.label.length==3 ?'120':'90'"
      :width="item.width"
      :show-overflow-tooltip="true"
      align="center"
    >
@@ -127,8 +127,9 @@
          return newitem;
        })
        batchUpdateCode(datas).then(res => {
          if (res.data.data.success) {
          if (res.data.success) {
            this.$message.success("修改成功");
            this.BuinseseRend()
          }
        })
      }