From edf97cb2bfe110123a6dacc1cd8c52ce400ff1db Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期三, 19 七月 2023 00:46:03 +0800 Subject: [PATCH] 新增个人记事本展示和详情页 --- ruoyi-ui/src/views/self/show.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/self/show.vue b/ruoyi-ui/src/views/self/show.vue index e4a3978..2219953 100644 --- a/ruoyi-ui/src/views/self/show.vue +++ b/ruoyi-ui/src/views/self/show.vue @@ -9,7 +9,7 @@ <h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;"> <span>涓汉绠�鍘�</span> <div style="display: flex; align-items: center;"> - <el-button size="mini" type="text" @click="toMemo"> + <el-button size="mini" type="text" @click="toMemo" v-hasPermi="['person:information:memo']"> <div class="form" ><el-icon style="padding-right:110px;"></el-icon> <span class="text" style="width: 69px;height: 26px;font-size: 16px; font-family: Microsoft YaHei-Regular, Microsoft YaHei; color: #EBA4AA;">涓汉璁颁簨鏈�</span></div> @@ -634,11 +634,10 @@ </el-input> </el-form-item> <el-form-item label="寮�濮嬫棩鏈�" prop="startTime"> - <el-input v-model="formDat.startTime" placeholder="璇疯緭鍏ュ紑濮嬫棩鏈�" clearable :style="{width: '100%'}" ></el-input> + <el-input v-model="formDat.startTime" type='date' placeholder='閫夋嫨鏃ユ湡' clearable :style="{width: '100%'}" ></el-input> </el-form-item> <el-form-item label="缁撴潫鏃ユ湡" prop="endTime"> - <el-input v-model="formDat.endTime" placeholder="璇疯緭鍏ョ粨鏉熸棩鏈�" clearable :style="{width: '100%'}" > - </el-input> + <el-input v-model="formDat.endTime" type='date' placeholder='閫夋嫨鏃ユ湡' clearable :style="{width: '100%'}" ></el-input> </el-form-item> </el-form> <h4 class="form-header"> </h4> @@ -1239,9 +1238,8 @@ // }, //涓汉璁颁簨鏈� - toMemo(row){ - const id = row.userId; - this.$router.push("/self/self/memo/" + id); + toMemo(){ + this.$router.push("/self/self/memo/" + this.individualList.userId); }, /** 鏌ョ湅璇︾粏淇℃伅 */ -- Gitblit v1.9.1