ZaiZai il y a 2 ans
Parent
commit
35a9d79fdf

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20230710111313"
+  "value": "20230710112029"
 }

+ 4 - 4
src/api/modules/people/archive.js

@@ -4,7 +4,7 @@ export default {
     //分页
     async page(form) {
         return httpApi({
-            url: '/api/blade-control/userfilesinfo/page',
+            url: '/api/blade-control/userfilesinfo/get-user-file-page',
             method: 'get',
             params: form
         }, false);
@@ -12,7 +12,7 @@ export default {
     //删除
     async remove(ids) {
         return httpApi({
-            url: '/api/blade-control/userfilesinfo/remove',
+            url: '/api/blade-control/userfilesinfo/del-user-file-detail',
             method: 'post',
             params: {
                 ids
@@ -22,7 +22,7 @@ export default {
     //详情
     async detail(form) {
         return httpApi({
-            url: '/api/blade-control/userfilesinfo/detail',
+            url: '/api/blade-control/userfilesinfo/get-user-file-detail',
             method: 'get',
             params: form
         }, false);
@@ -30,7 +30,7 @@ export default {
     //提交
     async submit(form) {
         return httpApi({
-            url: '/api/blade-control/userfilesinfo/submit',
+            url: '/api/blade-control/userfilesinfo/submit-user-file',
             method: 'post',
             data: form
         }, false);

+ 2 - 2
src/views/people/archive/index.vue

@@ -127,8 +127,8 @@ const getTableData = async () => {
     tableLoading.value = true
     const {data} = await mainApi.page(searchForm.value)
     tableLoading.value = false
-    //tableData.value = getArrValue(data['records'])
-    //searchForm.value.total = data['total'] || 0
+    tableData.value = getArrValue(data['records'])
+    searchForm.value.total = data['total'] || 0
 }
 
 //编辑