From 7bc46f0968567d82f70d310da021e2fc3a707cae Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 30 五月 2024 15:04:49 +0800
Subject: [PATCH] 11
---
src/views/project/relativesconfirmation/index.vue | 42 +++++++++++++++++++++++++++++++-----------
1 files changed, 31 insertions(+), 11 deletions(-)
diff --git a/src/views/project/relativesconfirmation/index.vue b/src/views/project/relativesconfirmation/index.vue
index 1250766..d726dac 100644
--- a/src/views/project/relativesconfirmation/index.vue
+++ b/src/views/project/relativesconfirmation/index.vue
@@ -118,6 +118,16 @@
</el-form>
<el-table v-loading="loading" border :data="listnewRelativesconfirm">
<el-table-column
+ label="妗堜緥鏃堕棿"
+ align="center"
+ prop="donatetime"
+ width="120"
+ >
+ <template slot-scope="scope">
+ <span>{{ parseTime(scope.row.donatetime, "{y}-{m}-{d}") }}</span>
+ </template>
+ </el-table-column>
+ <el-table-column
label="鎶ュ憡鏃堕棿"
align="center"
prop="reporttime"
@@ -162,7 +172,7 @@
:value="scope.row.workflow"
/>
</div>
- <div v-else>浠诲姟涓</div>
+ <div v-else>浠诲姟缁堟</div>
</template>
</el-table-column>
@@ -186,7 +196,7 @@
type="text"
icon="el-icon-refrigerator"
@click="handledownload(scope.row)"
- v-if="scope.row.recordstate == '6'"
+ v-if="scope.row.workflow == '6'"
>涓嬭浇</el-button
>
<!-- <el-button
@@ -1112,6 +1122,12 @@
// this.getDicts('country').then(res=>{
// this.nationality =res.data
// })
+ if (sessionStorage.getItem("relativesconfirmation")) {
+ this.queryParams = JSON.parse(
+ sessionStorage.getItem("relativesconfirmation")
+ );
+ console.log(this.queryParams, "queryParams");
+ }
this.getuserlist();
this.getLeaderList();
this.getCoordinatorList1();
@@ -1429,7 +1445,11 @@
/** 鏌ヨ鎹愮尞鍩虹鍒楄〃 */
getList(e) {
this.loading = true;
-
+ sessionStorage.removeItem("relativesconfirmation");
+ sessionStorage.setItem(
+ "relativesconfirmation",
+ JSON.stringify(this.queryParams)
+ );
if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
this.queryParams.params[
"beginReporttime"
@@ -1578,14 +1598,14 @@
},
/** 瀹跺睘纭鎿嶄綔 */
handleAdd(row) {
- // this.$router.push({
- // path: "/organ/donationdetails/",
- // query: {
- // id: row.id,
- // organType: "edit",
- // }
- // });
- // return ;
+ this.$router.push({
+ path: "/organ/donationdetails/",
+ query: {
+ id: row.id,
+ organType: "edit"
+ }
+ });
+ return;
console.log("ppppppp", row);
this.showSaveBtn = false;
this.flowname = "瀹跺睘纭鐧昏";
--
Gitblit v1.9.3