فهرست منبع

feat:提示优化

pudongliang 4 ماه پیش
والد
کامیت
588479b919
54فایلهای تغییر یافته به همراه236 افزوده شده و 374 حذف شده
  1. 1 1
      portal/dist/assets/accountGroup-DtZ6YcQH.js
  2. 1 1
      portal/dist/assets/adAutoConf-D5PYtCwq.js
  3. 1 1
      portal/dist/assets/adPlanConf-D1Z3LM8P.js
  4. 1 1
      portal/dist/assets/auth-CTV4EEGe.js
  5. 1 1
      portal/dist/assets/conversion-BvRsPtgo.js
  6. 0 0
      portal/dist/assets/detail-3aCTj6VM.js
  7. 0 0
      portal/dist/assets/detail-yG7f6VbD.js
  8. 1 1
      portal/dist/assets/drama-DwdG5qOT.js
  9. 0 0
      portal/dist/assets/edit-CqMXsKNK.js
  10. 0 1
      portal/dist/assets/index-0MmA-K0O.css
  11. 0 0
      portal/dist/assets/index-2pt0HFpG.js
  12. 0 1
      portal/dist/assets/index-BLUPLBBv.css
  13. 1 0
      portal/dist/assets/index-BTrVwQNl.css
  14. 0 0
      portal/dist/assets/index-BZF5tFWW.js
  15. 0 0
      portal/dist/assets/index-BcYUtfuP.js
  16. 0 0
      portal/dist/assets/index-BdlDqPDs.js
  17. 0 0
      portal/dist/assets/index-BiT2jf3G.js
  18. 0 0
      portal/dist/assets/index-BsyXtSJ8.js
  19. 0 0
      portal/dist/assets/index-C0kV2U1F.js
  20. 0 0
      portal/dist/assets/index-C3Z9iyQ6.js
  21. 0 0
      portal/dist/assets/index-CARfXfEh.js
  22. 0 0
      portal/dist/assets/index-CMZntfTs.js
  23. 0 0
      portal/dist/assets/index-CRT_jmFG.js
  24. 1 0
      portal/dist/assets/index-CmYpfCPo.css
  25. 0 0
      portal/dist/assets/index-Cnbkqx6H.js
  26. 0 0
      portal/dist/assets/index-CrdWDlDc.js
  27. 0 1
      portal/dist/assets/index-CvzQKMxG.css
  28. 0 0
      portal/dist/assets/index-DNgppc0M.js
  29. 0 0
      portal/dist/assets/index-DTLs7Yp0.js
  30. 0 0
      portal/dist/assets/index-Dg0194Br.js
  31. 0 0
      portal/dist/assets/index-Di3E1Lnd.js
  32. 0 0
      portal/dist/assets/index-Dle3PxPy.js
  33. 1 0
      portal/dist/assets/index-G89jNMqr.css
  34. 0 0
      portal/dist/assets/index-OnX9WVhW.js
  35. 0 0
      portal/dist/assets/index-_UYEJ_75.js
  36. 1 1
      portal/dist/assets/index-rn-GEcEL.js
  37. 1 1
      portal/dist/assets/loadPageConf-CUpZV0BZ.js
  38. 1 1
      portal/dist/assets/ossFile-DqNFLrMs.js
  39. 0 0
      portal/dist/assets/request-26DT9TM-.js
  40. 1 1
      portal/dist/assets/user-DVrD3zdQ.js
  41. 1 1
      portal/dist/index.html
  42. 11 18
      portal/src/views/account-group/index.vue
  43. 13 23
      portal/src/views/account/index.vue
  44. 22 33
      portal/src/views/ad-auto-conf/index.vue
  45. 54 74
      portal/src/views/ad-plan-conf/detail.vue
  46. 11 18
      portal/src/views/ad-plan-conf/index.vue
  47. 11 20
      portal/src/views/conversion/index.vue
  48. 9 17
      portal/src/views/daily-report/index.vue
  49. 24 40
      portal/src/views/drama/index.vue
  50. 24 40
      portal/src/views/fiction/index.vue
  51. 7 14
      portal/src/views/image/index.vue
  52. 15 25
      portal/src/views/load-page-conf/index.vue
  53. 15 25
      portal/src/views/oss-file/index.vue
  54. 6 13
      portal/src/views/video/index.vue

+ 1 - 1
portal/dist/assets/accountGroup-CXtnd01s.js → portal/dist/assets/accountGroup-DtZ6YcQH.js

@@ -1 +1 @@
-import{r as u}from"./request-BpIb_E5y.js";function c(t){return u({url:"/api/account-group/create",method:"post",data:t})}function e(t){return u({url:"/api/account-group/update",method:"post",data:t})}function n(t){return u({url:`/api/account-group/${t}`,method:"delete"})}function a(t=1,o=10){return u({url:"/api/account-group/list",method:"get",params:{pageNum:t,pageSize:o}})}function p(){return u({url:"/api/account-group/all",method:"get"})}function i(t){return u({url:`/api/account-group/${t}/accounts`,method:"get"})}export{i as a,p as b,c,n as d,a as g,e as u};
+import{r as u}from"./request-26DT9TM-.js";function c(t){return u({url:"/api/account-group/create",method:"post",data:t})}function e(t){return u({url:"/api/account-group/update",method:"post",data:t})}function n(t){return u({url:`/api/account-group/${t}`,method:"delete"})}function a(t=1,o=10){return u({url:"/api/account-group/list",method:"get",params:{pageNum:t,pageSize:o}})}function p(){return u({url:"/api/account-group/all",method:"get"})}function i(t){return u({url:`/api/account-group/${t}/accounts`,method:"get"})}export{i as a,p as b,c,n as d,a as g,e as u};

