From be016d292a1eb3af5088e17f076e7cc6cab90576 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 06 五月 2025 17:20:08 +0800
Subject: [PATCH] 增加了模块
---
ruoyi-ui/src/views/doctor/doctorInfo.vue | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/ruoyi-ui/src/views/doctor/doctorInfo.vue b/ruoyi-ui/src/views/doctor/doctorInfo.vue
index ab4028e..0c76b4b 100644
--- a/ruoyi-ui/src/views/doctor/doctorInfo.vue
+++ b/ruoyi-ui/src/views/doctor/doctorInfo.vue
@@ -37,12 +37,12 @@
</el-input>
</el-form-item>
<el-form-item label="涓尰澶勬柟" prop="cmedical" label-width="68px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
- <el-input v-model="formData.cmedical" placeholder="璇疯緭鍏ヤ腑鍖诲鏂�" clearable :style="{width: '100%'}" :disabled="dsb" >
+ <el-input v-model="formData.cmedical" placeholder="璇疯緭鍏ヤ腑鍖诲鏂�" clearable :style="{width: '100%'}" :disabled="dsb" type="textarea">
</el-input>
</el-form-item>
<el-form-item label="瑗垮尰澶勬柟" prop="wmedical" label-width="68px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
- <el-input v-if="!dsb" v-model="formData.wmedical" placeholder="璇疯緭鍏ヨタ鍖诲鏂�" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
- <el-input v-if="dsb" v-model="formData.wmedical" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"></el-input>
+ <el-input v-if="!dsb" v-model="formData.wmedical" placeholder="璇疯緭鍏ヨタ鍖诲鏂�" clearable :style="{width: '100%'}" :disabled="dsb" type="textarea"></el-input>
+ <el-input v-if="dsb" v-model="formData.wmedical" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb" type="textarea"></el-input>
</el-form-item>
<el-form-item label="澶囨敞" prop="remark" label-width="45px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">
<el-input v-if="!dsb" v-model="formData.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" :disabled="dsb" type="textarea"></el-input>
@@ -383,6 +383,8 @@
this.loading = true;
getDoctor(id).then((response) => {
this.formData = response.data;
+ console.log(response.data.url)
+ if(response.data.url!=null){
let paths = response.data.url.split(",");
for(let i = 0; i < paths.length; i++)
{
@@ -424,6 +426,10 @@
}
}
}
+ }
+ else{
+ this.formData.url = ""
+ }
this.loading = false;
});
listType(this.queryParams).then(response => {
@@ -448,6 +454,8 @@
this.loading = true;
getDoctor(id).then((response) => {
this.formData = response.data;
+ console.log(response.data.url)
+ if(response.data.url!=null){
let paths = response.data.url.split(",");
for(let i = 0; i < paths.length; i++)
{
@@ -470,6 +478,7 @@
}
}
}
+ }
_this.fileListOther = _this.fileListOther1
this.loading = false;
});
@@ -697,6 +706,8 @@
this.uploading = true;
uploadPic(formData).then(response => {
_this.uploadFileList1 = []
+ // alert(response.fileNames)
+ // alert(_this.formData.url)
_this.formData.url = _this.formData.url+","+response.fileNames
updateDoctor(_this.formData).then(response => {
this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛");
--
Gitblit v1.9.1