From bd4b9aa6ab74a8aa6f55265d24b4a4249abcb636 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期一, 11 十二月 2023 19:18:39 +0800 Subject: [PATCH] 问题解决 --- ruoyi-ui/src/views/doctor/index.vue | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue index b6cf43e..c7e50e6 100644 --- a/ruoyi-ui/src/views/doctor/index.vue +++ b/ruoyi-ui/src/views/doctor/index.vue @@ -3,7 +3,7 @@ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"> <el-form-item label="绫诲埆" prop="type"> <el-select v-model="queryParams.type" placeholder="鎵�鏈夌被鍒�" clearable - style="width: 200px; + style="width: 240px; height: 35px; border-radius: 16px 16px 16px 16px; opacity: 0.5;" @keyup.enter.native="handleQuery"> @@ -117,7 +117,7 @@ v-hasPermi="['family:note:export']" >瀵煎叆妯℃澘涓嬭浇</el-button> </el-col> - <el-col :span="1.2"> + <el-col :span="1.5"> <el-upload action="" @@ -128,7 +128,7 @@ > <el-button size="mini" type="primary" plain - icon="el-icon-plus" >瀵煎叆</el-button> + icon="el-icon-top">瀵煎叆</el-button> </el-upload> </el-col> @@ -520,14 +520,21 @@ /** 鏌ヨ璁板綍鍒楄〃 */ getList() { this.loading = true; + let _this = this; // console.log(this.queryParams) // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { listDoctor(this.queryParams).then(response => { // alert(123) // console.log(response.data) - this.doctorList = response.data.data; - this.total = response.data.total; - this.loading = false; + if(response.msg=="鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�") + { + _this.$modal.msgSuccess("鎮ㄦ病鍔犲叆鍒板搴旂殑瀹跺涵锛岃鑱旂郴绠$悊鍛�"); + _this.loading = false; + }else{ + _this.doctorList = response.data.data; + _this.total = response.data.total; + _this.loading = false; + } } ); listType(this.queryParams).then(response => { -- Gitblit v1.9.1