From 2698387e653c6a25059c3ae9976f18b814eba892 Mon Sep 17 00:00:00 2001 From: WXL <wl_5969728@163.com> Date: 星期五, 12 九月 2025 15:16:46 +0800 Subject: [PATCH] 医疗权限 --- src/views/project/organallocation/index.vue | 32 ++++++++++++++++++++++++-------- 1 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/views/project/organallocation/index.vue b/src/views/project/organallocation/index.vue index 1a3fb06..9af341f 100644 --- a/src/views/project/organallocation/index.vue +++ b/src/views/project/organallocation/index.vue @@ -87,7 +87,7 @@ </el-col> <el-col :span="12"> - <el-form-item label="鎶ュ憡鏃ユ湡"> + <el-form-item label="妗堜緥鏃堕棿"> <el-date-picker style="width: 100%" v-model="selecttime" @@ -150,12 +150,19 @@ /> </template> </el-table-column> - <el-table-column - label="骞撮緞" - align="center" - prop="age" - width="100" - /> + <el-table-column label="骞撮緞" align="center" prop="age" width="100"> + <template slot-scope="scope"> + {{ + `${ + scope.row.age && scope.row.age !== 0 ? `${scope.row.age}${scope.row.ageunit?scope.row.ageunit:''}` : "" + } ${ + scope.row.age2 && scope.row.age2 !== 0 + ? `${scope.row.age2}${scope.row.ageunit2}` + : "" + }`.trim() + }} + </template> + </el-table-column> <el-table-column label="鎶ュ憡浜�" align="center" @@ -686,6 +693,11 @@ /** 鏌ヨ鎹愮尞鍩虹鍒楄〃 */ getBaseInfoList(e) { this.loading = true; + sessionStorage.removeItem("organallocation"); + sessionStorage.setItem( + "organallocation", + JSON.stringify(this.queryParams) + ); if (this.queryParams.recordstate == "") { this.queryParams.recordstate = null; } @@ -695,7 +707,7 @@ this.queryParams.reportervalue = this.reportervalue; console.log(JSON.stringify(this.queryParams)); - // this.queryParams.city='001' + // this.queryParams.city='053' //console.log(JSON.stringify(this.queryParams)); if (this.starttime != "") { this.queryParams.starttime = this.starttime; @@ -1104,6 +1116,10 @@ }, //鐢熷懡鍛ㄦ湡 - 鍒涘缓瀹屾垚锛堝彲浠ヨ闂綋鍓峵his瀹炰緥锛� created() { + if (sessionStorage.getItem("organallocation")) { + this.queryParams = JSON.parse(sessionStorage.getItem("organallocation")); + console.log(this.queryParams, "queryParams"); + } this.getBaseInfoList(); this.resetForm(); } -- Gitblit v1.9.3