From 97819279661596858ab40a40d321db61f297df93 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期六, 27 五月 2023 19:24:40 +0800
Subject: [PATCH] 成长经历阅历的新增以弹窗形式展示(但还有一点问题正在解决),可删除单独的一条数据 新增荣誉证书详情页面(但数据调不出来)

---
 ruoyi-ui/src/api/self/index.js |   41 ++++++++++++++++++++++++++++++++++-------
 1 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/ruoyi-ui/src/api/self/index.js b/ruoyi-ui/src/api/self/index.js
index 7c2c640..84f17bc 100644
--- a/ruoyi-ui/src/api/self/index.js
+++ b/ruoyi-ui/src/api/self/index.js
@@ -19,9 +19,9 @@
 }
 
 // 鍒犻櫎涓汉淇℃伅
-export function delIndividual(Ids) {
+export function delIndividual(ids) {
   return request({
-    url: '/self/user' ,
+    url: '/self/user/' +ids,
     method: 'delete'
   })
 }
@@ -49,7 +49,6 @@
 
 //鏌ヨ鎵�鏈変釜浜虹粡鍘�
 export function listExperience(query) {
-  
   return request({
     url: '/zExperience/all',
     method: 'get',
@@ -80,7 +79,7 @@
 export function delExperience(ids)
 {
   return request({
-    url: '/zExperience' +ids,
+    url: '/zExperience/' +ids,
     method: 'delete',
   })
 }
@@ -116,7 +115,7 @@
 export function delCertificate(ids)
 {
   return request({
-    url: '/zCertificate' +ids,
+    url: '/zCertificate/' +ids,
     method: 'delete',
   })
 }
@@ -149,10 +148,10 @@
 }
 
 //鍒犻櫎鍑哄浗鎯呭喌
-export function delAbroad()
+export function delAbroad(ids)
 {
   return request({
-    url: '/zAbroad/1' ,
+    url: '/zAbroad/' +ids ,
     method: 'delete',
   })
 }
@@ -191,3 +190,31 @@
     data: data
   })
 }
+
+//鎷垮埌涓汉鑷紶
+export function getCategory()
+{
+  return request({
+    url: '/zDict/byId',
+    method: 'get',
+    params: {'id':23}
+  })
+}
+
+//涓婁紶鏂囦欢
+export function uploadPic(data) {
+  return request({
+    url: '/common/upload',
+    method: 'post',
+    data: data
+  })
+}
+//涓嬭浇鏂囦欢
+export function download(data) {
+  return request({
+    url: '/common/downLoadFile',
+    method: 'get',
+    params: data,
+    responseType: 'blob'
+  })
+}

--
Gitblit v1.9.1