+ 1 - 1
portal/dist/assets/adAutoConf-Bpg3pRT4.js → portal/dist/assets/adAutoConf-D5PYtCwq.js

@@ -1 +1 @@
-import{r as e}from"./request-BpIb_E5y.js";function u(t){return e({url:"/api/ad-auto-conf/list",method:"get",params:t})}function n(t){return e({url:`/api/ad-auto-conf/${t}`,method:"get"})}function a(t){return e({url:"/api/ad-auto-conf",method:"post",data:t})}function r(t){return e({url:"/api/ad-auto-conf/update",method:"post",data:t})}function i(t){return e({url:`/api/ad-auto-conf/execute?id=${t}`,method:"post"})}function d(t){return e({url:"/api/execute-log/list",method:"get",params:t})}function c(t){return e({url:"/api/execute-log/getChildLog",method:"get",params:t})}export{c as a,d as b,n as c,i as e,u as g,a as s,r as u};
+import{r as e}from"./request-26DT9TM-.js";function u(t){return e({url:"/api/ad-auto-conf/list",method:"get",params:t})}function n(t){return e({url:`/api/ad-auto-conf/${t}`,method:"get"})}function a(t){return e({url:"/api/ad-auto-conf",method:"post",data:t})}function r(t){return e({url:"/api/ad-auto-conf/update",method:"post",data:t})}function i(t){return e({url:`/api/ad-auto-conf/execute?id=${t}`,method:"post"})}function d(t){return e({url:"/api/execute-log/list",method:"get",params:t})}function c(t){return e({url:"/api/execute-log/getChildLog",method:"get",params:t})}export{c as a,d as b,n as c,i as e,u as g,a as s,r as u};

+ 1 - 1
portal/dist/assets/adPlanConf-Cleib550.js → portal/dist/assets/adPlanConf-D1Z3LM8P.js

@@ -1 +1 @@
-import{r as a}from"./request-BpIb_E5y.js";function d(n){return a({url:"/api/ad-plan-conf/reCreate",method:"post",data:n})}function o(n){return a({url:"/api/ad-plan-conf/generate-plan",method:"post",data:n})}function u(n){return a({url:`/api/ad-plan-conf/reGeneratePlan/${n}`,method:"get"})}function l(n){return a({url:`/api/ad-plan-conf/syncSystemStatus/${n}`,method:"get"})}function p(n){return a({url:"/api/ad-plan-conf/create",method:"post",data:n})}function s(n){return a({url:"/api/ad-plan-conf/update",method:"post",data:n})}function i(n=1,e=10,t={}){return a({url:"/api/ad-plan-conf/list",method:"get",params:{pageNum:n,pageSize:e,...t}})}function f(n){return a({url:`/api/ad-plan-conf/${n}`,method:"get"})}function c(n){return a({url:"/api/ad-plan/list",method:"get",params:n})}function g(n){return a({url:`/api/ad-plan-creative/plan/${n}`,method:"get"})}function m(n){return a({url:"/api/ad-plan-conf/gdtSuspendByConfId",params:{confId:n},method:"get"})}function h(n){return a({url:"/api/ad-plan-conf/gdtDeleteByConfId",params:{confId:n},method:"get"})}function C(n,e){return a({url:`/api/ad-plan-conf/gdtSuspendByPlanIds/${n}`,method:"post",data:e})}function P(n,e){return a({url:`/api/ad-plan-conf/gdtDeleteByPlanIds/${n}`,method:"post",data:e})}function y(n=[]){return a({url:"/api/ad-plan-conf/getOneCreativeImage",method:"post",data:n})}function I(){return a({url:"/api/ad-plan-conf/getOneBrandImage",method:"get"})}function B(n=[]){return a({url:"/api/ad-plan-conf/getOneCreativeVideo",method:"post",data:n})}export{y as a,I as b,B as c,o as d,p as e,f,i as g,c as h,h as i,C as j,P as k,l,u as m,g as n,d as r,m as s,s as u};
+import{r as a}from"./request-26DT9TM-.js";function d(n){return a({url:"/api/ad-plan-conf/reCreate",method:"post",data:n})}function o(n){return a({url:"/api/ad-plan-conf/generate-plan",method:"post",data:n})}function u(n){return a({url:`/api/ad-plan-conf/reGeneratePlan/${n}`,method:"get"})}function l(n){return a({url:`/api/ad-plan-conf/syncSystemStatus/${n}`,method:"get"})}function p(n){return a({url:"/api/ad-plan-conf/create",method:"post",data:n})}function s(n){return a({url:"/api/ad-plan-conf/update",method:"post",data:n})}function i(n=1,e=10,t={}){return a({url:"/api/ad-plan-conf/list",method:"get",params:{pageNum:n,pageSize:e,...t}})}function f(n){return a({url:`/api/ad-plan-conf/${n}`,method:"get"})}function c(n){return a({url:"/api/ad-plan/list",method:"get",params:n})}function g(n){return a({url:`/api/ad-plan-creative/plan/${n}`,method:"get"})}function m(n){return a({url:"/api/ad-plan-conf/gdtSuspendByConfId",params:{confId:n},method:"get"})}function h(n){return a({url:"/api/ad-plan-conf/gdtDeleteByConfId",params:{confId:n},method:"get"})}function C(n,e){return a({url:`/api/ad-plan-conf/gdtSuspendByPlanIds/${n}`,method:"post",data:e})}function P(n,e){return a({url:`/api/ad-plan-conf/gdtDeleteByPlanIds/${n}`,method:"post",data:e})}function y(n=[]){return a({url:"/api/ad-plan-conf/getOneCreativeImage",method:"post",data:n})}function I(){return a({url:"/api/ad-plan-conf/getOneBrandImage",method:"get"})}function B(n=[]){return a({url:"/api/ad-plan-conf/getOneCreativeVideo",method:"post",data:n})}export{y as a,I as b,B as c,o as d,p as e,f,i as g,c as h,h as i,C as j,P as k,l,u as m,g as n,d as r,m as s,s as u};

