From 38b4e2bc4303d480200fd714a69e285e1462e83e Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期三, 03 五月 2023 22:23:32 +0800 Subject: [PATCH] 修改了router/index.js中的魅宠详情 另外跳转是跳转到魅宠详情,pet/index.vue中已经修改 petInfo中route.params拿到的是pid,而不是id,之后可以拿到数据了 --- ruoyi-ui/src/views/doctor/doctorInfo.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/doctorInfo.vue b/ruoyi-ui/src/views/doctor/doctorInfo.vue index f8f36b4..71c7098 100644 --- a/ruoyi-ui/src/views/doctor/doctorInfo.vue +++ b/ruoyi-ui/src/views/doctor/doctorInfo.vue @@ -2,7 +2,7 @@ <div class="app-container"> <div class="form-header mt"> <h4 class="dt h4">灏卞尰璁板綍璇︾粏淇℃伅 </h4> - <el-button type="primary" class="pt" icon="el-icon-edit" @click="handleEdit()" :disabled="btn">缂栬緫</el-button> + <el-button v-if="isShow" type="primary" class="pt" icon="el-icon-edit" @click="handleEdit()" >缂栬緫</el-button> <!-- <br>--> <!-- <el-button type="primary" class="pt" @click="handleExport"--> <!-- v-hasPermi="['self:user:export']" >瀵煎嚭</el-button>--> @@ -176,7 +176,7 @@ ], dsb:true, btn:false, - + isShow:true, // 灏卞尰璁板綍琛ㄦ牸鏁版嵁 doctorList: [], @@ -384,7 +384,8 @@ handleEdit() { this.dsb = false - this.btn = true + // this.btn = true + this.isShow=false }, requestUpload(params) { @@ -423,6 +424,9 @@ </script> <style scoped> +.app-container{ + background-color: #FEF7FC; +} .mt { position: relative; -- Gitblit v1.9.1