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/medicalevaluation/index.vue | 38 +++++++++++++++++++++++--------------- 1 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/views/project/medicalevaluation/index.vue b/src/views/project/medicalevaluation/index.vue index 3312ba8..5f68829 100644 --- a/src/views/project/medicalevaluation/index.vue +++ b/src/views/project/medicalevaluation/index.vue @@ -120,6 +120,16 @@ <!--<el-table v-loading="loading" border :data="donatebaseinfoList"> --> <el-table v-loading="loading" border :data="VMedicalevaluation"> <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" @@ -202,11 +212,11 @@ <template slot-scope="scope"> <div v-if="!scope.row.terminationCase"> <dict-tag - :options="dict.type.sys_donornode" + :options="dict.type.sys_donornode" :value="scope.row.workflow" /> </div> - <div v-else>浠诲姟涓</div> + <div v-else>浠诲姟缁堟</div> </template> </el-table-column> @@ -632,7 +642,7 @@ "sys_CoreAssessConclusion", "sys_BaseAssessConclusion", "sys_OrganDecision", - 'sys_donornode' + "sys_donornode" ], data() { //杩欓噷瀛樻斁鏁版嵁 @@ -758,7 +768,6 @@ this.selecttime = [ this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"), this.$moment(this.$route.params.endtime) - .add(-1, "month") .format("YYYY-MM-DD") ]; } @@ -886,22 +895,17 @@ getList(e) { this.loading = true; this.queryParams.params = {}; - // if (null != this.daterangeReporttime && "" != this.daterangeReporttime) { - // this.queryParams.params["beginReporttime"] = - // this.daterangeReporttime[0]; - // this.queryParams.params["endReporttime"] = this.daterangeReporttime[1]; - // } + sessionStorage.removeItem("medicalevaluation"); + sessionStorage.setItem( + "medicalevaluation", + JSON.stringify(this.queryParams) + ); + // 璺宠浆鏃剁殑榛樿杩涘害 if (e != null && e != undefined && !isNaN(e)) { this.queryParams.recordstate = e; } - // if (this.selecttime[0] != null && this.selecttime[1] != null) { - // this.queryParams.params["starttime"] = this.selecttime[0]; - // this.queryParams.params["endReporttime"] = this.selecttime[1]; - // } - // this.queryParams.city='001' - //console.log(JSON.stringify(this.queryParams)); if (this.starttime != "") { this.queryParams.starttime = this.starttime; } @@ -1345,6 +1349,10 @@ //鑾峰彇鐢ㄦ埛鍒楄〃 this.getuserlist(); //鑾峰彇鍒楄〃 + if (sessionStorage.getItem("medicalevaluation")) { + this.queryParams = JSON.parse(sessionStorage.getItem("medicalevaluation")); + console.log(this.queryParams, "queryParams"); + } this.getList(); } // //鐢熷懡鍛ㄦ湡 - 鎸傝浇瀹屾垚锛堝彲浠ヨ闂瓺OM鍏冪礌锛� -- Gitblit v1.9.3