From a85494cc5769c3dab7f210c012fba1c45103e779 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期二, 06 六月 2023 16:16:55 +0800 Subject: [PATCH] 修改了不会重复页面的一些bug --- ruoyi-ui/src/views/doctor/doctorInfo.vue | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/doctorInfo.vue b/ruoyi-ui/src/views/doctor/doctorInfo.vue index c637dc8..e469830 100644 --- a/ruoyi-ui/src/views/doctor/doctorInfo.vue +++ b/ruoyi-ui/src/views/doctor/doctorInfo.vue @@ -19,8 +19,10 @@ <el-row> <el-cow :span="8"> <el-form-item label="绫诲瀷" prop="type" label-width="50px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> - <el-input v-model="formData.type" placeholder="璇疯緭鍏ョ被鍨�" clearable :style="{width: '100%'}" :disabled="dsb"> - </el-input> + <el-select v-model="formData.type" placeholder="璇烽�夋嫨绫诲埆" clearable :style="{width: '100%'}" > + <el-option v-for="(item, index) in typeOptions" :key="index" :label="item.label" :value="item.value" + ></el-option> + </el-select> </el-form-item> </el-cow> <el-cow :span="8"> @@ -179,7 +181,7 @@ </el-form> </div> <el-dialog :visible.sync="dialogVisible"> - <img w-full :src="dialogImageUrl" alt="Preview Image" /> + <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" /> </el-dialog> </div> </template> @@ -270,7 +272,16 @@ }], }, - typeOptions: [], + typeOptions: [{ + value:'绁炵粡绉�', + label:'绁炵粡绉�' + },{ + value:'鐗欑', + label:'鐗欑' + },{ + value:'鍐呯', + label:'鍐呯' + }], } }, computed: {}, @@ -288,9 +299,9 @@ this.$route.meta.title = "淇敼灏卞尰璁板綍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } else{ - document.title = "鏌ョ湅灏卞尰璁板綍璇︾粏淇℃伅"; - this.$route.meta.title = "鏌ョ湅灏卞尰璁板綍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� - this.isShow=false + document.title = "灏卞尰璁板綍璇︾粏淇℃伅"; + this.$route.meta.title = "灏卞尰璁板綍璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� + this.isShow=true } let _this = this -- Gitblit v1.9.1