From 5aa165156994b1b8a601063fa0a1107d1893ea57 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期四, 19 三月 2026 16:48:13 +0800
Subject: [PATCH] 更新
---
src/views/business/allocation/index.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/views/business/allocation/index.vue b/src/views/business/allocation/index.vue
index 17bbc59..b2cdf06 100644
--- a/src/views/business/allocation/index.vue
+++ b/src/views/business/allocation/index.vue
@@ -121,12 +121,7 @@
prop="donorno"
width="120"
/>
- <el-table-column
- label="濮撳悕"
- align="center"
- prop="name"
- width="100"
- />
+ <el-table-column label="濮撳悕" align="center" prop="name" width="100" />
<el-table-column
label="浣忛櫌鍙�"
align="center"
@@ -263,7 +258,7 @@
</template>
<script>
-import { allocationList, } from "@/api/businessApi";
+import { allocationList } from "@/api/businessApi";
import Pagination from "@/components/Pagination";
export default {
@@ -315,9 +310,14 @@
delete params.allocationTimeRange;
// 濡傛灉鏈夋椂闂磋寖鍥村弬鏁�
- if (this.queryParams.allocationTimeRange && this.queryParams.allocationTimeRange.length === 2) {
- params.allocationTimeStart = this.queryParams.allocationTimeRange[0] + ' 00:00:00';
- params.allocationTimeEnd = this.queryParams.allocationTimeRange[1] + ' 23:59:59';
+ if (
+ this.queryParams.allocationTimeRange &&
+ this.queryParams.allocationTimeRange.length === 2
+ ) {
+ params.allocationTimeStart =
+ this.queryParams.allocationTimeRange[0] + " 00:00:00";
+ params.allocationTimeEnd =
+ this.queryParams.allocationTimeRange[1] + " 23:59:59";
}
allocationList(params)
@@ -357,7 +357,7 @@
handleView(row) {
this.$router.push({
path: "/case/allocationInfo",
- query: { id: row.infoid }
+ query: { id: row.id, infoid: row.infoid }
});
},
// 鏂板鎸夐挳鎿嶄綔
@@ -366,15 +366,15 @@
},
// 淇敼鎸夐挳鎿嶄綔
handleUpdate(row) {
- const id = row.infoid || this.ids[0];
this.$router.push({
path: "/case/allocationInfo",
- query: { id: id }
+ query: { id: row.id, infoid: row.infoid }
});
},
// 鍒犻櫎鎸夐挳鎿嶄綔
handleDelete(row) {
- const selectedRow = row || (this.selectedRows.length === 1 ? this.selectedRows[0] : null);
+ const selectedRow =
+ row || (this.selectedRows.length === 1 ? this.selectedRows[0] : null);
if (!selectedRow) {
this.$message.warning("璇烽�夋嫨涓�鏉¤褰�");
return;
--
Gitblit v1.9.3