From eb0a11ecf1f876518779cf8bd3f368ed2fa13293 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期一, 03 三月 2025 16:38:06 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- src/views/business/productOrder/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue index af91337..8fd2812 100644 --- a/src/views/business/productOrder/index.vue +++ b/src/views/business/productOrder/index.vue @@ -64,7 +64,7 @@ <div class="table"> <lims-table :tableData="tableData" :column="column" :isSelection="true" :handleSelectionChange="selectMethod" - @pagination="pagination" :height="'calc(100vh - 280px)'" key="tableData" + @pagination="pagination" :height="'calc(100vh - 280px)'" :key="upIndex" :page="page" :tableLoading="tableLoading"></lims-table> </div> <div> @@ -329,6 +329,7 @@ orderType: '', state: '', }, + upIndex: 0, tableData: [], tableLoading: false, column: [ @@ -753,6 +754,7 @@ const params = {...this.entity, state: this.tabList[this.tabIndex].value} this.tableLoading = true selectInsOrderParameter(params).then(res => { + this.upIndex++ this.tableLoading = false if (res.code === 200) { this.tableData = res.data.records @@ -992,9 +994,8 @@ }, // 涓嬭浇鎶ュ憡 download(row) { - let url = row.urlS?row.urlS:row.url; + let url = this.javaApi+'/word/' + row.urlS?row.urlS:row.url; if(url){ - url = url.split('.')[0]+'.pdf' this.$download.saveAs(url, this.downLoadInfo.fileName); } }, -- Gitblit v1.9.3