xiejun
2023-07-05 d3239b6a098724db5a29b4f48ddad5f8a0402cea
Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -3,10 +3,10 @@
    <div class="testbox">
      <div>
        <el-button plain size="small" type="primary" @click="addvisible = true"
          >增加
        >增加
        </el-button>
        <el-button plain size="small" type="primary" @click="editHandler"
          >编辑
        >编辑
        </el-button>
        <el-button plain size="small" type="primary" @click="openBatchImport('batchImportApply')">批量导入申请</el-button>
        <el-button plain size="small" type="primary" @click="openBatchImport('historyImport')">历史数据导入</el-button>
@@ -15,22 +15,22 @@
        <el-button plain size="small" type="primary">查看流程历史</el-button>
        <el-button plain size="small" type="primary">删除</el-button>
        <el-button plain size="small" type="primary" @click="setHandler"
          >发布</el-button
        >发布</el-button
        >
        <el-button plain size="small" type="primary" @click="DataChange"
          >数据更改</el-button
        >数据更改</el-button
        >
        <el-button plain size="small" type="primary" @click="huishouHandler"
          >回收</el-button
        >回收</el-button
        >
        <el-button plain size="small" type="primary" @click="openD"
          >导出
        >导出
        </el-button>
        <el-button plain size="small" type="primary" @click="findHandler"
          >查询
        >查询
        </el-button>
        <el-button plain size="small" type="primary" @click="similarHandler"
          >相似项查询</el-button
        >相似项查询</el-button
        >
        <el-button plain size="small" type="primary">刷新</el-button>
        <el-input
@@ -64,17 +64,6 @@
            :show-overflow-tooltip="true"
            align="center"
          >
            <!-- 编辑和展示逻辑 -->
            <!--              <template slot-scope="{ row }">-->
            <!--                <el-input v-if="editingRow === row && editShow== item.prop" v-model="row[item.prop]" @blur="saveRow"></el-input>-->
            <!--                <span v-else>{{row[item.prop]}}</span>-->
            <!--                <el-switch-->
            <!--                  v-if="editShow === 'true'"-->
            <!--                  v-model="row[item.prop]"-->
            <!--                  active-color="#13ce66"-->
            <!--                  inactive-color="#ff4949">-->
            <!--                </el-switch>-->
            <!--              </template>-->
          </el-table-column>
        </el-table>
      </el-row>
@@ -209,6 +198,7 @@
        code: "",
        type: "PUBLIC",
        template: "",
        codeClassifyOid:""
      },
      visibleFlow: false,
      transferData: [],
@@ -260,7 +250,7 @@
    this.doLayout();
  },
  watch: {
     tableHeadDataFateher:{
    tableHeadDataFateher:{
      handler(newval,oldval){
        this.options=newval.tableDefineVO.seniorQueryColumns
      }
@@ -268,6 +258,7 @@
    codeClassifyOid: {
      handler(newval, oldval) {
        this.codeClassifyOid = newval;
        this.parameter.codeClassifyOid=newval
      },
      deep: true,
    },
@@ -307,9 +298,6 @@
    },
    // 发布
    setHandler() {
      console.log("1111");
      console.log("父", this.parameter);
      if (this.selectRow.length <= 0) {
        this.$message.warning("请选择一条数据");
      } else {
@@ -453,6 +441,7 @@
      row.forEach((item) => {
        this.parameter.ids.push(item.oid);
      });
      console.log(  '  this.parameter.ids',this.parameter.ids)
    },
    //编辑
    editHandler() {