+ 1 - 1
portal/dist/assets/auth-DAcME6eg.js → portal/dist/assets/auth-CTV4EEGe.js

@@ -1 +1 @@
-import{r as t}from"./request-BpIb_E5y.js";function i(){return t({url:"/api/gdt/auth/authorize-url",method:"get"})}function n(r){return t({url:"/api/gdt/auth/refresh",method:"post",params:r})}function u(){return t({url:"/api/gdt/auth/list",method:"get"})}function a(){return u()}function o(){return t({url:"/api/gdt/auth/expiring",method:"get"})}export{o as a,a as b,i as g,u as l,n as r};
+import{r as t}from"./request-26DT9TM-.js";function i(){return t({url:"/api/gdt/auth/authorize-url",method:"get"})}function n(r){return t({url:"/api/gdt/auth/refresh",method:"post",params:r})}function u(){return t({url:"/api/gdt/auth/list",method:"get"})}function a(){return u()}function o(){return t({url:"/api/gdt/auth/expiring",method:"get"})}export{o as a,a as b,i as g,u as l,n as r};

+ 1 - 1
portal/dist/assets/conversion-7rIK4RQ3.js → portal/dist/assets/conversion-BvRsPtgo.js

@@ -1 +1 @@
-import{r as t}from"./request-BpIb_E5y.js";function e(n,o){return t({url:"/api/gdt/conversion/sync",method:"post",params:{orgAccountId:n,accountId:o}})}function s(n=1,o=20){return t({url:"/api/gdt/conversion/list",method:"get",params:{page:n,pageSize:o}})}function i(n){return t({url:"/api/gdt/conversion/detail",method:"get",params:{conversionId:n}})}function a(){return t({url:"/api/gdt/conversion/all",method:"get"})}export{s as a,i as b,a as g,e as s};
+import{r as t}from"./request-26DT9TM-.js";function e(n,o){return t({url:"/api/gdt/conversion/sync",method:"post",params:{orgAccountId:n,accountId:o}})}function s(n=1,o=20){return t({url:"/api/gdt/conversion/list",method:"get",params:{page:n,pageSize:o}})}function i(n){return t({url:"/api/gdt/conversion/detail",method:"get",params:{conversionId:n}})}function a(){return t({url:"/api/gdt/conversion/all",method:"get"})}export{s as a,i as b,a as g,e as s};

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/detail-3aCTj6VM.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/detail-yG7f6VbD.js


+ 1 - 1
portal/dist/assets/drama-CpOh2ANv.js → portal/dist/assets/drama-DwdG5qOT.js

@@ -1 +1 @@
-import{r as t}from"./request-BpIb_E5y.js";function n(a){return t({url:"/api/gdt/asset/drama/sync",method:"post",params:{accountId:a}})}function m(a=1,s=20,r=""){return t({url:"/api/gdt/asset/drama/list",method:"get",params:{dramaName:r,page:a,pageSize:s}})}function d(a){return t({url:"/api/gdt/asset/drama/myDramaAssets",method:"get",params:{dramaName:a}})}function o(){return t({url:"/api/gdt/asset/drama/sync/conf/myConf",method:"get"})}function u(a){return t({url:"/api/gdt/asset/drama/sync/conf/add",method:"post",data:a})}function i(a){return t({url:"/api/gdt/asset/drama/sync/conf/delete",method:"post",params:{id:a}})}export{o as a,u as b,i as d,m as g,d as m,n as s};
+import{r as t}from"./request-26DT9TM-.js";function n(a){return t({url:"/api/gdt/asset/drama/sync",method:"post",params:{accountId:a}})}function m(a=1,s=20,r=""){return t({url:"/api/gdt/asset/drama/list",method:"get",params:{dramaName:r,page:a,pageSize:s}})}function d(a){return t({url:"/api/gdt/asset/drama/myDramaAssets",method:"get",params:{dramaName:a}})}function o(){return t({url:"/api/gdt/asset/drama/sync/conf/myConf",method:"get"})}function u(a){return t({url:"/api/gdt/asset/drama/sync/conf/add",method:"post",data:a})}function i(a){return t({url:"/api/gdt/asset/drama/sync/conf/delete",method:"post",params:{id:a}})}export{o as a,u as b,i as d,m as g,d as m,n as s};

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/edit-CqMXsKNK.js


+ 0 - 1
portal/dist/assets/index-0MmA-K0O.css

@@ -1 +0,0 @@
-[data-v-c35dafee] .el-checkbox{width:100%;margin-right:0}[data-v-c35dafee] .el-checkbox__label{width:100%;white-space:normal;word-break:break-all}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-2pt0HFpG.js


+ 0 - 1
portal/dist/assets/index-BLUPLBBv.css

