管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-04-13 04e2c2e8f79368c462bc13c285c349cb9d387bde
src/views/datamanage/dataUpdata.vue
@@ -158,7 +158,7 @@
                                </el-option>-->
                <el-option
                  :label="$t('shuJuGuanLi.pselect.SurveyDiscipline')"
                  :label="$t('shuJuGuanLi.pselect.SurveyingAndMapping')"
                  value="测量专业"
                />
                <el-option
@@ -173,7 +173,10 @@
                  :label="$t('shuJuGuanLi.pselect.CavernSpecialty')"
                  value="洞库专业"
                />
                <el-option
                  :label="$t('shuJuGuanLi.pselect.LineDiscipline')"
                  value='线路专业'
                />
              </el-select>
            </el-form-item>
            <!-- 坐标系 -->
@@ -377,6 +380,7 @@
        >
          <el-table
            style="width:100%"
            border
            :data="tableData"
            @selection-change="handleSelectionChange"
            height="calc(100% - 57px)"
@@ -516,6 +520,7 @@
            ref="filterTable"
            :data="waretableData"
            style="width: 100%"
            border
            height="calc(100% - 57px)"
            @selection-change="handleDelteChange"
          >
@@ -986,7 +991,7 @@
        <el-button
          class="elBotton"
          size="small"
          @click="commonTestQuay"
          @click="commonTestQuay()"
        >确 定</el-button>
      </span>
    </el-dialog>
@@ -1003,7 +1008,10 @@
      width="70%"
    >
      <div class="dialogBox">
        <div class="transFarBox subpage_Div">
        <div
          class="transFarBox subpage_Div"
          style="border: 1px solid #E4E7ED;"
        >
          <ul>
            <li
              @click="singleElection(item)"
@@ -1021,7 +1029,10 @@
          </div>
        </div>
        <div class="transFarBox subpage_Div">
        <div
          class="transFarBox subpage_Div"
          style="border: 1px solid #E4E7ED;"
        >
          <ul>
            <li
              @click="singleElection2(item)"
@@ -1045,7 +1056,10 @@
            </div>
          </div>
        </div>
        <div class="transFarBox subpage_Div">
        <div
          class="transFarBox subpage_Div"
          style="border: 1px solid #E4E7ED;"
        >
          <ul>
            <li
              @click="singleElection3(i)"
@@ -1365,6 +1379,44 @@
      </div>
    </el-dialog>
    <el-dialog
      :title="fromQueryMeta.title"
      :visible.sync="warehouseDialog"
      width="70%"
      :close-on-click-modal="false"
      :before-close="handleWarehouseClose"
    >
      <div style="height:65vh">
        <el-table
          ref="wareTable"
          :data="wareData"
          style="width: 100%"
          height="calc(100% - 1px)"
        >
          <el-table-column
            align="center"
            prop="name"
            :label="$t('common.name')"
          />
          <el-table-column
            align="center"
            prop="sizes"
            :label="$t('common.size')"
            :formatter="changeSizeFile"
          />
          <el-table-column
            align="center"
            prop="type"
            :label="$t('common.type')"
          />
          <el-table-column
            align="center"
            prop="msg"
            :label="$t('common.warehousResults')"
          />
        </el-table>
      </div>
    </el-dialog>
    <input
      name="file1"
      :accept="'.zip'"
@@ -1608,7 +1660,9 @@
      sc: {
        label1: '上传',
        label2: '文件上传进度:'
      }
      },
      warehouseDialog: false,
      wareData: [],
    };
  },
@@ -1805,7 +1859,7 @@
        "bs.m_equipment_nameplate",
        "bs.m_hydraulic_protection",
        "bs.m_marker",
        "bs.s_borehole",
        "bs.s_explorationpoint",
      ];
      var std = [];
      this.enclosureData = [];
@@ -1986,11 +2040,21 @@
        this.$message.error("数据入库失败");
        return;
      }
      debugger
      this.$message({
        message: "数据入库成功",
        type: "success",
      });
      if (res.result.length > 0) {
        this.warehouseDialog = true;
        this.wareData = res.result;
      }
      this.setInsrtWareTableClose();
    },
    handleWarehouseClose() {
      this.warehouseDialog = false;
      this.wareData = [];
    },
    //自动匹配
    autoMatchWare() {
@@ -2173,7 +2237,6 @@
      // if (this.formCheckAll.diZaiType != "NO") {
      //   this.formCheckAll.isDiZai = "YES";
      // }
      //
      this.sc = {
        label1: '质检',
        label2: '文件质检进度:'
@@ -2204,6 +2267,7 @@
          this.formCheckAll.wbsPath = path;
        }
      }
      this.formCheckAll.sjfl = '数字化成果'
      const data = await dataUpload_uploadChecks(this.formCheckAll);
      if (data.code != 200) {
        this.$message.error("数据质检提交失败");
@@ -2257,6 +2321,7 @@
        this.quayTestForms.sjzy = this.formInline.specialtyId;
        this.quayTestForms.zipPath =
          this.multipleSelection[this.taskStatus].path;
        this.quayTestForms.sjfl = '数字化成果'
        const data = await dataUpload_uploadChecks(this.quayTestForms);
        if (data.code != 200) {
          this.$message.error("数据质检提交失败");
@@ -2288,14 +2353,15 @@
                this.multipleSelection[this.taskStatus].path
              ) {
                this.tableData[i].status = "质检成功";
              }
            }
            if (this.progress == 1) {
              clearInterval(this.setIntel);
              this.setIntel = null;
              this.taskStatus++;
              this.getStartTaskStatus();
            }
            // if (this.progress == 1) {
            clearInterval(this.setIntel);
            this.setIntel = null;
            this.taskStatus++;
            this.getStartTaskStatus();
            // }
          } else {
            //任务失败
            for (var i in this.tableData) {
@@ -2347,11 +2413,11 @@
                }
              }
            }
            if (this.progress == 1) {
              clearInterval(this.setIntel);
              this.setIntel = null;
              this.loading = false;
            }
            // if (this.progress == 1) {
            clearInterval(this.setIntel);
            this.setIntel = null;
            this.loading = false;
            // }
          } else {
            //任务失败
            for (var i in this.tableData) {
@@ -3074,4 +3140,4 @@
.text-center {
  text-align: center;
}
</style>
</style>