设备导出支持按筛选条件导出
- 设备工具明细(management.vue): 一览表导出带上当前筛选条件
- 使用记录(record.vue): 导出带上样品编号/管理编号筛选条件
已修改2个文件
4 ■■■■■ 文件已修改
src/views/CNAS/resourceDemand/device/component/management.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/resourceDemand/device/component/record.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/CNAS/resourceDemand/device/component/management.vue
@@ -736,7 +736,7 @@
        // 导出
        handleDownOne() {
            this.outLoading = true
            exportEquipmentDetails().then(res => {
            exportEquipmentDetails({ ...this.queryParams }).then(res => {
                this.outLoading = false
                const blob = new Blob([res], { type: 'application/octet-stream' });
                this.$download.saveAs(blob, '设备仪器一览表.doc')
src/views/CNAS/resourceDemand/device/component/record.vue
@@ -270,6 +270,8 @@
      this.outLoading = true
      exportUseRecord({
        deviceId: this.clickNodeVal.value,
        sampleCode: this.search.sampleCode,
        managementNumber: this.search.managementNumber,
        exportDate: this.exportDate
      }).then(res => {
        this.outLoading = false