From d0136913a2c74a44f5bb30327ebbb3fd85e24fce Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期二, 23 一月 2024 10:56:30 +0800 Subject: [PATCH] 修改了很多 --- ruoyi-ui/src/views/doctor/index.vue | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue index b6cf43e..4222612 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> @@ -198,6 +198,7 @@ size="mini" type="text" icon="el-icon-edit" + :disabled="!scope.row.ownData" @click="handleUpdate(scope.row)" v-hasPermi="['system:role:edit']" > @@ -208,6 +209,7 @@ type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" + :disabled="!scope.row.ownData" v-hasPermi="['system:role:remove']" ><span style="font-size: 14px;">鍒犻櫎</span></el-button> <el-button @@ -520,14 +522,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