From c003a5fb28554e2f37c431214dabf6f75f27cc29 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期三, 26 七月 2023 16:52:06 +0800
Subject: [PATCH] 除魅宠外其它模块的图片删除均已完善

---
 ruoyi-ui/src/views/self/show.vue |   64 +++++--------------------------
 1 files changed, 11 insertions(+), 53 deletions(-)

diff --git a/ruoyi-ui/src/views/self/show.vue b/ruoyi-ui/src/views/self/show.vue
index 6c72a8e..c30d739 100644
--- a/ruoyi-ui/src/views/self/show.vue
+++ b/ruoyi-ui/src/views/self/show.vue
@@ -492,9 +492,9 @@
             <div v-if="item.term === '缁撳鍚�'"> {{item.content}}</div>
           </el-tab-pane>
         </el-tabs>
-<!--        <el-button size='mini' type="text" class="btn_autobiography" @click="showDialog('autobiography')" style='position: absolute;right:10px;top:5px;'>-->
-<!--          <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn>-->
-<!--        </el-button>-->
+        <el-button size='mini' type="text" class="btn_autobiography" @click="showDialog('autobiography')" style='position: absolute;right:10px;top:5px;'>
+          <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn>
+        </el-button>
       </div>
 
     </div>
@@ -641,7 +641,7 @@
               <span> 宀� </span>
           </el-form-item>
             <el-form-item label="鏃舵湡锛�" prop="term">
-              <el-select v-model="formDat.type" placeholder="璇烽�夋嫨鏃舵湡" clearable :style="{width: '50%'}"  >
+              <el-select v-model="formDat.term" placeholder="璇烽�夋嫨鏃舵湡" clearable :style="{width: '50%'}"  >
                 <el-option v-for="(item, index) in typeOptions" :key="index" :label="item.label" :value="item.value"
                 ></el-option>
               </el-select>
@@ -1056,13 +1056,13 @@
         this.loading = false;
       });
       //鏍规嵁涓嶅悓鏃舵鐨勪釜浜鸿嚜浼�
-      getAutobiographyTermList(this.queryParams).then(response => {
-        //  alert(123)
-        //   console.log(response.data)
-        this.AutobiographyTermList = response.data;
-        this.total = response.data.total;
-        this.loading = false;
-      });
+      // getAutobiographyTermList(this.queryParams).then(response => {
+      //   //  alert(123)
+      //   //   console.log(response.data)
+      //   this.AutobiographyTermList = response.data;
+      //   this.total = response.data.total;
+      //   this.loading = false;
+      // });
 
     },
 
@@ -1194,14 +1194,6 @@
     /** 鎻愪氦鎸夐挳锛堟暟鎹潈闄愶級 */
     //鏂板涓昏缁忓巻鐨勪繚瀛�
     submitDataScope: function() {
-      let ul = this.fileList.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      let uls = this.fileListOther.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      this.formDat.url = ul+","+uls
-
       this.$refs["elForm"].validate(valid => {
         if (valid) {
           addExperience(this.formDat).then(response => {
@@ -1218,14 +1210,6 @@
     },
     //鏂板鎴愬憳鍏崇郴鐨勪繚瀛�
     submitDataScope2: function() {
-      let ul = this.fileList.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      let uls = this.fileListOther.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      this.formDat.url = ul+","+uls
-
       this.$refs["elForm"].validate(valid => {
         if (valid) {
           addRelation(this.formDat).then(response => {
@@ -1242,15 +1226,6 @@
     },
     //鏂板鍑哄叆澧冭瘉浠剁殑淇濆瓨
     submitDataScope4: function() {
-
-      let ul = this.fileList.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      let uls = this.fileListOther.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      this.formDat.url = ul+","+uls
-
       this.$refs["elForm"].validate(valid => {
         if (valid) {
           addCertificate(this.formDat).then(response => {
@@ -1267,14 +1242,6 @@
     },
     //鏂板鍑哄浗澧冪殑淇濆瓨
     submitDataScope5: function() {
-      let ul = this.fileList.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      let uls = this.fileListOther.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      this.formDat.url = ul+","+uls
-
       this.$refs["elForm"].validate(valid => {
         if (valid) {
           addAbroad(this.formDat).then(response => {
@@ -1290,15 +1257,6 @@
       });
     },
     submitDataScope6: function() {
-
-      let ul = this.fileList.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      let uls = this.fileListOther.map(function (elem){
-        return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
-      }).join(",")
-      this.formDat.url = ul+","+uls
-
       this.$refs["elForm"].validate(valid => {
         if (valid) {
           addAutobiography(this.formDat).then(response => {

--
Gitblit v1.9.1