fei
2025-12-26 d4034a42b997716517eae3a845925de04bfbbe66
src/views/archiveExport/index.vue
@@ -102,7 +102,7 @@
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="缩微号" prop="microfilmNumber">
@@ -128,7 +128,7 @@
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
      <!-- <el-col :span="1.5">
        <el-button
          type="primary"
          plain
@@ -159,7 +159,7 @@
          @click="handleDelete"
          v-hasPermi="['system:records:remove']"
        >删除</el-button>
      </el-col>
      </el-col> -->
      <el-col :span="1.5">
        <el-button
          type="warning"
@@ -183,8 +183,8 @@
      <el-table-column label="公开属性" align="center" prop="publicAttribute" />
      <el-table-column label="编制单位" align="center" prop="preparationUnit" />
      <el-table-column label="操作" align="center" width="190" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
@@ -194,7 +194,7 @@
            icon="el-icon-edit"
            @click="handleExportInfo(scope.row)"
            v-hasPermi="['system:records:edit']"
          >导出档案</el-button>
          >导出ISO包</el-button>
          <el-button
@@ -640,9 +640,10 @@
      // archiveAllExport({'id':row.id}).then(response => {
      //   console.log(response)
      // })
      var con = row.inquiryNumber+" "+row.recordId
      var qu = {'id':row.id}
      var id = row.id
            this.download('system/archiveAllExport/export/'+id, '',`records_${new Date().getTime()}.zip`)
            this.download('system/archiveAllExport/export/'+id, '',con+`.zip`)
    },
    getId()
    {
@@ -832,10 +833,10 @@
  console.log("----=============--------------")
  this.form = response.data
  if(this.recordTypeOptions.length > 0) {
    alert(response.data.recordId)
    //alert(response.data.recordId)
      const recordParts = response.data.recordId.split('-')
      this.$set(this.form, 'recordType', recordParts[0])
  if(recordParts.length==4)
      {
        this.$set(this.form, 'recordZone', recordParts[1])
@@ -911,9 +912,9 @@
    },
    /** 导出按钮操作 */
    handleExport(row) {
      alert(232)
     // alert(232)
      const ids = row.id || this.ids
      alert(ids)
   //  alert(ids)
      if(ids=='')
      {
        this.$modal.msgError("请选择档案记录")