wangting
2023-07-12 66e1d9e2dc4e6f57ca16761e6da4a5197de25d54
修改主数据发布
已修改3个文件
31 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Tree/attrCrud.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/template/SetPersonnel.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -38,7 +38,7 @@
                      size="small" style="width: 180px; margin-left: 5px; margin-top: 10px"></el-input>
          </div>
          <el-table v-if="tableData.length != 0" v-loading="isLoading" :data="tableData" max-height="700" style=""
                    @cell-click="handleCellClick" @row-click="handleRowClick" @selection-change="handleSelectionChange" @sort-change="sortChange">
                    @cell-click="handleCellClick" @row-click="handleRowClick" @selection-change="handleSelectionChange" @select="handleSelection" @sort-change="sortChange">
            <el-table-column fixed type="selection" width="55"></el-table-column>
            <el-table-column fixed label="序号" type="index" width="55">
            </el-table-column>
@@ -161,7 +161,8 @@
        type: "PUBLIC",
        template: "",
        vars: {
          codeClassifyOid: ""
          codeClassifyOid: "",
          templateOid:""
        }
      },
      visibleNames:[],
@@ -219,7 +220,8 @@
      }
    };
  },
  computed: {},
  computed: {
  },
  created() {
  },
  mounted() {
@@ -274,6 +276,7 @@
      handler(newval, oldval) {
        this.parameter.code = newval;
        this.fileOptions.ownbizOid="1";
        this.parameter.vars.templateOid = newval
      },
      deep: true,
    },
@@ -379,8 +382,7 @@
    CrudHeaderRend() {
      if (this.codeClassifyOid != "") {
        MasterTable({
          codeClassifyOid: this.codeClassifyOid,
          functionId: 5,
          codeClassifyOid: this.codeClassifyOid
        }).then((res) => {
          this.options = res.data.tableDefineVO.seniorQueryColumns;
          this.List = res.data.tableDefineVO.cols[0];
@@ -448,19 +450,15 @@
      });
    },
    //多选
    handleSelectionChange(row) {
      if (this.row) {
        this.rowOid = row[0].oid;
      } else {
        this.rowOid = "";
      }
      this.selectRow = row;
    handleSelectionChange(list) {
      this.selectRow = list;
      this.parameter.ids = [];
      row.forEach((item) => {
      list.forEach((item) => {
        this.parameter.ids.push(item.oid);
      });
      console.log('  this.parameter.ids', this.parameter.ids)
    },
    //选择
    handleSelection(list,row) {
      this.fileOptions.ownbizOid= row.oid;
      this.fileOptions.ownbizBtm=row.btmname;
Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -1545,7 +1545,7 @@
      console.log(row)
    },
    //表格选择
    selectionChange(list,) {
    selectionChange(list) {
      this.attrSelectList = list;
      console.log(list)
    },
Source/UBCS-WEB/src/components/template/SetPersonnel.vue
@@ -76,6 +76,7 @@
        visible(n) {
            this.dialogVisible = n;
            if (n) {
              this.saveParam=this.setSaveParam();
                this.apiInit()
                this.apiDict()
            }