From c0b7131a4213e7b1485c63fcad88d8d2d146c96c Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期六, 20 四月 2024 11:01:30 +0800 Subject: [PATCH] 修改了4/20这周除了备忘录以外的错误 --- ruoyi-ui/src/views/doctor/index.vue | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/ruoyi-ui/src/views/doctor/index.vue b/ruoyi-ui/src/views/doctor/index.vue index 86932e5..f91cbd4 100644 --- a/ruoyi-ui/src/views/doctor/index.vue +++ b/ruoyi-ui/src/views/doctor/index.vue @@ -6,7 +6,7 @@ style="width: 240px; height: 35px; border-radius: 16px 16px 16px 16px; - opacity: 0.5;" @keyup.enter.native="handleQuery"> + opacity: 0.5;" @keyup.enter.native="handleQuery" filterable allow-create> <el-option v-for="item in typeOptions" :key="item.value" :label="item.label" :value="item.value"/> </el-select> @@ -320,7 +320,7 @@ style="margin-left: 10px" size="small" type="success" - + @click="picUpload" >涓婁紶鍒版湇鍔″櫒</el-button> <h4 class="form-header">鍏朵粬闄勪欢 </h4> @@ -333,13 +333,13 @@ :on-remove="handleRemoveFile" :http-request="requestUpload1" :show-file-list="true" - + ref="upload1" :on-change="handleChange1" :auto-upload="false" list-type="picture-card" > - + <i slot="default" class="el-icon-plus"></i> <div slot="file" slot-scope="{file}"> @@ -366,9 +366,9 @@ > <i class="el-icon-zoom-in"></i> </span> - + <span - + class="el-upload-list__item-delete" @click="handleRemoveFile(file)" > @@ -579,7 +579,7 @@ /** 鏌ヨ璁板綍鍒楄〃 */ getList() { this.loading = true; - let _this = this; + let _this = this; // console.log(this.queryParams) // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { listDoctor(this.queryParams).then(response => { @@ -649,10 +649,10 @@ { if(this.fileListOther[i].url==file.url) { - + this.$delete(this.fileListOther,i); this.$delete(this.uploadFileList1,i); - + } } }, @@ -752,7 +752,7 @@ /** 鎻愪氦鎸夐挳锛堟暟鎹潈闄愶級 */ submitDataScope: function() { - + this.$refs["elForm"].validate(valid => { if (valid) { @@ -777,7 +777,7 @@ }, handleChange(file, fileList1) { //瀹氫箟涓�涓叏灞�鏁扮粍uploadFileList鏉ュ仛瀛樺偍 - + // this.uploadFileList.push(file.raw); console.log("=========5555=========") console.log(file) @@ -800,7 +800,7 @@ }, fileUpload(){ // var file = params.file; - + var formData = new FormData(); this.$refs.upload1.submit(); // formData.append('uploadFile', file); @@ -810,18 +810,18 @@ } this.uploadFileList1.forEach((elem)=>{ formData.append("files", elem) - + }) - + let _this = this - + this.uploading = true; uploadPic(formData).then(response => { _this.uploadFileList1 = [] _this.formDat.url = _this.formDat.url+","+response.fileNames _this.$modal.msgSuccess("鏂囦欢涓婁紶鎴愬姛!"); }) - + }, picUpload() { @@ -836,7 +836,7 @@ //console.log(this.uploadFileList) this.uploadFileList.forEach((elem)=>{ formData.append("files", elem) - + }) //alert(90) let _this = this @@ -846,7 +846,7 @@ _this.formDat.url = _this.formDat.url+","+response.fileNames _this.uploadFileList = [] _this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛"); - + }); }, requestUpload(params) { -- Gitblit v1.9.1