fei
4 天以前 d4034a42b997716517eae3a845925de04bfbbe66
src/views/archiveExport/index.vue
@@ -102,7 +102,7 @@
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="缩微号" prop="microfilmNumber">
@@ -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
@@ -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("请选择档案记录")