@@ -1 +0,0 @@
-.btn-primary[data-v-7d553ac2]{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff}.btn-primary[data-v-7d553ac2]:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.btn-secondary[data-v-7d553ac2]{border-color:#e5e7eb;color:#6b7280}.btn-secondary[data-v-7d553ac2]:hover{background-color:#f9fafb}[data-v-7d553ac2] .el-upload-dragger{border:2px dashed #d1d5db;border-radius:8px;background-color:#f9fafb;transition:all .3s}[data-v-7d553ac2] .el-upload-dragger:hover{border-color:#667eea;background-color:#f3f4f6}

+ 1 - 0
portal/dist/assets/index-BTrVwQNl.css

@@ -0,0 +1 @@
+[data-v-fed824fd] .el-checkbox{width:100%;margin-right:0}[data-v-fed824fd] .el-checkbox__label{width:100%;white-space:normal;word-break:break-all}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-BZF5tFWW.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-BcYUtfuP.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-BdlDqPDs.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-BiT2jf3G.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-BsyXtSJ8.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-C0kV2U1F.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-C3Z9iyQ6.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-CARfXfEh.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-CMZntfTs.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-CRT_jmFG.js


+ 1 - 0
portal/dist/assets/index-CmYpfCPo.css

@@ -0,0 +1 @@
+.btn-primary[data-v-573464a4]{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff}.btn-primary[data-v-573464a4]:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.btn-secondary[data-v-573464a4]{border-color:#e5e7eb;color:#6b7280}.btn-secondary[data-v-573464a4]:hover{background-color:#f9fafb}[data-v-573464a4] .el-upload-dragger{border:2px dashed #d1d5db;border-radius:8px;background-color:#f9fafb;transition:all .3s}[data-v-573464a4] .el-upload-dragger:hover{border-color:#667eea;background-color:#f3f4f6}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-Cnbkqx6H.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-CrdWDlDc.js


+ 0 - 1
portal/dist/assets/index-CvzQKMxG.css

@@ -1 +0,0 @@
-.conversion-container[data-v-86e7044b]{padding:20px}.card-header[data-v-86e7044b]{display:flex;justify-content:space-between;align-items:center}.stats-row[data-v-86e7044b]{margin-bottom:20px}.pagination-container[data-v-86e7044b]{margin-top:20px;display:flex;justify-content:flex-end}[data-v-86e7044b] .el-statistic__head{font-size:14px;color:#909399}[data-v-86e7044b] .el-statistic__number{font-size:24px;font-weight:700;color:#303133}[data-v-86e7044b] .success .el-statistic__number{color:#67c23a}[data-v-86e7044b] .info .el-statistic__number{color:#409eff}[data-v-86e7044b] .warning .el-statistic__number{color:#e6a23c}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-DNgppc0M.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-DTLs7Yp0.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-Dg0194Br.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-Di3E1Lnd.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-Dle3PxPy.js


+ 1 - 0
portal/dist/assets/index-G89jNMqr.css

@@ -0,0 +1 @@
+.conversion-container[data-v-7e5c9fbc]{padding:20px}.card-header[data-v-7e5c9fbc]{display:flex;justify-content:space-between;align-items:center}.stats-row[data-v-7e5c9fbc]{margin-bottom:20px}.pagination-container[data-v-7e5c9fbc]{margin-top:20px;display:flex;justify-content:flex-end}[data-v-7e5c9fbc] .el-statistic__head{font-size:14px;color:#909399}[data-v-7e5c9fbc] .el-statistic__number{font-size:24px;font-weight:700;color:#303133}[data-v-7e5c9fbc] .success .el-statistic__number{color:#67c23a}[data-v-7e5c9fbc] .info .el-statistic__number{color:#409eff}[data-v-7e5c9fbc] .warning .el-statistic__number{color:#e6a23c}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-OnX9WVhW.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/index-_UYEJ_75.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
portal/dist/assets/index-rn-GEcEL.js


+ 1 - 1
portal/dist/assets/loadPageConf-BRk0tePB.js → portal/dist/assets/loadPageConf-CUpZV0BZ.js

@@ -1 +1 @@
-import{r as o}from"./request-BpIb_E5y.js";function t(a){return o({url:"/api/load-page-conf/list",method:"get",params:a})}function n(a){return o({url:`/api/load-page-conf/${a}`,method:"get"})}function r(a){return o({url:"/api/load-page-conf",method:"post",data:a})}function u(a){return o({url:"/api/load-page-conf",method:"put",data:a})}function d(){return o({url:"/api/load-page-conf/all",method:"get"})}export{t as a,n as b,r as c,d as g,u};
+import{r as o}from"./request-26DT9TM-.js";function t(a){return o({url:"/api/load-page-conf/list",method:"get",params:a})}function n(a){return o({url:`/api/load-page-conf/${a}`,method:"get"})}function r(a){return o({url:"/api/load-page-conf",method:"post",data:a})}function u(a){return o({url:"/api/load-page-conf",method:"put",data:a})}function d(){return o({url:"/api/load-page-conf/all",method:"get"})}export{t as a,n as b,r as c,d as g,u};

+ 1 - 1
portal/dist/assets/ossFile-DTGoTfRr.js → portal/dist/assets/ossFile-DqNFLrMs.js

@@ -1 +1 @@
-import{r as t}from"./request-BpIb_E5y.js";function i(e){return t({timeout:12e5,url:"/api/oss-file/upload",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function o(e){return t({url:"/api/oss-file/list",method:"get",params:e})}function r(e){return t({url:`/api/oss-file/${e}`,method:"delete"})}function l(e){return t({url:"/api/oss-file/batch",method:"delete",params:{fileIds:e}})}export{l as b,r as d,o as g,i as u};
+import{r as t}from"./request-26DT9TM-.js";function i(e){return t({timeout:12e5,url:"/api/oss-file/upload",method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function o(e){return t({url:"/api/oss-file/list",method:"get",params:e})}function r(e){return t({url:`/api/oss-file/${e}`,method:"delete"})}function l(e){return t({url:"/api/oss-file/batch",method:"delete",params:{fileIds:e}})}export{l as b,r as d,o as g,i as u};

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
portal/dist/assets/request-26DT9TM-.js


+ 1 - 1
portal/dist/assets/user-HOM5VEPD.js → portal/dist/assets/user-DVrD3zdQ.js

@@ -1 +1 @@
-import{r as e}from"./request-BpIb_E5y.js";function s(){return e({url:"/api/user/list",method:"get"})}function u(r){return e({url:"/api/user/info",method:"get",params:r})}function n(r){return e({url:"/api/user/user-token-url",method:"get",params:r})}function o(r){return e({url:"/api/user/login",method:"post",params:r})}function a(r){return e({url:"/api/user/change-password",method:"post",params:r})}export{u as a,s as b,a as c,n as g,o as l};
+import{r as e}from"./request-26DT9TM-.js";function s(){return e({url:"/api/user/list",method:"get"})}function u(r){return e({url:"/api/user/info",method:"get",params:r})}function n(r){return e({url:"/api/user/user-token-url",method:"get",params:r})}function o(r){return e({url:"/api/user/login",method:"post",params:r})}function a(r){return e({url:"/api/user/change-password",method:"post",params:r})}export{u as a,s as b,a as c,n as g,o as l};

+ 1 - 1
portal/dist/index.html

@@ -5,7 +5,7 @@
     <link rel="icon" type="image/svg+xml" href="/vite.svg" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>腾讯广告自动化管理后台</title>
-    <script type="module" crossorigin src="/assets/index-B4w4dPRS.js"></script>
+    <script type="module" crossorigin src="/assets/index-rn-GEcEL.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-DLIfzCMM.css">
   </head>
   <body>

+ 11 - 18
portal/src/views/account-group/index.vue

@@ -470,18 +470,16 @@ const handleEdit = async (row) => {
   }
 }
 
-const handleDelete = async (row) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要删除账号组"${row.groupName}"吗?`,
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
-
+const handleDelete = (row) => {
+  ElMessageBox.confirm(
+    `确定要删除账号组"${row.groupName}"吗?`,
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     const res = await deleteAccountGroup(row.id)
     if (res.success) {
       ElMessage.success('删除成功')
@@ -489,12 +487,7 @@ const handleDelete = async (row) => {
     } else {
       ElMessage.error(res.message || '删除失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('删除账号组失败:', error)
-      ElMessage.error('删除失败')
-    }
-  }
+  })
 }
 
 const handleSubmit = async () => {

+ 13 - 23
portal/src/views/account/index.vue

@@ -308,42 +308,32 @@ const handleCurrentChange = async (newPage) => {
   await loadAccountList()
 }
 
-const handleSync = async () => {
+const handleSync = () => {
   if (!selectedOrgAccountId.value) {
     ElMessage.warning('请先选择组织账户')
     return
   }
 
-  try {
-    await ElMessageBox.confirm(
-      '确定要同步该组织账户下的广告账户信息吗?',
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
-
+  ElMessageBox.confirm(
+    '确定要同步该组织账户下的广告账户信息吗?',
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     syncing.value = true
     const res = await syncAccounts(selectedOrgAccountId.value)
-    
+    syncing.value = false
     if (res.data.success) {
       ElMessage.success(res.data.message || '同步成功')
-      // 重新加载账户列表
-      currentPage.value = 1 // 重置到第一页
+      currentPage.value = 1
       await loadAccountList()
     } else {
       ElMessage.error(res.data.message || '同步失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('同步账户失败:', error)
-      ElMessage.error('同步账户失败')
-    }
-  } finally {
-    syncing.value = false
-  }
+  })
 }
 
 const handleViewDetail = (account) => {

+ 22 - 33
portal/src/views/ad-auto-conf/index.vue

@@ -391,14 +391,13 @@ const handleExecute = (row) => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    executeAdAutoConf(row.id).then(response => {
-      if (response.success) {
-        ElMessage.success(response.message || '执行成功')
-      } else {
-        ElMessage.error(response.message || '执行失败')
-      }
-    })
-  }).catch(() => {})
+    const response = await executeAdAutoConf(row.id)
+    if (response.success) {
+      ElMessage.success(response.message || '执行成功')
+    } else {
+      ElMessage.error(response.message || '执行失败')
+    }
+  })
 }
 
 // 删除
@@ -408,19 +407,14 @@ const handleDelete = (row) => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const response = await deleteAdAutoConf(row.id)
-      if (response.success) {
-        ElMessage.success('删除成功')
-        loadList()
-      } else {
-        ElMessage.error(response.message || '删除失败')
-      }
-    } catch (error) {
-      console.error('删除失败:', error)
-      ElMessage.error('删除失败')
+    const response = await deleteAdAutoConf(row.id)
+    if (response.success) {
+      ElMessage.success('删除成功')
+      loadList()
+    } else {
+      ElMessage.error(response.message || '删除失败')
     }
-  }).catch(() => {})
+  })
 }
 
 // 批量删除
@@ -430,20 +424,15 @@ const handleBatchDelete = () => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const ids = selectedRows.value.map(item => item.id)
-      const response = await batchDeleteAdAutoConf(ids)
-      if (response.success) {
-        ElMessage.success('批量删除成功')
-        loadList()
-      } else {
-        ElMessage.error(response.message || '批量删除失败')
-      }
-    } catch (error) {
-      console.error('批量删除失败:', error)
-      ElMessage.error('批量删除失败')
+    const ids = selectedRows.value.map(item => item.id)
+    const response = await batchDeleteAdAutoConf(ids)
+    if (response.success) {
+      ElMessage.success('批量删除成功')
+      loadList()
+    } else {
+      ElMessage.error(response.message || '批量删除失败')
     }
-  }).catch(() => {})
+  })
 }
 
 // 分页大小改变

+ 54 - 74
portal/src/views/ad-plan-conf/detail.vue

@@ -754,8 +754,7 @@ const handleRefresh = async () => {
 }
 
 const handleSuspendAll = async (confId) => {
-  try {
-    await ElMessageBox.confirm(
+    ElMessageBox.confirm(
       `确定要暂停配置"${confDetail.value.name}"的全部计划吗?`,
       '提示',
       {
@@ -763,31 +762,27 @@ const handleSuspendAll = async (confId) => {
         cancelButtonText: '取消',
         type: 'warning'
       }
-    )
-    const res = await suspendByConfId(confId)
-    if (res.success) {
-      ElMessage.success(res.msg || '暂停中。。。')
-      handleRefresh()
-    } else {
-      ElMessage.error(res.msg || '暂停中。。。')
-    }
-  } catch (error) {
-    console.error('全部暂停失败:', error)
-    ElMessage.error('全部暂停失败')
-  }
+    ).then(async () => {
+        const res = await suspendByConfId(confId)
+        if (res.success) {
+          ElMessage.success(res.msg || '暂停中。。。')
+          handleRefresh()
+        } else {
+          ElMessage.error(res.msg || '暂停中。。。')
+        }
+    })
 }
 
-const handleDeleteAll = async (confId) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要删除配置"${confDetail.value.name}"的全部计划吗?`,
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
+const handleDeleteAll = (confId) => {
+  ElMessageBox.confirm(
+    `确定要删除配置"${confDetail.value.name}"的全部计划吗?`,
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     const res = await deleteByConfId(confId)
     if (res.success) {
       ElMessage.success(res.msg || '删除中。。。')
@@ -795,23 +790,19 @@ const handleDeleteAll = async (confId) => {
     } else {
       ElMessage.error(res.msg || '删除中。。。')
     }
-  } catch (error) {
-    console.error('全部删除失败:', error)
-    ElMessage.error('全部删除失败')
-  }
+  })
 }
 
-const handleSuspendPlans = async (confId) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要暂停配置"${confDetail.value.name}"的选中的计划吗?`,
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
+const handleSuspendPlans = (confId) => {
+  ElMessageBox.confirm(
+    `确定要暂停配置"${confDetail.value.name}"的选中的计划吗?`,
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     if (selectedRows.value.length < 1) {
       return
     }
@@ -822,23 +813,19 @@ const handleSuspendPlans = async (confId) => {
     } else {
       ElMessage.error(res.msg || '暂停中。。。')
     }
-  } catch (error) {
-    console.error('暂停失败:', error)
-    ElMessage.error('暂停失败')
-  }
+  })
 }
 
-const handleDeletePlans = async (confId) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要删除配置"${confDetail.value.name}"的选中的计划吗?`,
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
+const handleDeletePlans = (confId) => {
+  ElMessageBox.confirm(
+    `确定要删除配置"${confDetail.value.name}"的选中的计划吗?`,
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     if (selectedRows.value.length < 1) {
       return
     }
@@ -849,23 +836,19 @@ const handleDeletePlans = async (confId) => {
     } else {
       ElMessage.error(res.msg || '删除中。。。')
     }
-  } catch (error) {
-    console.error('删除失败:', error)
-    ElMessage.error('删除失败')
-  }
+  })
 }
 
-const handleSystemStatusSync = async (confId) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要同步"${confDetail.value.name}"的全部计划的广告平台状态吗?`,
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
+const handleSystemStatusSync = (confId) => {
+  ElMessageBox.confirm(
+    `确定要同步"${confDetail.value.name}"的全部计划的广告平台状态吗?`,
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     const res = await syncSystemStatus(confId)
     if (res.success) {
       ElMessage.success(res.msg || '同步平台状态中。。。')
@@ -873,10 +856,7 @@ const handleSystemStatusSync = async (confId) => {
     } else {
       ElMessage.error(res.msg || '同步平台状态失败')
     }
-  } catch (error) {
-    console.error('同步平台状态失败:', error)
-    ElMessage.error('同步平台状态失败')
-  }
+  })
 }
 
 // 初始化

+ 11 - 18
portal/src/views/ad-plan-conf/index.vue

@@ -1188,18 +1188,16 @@ const copyConf = (row) => {
   dialogVisible.value = true
 }
 
-const handleDelete = async (row) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要删除配置"${row.name}"吗?`,
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
-
+const handleDelete = (row) => {
+  ElMessageBox.confirm(
+    `确定要删除配置"${row.name}"吗?`,
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     const res = await deleteAdPlanConf(row.id)
     if (res.success) {
       ElMessage.success('删除成功')
@@ -1207,12 +1205,7 @@ const handleDelete = async (row) => {
     } else {
       ElMessage.error(res.message || '删除失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('删除配置失败:', error)
-      ElMessage.error('删除失败')
-    }
-  }
+  })
 }
 
 

+ 11 - 20
portal/src/views/conversion/index.vue

@@ -251,34 +251,25 @@ const handleSync = async () => {
     return
   }
 
-  try {
-    await ElMessageBox.confirm(
-      `确定要同步组织账户 ${syncOrgAccountId.value} 下的广告账户 ${syncAccountId.value} 的转化归因数据吗?`,
-      '确认同步',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
-
+  ElMessageBox.confirm(
+    `确定要同步组织账户 ${syncOrgAccountId.value} 下的广告账户 ${syncAccountId.value} 的转化归因数据吗?`,
+    '确认同步',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     syncing.value = true
     const response = await syncConversions(Number(syncOrgAccountId.value), Number(syncAccountId.value))
+    syncing.value = false
     if (response.success) {
       ElMessage.success(response.message || '同步成功')
-      // 重新加载列表
       await loadConversionList()
     } else {
       ElMessage.error(response.message || '同步失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('同步转化失败:', error)
-      ElMessage.error('同步失败')
-    }
-  } finally {
-    syncing.value = false
-  }
+  })
 }
 
 // 查看详情

+ 9 - 17
portal/src/views/daily-report/index.vue

@@ -353,7 +353,7 @@ const handleCurrentChange = (page) => {
   loadList()
 }
 
-const handleSync = async () => {
+const handleSync = () => {
   if (!syncForm.accountId) {
     ElMessage.warning('请输入广告账户ID')
     return
@@ -362,17 +362,15 @@ const handleSync = async () => {
   const startDate = syncDateRange.value?.[0] || getTodayStr()
   const endDate = syncDateRange.value?.[1] || getTodayStr()
 
-  try {
-    await ElMessageBox.confirm(
-      `确定同步账户 ${syncForm.accountId} 的日报数据(${startDate} ~ ${endDate})?`,
-      '确认同步',
-      { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
-    )
+  ElMessageBox.confirm(
+    `确定同步账户 ${syncForm.accountId} 的日报数据(${startDate} ~ ${endDate})?`,
+    '确认同步',
+    { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }
+  ).then(async () => {
     syncing.value = true
-    // 同步两个口径
     const [r1, r2] = await Promise.all([
       syncDailyReport({
-        jobNumber: '',       // 由后端路由到对应账户
+        jobNumber: '',
         orgAccountId: 0,
         accountId: Number(syncForm.accountId),
         startDate,
@@ -388,20 +386,14 @@ const handleSync = async () => {
         timeLine: 'REPORTING_TIME',
       }),
     ])
+    syncing.value = false
     if (r1.success && r2.success) {
       ElMessage.success(`同步完成:REQUEST_TIME ${r1.count ?? 0} 条,REPORTING_TIME ${r2.count ?? 0} 条`)
       await loadList()
     } else {
       ElMessage.error((r1.message || r2.message) || '同步失败')
     }
-  } catch (err) {
-    if (err !== 'cancel') {
-      console.error('同步日报表失败:', err)
-      ElMessage.error('同步失败')
-    }
-  } finally {
-    syncing.value = false
-  }
+  })
 }
 
 const getTodayStr = () => {

+ 24 - 40
portal/src/views/drama/index.vue

@@ -339,42 +339,32 @@ const handleCurrentChange = async (newPage) => {
   await loadDramaList()
 }
 
-const handleSync = async () => {
+const handleSync = () => {
   if (!accountId.value) {
     ElMessage.warning('请填写所有同步参数')
     return
   }
 
-  try {
-    await ElMessageBox.confirm(
-      '确定要同步该账户下的短剧资产吗?',
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
-
+  ElMessageBox.confirm(
+    '确定要同步该账户下的短剧资产吗?',
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     syncing.value = true
     const res = await syncDrama(accountId.value)
-    
+    syncing.value = false
     if (res.success) {
       ElMessage.success(res.message || '同步成功')
-      // 重新加载资产列表
-      currentPage.value = 1 // 重置到第一页
+      currentPage.value = 1
       await loadDramaList()
     } else {
       ElMessage.error(res.message || '同步失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('同步短剧资产失败:', error)
-      ElMessage.error('同步短剧资产失败')
-    }
-  } finally {
-    syncing.value = false
-  }
+  })
 }
 
 const handleViewDetail = (drama) => {
@@ -449,17 +439,16 @@ const handleAddConf = async () => {
   })
 }
 
-const handleDelConf = async (row) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要删除账号 ${row.accountId} 的同步配置吗?`,
-      '确认删除',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
+const handleDelConf = (row) => {
+  ElMessageBox.confirm(
+    `确定要删除账号 ${row.accountId} 的同步配置吗?`,
+    '确认删除',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     const res = await delConf(row.id)
     if (res.success) {
       ElMessage.success('删除成功')
@@ -467,12 +456,7 @@ const handleDelConf = async (row) => {
     } else {
       ElMessage.error(res.message || '删除失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('删除同步账号失败:', error)
-      ElMessage.error('删除失败')
-    }
-  }
+  })
 }
 
 // 生命周期

+ 24 - 40
portal/src/views/fiction/index.vue

@@ -337,42 +337,32 @@ const handleCurrentChange = async (newPage) => {
   await loadFictionList()
 }
 
-const handleSync = async () => {
+const handleSync = () => {
   if (!accountId.value) {
     ElMessage.warning('请填写所有同步参数')
     return
   }
 
-  try {
-    await ElMessageBox.confirm(
-      '确定要同步该账户下的小说资产吗?',
-      '提示',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
-
+  ElMessageBox.confirm(
+    '确定要同步该账户下的小说资产吗?',
+    '提示',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     syncing.value = true
     const res = await syncFiction(accountId.value)
-    
+    syncing.value = false
     if (res.success) {
       ElMessage.success(res.message || '同步成功')
-      // 重新加载资产列表
-      currentPage.value = 1 // 重置到第一页
+      currentPage.value = 1
       await loadFictionList()
     } else {
       ElMessage.error(res.message || '同步失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('同步小说资产失败:', error)
-      ElMessage.error('同步小说资产失败')
-    }
-  } finally {
-    syncing.value = false
-  }
+  })
 }
 
 const handleViewDetail = (fiction) => {
@@ -447,17 +437,16 @@ const handleAddConf = async () => {
   })
 }
 
-const handleDelConf = async (row) => {
-  try {
-    await ElMessageBox.confirm(
-      `确定要删除账号 ${row.accountId} 的同步配置吗?`,
-      '确认删除',
-      {
-        confirmButtonText: '确定',
-        cancelButtonText: '取消',
-        type: 'warning'
-      }
-    )
+const handleDelConf = (row) => {
+  ElMessageBox.confirm(
+    `确定要删除账号 ${row.accountId} 的同步配置吗?`,
+    '确认删除',
+    {
+      confirmButtonText: '确定',
+      cancelButtonText: '取消',
+      type: 'warning'
+    }
+  ).then(async () => {
     const res = await delConf(row.id)
     if (res.success) {
       ElMessage.success('删除成功')
@@ -465,12 +454,7 @@ const handleDelConf = async (row) => {
     } else {
       ElMessage.error(res.message || '删除失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('删除同步账号失败:', error)
-      ElMessage.error('删除失败')
-    }
-  }
+  })
 }
 
 // 生命周期

+ 7 - 14
portal/src/views/image/index.vue

@@ -430,14 +430,12 @@ const viewDetail = (row) => {
 }
 
 // 删除
-const handleDelete = async (row) => {
-  try {
-    await ElMessageBox.confirm('确定要删除这条记录吗?', '提示', {
-      confirmButtonText: '确定',
-      cancelButtonText: '取消',
-      type: 'warning'
-    })
-
+const handleDelete = (row) => {
+  ElMessageBox.confirm('确定要删除这条记录吗?', '提示', {
+    confirmButtonText: '确定',
+    cancelButtonText: '取消',
+    type: 'warning'
+  }).then(async () => {
     const res = await deleteImage(row.id)
     if (res.success) {
       ElMessage.success('删除成功')
@@ -445,12 +443,7 @@ const handleDelete = async (row) => {
     } else {
       ElMessage.error(res.message || '删除失败')
     }
-  } catch (error) {
-    if (error !== 'cancel') {
-      console.error('删除失败', error)
-      ElMessage.error('删除失败')
-    }
-  }
+  })
 }
 
 // 格式化文件大小

+ 15 - 25
portal/src/views/load-page-conf/index.vue

@@ -293,19 +293,14 @@ const handleDelete = (row) => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const response = await deleteLoadPageConf(row.id)
-      if (response.success) {
-        ElMessage.success('删除成功')
-        loadList()
-      } else {
-        ElMessage.error(response.message || '删除失败')
-      }
-    } catch (error) {
-      console.error('删除失败:', error)
-      ElMessage.error('删除失败')
+    const response = await deleteLoadPageConf(row.id)
+    if (response.success) {
+      ElMessage.success('删除成功')
+      loadList()
+    } else {
+      ElMessage.error(response.message || '删除失败')
     }
-  }).catch(() => {})
+  })
 }
 
 // 批量删除
@@ -315,20 +310,15 @@ const handleBatchDelete = () => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const ids = selectedRows.value.map(item => item.id)
-      const response = await batchDeleteLoadPageConf(ids)
-      if (response.success) {
-        ElMessage.success('批量删除成功')
-        loadList()
-      } else {
-        ElMessage.error(response.message || '批量删除失败')
-      }
-    } catch (error) {
-      console.error('批量删除失败:', error)
-      ElMessage.error('批量删除失败')
+    const ids = selectedRows.value.map(item => item.id)
+    const response = await batchDeleteLoadPageConf(ids)
+    if (response.success) {
+      ElMessage.success('批量删除成功')
+      loadList()
+    } else {
+      ElMessage.error(response.message || '批量删除失败')
     }
-  }).catch(() => {})
+  })
 }
 
 // 对话框关闭

+ 15 - 25
portal/src/views/oss-file/index.vue

@@ -502,19 +502,14 @@ const handleDelete = (row) => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const res = await deleteFile(row.id)
-      if (res.success) {
-        ElMessage.success('删除成功')
-        loadFileList()
-      } else {
-        ElMessage.error(res.message || '删除失败')
-      }
-    } catch (error) {
-      console.error('删除失败:', error)
-      ElMessage.error('删除失败')
+    const res = await deleteFile(row.id)
+    if (res.success) {
+      ElMessage.success('删除成功')
+      loadFileList()
+    } else {
+      ElMessage.error(res.message || '删除失败')
     }
-  }).catch(() => {})
+  })
 }
 
 // 批量删除
@@ -524,20 +519,15 @@ const handleBatchDelete = () => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const fileIds = selectedFiles.value.map(item => item.id)
-      const res = await batchDeleteFiles(fileIds)
-      if (res.success) {
-        ElMessage.success('批量删除成功')
-        loadFileList()
-      } else {
-        ElMessage.error(res.message || '批量删除失败')
-      }
-    } catch (error) {
-      console.error('批量删除失败:', error)
-      ElMessage.error('批量删除失败')
+    const fileIds = selectedFiles.value.map(item => item.id)
+    const res = await batchDeleteFiles(fileIds)
+    if (res.success) {
+      ElMessage.success('批量删除成功')
+      loadFileList()
+    } else {
+      ElMessage.error(res.message || '批量删除失败')
     }
-  }).catch(() => {})
+  })
 }
 
 // 复制URL

+ 6 - 13
portal/src/views/video/index.vue

@@ -427,20 +427,13 @@ const handleDelete = (row) => {
     cancelButtonText: '取消',
     type: 'warning'
   }).then(async () => {
-    try {
-      const res = await deleteVideo(row.id)
-      if (res.success) {
-        ElMessage.success('删除成功')
-        loadVideoList()
-      } else {
-        ElMessage.error(res.message || '删除失败')
-      }
-    } catch (error) {
-      console.error('删除失败', error)
-      ElMessage.error('删除失败')
+    const res = await deleteVideo(row.id)
+    if (res.success) {
+      ElMessage.success('删除成功')
+      loadVideoList()
+    } else {
+      ElMessage.error(res.message || '删除失败')
     }
-  }).catch(() => {
-    // 取消删除
   })
 }
 

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است