fei
2 天以前 84de56cb6490170b64a48c49b149ffab03a2350b
修改了代码
1个文件已修改
20 ■■■■■ 已修改文件
src/views/archiveManager/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveManager/index.vue
@@ -995,6 +995,7 @@
  name: "InfoManager",
  data() {
    return {
      recId: '',
      openSearch: false,
      totalUser: 0,
      visibleUser:false,
@@ -1550,16 +1551,17 @@
       var id = row.id
             id = Number(id)
            var recordStrId = row.recordId
       var recordId = row.recordId
   this.download('/system/materials/exportBack/'+id+'/'+recordId, {
   }, `备考表_${new Date().getTime()}.pdf`)
   }, recordStrId +` 备考表.pdf`)
     },
     /*导出卷内目录*/
     JuanInfo(row)
     {
       var id = row.id
       console.log(row.pageCount)
      if(row.pageCount==null)
@@ -1572,7 +1574,7 @@
           var recordId = row.recordId
       this.download('/system/materials/exportJuan/'+id, {
       }, `卷内目录_${new Date().getTime()}.xls`)
       }, recordId+` 卷内目录.xls`)
     },
     /*导出案卷封面*/
     pageInfo(row)
@@ -1584,7 +1586,7 @@
           var recordId = row.recordId
       this.download('/system/materials/exportPageInfo/'+id+'/'+recordId, {
       }, `案卷封面_${new Date().getTime()}.xls`)
       },  recordId+` 案卷封面.xls`)
     },
    handleInfo(row)
    {
@@ -1893,6 +1895,7 @@
      const id = row.id || this.ids;
     // alert(id)
      this.recordId = id;
      this.recId = row.recordId
      this.$modal.loading('正在获取Excel文件,请稍候...');
      // 从后端获取Excel文件
@@ -2122,6 +2125,7 @@
    /** 处理下载按钮点击 */
    handleDownloadClick() {
      if (this.currentExcelUrl) {
        // 获取用户选择的选项
        const { includeQrCode, selectedAnnotations } = this.excelOptions;
@@ -2137,12 +2141,12 @@
           link.href = this.currentExcelUrl;
           // 构建文件名,包含选项信息
           let filename = `record_${this.currentExcelId}`;
           if (includeQrCode) filename += '_qr';
           let filename =this.recId+ ` 预整理`;
           //if (includeQrCode) filename += '_qr';
           // if (selectedAnnotations.length > 0) {
           //   filename += `_anno${selectedAnnotations.join('')}`;x
           // }
           filename += `_${new Date().getTime()}.xls`;
           filename += `.xls`;
           link.download = filename;
@@ -2466,7 +2470,7 @@
            const url = URL.createObjectURL(blob);
            const link = document.createElement('a');
            link.href = url;
            link.download = `record_${id}_${new Date().getTime()}.xls`;
            link.download = `预整理.xls`;
            document.body.appendChild(link);
            link.click();
            document.body.removeChild(link);