Jelajahi Sumber

部署提交

张涛 1 tahun lalu
induk
melakukan
ff1b4f9c10
94 mengubah file dengan 45 tambahan dan 2429 penghapusan
  1. 1 1
      dist/assets/About-BB5FGlps.js
  2. 1 0
      dist/assets/Action-Ck2vd2Vu.css
  3. 0 1
      dist/assets/Action-DLyJdMhh.css
  4. 0 0
      dist/assets/Action-gQO6e4lR.js
  5. 0 1
      dist/assets/Agent-DAdXahRy.js
  6. 1 0
      dist/assets/Agent-Dq0k4dcR.js
  7. 0 1
      dist/assets/CardItem-B1HtkjKL.css
  8. 1 0
      dist/assets/CardItem-BFLPoDap.css
  9. 1 1
      dist/assets/CardItem-CvGXHUUC.js
  10. 0 0
      dist/assets/ChatAsideMenu-Bw7dT8DK.js
  11. 1 1
      dist/assets/ContentContainer-CrxnvQU-.css
  12. 1 1
      dist/assets/ContentContainer-D0EEvd1Y.js
  13. 0 1
      dist/assets/Conversation-BRqbdFyI.js
  14. 1 0
      dist/assets/Conversation-DRGmWGep.js
  15. 0 0
      dist/assets/ConversationBoard-Dl2yep9W.js
  16. 0 0
      dist/assets/ConversationHistory-CoGh6B8f.css
  17. 0 0
      dist/assets/ConversationHistory-kcYTEQI_.css
  18. 0 0
      dist/assets/ConversationHistory-sZzmUpBM.js
  19. 0 0
      dist/assets/ConversationQA-MfUukGlP.js
  20. 0 0
      dist/assets/ConversationQA-rXgv-MvF.css
  21. 2 2
      dist/assets/DifyDetail-1hCGzOxZ.js
  22. 0 1
      dist/assets/DifyDetail-CCCBLL_S.css
  23. 1 0
      dist/assets/DifyDetail-CQD7CGMh.css
  24. 0 0
      dist/assets/Header-D42NFFj_.js
  25. 0 0
      dist/assets/Header-DFe0eKrX.css
  26. 0 0
      dist/assets/Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js
  27. 0 0
      dist/assets/Intelligent-BLuFeelr.css
  28. 0 0
      dist/assets/Intelligent-BwHcQK4g.css
  29. 0 0
      dist/assets/Intelligent-DQFWK4x8.js
  30. 1 0
      dist/assets/Knowledge-0W6Q50je.css
  31. 0 0
      dist/assets/Knowledge-CZsWmgiF.js
  32. 0 1
      dist/assets/Knowledge-bGs5lqyq.css
  33. 0 0
      dist/assets/KnowledgeDetail-Bf98a94m.js
  34. 0 0
      dist/assets/KnowledgeDetail-CGylFBLY.css
  35. 0 0
      dist/assets/KnowledgeDetail-D9ihd-8D.css
  36. 1 1
      dist/assets/LayoutExperience-C8XAVRo-.js
  37. 1 0
      dist/assets/LayoutPermission-C3gvQIqm.js
  38. 0 1
      dist/assets/LayoutPermission-Cgax9SqD.js
  39. 1 0
      dist/assets/LayoutPermission-XRwMdt7K.css
  40. 0 1
      dist/assets/LayoutPermission-eX5gWddA.css
  41. 0 0
      dist/assets/Login-B-uSM4U3.js
  42. 1 0
      dist/assets/Login-BAGEv4jT.css
  43. 0 1
      dist/assets/Login-DzvgnbjU.css
  44. 1 0
      dist/assets/Modal-BdwjIfph.css
  45. 0 1
      dist/assets/Modal-BgaErBrh.css
  46. 1 1
      dist/assets/Modal-CtCdTcxg.js
  47. 0 0
      dist/assets/Model-CAizPxjd.js
  48. 1 0
      dist/assets/Model-Ck4zSkKG.css
  49. 0 1
      dist/assets/Model-DxoVnvwA.css
  50. 1 0
      dist/assets/NoPer-B6reyMJo.css
  51. 0 1
      dist/assets/NoPer-DrMeCT4u.css
  52. 1 1
      dist/assets/NoPer-nAhjqbCj.js
  53. 0 1087
      dist/assets/PermissionAccount-BE7bf2tb.js
  54. 1 0
      dist/assets/PermissionAccount-Bf9Da9XL.css
  55. 0 1
      dist/assets/PermissionAccount-C6r2azx4.css
  56. 0 0
      dist/assets/PermissionAccount-CxFK1fbm.js
  57. 0 0
      dist/assets/PermissionGroup-CF9kl4ge.js
  58. 1 0
      dist/assets/PermissionGroup-CswxGiiN.css
  59. 0 893
      dist/assets/PermissionGroup-D424_qdC.js
  60. 0 1
      dist/assets/PermissionGroup-WpjxwV0j.css
  61. 0 404
      dist/assets/PermissionOrganization-ByhFVwBE.js
  62. 1 0
      dist/assets/PermissionOrganization-C1w777Id.css
  63. 0 0
      dist/assets/PermissionOrganization-CHoDFSbb.js
  64. 0 1
      dist/assets/PermissionOrganization-D-coqY4D.css
  65. 0 0
      dist/assets/PermissionResource-BYTowqKi.js
  66. 1 0
      dist/assets/PermissionResource-D6ggdQZ8.css
  67. 0 0
      dist/assets/PermissionResource-DNa98up8.js
  68. 0 1
      dist/assets/PermissionResource-LpAzLL3E.css
  69. 1 0
      dist/assets/PermissionRole-Bzj9eJ1a.css
  70. 0 1
      dist/assets/PermissionRole-CojaZHKZ.css
  71. 0 0
      dist/assets/PermissionRole-Ctven1TG.js
  72. 0 0
      dist/assets/PermissionRole-luKEvPkZ.js
  73. 0 1
      dist/assets/Profiles-BMNvccrb.js
  74. 1 0
      dist/assets/Profiles-CqSxwZc1.js
  75. 1 1
      dist/assets/RagFlowChat-CoabH5he.js
  76. 1 1
      dist/assets/Register-BVNWkICW.js
  77. 1 0
      dist/assets/Settings-BAQgqgKG.js
  78. 0 1
      dist/assets/Settings-CNmoTlpo.js
  79. 1 0
      dist/assets/TreeParts-BzDeJdnK.css
  80. 0 0
      dist/assets/TreeParts-CvxsGRVj.js
  81. 0 1
      dist/assets/TreeParts-DsVOya6m.css
  82. 1 1
      dist/assets/Xiaoshu-DaaRCvRD.js
  83. 1 1
      dist/assets/api-conversation-board-B7_57MSo.js
  84. 1 1
      dist/assets/common-pfD_6tMj.js
  85. 0 0
      dist/assets/index-CPAQd6yH.js
  86. 0 0
      dist/assets/index-CTXpubiH.js
  87. 0 0
      dist/assets/knowledge-ye0pH4Ir.js
  88. 1 1
      dist/assets/resource-BYkdYiSL.js
  89. 1 1
      dist/assets/use-all-agents-Dak-gZzJ.js
  90. 1 1
      dist/assets/use-current-user-C2Q12F7l.js
  91. 1 1
      dist/assets/utils-Du4OjJfW.js
  92. 3 3
      dist/i18n/lang-en.json
  93. 3 3
      dist/i18n/lang-zh.json
  94. 1 1
      dist/index.html

+ 1 - 1
dist/assets/About-DPiV0LP9.js → dist/assets/About-BB5FGlps.js

@@ -1 +1 @@
-import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,d as o}from"./index-CPAQd6yH.js";const r={},c={src:"http://192.168.20.116/chatbot/q8F58WkrUB2j4BcK",style:{width:"100%",height:"100%","min-height":"700px"},frameborder:"0",allow:"microphone"};function n(s,a){return e(),o("iframe",c)}const h=t(r,[["render",n]]);export{h as default};
+import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,d as o}from"./index-CTXpubiH.js";const r={},c={src:"http://192.168.20.116/chatbot/q8F58WkrUB2j4BcK",style:{width:"100%",height:"100%","min-height":"700px"},frameborder:"0",allow:"microphone"};function n(s,a){return e(),o("iframe",c)}const h=t(r,[["render",n]]);export{h as default};

+ 1 - 0
dist/assets/Action-Ck2vd2Vu.css

@@ -0,0 +1 @@
+[data-v-5c88a48c] .arco-pagination{margin-top:16px;justify-content:flex-end}.table-page-search-wrapper[data-v-653d03e7]{background-color:#fff;padding-top:10px;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #e8e8e8}.search-wrapper[data-v-653d03e7]{display:flex}.wrapper-icon[data-v-653d03e7]{width:60px;margin-left:16px;display:flex;justify-content:space-around;align-items:center}.wrapper-icon .action-icon[data-v-653d03e7]{cursor:pointer}

+ 0 - 1
dist/assets/Action-DLyJdMhh.css

@@ -1 +0,0 @@
-[data-v-e584b8ae] .arco-pagination{margin-top:16px;justify-content:flex-end}.table-page-search-wrapper[data-v-12276b28]{background-color:#fff;padding-top:10px;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #e8e8e8}.search-wrapper[data-v-12276b28]{display:flex}.wrapper-icon[data-v-12276b28]{width:60px;margin-left:16px;display:flex;justify-content:space-around;align-items:center}.wrapper-icon .action-icon[data-v-12276b28]{cursor:pointer}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Action-gQO6e4lR.js


+ 0 - 1
dist/assets/Agent-DAdXahRy.js

@@ -1 +0,0 @@
-import o from"./LayoutExperience-BPtFvXmF.js";import r from"./ContentContainer-C0A_9vcj.js";import{o as a,g as n,w as e,f as p,e as i}from"./index-CPAQd6yH.js";import"./Header-BWv2pNmP.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-ImBINjYy.js";/* empty css                                                                         */const B={__name:"Agent",setup(m){return(s,t)=>(a(),n(o,null,{default:e(()=>[p(r,null,{default:e(()=>t[0]||(t[0]=[i("div",{class:"agent"},"Agent",-1)])),_:1})]),_:1}))}};export{B as default};

+ 1 - 0
dist/assets/Agent-Dq0k4dcR.js

@@ -0,0 +1 @@
+import o from"./LayoutExperience-C8XAVRo-.js";import r from"./ContentContainer-D0EEvd1Y.js";import{o as a,g as n,w as e,f as p,e as i}from"./index-CTXpubiH.js";import"./Header-D42NFFj_.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-C2Q12F7l.js";/* empty css                                                                         */const B={__name:"Agent",setup(m){return(s,t)=>(a(),n(o,null,{default:e(()=>[p(r,null,{default:e(()=>t[0]||(t[0]=[i("div",{class:"agent"},"Agent",-1)])),_:1})]),_:1}))}};export{B as default};

+ 0 - 1
dist/assets/CardItem-B1HtkjKL.css

@@ -1 +0,0 @@
-.top-common[data-v-f146024e]{display:flex;flex-direction:row;justify-content:space-between;height:80px}.common-left[data-v-f146024e]{display:flex;flex-direction:column;gap:10px}.title[data-v-f146024e]{font-family:pingfang sc;font-size:18px;font-weight:600;color:var(--color-neutral-10)}.tips[data-v-f146024e]{font-size:12px;color:var(--color-neutral-8)}.card-container[data-v-b10c75d3]{position:relative;padding:10px 20px;background-color:var(--color-bg-2);border-radius:5px;overflow:hidden;cursor:pointer}.card-container[data-v-b10c75d3]:hover{box-shadow:0 0 10px var(--color-neutral-4)}.card-name .name[data-v-b10c75d3]{margin-top:10px;font-size:16px;font-weight:700;color:var(--color-neutral-8);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-name .logo[data-v-b10c75d3]{width:44px}.card-label[data-v-b10c75d3]{width:100%;color:var(--color-neutral-2)}.card-des[data-v-b10c75d3]{display:-webkit-box;overflow:hidden;height:60px;margin-top:5px;font-size:12px;line-height:16px;color:var(--color-neutral-6);-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis}.card-bottom[data-v-b10c75d3]{position:absolute;bottom:10px;left:20px;width:calc(100% - 40px);font-size:12px}.card-settings[data-v-b10c75d3]{position:absolute;right:20px;top:20px;cursor:pointer}

+ 1 - 0
dist/assets/CardItem-BFLPoDap.css

@@ -0,0 +1 @@
+.top-common[data-v-85ab48cf]{display:flex;flex-direction:row;justify-content:space-between;height:80px}.common-left[data-v-85ab48cf]{display:flex;flex-direction:column;gap:10px}.title[data-v-85ab48cf]{font-family:pingfang sc;font-size:18px;font-weight:600;color:var(--color-neutral-10)}.tips[data-v-85ab48cf]{font-size:12px;color:var(--color-neutral-8)}.card-container[data-v-5f9a43e9]{position:relative;padding:10px 20px;background-color:var(--color-bg-2);border-radius:5px;overflow:hidden;cursor:pointer}.card-container[data-v-5f9a43e9]:hover{box-shadow:0 0 10px var(--color-neutral-4)}.card-name .name[data-v-5f9a43e9]{margin-top:10px;font-size:16px;font-weight:700;color:var(--color-neutral-8);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-name .logo[data-v-5f9a43e9]{width:44px}.card-label[data-v-5f9a43e9]{width:100%;color:var(--color-neutral-2)}.card-des[data-v-5f9a43e9]{display:-webkit-box;overflow:hidden;height:60px;margin-top:5px;font-size:12px;line-height:16px;color:var(--color-neutral-6);-webkit-line-clamp:3;-webkit-box-orient:vertical;text-overflow:ellipsis}.card-bottom[data-v-5f9a43e9]{position:absolute;bottom:10px;left:20px;width:calc(100% - 40px);font-size:12px}.card-settings[data-v-5f9a43e9]{position:absolute;right:20px;top:20px;cursor:pointer}

+ 1 - 1
dist/assets/CardItem-Bb5vfWem.js → dist/assets/CardItem-CvGXHUUC.js

@@ -1 +1 @@
-import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as i,d as c,e as s,t as a,x as t,H as r,h as m,j as h,n as g}from"./index-CPAQd6yH.js";import{c as f}from"./icon-map-MpRwWyE4.js";const p={class:"top-common"},v={class:"common-left"},$={class:"title"},y={class:"tips"},k={class:"common-right"},b={__name:"HeadManage",props:{title:{required:!0,type:String},tips:{type:String}},setup(e){return(n,d)=>(i(),c("div",p,[s("div",v,[s("div",$,a(e.title),1),s("div",y,a(e.tips),1)]),s("div",k,[t(n.$slots,"setting",{},void 0,!0)])]))}},x=_(b,[["__scopeId","data-v-f146024e"]]),I={class:"card-name"},C=["src"],S=["src"],B={class:"name"},H={class:"card-label"},M={class:"card-des"},N={class:"card-label"},V={class:"card-bottom"},j={class:"card-settings"},q={__name:"CardItem",props:{name:{type:String},img_src:{type:String},height:{type:Number,default:175},is_model:{type:Boolean,default:!1}},emits:["clickIcon"],setup(e,{emit:n}){const d=e,u=n,l=()=>{u("clickIcon",d.img_src)};return(o,w)=>(i(),c("div",{class:"card-container",style:g({height:`${e.height}px`})},[s("div",I,[e.is_model?m("",!0):(i(),c("img",{key:0,src:e.img_src,class:"logo",onClick:r(l,["stop"])},null,8,C)),e.is_model?(i(),c("img",{key:1,src:h(f)(e.img_src),class:"logo",onClick:r(l,["stop"])},null,8,S)):m("",!0),s("div",B,a(e.name),1)]),s("div",H,[t(o.$slots,"labels",{},void 0,!0)]),s("div",M,[t(o.$slots,"description",{},void 0,!0)]),s("div",N,[t(o.$slots,"labelBtn",{},void 0,!0)]),s("div",V,[t(o.$slots,"bottom",{},void 0,!0)]),s("div",j,[t(o.$slots,"settings",{},void 0,!0)])],4))}},A=_(q,[["__scopeId","data-v-b10c75d3"]]);export{A as C,x as H};
+import{_}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as i,d as c,e as s,t as a,x as t,H as r,h as m,j as h,n as g}from"./index-CTXpubiH.js";import{c as f}from"./icon-map-MpRwWyE4.js";const p={class:"top-common"},v={class:"common-left"},$={class:"title"},y={class:"tips"},k={class:"common-right"},b={__name:"HeadManage",props:{title:{required:!0,type:String},tips:{type:String}},setup(e){return(n,d)=>(i(),c("div",p,[s("div",v,[s("div",$,a(e.title),1),s("div",y,a(e.tips),1)]),s("div",k,[t(n.$slots,"setting",{},void 0,!0)])]))}},x=_(b,[["__scopeId","data-v-85ab48cf"]]),I={class:"card-name"},C=["src"],S=["src"],B={class:"name"},H={class:"card-label"},M={class:"card-des"},N={class:"card-label"},V={class:"card-bottom"},j={class:"card-settings"},q={__name:"CardItem",props:{name:{type:String},img_src:{type:String},height:{type:Number,default:175},is_model:{type:Boolean,default:!1}},emits:["clickIcon"],setup(e,{emit:n}){const d=e,u=n,l=()=>{u("clickIcon",d.img_src)};return(o,w)=>(i(),c("div",{class:"card-container",style:g({height:`${e.height}px`})},[s("div",I,[e.is_model?m("",!0):(i(),c("img",{key:0,src:e.img_src,class:"logo",onClick:r(l,["stop"])},null,8,C)),e.is_model?(i(),c("img",{key:1,src:h(f)(e.img_src),class:"logo",onClick:r(l,["stop"])},null,8,S)):m("",!0),s("div",B,a(e.name),1)]),s("div",H,[t(o.$slots,"labels",{},void 0,!0)]),s("div",M,[t(o.$slots,"description",{},void 0,!0)]),s("div",N,[t(o.$slots,"labelBtn",{},void 0,!0)]),s("div",V,[t(o.$slots,"bottom",{},void 0,!0)]),s("div",j,[t(o.$slots,"settings",{},void 0,!0)])],4))}},A=_(q,[["__scopeId","data-v-5f9a43e9"]]);export{A as C,x as H};

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ChatAsideMenu-Bw7dT8DK.js


+ 1 - 1
dist/assets/ContentContainer-Bt3WX6mE.css → dist/assets/ContentContainer-CrxnvQU-.css

@@ -1 +1 @@
-.content-container[data-v-871d74eb]{background-color:var(--color-fill-2);flex-grow:1;height:calc(100% - 60px);padding:16px;overflow-y:auto}
+.content-container[data-v-15a5a7b0]{background-color:var(--color-fill-2);flex-grow:1;height:calc(100% - 60px);padding:16px;overflow-y:auto}

+ 1 - 1
dist/assets/ContentContainer-C0A_9vcj.js → dist/assets/ContentContainer-D0EEvd1Y.js

@@ -1 +1 @@
-import{_ as n}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o,d as a,x as r,n as s}from"./index-CPAQd6yH.js";const c={__name:"ContentContainer",props:{containerStyle:Object},setup(e){return(t,l)=>(o(),a("div",{class:"content-container",style:s(e.containerStyle)},[r(t.$slots,"default",{},void 0,!0)],4))}},_=n(c,[["__scopeId","data-v-871d74eb"]]);export{_ as default};
+import{_ as n}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o,d as a,x as r,n as s}from"./index-CTXpubiH.js";const c={__name:"ContentContainer",props:{containerStyle:Object},setup(e){return(t,l)=>(o(),a("div",{class:"content-container",style:s(e.containerStyle)},[r(t.$slots,"default",{},void 0,!0)],4))}},d=n(c,[["__scopeId","data-v-15a5a7b0"]]);export{d as default};

+ 0 - 1
dist/assets/Conversation-BRqbdFyI.js

@@ -1 +0,0 @@
-import e from"./LayoutExperience-BPtFvXmF.js";import a from"./ContentContainer-C0A_9vcj.js";import{C as i}from"./ChatAsideMenu-BBubXyh5.js";import{o as n,g as m,w as o,f as r,e as p}from"./index-CPAQd6yH.js";import"./Header-BWv2pNmP.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-ImBINjYy.js";/* empty css                                                                         */import"./utils-DygyT0EC.js";import"./icon-map-MpRwWyE4.js";const N={__name:"Conversation",setup(s){return(l,t)=>(n(),m(e,null,{default:o(()=>[r(a,null,{default:o(()=>[r(i),t[0]||(t[0]=p("div",{class:"conversation"},"会话",-1))]),_:1})]),_:1}))}};export{N as default};

+ 1 - 0
dist/assets/Conversation-DRGmWGep.js

@@ -0,0 +1 @@
+import e from"./LayoutExperience-C8XAVRo-.js";import a from"./ContentContainer-D0EEvd1Y.js";import{C as i}from"./ChatAsideMenu-Bw7dT8DK.js";import{o as n,g as m,w as o,f as r,e as p}from"./index-CTXpubiH.js";import"./Header-D42NFFj_.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-C2Q12F7l.js";/* empty css                                                                         */import"./utils-Du4OjJfW.js";import"./icon-map-MpRwWyE4.js";const N={__name:"Conversation",setup(s){return(l,t)=>(n(),m(e,null,{default:o(()=>[r(a,null,{default:o(()=>[r(i),t[0]||(t[0]=p("div",{class:"conversation"},"会话",-1))]),_:1})]),_:1}))}};export{N as default};

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ConversationBoard-Dl2yep9W.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ConversationHistory-CoGh6B8f.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ConversationHistory-kcYTEQI_.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ConversationHistory-sZzmUpBM.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ConversationQA-MfUukGlP.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/ConversationQA-rXgv-MvF.css


+ 2 - 2
dist/assets/DifyDetail-CAoXdy7P.js → dist/assets/DifyDetail-1hCGzOxZ.js

@@ -1,7 +1,7 @@
-import{c as i,o as c,g as p,w as a,f as t,i as u,t as v,r as m,S as h,m as b,d as g,e as k,h as w,U as x,j as l}from"./index-CPAQd6yH.js";import S from"./LayoutExperience-BPtFvXmF.js";import B from"./ContentContainer-C0A_9vcj.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Header-BWv2pNmP.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./use-current-user-ImBINjYy.js";/* empty css                                                                         */const q={__name:"TopSetting",props:{current_label:String},setup(_){return(d,o)=>{const s=i("icon-apps"),n=i("a-breadcrumb-item"),r=i("router-link"),e=i("a-breadcrumb");return c(),p(e,{class:"breadcrumb"},{default:a(()=>[t(n,null,{default:a(()=>[t(s)]),_:1}),t(n,null,{default:a(()=>[t(r,{to:"/intelligent"},{default:a(()=>o[0]||(o[0]=[u("智能体")])),_:1})]),_:1}),t(n,null,{default:a(()=>[u(v(_.current_label),1)]),_:1})]),_:1})}}},C=f(q,[["__scopeId","data-v-50c22a10"]]),E={class:"body-container"},J=["src"],N={__name:"MessageBody",props:{id:{type:String,required:!0}},setup(_){const d=_,o=m(!0),s=window.DIFY_BASE_URL,n=h.get(),r=m("");return b(async()=>{r.value=s+"/app/"+d.id+`/workflow?token=${n}`;const e=document.getElementById("dify");e.onload=function(){e&&e.contentWindow&&e.contentWindow.postMessage(JSON.stringify({type:"insertStyle",value:`
+import{c as i,o as c,g as p,w as a,f as t,i as u,t as v,r as f,S as h,m as b,d as g,e as k,h as w,U as x,j as l}from"./index-CTXpubiH.js";import S from"./LayoutExperience-C8XAVRo-.js";import B from"./ContentContainer-D0EEvd1Y.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./Header-D42NFFj_.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./use-current-user-C2Q12F7l.js";/* empty css                                                                         */const q={__name:"TopSetting",props:{current_label:String},setup(_){return(d,o)=>{const s=i("icon-apps"),n=i("a-breadcrumb-item"),r=i("router-link"),e=i("a-breadcrumb");return c(),p(e,{class:"breadcrumb"},{default:a(()=>[t(n,null,{default:a(()=>[t(s)]),_:1}),t(n,null,{default:a(()=>[t(r,{to:"/intelligent"},{default:a(()=>o[0]||(o[0]=[u("智能体")])),_:1})]),_:1}),t(n,null,{default:a(()=>[u(v(_.current_label),1)]),_:1})]),_:1})}}},C=m(q,[["__scopeId","data-v-1f20179f"]]),E={class:"body-container"},J=["src"],N={__name:"MessageBody",props:{id:{type:String,required:!0}},setup(_){const d=_,o=f(!0),s=window.DIFY_BASE_URL,n=h.get(),r=f("");return b(async()=>{r.value=s+"/app/"+d.id+`/workflow?token=${n}`;const e=document.getElementById("dify");e.onload=function(){e&&e.contentWindow&&e.contentWindow.postMessage(JSON.stringify({type:"insertStyle",value:`
             body > div > div > div.sticky.top-0.left-0.right-0.z-30 > div{display:none;}
             body > div > div > div.style_app___hJq8.flex.overflow-hidden{margin-top: -65px;}
             .style_app___hJq8 > div:first-of-type > div:first-of-type{display:none;}
             .style_app___hJq8 > div:first-of-type > nav> a:nth-child(2){display:none;}
             .style_app___hJq8 > div:first-of-type > nav> a:nth-child(3){display:none;}
-            `}),r.value),o.value=!1}}),(e,I)=>{const y=i("a-spin");return c(),g("div",E,[k("iframe",{id:"dify",src:r.value,width:"100%",height:"100%",frameborder:"0"},null,8,J),o.value?(c(),p(y,{key:0,dot:""})):w("",!0)])}}},D=f(N,[["__scopeId","data-v-0fe4f61f"]]),z={__name:"DifyDetail",setup(_){const d=x(),{id:o,name:s,mode:n}=d.query;return(r,e)=>(c(),p(S,null,{default:a(()=>[t(B,null,{default:a(()=>[t(C,{current_label:l(s)},null,8,["current_label"]),t(D,{id:l(o),mode:l(n)},null,8,["id","mode"])]),_:1})]),_:1}))}};export{z as default};
+            `}),r.value),o.value=!1}}),(e,I)=>{const y=i("a-spin");return c(),g("div",E,[k("iframe",{id:"dify",src:r.value,width:"100%",height:"100%",frameborder:"0"},null,8,J),o.value?(c(),p(y,{key:0,dot:""})):w("",!0)])}}},D=m(N,[["__scopeId","data-v-98ffed6c"]]),z={__name:"DifyDetail",setup(_){const d=x(),{id:o,name:s,mode:n}=d.query;return(r,e)=>(c(),p(S,null,{default:a(()=>[t(B,null,{default:a(()=>[t(C,{current_label:l(s)},null,8,["current_label"]),t(D,{id:l(o),mode:l(n)},null,8,["id","mode"])]),_:1})]),_:1}))}};export{z as default};

+ 0 - 1
dist/assets/DifyDetail-CCCBLL_S.css

@@ -1 +0,0 @@
-.breadcrumb[data-v-50c22a10]{height:40px}.body-container[data-v-0fe4f61f]{position:relative;margin-top:15px;height:calc(100% - 55px)}.arco-spin[data-v-0fe4f61f]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}

+ 1 - 0
dist/assets/DifyDetail-CQD7CGMh.css

@@ -0,0 +1 @@
+.breadcrumb[data-v-1f20179f]{height:40px}.body-container[data-v-98ffed6c]{position:relative;margin-top:15px;height:calc(100% - 55px)}.arco-spin[data-v-98ffed6c]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Header-D42NFFj_.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Header-DFe0eKrX.css


+ 0 - 0
dist/assets/Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js → dist/assets/Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Intelligent-BLuFeelr.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Intelligent-BwHcQK4g.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Intelligent-DQFWK4x8.js


+ 1 - 0
dist/assets/Knowledge-0W6Q50je.css

@@ -0,0 +1 @@
+.section[data-v-3f2fe032]{padding:0 20px}.form-item[data-v-3f2fe032]{display:flex;flex-direction:column;gap:10px;margin-top:20px}.value[data-v-3f2fe032]{display:flex;align-items:center;gap:10px}.value .icon[data-v-3f2fe032]{width:44px;cursor:pointer}.arco-input-wrapper[data-v-3f2fe032]{height:32px;background-color:var(--color-neutral-2)}.arco-input-wrapper[data-v-3f2fe032]:hover{background-color:var(--color-neutral-3)}.section[data-v-6e08538f]{height:200px;padding:0 20px}.icons[data-v-6e08538f]{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.icon-border[data-v-6e08538f]{border:1px solid var(--color-neutral-2);border-radius:5px;padding:5px 8px 0;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease}.icon-border[data-v-6e08538f]:hover{border:1px solid var(--color-neutral-4);border-radius:5px;transform:scale(1.05)}.icon-border .icon[data-v-6e08538f]{width:44px;height:44px}.icon-border-active[data-v-6e08538f]{border:1px solid var(--color-neutral-4);transform:scale(1.1)}.arco-input-wrapper[data-v-6e08538f]{height:32px;background-color:var(--color-neutral-3)}.arco-input-wrapper[data-v-2101374a]{background-color:var(--color-bg-5)}.body-container[data-v-bc8c12ed]{display:grid;grid-template-columns:repeat(6,1fr);align-content:flex-start;gap:20px;overflow-y:auto;width:100%;padding-top:10px;height:calc(100% - 90px)}.body-container[data-v-bc8c12ed]::-webkit-scrollbar{display:none}.bottom[data-v-bc8c12ed]{display:flex;gap:10px}.loading-tips[data-v-bc8c12ed]{grid-column:1/-1;grid-row-start:auto;text-align:center}.arco-spin-loading[data-v-bc8c12ed]{height:calc(100% - 80px)}.arco-empty[data-v-bc8c12ed],.init-loading[data-v-bc8c12ed]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Knowledge-CZsWmgiF.js


+ 0 - 1
dist/assets/Knowledge-bGs5lqyq.css

@@ -1 +0,0 @@
-.section[data-v-07fb2d76]{padding:0 20px}.form-item[data-v-07fb2d76]{display:flex;flex-direction:column;gap:10px;margin-top:20px}.value[data-v-07fb2d76]{display:flex;align-items:center;gap:10px}.value .icon[data-v-07fb2d76]{width:44px;cursor:pointer}.arco-input-wrapper[data-v-07fb2d76]{height:32px;background-color:var(--color-neutral-2)}.arco-input-wrapper[data-v-07fb2d76]:hover{background-color:var(--color-neutral-3)}.section[data-v-3152bd7e]{height:200px;padding:0 20px}.icons[data-v-3152bd7e]{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.icon-border[data-v-3152bd7e]{border:1px solid var(--color-neutral-2);border-radius:5px;padding:5px 8px 0;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease}.icon-border[data-v-3152bd7e]:hover{border:1px solid var(--color-neutral-4);border-radius:5px;transform:scale(1.05)}.icon-border .icon[data-v-3152bd7e]{width:44px;height:44px}.icon-border-active[data-v-3152bd7e]{border:1px solid var(--color-neutral-4);transform:scale(1.1)}.arco-input-wrapper[data-v-3152bd7e]{height:32px;background-color:var(--color-neutral-3)}.arco-input-wrapper[data-v-37639108]{background-color:var(--color-bg-5)}.body-container[data-v-f0259501]{display:grid;grid-template-columns:repeat(6,1fr);align-content:flex-start;gap:20px;overflow-y:auto;width:100%;padding-top:10px;height:calc(100% - 90px)}.body-container[data-v-f0259501]::-webkit-scrollbar{display:none}.bottom[data-v-f0259501]{display:flex;gap:10px}.loading-tips[data-v-f0259501]{grid-column:1/-1;grid-row-start:auto;text-align:center}.arco-spin-loading[data-v-f0259501]{height:calc(100% - 80px)}.arco-empty[data-v-f0259501],.init-loading[data-v-f0259501]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/KnowledgeDetail-Bf98a94m.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/KnowledgeDetail-CGylFBLY.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/KnowledgeDetail-D9ihd-8D.css


+ 1 - 1
dist/assets/LayoutExperience-BPtFvXmF.js → dist/assets/LayoutExperience-C8XAVRo-.js

@@ -1 +1 @@
-import{H as o}from"./Header-BWv2pNmP.js";/* empty css                                                                         */import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as r,d as a,f as s,x as c}from"./index-CPAQd6yH.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./use-current-user-ImBINjYy.js";const p={class:"layout-expierience"},n={__name:"LayoutExperience",setup(i){return(e,_)=>(r(),a("div",p,[s(o),c(e.$slots,"default",{},void 0,!0)]))}},y=t(n,[["__scopeId","data-v-d5330c8b"]]);export{y as default};
+import{H as o}from"./Header-D42NFFj_.js";/* empty css                                                                         */import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as r,d as a,f as s,x as c}from"./index-CTXpubiH.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./use-current-user-C2Q12F7l.js";const p={class:"layout-expierience"},n={__name:"LayoutExperience",setup(i){return(e,_)=>(r(),a("div",p,[s(o),c(e.$slots,"default",{},void 0,!0)]))}},y=t(n,[["__scopeId","data-v-d5330c8b"]]);export{y as default};

+ 1 - 0
dist/assets/LayoutPermission-C3gvQIqm.js

@@ -0,0 +1 @@
+import{H as t}from"./Header-D42NFFj_.js";import{_ as r}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as s,o as a,d as c,f as o}from"./index-CTXpubiH.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./use-current-user-C2Q12F7l.js";const _={class:"layout-permission"},n={__name:"LayoutPermission",setup(i){return(m,p)=>{const e=s("router-view");return a(),c("div",_,[o(t),o(e)])}}},x=r(n,[["__scopeId","data-v-c382b4a5"]]);export{x as default};

+ 0 - 1
dist/assets/LayoutPermission-Cgax9SqD.js

@@ -1 +0,0 @@
-import{H as t}from"./Header-BWv2pNmP.js";import{_ as r}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as s,o as a,d as c,f as o}from"./index-CPAQd6yH.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./use-current-user-ImBINjYy.js";const _={class:"layout-permission"},n={__name:"LayoutPermission",setup(i){return(m,p)=>{const e=s("router-view");return a(),c("div",_,[o(t),o(e)])}}},x=r(n,[["__scopeId","data-v-11c5428e"]]);export{x as default};

+ 1 - 0
dist/assets/LayoutPermission-XRwMdt7K.css

@@ -0,0 +1 @@
+.layout-permission[data-v-c382b4a5]{display:flex;flex-direction:column;height:100vh}

+ 0 - 1
dist/assets/LayoutPermission-eX5gWddA.css

@@ -1 +0,0 @@
-.layout-permission[data-v-11c5428e]{display:flex;flex-direction:column;height:100vh}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Login-B-uSM4U3.js


+ 1 - 0
dist/assets/Login-BAGEv4jT.css

@@ -0,0 +1 @@
+.form-title[data-v-a8680878]{position:absolute;line-height:42px;font-size:30px;font-weight:600;color:var(--color-neutral-10)}.submit-btn[data-v-a8680878]{width:100%;height:54px;background-color:rgb(var(--arcoblue-6));color:var(--color-neutral-1);font-size:20px;border-radius:3px}.submit-btn[data-v-a8680878]:hover{background-color:rgba(var(--arcoblue-6),.8);color:var(--color-neutral-1)}.tips-register[data-v-a8680878]{position:absolute;right:20px;bottom:70px;font-size:20px;color:var(--color-neutral-4)}.tips-login[data-v-a8680878]{position:absolute;right:20px;bottom:30px;font-size:20px;color:var(--color-neutral-4)}.reg-link[data-v-a8680878]{color:rgb(var(--arcoblue-6))}.arco-form[data-v-a8680878]{margin-top:90px}.arco-form-item-label-col[data-v-a8680878]{padding:0}.arco-input-wrapper[data-v-a8680878]{height:54px;background-color:var(--color-bg-1);border-color:var(--color-neutral-3)}[data-v-a8680878] .arco-form-item-label-col>.arco-form-item-label{display:none}.login[data-v-abd704d7]{width:100vw;height:100vh;background:url(/assets/bg-BBaQsh2-.png) no-repeat;background-size:cover}.login-logo[data-v-abd704d7]{display:flex;flex-direction:row;align-items:center;padding:30px}.logo-img[data-v-abd704d7]{width:50px}.logo-title[data-v-abd704d7]{margin-left:20px;font-size:24px;font-weight:600}.login-section[data-v-abd704d7]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:100px;height:calc(100% - 115px)}.intro[data-v-abd704d7]{display:flex;flex-direction:column;align-items:center;justify-content:center}.intro-title[data-v-abd704d7]{font-size:38px;font-weight:600}.login-form[data-v-abd704d7]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;width:500px;height:512px;background-color:var(--color-bg-white);border-radius:10px;box-shadow:0 0 1px var(--color-neutral-6)}

+ 0 - 1
dist/assets/Login-DzvgnbjU.css

@@ -1 +0,0 @@
-.form-title[data-v-c8597cdd]{position:absolute;line-height:42px;font-size:30px;font-weight:600;color:var(--color-neutral-10)}.submit-btn[data-v-c8597cdd]{width:100%;height:54px;background-color:rgb(var(--arcoblue-6));color:var(--color-neutral-1);font-size:20px;border-radius:3px}.submit-btn[data-v-c8597cdd]:hover{background-color:rgba(var(--arcoblue-6),.8);color:var(--color-neutral-1)}.tips-register[data-v-c8597cdd]{position:absolute;right:20px;bottom:70px;font-size:20px;color:var(--color-neutral-4)}.tips-login[data-v-c8597cdd]{position:absolute;right:20px;bottom:30px;font-size:20px;color:var(--color-neutral-4)}.reg-link[data-v-c8597cdd]{color:rgb(var(--arcoblue-6))}.arco-form[data-v-c8597cdd]{margin-top:90px}.arco-form-item-label-col[data-v-c8597cdd]{padding:0}.arco-input-wrapper[data-v-c8597cdd]{height:54px;background-color:var(--color-bg-1);border-color:var(--color-neutral-3)}[data-v-c8597cdd] .arco-form-item-label-col>.arco-form-item-label{display:none}.login[data-v-80a3aa7d]{width:100vw;height:100vh;background:url(/assets/bg-BBaQsh2-.png) no-repeat;background-size:cover}.login-logo[data-v-80a3aa7d]{display:flex;flex-direction:row;align-items:center;padding:30px}.logo-img[data-v-80a3aa7d]{width:50px}.logo-title[data-v-80a3aa7d]{margin-left:20px;font-size:24px;font-weight:600}.login-section[data-v-80a3aa7d]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:100px;height:calc(100% - 115px)}.intro[data-v-80a3aa7d]{display:flex;flex-direction:column;align-items:center;justify-content:center}.intro-title[data-v-80a3aa7d]{font-size:38px;font-weight:600}.login-form[data-v-80a3aa7d]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;width:500px;height:512px;background-color:var(--color-bg-white);border-radius:10px;box-shadow:0 0 1px var(--color-neutral-6)}

+ 1 - 0
dist/assets/Modal-BdwjIfph.css

@@ -0,0 +1 @@
+.breadcrumb[data-v-ee9e17e5]{margin-bottom:16px}

+ 0 - 1
dist/assets/Modal-BgaErBrh.css

@@ -1 +0,0 @@
-.breadcrumb[data-v-e64b0b37]{margin-bottom:16px}

+ 1 - 1
dist/assets/Modal-Bio8vhNQ.js → dist/assets/Modal-CtCdTcxg.js

@@ -1 +1 @@
-import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as s,o as d,g as m,w as t,f as n,i as _,t as B,ab as C,x as g,j as u,Z as S}from"./index-CPAQd6yH.js";const w={__name:"BreadCrumbMenu",props:{current_label:String},setup(r){return(c,a)=>{const o=s("icon-apps"),e=s("a-breadcrumb-item"),l=s("a-breadcrumb");return d(),m(l,{class:"breadcrumb"},{default:t(()=>[n(e,null,{default:t(()=>[n(o)]),_:1}),n(e,null,{default:t(()=>a[0]||(a[0]=[_("权限管理")])),_:1}),n(e,null,{default:t(()=>[_(B(r.current_label),1)]),_:1})]),_:1})}}},N=x(w,[["__scopeId","data-v-e64b0b37"]]),R={__name:"Modal",props:{visible:Boolean,title:{type:String,required:!0,default:"标题"}},emits:["ok","cancel"],setup(r,{emit:c}){const a=r,o=c,{visible:e,title:l}=C(a),p=()=>{o("ok")},b=()=>{o("cancel")};return(f,i)=>{const v=s("a-modal");return d(),m(v,{visible:u(e),"onUpdate:visible":i[0]||(i[0]=k=>S(e)?e.value=k:null),title:u(l),onOk:p,onCancel:b,width:"40%"},{default:t(()=>[g(f.$slots,"default")]),_:3},8,["visible","title"])}}};export{N as B,R as _};
+import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as s,o as d,g as m,w as t,f as n,i as _,t as B,ab as C,x as g,j as u,Z as S}from"./index-CTXpubiH.js";const w={__name:"BreadCrumbMenu",props:{current_label:String},setup(r){return(c,a)=>{const o=s("icon-apps"),e=s("a-breadcrumb-item"),l=s("a-breadcrumb");return d(),m(l,{class:"breadcrumb"},{default:t(()=>[n(e,null,{default:t(()=>[n(o)]),_:1}),n(e,null,{default:t(()=>a[0]||(a[0]=[_("权限管理")])),_:1}),n(e,null,{default:t(()=>[_(B(r.current_label),1)]),_:1})]),_:1})}}},N=x(w,[["__scopeId","data-v-ee9e17e5"]]),R={__name:"Modal",props:{visible:Boolean,title:{type:String,required:!0,default:"标题"}},emits:["ok","cancel"],setup(r,{emit:c}){const a=r,o=c,{visible:e,title:l}=C(a),p=()=>{o("ok")},b=()=>{o("cancel")};return(f,i)=>{const v=s("a-modal");return d(),m(v,{visible:u(e),"onUpdate:visible":i[0]||(i[0]=k=>S(e)?e.value=k:null),title:u(l),onOk:p,onCancel:b,width:"40%"},{default:t(()=>[g(f.$slots,"default")]),_:3},8,["visible","title"])}}};export{N as B,R as _};

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/Model-CAizPxjd.js


+ 1 - 0
dist/assets/Model-Ck4zSkKG.css

@@ -0,0 +1 @@
+.collapse-item[data-v-d0f59a5c]{display:flex;align-items:center;gap:50px;padding:10px 30px}.name[data-v-d0f59a5c]{min-width:350px;font-size:14px;font-weight:700}.delete-icon[data-v-d0f59a5c]{font-size:20px;color:rgb(var(--orange-5));cursor:pointer}.model-list[data-v-e2a47b8b]{padding:20px 30px;margin-top:10px;background-color:var(--color-bg-2)}.list-header[data-v-e2a47b8b]{display:flex;justify-content:space-between;align-items:center}.list-info[data-v-e2a47b8b]{display:flex;flex-direction:row;align-items:center;gap:20px}.list-info .icon[data-v-e2a47b8b]{width:44px}.info-desc[data-v-e2a47b8b]{display:flex;flex-direction:column;gap:10px}.name[data-v-e2a47b8b]{font-size:16px;font-weight:700}.desc[data-v-e2a47b8b]{color:var(--color-neutral-4)}.delete-icon[data-v-e2a47b8b]{font-size:20px;color:rgb(var(--orange-5));cursor:pointer}.list-collapse[data-v-e2a47b8b]{padding:20px 20px 0;max-height:0}.model-body[data-v-65e3c7cd]{height:calc(100% - 80px);overflow-y:auto}.model-body[data-v-65e3c7cd]::-webkit-scrollbar{display:none}.body-item[data-v-65e3c7cd]{margin-bottom:50px}.item-title[data-v-65e3c7cd]{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:20px;cursor:pointer}.title[data-v-65e3c7cd]{font-size:16px;font-weight:700}.card-list[data-v-65e3c7cd]{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;transition:all .3s ease}.card-list .labels[data-v-65e3c7cd]{color:var(--color-neutral-6)}.card-list .desc[data-v-65e3c7cd]{font-size:14px}

+ 0 - 1
dist/assets/Model-DxoVnvwA.css

@@ -1 +0,0 @@
-.collapse-item[data-v-9eb84b5a]{display:flex;align-items:center;gap:50px;padding:10px 30px}.name[data-v-9eb84b5a]{min-width:350px;font-size:14px;font-weight:700}.delete-icon[data-v-9eb84b5a]{font-size:20px;color:rgb(var(--orange-5));cursor:pointer}.model-list[data-v-d805dc79]{padding:20px 30px;margin-top:10px;background-color:var(--color-bg-2)}.list-header[data-v-d805dc79]{display:flex;justify-content:space-between;align-items:center}.list-info[data-v-d805dc79]{display:flex;flex-direction:row;align-items:center;gap:20px}.list-info .icon[data-v-d805dc79]{width:44px}.info-desc[data-v-d805dc79]{display:flex;flex-direction:column;gap:10px}.name[data-v-d805dc79]{font-size:16px;font-weight:700}.desc[data-v-d805dc79]{color:var(--color-neutral-4)}.delete-icon[data-v-d805dc79]{font-size:20px;color:rgb(var(--orange-5));cursor:pointer}.list-collapse[data-v-d805dc79]{padding:20px 20px 0;max-height:0}.model-body[data-v-532c9fb0]{height:calc(100% - 80px);overflow-y:auto}.model-body[data-v-532c9fb0]::-webkit-scrollbar{display:none}.body-item[data-v-532c9fb0]{margin-bottom:50px}.item-title[data-v-532c9fb0]{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:20px;cursor:pointer}.title[data-v-532c9fb0]{font-size:16px;font-weight:700}.card-list[data-v-532c9fb0]{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;transition:all .3s ease}.card-list .labels[data-v-532c9fb0]{color:var(--color-neutral-6)}.card-list .desc[data-v-532c9fb0]{font-size:14px}

+ 1 - 0
dist/assets/NoPer-B6reyMJo.css

@@ -0,0 +1 @@
+.no-per[data-v-dfdaf366]{height:90vh;display:flex;justify-content:center;align-items:center}

+ 0 - 1
dist/assets/NoPer-DrMeCT4u.css

@@ -1 +0,0 @@
-.no-per[data-v-119dae51]{height:90vh;display:flex;justify-content:center;align-items:center}

+ 1 - 1
dist/assets/NoPer-NKW2QC5V.js → dist/assets/NoPer-nAhjqbCj.js

@@ -1 +1 @@
-import{d as u,f as o,w as e,u as l,c as s,o as d,i as a}from"./index-CPAQd6yH.js";import{_ as i}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m={class:"no-per"},f={__name:"NoPer",setup(x){const n=l(),r=()=>{n.push("/")};return(k,t)=>{const _=s("a-button"),c=s("a-space"),p=s("a-result");return d(),u("div",m,[o(p,{status:"warning",title:"抱歉,您无权限访问此页面"},{subtitle:e(()=>t[0]||(t[0]=[a(" 您没有权限访问此页面,请联系管理员 ")])),extra:e(()=>[o(c,null,{default:e(()=>[o(_,{type:"primary",onClick:r},{default:e(()=>t[1]||(t[1]=[a("返回首页")])),_:1})]),_:1})]),_:1})])}}},v=i(f,[["__scopeId","data-v-119dae51"]]);export{v as default};
+import{d as u,f as o,w as e,u as l,c as s,o as d,i as a}from"./index-CTXpubiH.js";import{_ as i}from"./_plugin-vue_export-helper-DlAUqK2U.js";const m={class:"no-per"},f={__name:"NoPer",setup(x){const n=l(),r=()=>{n.push("/")};return(k,t)=>{const _=s("a-button"),c=s("a-space"),p=s("a-result");return d(),u("div",m,[o(p,{status:"warning",title:"抱歉,您无权限访问此页面"},{subtitle:e(()=>t[0]||(t[0]=[a(" 您没有权限访问此页面,请联系管理员 ")])),extra:e(()=>[o(c,null,{default:e(()=>[o(_,{type:"primary",onClick:r},{default:e(()=>t[1]||(t[1]=[a("返回首页")])),_:1})]),_:1})]),_:1})])}}},v=i(f,[["__scopeId","data-v-dfdaf366"]]);export{v as default};

+ 0 - 1087
dist/assets/PermissionAccount-BE7bf2tb.js

@@ -1,1087 +0,0 @@
-import me from './ContentContainer-BF98H707.js';
-import { _ as _e, B as fe } from './Modal-5FpMAvV9.js';
-import { A as ve, D as he } from './Action-DFCdvvh6.js';
-import { _ as Z } from './_plugin-vue_export-helper-DlAUqK2U.js';
-import {
-  ab as Y,
-  c as p,
-  o as c,
-  g as I,
-  w as s,
-  f as t,
-  j as f,
-  h as se,
-  e as F,
-  i as x,
-  t as C,
-  d as Q,
-  F as j,
-  q as K,
-  Z as ae,
-  r as h,
-  $ as ge,
-  A as E,
-  b as we,
-  m as ke,
-  ac as ye,
-  B as q,
-  a1 as be,
-  s as H,
-  M as Ie
-} from './index-Q0E3WkDV.js';
-import { Q as $e, a as Ne } from './common-C2h3Dl9G.js';
-const Ce = {
-    __name: 'AccountForm',
-    props: { edit_form: Object, is_edit_mode: Boolean, role_list: Array },
-    setup(d) {
-      const z = d,
-        { edit_form: m, is_edit_mode: V, role_list: P } = Y(z),
-        R = (w) => {
-          m.role = w;
-        };
-      return (w, r) => {
-        const g = p('a-input'),
-          a = p('a-form-item'),
-          _ = p('a-col'),
-          D = p('a-row'),
-          O = p('a-select'),
-          A = p('a-form');
-        return (
-          c(),
-          I(
-            A,
-            { model: f(m), 'auto-label-width': '' },
-            {
-              default: s(() => [
-                t(
-                  D,
-                  { gutter: 24, class: 'flex-row' },
-                  {
-                    default: s(() => [
-                      f(V)
-                        ? se('', !0)
-                        : (c(),
-                          I(
-                            _,
-                            { key: 0, span: 12, class: 'flex-col' },
-                            {
-                              default: s(() => [
-                                t(
-                                  a,
-                                  {
-                                    field: 'userName',
-                                    label: w.$t('permission.account.username'),
-                                    rules: [
-                                      { required: !0, message: '用户名必填' },
-                                      { maxLength: 50, message: '长度不超过50' }
-                                    ]
-                                  },
-                                  {
-                                    default: s(() => [
-                                      t(
-                                        g,
-                                        {
-                                          modelValue: f(m).userName,
-                                          'onUpdate:modelValue': r[0] || (r[0] = (v) => (f(m).userName = v))
-                                        },
-                                        null,
-                                        8,
-                                        ['modelValue']
-                                      )
-                                    ]),
-                                    _: 1
-                                  },
-                                  8,
-                                  ['label']
-                                )
-                              ]),
-                              _: 1
-                            }
-                          )),
-                      t(
-                        _,
-                        { span: 12, class: 'flex-col' },
-                        {
-                          default: s(() => [
-                            t(
-                              a,
-                              { field: 'loginName', label: w.$t('permission.account.name') },
-                              {
-                                default: s(() => [
-                                  t(
-                                    g,
-                                    {
-                                      modelValue: f(m).loginName,
-                                      'onUpdate:modelValue': r[1] || (r[1] = (v) => (f(m).loginName = v))
-                                    },
-                                    null,
-                                    8,
-                                    ['modelValue']
-                                  )
-                                ]),
-                                _: 1
-                              },
-                              8,
-                              ['label']
-                            )
-                          ]),
-                          _: 1
-                        }
-                      )
-                    ]),
-                    _: 1
-                  }
-                ),
-                t(
-                  D,
-                  { gutter: 24, class: 'flex-row' },
-                  {
-                    default: s(() => [
-                      t(
-                        _,
-                        { span: 12, class: 'flex-col' },
-                        {
-                          default: s(() => [
-                            t(
-                              a,
-                              { field: 'phone', label: w.$t('permission.account.phone') },
-                              {
-                                default: s(() => [
-                                  t(
-                                    g,
-                                    {
-                                      modelValue: f(m).phone,
-                                      'onUpdate:modelValue': r[2] || (r[2] = (v) => (f(m).phone = v))
-                                    },
-                                    null,
-                                    8,
-                                    ['modelValue']
-                                  )
-                                ]),
-                                _: 1
-                              },
-                              8,
-                              ['label']
-                            )
-                          ]),
-                          _: 1
-                        }
-                      ),
-                      t(
-                        _,
-                        { span: 12, class: 'flex-col' },
-                        {
-                          default: s(() => [
-                            t(
-                              a,
-                              {
-                                required: '',
-                                field: 'email',
-                                label: w.$t('permission.account.email'),
-                                rules: [
-                                  { required: !0, message: '邮箱必填' },
-                                  { maxLength: 50, message: '长度不超过50' }
-                                ]
-                              },
-                              {
-                                default: s(() => [
-                                  t(
-                                    g,
-                                    {
-                                      modelValue: f(m).email,
-                                      'onUpdate:modelValue': r[3] || (r[3] = (v) => (f(m).email = v))
-                                    },
-                                    null,
-                                    8,
-                                    ['modelValue']
-                                  )
-                                ]),
-                                _: 1
-                              },
-                              8,
-                              ['label']
-                            )
-                          ]),
-                          _: 1
-                        }
-                      )
-                    ]),
-                    _: 1
-                  }
-                ),
-                t(
-                  D,
-                  { gutter: 24, class: 'flex-row' },
-                  {
-                    default: s(() => [
-                      f(V)
-                        ? se('', !0)
-                        : (c(),
-                          I(
-                            _,
-                            { key: 0, span: 12, class: 'flex-col' },
-                            {
-                              default: s(() => [
-                                t(
-                                  a,
-                                  { field: 'pwd', label: w.$t('permission.account.password') },
-                                  {
-                                    default: s(() => [
-                                      t(
-                                        g,
-                                        {
-                                          modelValue: f(m).pwd,
-                                          'onUpdate:modelValue': r[4] || (r[4] = (v) => (f(m).pwd = v)),
-                                          type: 'password'
-                                        },
-                                        null,
-                                        8,
-                                        ['modelValue']
-                                      )
-                                    ]),
-                                    _: 1
-                                  },
-                                  8,
-                                  ['label']
-                                )
-                              ]),
-                              _: 1
-                            }
-                          )),
-                      t(
-                        _,
-                        { span: 12, class: 'flex-col' },
-                        {
-                          default: s(() => [
-                            t(
-                              a,
-                              { field: 'roles', label: w.$t('permission.account.roles') },
-                              {
-                                default: s(() => [
-                                  t(
-                                    O,
-                                    {
-                                      multiple: '',
-                                      modelValue: f(m).roles,
-                                      'onUpdate:modelValue': r[5] || (r[5] = (v) => (f(m).roles = v)),
-                                      options: f(P),
-                                      'field-names': { value: 'roleId', label: 'roleName' },
-                                      onChange: R
-                                    },
-                                    null,
-                                    8,
-                                    ['modelValue', 'options']
-                                  )
-                                ]),
-                                _: 1
-                              },
-                              8,
-                              ['label']
-                            )
-                          ]),
-                          _: 1
-                        }
-                      )
-                    ]),
-                    _: 1
-                  }
-                )
-              ]),
-              _: 1
-            },
-            8,
-            ['model']
-          )
-        );
-      };
-    }
-  },
-  xe = Z(Ce, [['__scopeId', 'data-v-88d8c30f']]),
-  Ve = { style: { display: 'flex', 'flex-direction': 'column' } },
-  Ue = { class: 'title-box' },
-  Se = { class: 'title-box' },
-  De = { class: 'title-box' },
-  Ae = {
-    __name: 'ViewPermission',
-    props: {
-      visible: Boolean,
-      menu_permissions_list: { type: Array },
-      knowledge_permissions_list: { type: Array },
-      dialog_permissions_list: { type: Array },
-      agent_permissions_list: { type: Array }
-    },
-    emits: ['close'],
-    setup(d, { emit: z }) {
-      const m = d,
-        {
-          visible: V,
-          menu_permissions_list: P,
-          knowledge_permissions_list: R,
-          dialog_permissions_list: w,
-          agent_permissions_list: r
-        } = Y(m),
-        g = z,
-        a = () => {
-          g('close');
-        };
-      return (_, D) => {
-        const O = p('icon-menu'),
-          A = p('a-tag'),
-          v = p('a-space'),
-          k = p('a-divider'),
-          l = p('icon-bookmark'),
-          $ = p('icon-relation'),
-          y = p('a-card'),
-          b = p('a-modal');
-        return (
-          c(),
-          I(
-            b,
-            {
-              width: '50%',
-              visible: f(V),
-              'onUpdate:visible': D[0] || (D[0] = (u) => (ae(V) ? (V.value = u) : null)),
-              title: _.$t('permission.account.user_permission'),
-              okText: '关闭',
-              'hide-cancel': 'true',
-              onOk: a
-            },
-            {
-              default: s(() => [
-                F('div', Ve, [
-                  t(
-                    y,
-                    { class: 'card-body', hoverable: '' },
-                    {
-                      default: s(() => [
-                        F('div', Ue, [t(O, { size: '18' }), x(C(_.$t('permission.account.menu_function')) + ':', 1)]),
-                        t(
-                          v,
-                          { wrap: '' },
-                          {
-                            default: s(() => [
-                              (c(!0),
-                              Q(
-                                j,
-                                null,
-                                K(
-                                  f(P),
-                                  (u) => (c(), I(A, { key: u.id }, { default: s(() => [x(C(u.name), 1)]), _: 2 }, 1024))
-                                ),
-                                128
-                              ))
-                            ]),
-                            _: 1
-                          }
-                        ),
-                        t(k),
-                        F('div', Se, [t(l, { size: '18' }), x(C(_.$t('permission.account.knowledge_base')) + ':', 1)]),
-                        t(
-                          v,
-                          { wrap: '' },
-                          {
-                            default: s(() => [
-                              (c(!0),
-                              Q(
-                                j,
-                                null,
-                                K(
-                                  f(R),
-                                  (u) => (
-                                    c(),
-                                    I(
-                                      A,
-                                      { color: 'arcoblue', key: u.id },
-                                      { default: s(() => [x(C(u.name), 1)]), _: 2 },
-                                      1024
-                                    )
-                                  )
-                                ),
-                                128
-                              ))
-                            ]),
-                            _: 1
-                          }
-                        ),
-                        t(k),
-                        F('div', De, [t($, { size: '18' }), x(' ' + C(_.$t('permission.account.agent')) + ':', 1)]),
-                        t(
-                          v,
-                          { wrap: '' },
-                          {
-                            default: s(() => [
-                              (c(!0),
-                              Q(
-                                j,
-                                null,
-                                K(
-                                  f(w),
-                                  (u) => (
-                                    c(),
-                                    I(
-                                      A,
-                                      { color: 'green', key: u.id },
-                                      { default: s(() => [x(C(u.name), 1)]), _: 2 },
-                                      1024
-                                    )
-                                  )
-                                ),
-                                128
-                              )),
-                              (c(!0),
-                              Q(
-                                j,
-                                null,
-                                K(
-                                  f(r),
-                                  (u) => (
-                                    c(),
-                                    I(
-                                      A,
-                                      { color: 'green', key: u.id },
-                                      { default: s(() => [x(C(u.name), 1)]), _: 2 },
-                                      1024
-                                    )
-                                  )
-                                ),
-                                128
-                              ))
-                            ]),
-                            _: 1
-                          }
-                        )
-                      ]),
-                      _: 1
-                    }
-                  )
-                ])
-              ]),
-              _: 1
-            },
-            8,
-            ['visible', 'title']
-          )
-        );
-      };
-    }
-  },
-  Pe = Z(Ae, [['__scopeId', 'data-v-f866d898']]),
-  ze = { style: { display: 'flex' } },
-  Oe = { style: { 'margin-bottom': '8px' } },
-  Be = {
-    __name: 'DeptConfigModal',
-    props: {
-      visible: Boolean,
-      dept_list: { type: Array, default: () => [] },
-      dept_detail: { type: Object, default: () => [] }
-    },
-    emits: ['close', 'ok'],
-    setup(d, { emit: z }) {
-      const m = d,
-        { visible: V, dept_list: P, dept_detail: R } = Y(m),
-        w = z,
-        r = h([]),
-        g = h(['0']),
-        a = h([]),
-        _ = h([]),
-        D = (k, l) => {
-          k.children &&
-            k.children.length > 0 &&
-            k.children.forEach(($) => {
-              const y = l.findIndex((b) => b.deptId === $.deptId);
-              y !== -1 && (l.splice(y, 1), D($, l));
-            });
-        },
-        O = (k, l) => {
-          const $ = { deptId: l.node.deptId, deptName: l.node.deptName };
-          if (l.checked)
-            l.node.roles.forEach((y) => {
-              _.value.some((u) => u.roleId === y.roleId) || _.value.push(y);
-            }),
-              a.value.push($);
-          else {
-            const y = a.value.findIndex((u) => u.deptId === l.node.deptId);
-            a.value.splice(y, 1);
-            const b = _.value.findIndex((u) => u.deptId === l.node.deptId);
-            _.value.splice(b, 1), D(l.node, a.value);
-          }
-        },
-        A = () => {
-          (V.value = !1), w('close');
-        },
-        v = () => {
-          w('ok', r.value);
-        };
-      return (
-        ge(
-          () => m.dept_detail,
-          (k) => {
-            k.length > 0
-              ? k.forEach((l) => {
-                  r.value.includes(l.deptId) ||
-                    (a.value.push({ deptId: l.deptId, deptName: l.deptName }),
-                    r.value.push(l.deptId),
-                    g.value.push(l.deptId)),
-                    l.roles.forEach(($) => {
-                      _.value.some((y) => y.roleId === $.roleId) ||
-                        _.value.push({ roleId: $.roleId, roleName: $.roleName, deptId: l.deptId });
-                    });
-                })
-              : ((r.value = []), (g.value = []), (a.value = []), (_.value = []));
-          }
-        ),
-        (k, l) => {
-          const $ = p('a-tree'),
-            y = p('a-card'),
-            b = p('a-tag'),
-            u = p('a-space'),
-            G = p('a-divider'),
-            J = p('a-modal');
-          return (
-            c(),
-            I(
-              J,
-              {
-                width: '50%',
-                visible: f(V),
-                'onUpdate:visible': l[2] || (l[2] = (U) => (ae(V) ? (V.value = U) : null)),
-                title: k.$t('permission.account.dept_config'),
-                onCancel: A,
-                onOk: v
-              },
-              {
-                default: s(() => [
-                  F('div', ze, [
-                    t(
-                      y,
-                      { class: 'card-body', title: k.$t('permission.account.organization'), hoverable: '' },
-                      {
-                        default: s(() => [
-                          t(
-                            $,
-                            {
-                              data: f(P),
-                              'checked-keys': r.value,
-                              'onUpdate:checkedKeys': l[0] || (l[0] = (U) => (r.value = U)),
-                              'expanded-keys': g.value,
-                              'onUpdate:expandedKeys': l[1] || (l[1] = (U) => (g.value = U)),
-                              checkable: !0,
-                              'check-strictly': !0,
-                              'show-line': !0,
-                              onCheck: O,
-                              fieldNames: { key: 'deptId', title: 'deptName', children: 'children' }
-                            },
-                            null,
-                            8,
-                            ['data', 'checked-keys', 'expanded-keys']
-                          )
-                        ]),
-                        _: 1
-                      },
-                      8,
-                      ['title']
-                    ),
-                    t(
-                      y,
-                      { class: 'card-body', title: k.$t('permission.account.user_department') },
-                      {
-                        default: s(() => [
-                          t(
-                            u,
-                            { wrap: '' },
-                            {
-                              default: s(() => [
-                                (c(!0),
-                                Q(
-                                  j,
-                                  null,
-                                  K(
-                                    a.value,
-                                    (U) => (
-                                      c(),
-                                      I(b, { key: U.deptId }, { default: s(() => [x(C(U.deptName), 1)]), _: 2 }, 1024)
-                                    )
-                                  ),
-                                  128
-                                ))
-                              ]),
-                              _: 1
-                            }
-                          ),
-                          t(G),
-                          F('div', Oe, C(k.$t('permission.account.department_roles')) + ':', 1),
-                          t(
-                            u,
-                            { wrap: '' },
-                            {
-                              default: s(() => [
-                                (c(!0),
-                                Q(
-                                  j,
-                                  null,
-                                  K(
-                                    _.value,
-                                    (U) => (
-                                      c(),
-                                      I(
-                                        b,
-                                        { key: U.roleId, color: 'arcoblue' },
-                                        { default: s(() => [x(C(U.roleName), 1)]), _: 2 },
-                                        1024
-                                      )
-                                    )
-                                  ),
-                                  128
-                                ))
-                              ]),
-                              _: 1
-                            }
-                          )
-                        ]),
-                        _: 1
-                      },
-                      8,
-                      ['title']
-                    )
-                  ])
-                ]),
-                _: 1
-              },
-              8,
-              ['visible', 'title']
-            )
-          );
-        }
-      );
-    }
-  },
-  Me = Z(Be, [['__scopeId', 'data-v-c1954a73']]),
-  T = '/api/user';
-function Ee(d) {
-  return E({ url: `${T}/list`, method: 'get', params: d });
-}
-function Te(d) {
-  return E({ url: `${T}/dept`, method: 'get', params: { userId: d } });
-}
-function Re(d) {
-  return E({ url: `${T}/dept`, method: 'put', data: d });
-}
-function Le(d) {
-  return E({ url: `${T}/add_user`, method: 'post', data: d });
-}
-function Qe(d) {
-  return E({ url: `${T}/edit_user`, method: 'put', data: d });
-}
-function je(d) {
-  return E({ url: `${T}/change_status`, method: 'put', data: d });
-}
-function qe(d) {
-  return E({ url: `${T}/reset_pwd`, method: 'put', data: { userId: d } });
-}
-function Fe(d) {
-  return E({ url: `${T}/permission`, method: 'get', params: { userId: d } });
-}
-function Ke(d) {
-  return E({ url: `${T}/delete_user/${d}`, method: 'delete' });
-}
-const He = {
-    __name: 'index',
-    setup(d) {
-      const z = h(''),
-        m = h([]),
-        V = h([
-          { title: '序号', width: 80, fixed: 'left', slotName: 'index' },
-          { title: '用户名', dataIndex: 'userName', width: 150, titleSlotName: 'userName' },
-          { title: '姓名', dataIndex: 'loginName', titleSlotName: 'loginName' },
-          {
-            title: '角色',
-            dataIndex: 'roleName',
-            width: 300,
-            ellipsis: !0,
-            tooltip: { position: 'top' },
-            titleSlotName: 'roleName'
-          },
-          {
-            title: '所属部门',
-            dataIndex: 'deptName',
-            width: 400,
-            ellipsis: !0,
-            tooltip: { position: 'top' },
-            titleSlotName: 'deptName'
-          },
-          { title: '手机号', dataIndex: 'phone', width: 150, titleSlotName: 'phone' },
-          { title: '邮箱', dataIndex: 'email', width: 150, titleSlotName: 'email' },
-          { title: '状态', dataIndex: 'status', width: 100, slotName: 'status' },
-          { title: '操作', dataIndex: 'operation', width: 500, fixed: 'right', slotName: 'operationSlot' }
-        ]),
-        P = h({ total: 10, current: 1, pageSize: 12 }),
-        R = h('medium'),
-        w = h(!1),
-        r = h(!1),
-        g = h(!1),
-        a = we({ userName: '', userName: '', phone: '', email: '', pwd: '', roles: [] }),
-        _ = h([]),
-        D = h(!1),
-        O = h([]),
-        A = h([]),
-        v = h([]),
-        k = h([]),
-        l = h(!1),
-        $ = h([]),
-        y = h([]),
-        b = async () => {
-          const e = { keyword: z.value, current: P.value.current, pageSize: P.value.pageSize };
-          w.value = !0;
-          const { code: o, data: n } = await Ee(e);
-          if (o === 200) {
-            for (const i of n.rows) {
-              if (((i.deptName = ''), (i.roleName = ''), i.depts))
-                for (let N = 0; N < i.depts.length; N++) {
-                  const B = i.depts[N];
-                  i.deptName += B.deptName + (N < i.depts.length - 1 ? ', ' : '');
-                }
-              if (i.roles)
-                for (let N = 0; N < i.roles.length; N++) {
-                  const B = i.roles[N];
-                  i.roleName += B.roleName + (N < i.roles.length - 1 ? ', ' : '');
-                }
-            }
-            (P.value.total = n.total), (m.value = n.rows), (w.value = !1);
-          } else w.value = !1;
-        },
-        u = (e) => {
-          (z.value = e), b();
-        },
-        G = () => {
-          (z.value = ''), b();
-        },
-        J = () => {
-          (a.userId = ''),
-            (a.userName = ''),
-            (a.loginName = ''),
-            (a.phone = ''),
-            (a.email = ''),
-            (a.pwd = ''),
-            (a.roles = []),
-            (g.value = !1),
-            W(null, !0);
-        },
-        U = () => {
-          console.log('刷新');
-        },
-        oe = (e) => {
-          (P.value.current = e), b();
-        },
-        le = async (e) => {
-          const o = { userId: e.userId, status: e.status },
-            { code: n } = await je(o);
-          n === 200 && q.success({ title: '成功', content: '状态切换成功' });
-        },
-        ne = async (e) => {
-          const { code: o } = await qe(e.userId);
-          o === 200 && q.success({ title: '重置密码', content: '该用户密码重置为000000' });
-        },
-        W = async (e, o) => {
-          if (o) {
-            const { code: n, data: i } = await $e();
-            n === 200 && (_.value = i.rows);
-          }
-          e &&
-            ((a.userId = e.userId),
-            (a.userName = e.userName),
-            (a.loginName = e.loginName),
-            (a.phone = e.phone),
-            (a.email = e.email),
-            (a.pwd = e.pwd),
-            (a.roles = e.roles.map((n) => n.roleId)),
-            (g.value = !0)),
-            (r.value = o);
-        },
-        X = async (e, o) => {
-          if (e) {
-            (v.value = []), (A.value = []), (O.value = []);
-            const { code: n, data: i } = await Fe(e.userId);
-            if (n === 200) {
-              const { knowledge: N, menus: B, dialog: M } = i;
-              M && M.length > 0 && (v.value = M),
-                N && N.length > 0 && (A.value = N),
-                B && B.length > 0 && (O.value = te(B));
-            }
-          }
-          D.value = o;
-        },
-        ee = async (e, o) => {
-          if (e) {
-            a.userId = e.userId;
-            const {
-              code: n,
-              data: { rows: i }
-            } = await Te(e.userId);
-            n === 200 && ($.value = i);
-          }
-          l.value = o;
-        },
-        ie = async (e) => {
-          l.value = !1;
-          const o = { userId: a.userId, depts: e },
-            { code: n } = await Re(o);
-          n === 200 && (q.success({ title: '部门配置', content: '部门配置成功' }), b());
-        },
-        de = async (e) => {
-          const { code: o } = await Ke(e);
-          o === 200 && (q.success({ title: '删除用户', content: '删除成功' }), b());
-        },
-        re = async () => {
-          r.value = !1;
-          const e = { userId: g.value ? a.userId : void 0, ...a },
-            o = g.value ? Qe : Le,
-            { code: n } = await o(e);
-          if (n === 200) {
-            const i = g.value ? '编辑' : '新增';
-            q.success({ title: `${i}用户`, content: `${i}成功` }), b();
-          }
-        },
-        ue = (e) => {
-          R.value = e;
-        },
-        te = (e, o = []) => (
-          e.forEach((n) => {
-            n.id && n.meta.title && o.push({ id: n.id, name: n.meta.title }),
-              n.children && n.children.length > 0 && te(n.children, o);
-          }),
-          o
-        ),
-        ce = async () => {
-          const {
-            code: e,
-            data: { rows: o }
-          } = await Ne();
-          e == 200 && (y.value = o);
-        },
-        pe = (e, o) => {
-          Ie.warning({
-            title: o,
-            okText: '确定',
-            cancelText: '取消',
-            hideCancel: !1,
-            onOk() {
-              de(e);
-            }
-          });
-        };
-      return (
-        ke(() => {
-          ye('system:user:list')
-            ? (b(), ce())
-            : q.error({ title: '权限不足', content: '抱歉,您没有权限查看用户列表' });
-        }),
-        (e, o) => {
-          const n = p('a-switch'),
-            i = p('a-button'),
-            N = p('a-popconfirm'),
-            B = p('a-card'),
-            M = be('hasPermi');
-          return (
-            c(),
-            Q(
-              j,
-              null,
-              [
-                t(
-                  B,
-                  { class: 'account-page-card' },
-                  {
-                    default: s(() => [
-                      t(
-                        ve,
-                        {
-                          btn_text: e.$t('permission.account.new_user'),
-                          btn_permission: 'system:user:add',
-                          onSearchClick: u,
-                          onResetClick: G,
-                          onCreateClick: J,
-                          onSizeChange: ue,
-                          onRefreshClick: U
-                        },
-                        null,
-                        8,
-                        ['btn_text']
-                      ),
-                      t(
-                        he,
-                        {
-                          data: m.value,
-                          columns: V.value,
-                          'row-key': 'userId',
-                          scroll: { x: 2e3 },
-                          size: R.value,
-                          loading: w.value,
-                          pagination: P.value,
-                          onPageChange: oe
-                        },
-                        {
-                          status: s(({ record: S }) => [
-                            t(
-                              n,
-                              {
-                                modelValue: S.status,
-                                'onUpdate:modelValue': (L) => (S.status = L),
-                                onChange: (L) => le(S),
-                                'checked-value': '1',
-                                'unchecked-value': '0'
-                              },
-                              null,
-                              8,
-                              ['modelValue', 'onUpdate:modelValue', 'onChange']
-                            )
-                          ]),
-                          operationSlot: s(({ record: S }) => [
-                            t(
-                              N,
-                              { content: e.$t('permission.account.reset_password'), onOk: (L) => ne(S) },
-                              {
-                                default: s(() => [
-                                  H(
-                                    (c(),
-                                    I(
-                                      i,
-                                      { type: 'text' },
-                                      { default: s(() => [x(C(e.$t('permission.account.reset_password')), 1)]), _: 1 }
-                                    )),
-                                    [[M, 'system:role:resetPassword']]
-                                  )
-                                ]),
-                                _: 2
-                              },
-                              1032,
-                              ['content', 'onOk']
-                            ),
-                            H(
-                              (c(),
-                              I(
-                                i,
-                                { type: 'text', onClick: (L) => W(S, !0) },
-                                { default: s(() => [x(C(e.$t('permission.account.edit')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[M, 'system:user:edit']]
-                            ),
-                            H(
-                              (c(),
-                              I(
-                                i,
-                                { type: 'text', onClick: (L) => X(S, !0) },
-                                { default: s(() => [x(C(e.$t('permission.account.view_permission')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[M, 'system:user:viewPermission']]
-                            ),
-                            H(
-                              (c(),
-                              I(
-                                i,
-                                { type: 'text', onClick: (L) => ee(S, !0) },
-                                { default: s(() => [x(C(e.$t('permission.account.dept_config')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[M, 'system:user:deptEdit']]
-                            ),
-                            H(
-                              (c(),
-                              I(
-                                i,
-                                {
-                                  onClick: (L) => pe(S.userId, e.$t('permission.delete_confirm')),
-                                  type: 'text',
-                                  status: 'warning'
-                                },
-                                { default: s(() => [x(C(e.$t('permission.account.delete')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[M, 'system:user:delete']]
-                            )
-                          ]),
-                          _: 1
-                        },
-                        8,
-                        ['data', 'columns', 'size', 'loading', 'pagination']
-                      )
-                    ]),
-                    _: 1
-                  }
-                ),
-                t(
-                  _e,
-                  {
-                    visible: r.value,
-                    onOk: re,
-                    onCancel: o[0] || (o[0] = (S) => W(null, !1)),
-                    title: g.value ? e.$t('permission.account.edit') : e.$t('permission.account.new_user')
-                  },
-                  {
-                    default: s(() => [
-                      t(xe, { edit_form: a, is_edit_mode: g.value, role_list: _.value }, null, 8, [
-                        'edit_form',
-                        'is_edit_mode',
-                        'role_list'
-                      ])
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['visible', 'title']
-                ),
-                t(
-                  Pe,
-                  {
-                    visible: D.value,
-                    onCancel: o[1] || (o[1] = (S) => X(null, !1)),
-                    onClose: o[2] || (o[2] = (S) => X(null, !1)),
-                    menu_permissions_list: O.value,
-                    knowledge_permissions_list: A.value,
-                    dialog_permissions_list: v.value,
-                    agent_permissions_list: k.value
-                  },
-                  null,
-                  8,
-                  [
-                    'visible',
-                    'menu_permissions_list',
-                    'knowledge_permissions_list',
-                    'dialog_permissions_list',
-                    'agent_permissions_list'
-                  ]
-                ),
-                t(
-                  Me,
-                  {
-                    visible: l.value,
-                    dept_list: y.value,
-                    dept_detail: $.value,
-                    onOk: ie,
-                    onCancel: o[3] || (o[3] = (S) => ee(null, !1))
-                  },
-                  null,
-                  8,
-                  ['visible', 'dept_list', 'dept_detail']
-                )
-              ],
-              64
-            )
-          );
-        }
-      );
-    }
-  },
-  Ze = Z(He, [['__scopeId', 'data-v-a0e43208']]),
-  tt = {
-    __name: 'PermissionAccount',
-    setup(d) {
-      return (z, m) => (c(), I(me, null, { default: s(() => [t(fe, { current_label: '用户' }), t(Ze)]), _: 1 }));
-    }
-  };
-export { tt as default };

+ 1 - 0
dist/assets/PermissionAccount-Bf9Da9XL.css

@@ -0,0 +1 @@
+.flex-row[data-v-1c34c14d]{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}.flex-col[data-v-1c34c14d]{padding-left:12px;padding-right:12px;flex:1;min-width:0}.card-body[data-v-f866d898]{width:100%;transition-property:all;height:40%;overflow-y:auto;margin:1px}.title-box[data-v-f866d898]{display:flex;align-items:center;font-size:16px;margin-bottom:12px}.title-box>svg[data-v-f866d898]{margin-right:6px}.card-body[data-v-c1954a73]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-c1954a73]:first-child{margin-right:16px}.account-page-card[data-v-a1e8c472]{height:calc(100% - 56px)}

+ 0 - 1
dist/assets/PermissionAccount-C6r2azx4.css

@@ -1 +0,0 @@
-.flex-row[data-v-78405e68]{display:flex;flex-wrap:wrap;margin-left:-12px;margin-right:-12px}.flex-col[data-v-78405e68]{padding-left:12px;padding-right:12px;flex:1;min-width:0}.card-body[data-v-133cc4c7]{width:100%;transition-property:all;height:40%;overflow-y:auto;margin:1px}.title-box[data-v-133cc4c7]{display:flex;align-items:center;font-size:16px;margin-bottom:12px}.title-box>svg[data-v-133cc4c7]{margin-right:6px}.card-body[data-v-5490b2b5]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-5490b2b5]:first-child{margin-right:16px}.account-page-card[data-v-d7acf69b]{height:calc(100% - 56px)}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionAccount-CxFK1fbm.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionGroup-CF9kl4ge.js


+ 1 - 0
dist/assets/PermissionGroup-CswxGiiN.css

@@ -0,0 +1 @@
+.membert-config-modal[data-v-6b3551ae]{width:100%;display:flex;justify-content:center}[data-v-6b3551ae] .arco-transfer{width:100%}[data-v-6b3551ae] .arco-transfer-view{width:45%;height:500px}.card-body[data-v-428fcbf4]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-428fcbf4]:first-child{margin-right:16px}.group-page-card[data-v-b57db6f9]{height:calc(100% - 56px)}.arco-modal-simple .arco-modal-footer[data-v-b57db6f9]{margin-top:0}

+ 0 - 893
dist/assets/PermissionGroup-D424_qdC.js

@@ -1,893 +0,0 @@
-import _e from './ContentContainer-BF98H707.js';
-import { _ as ge, B as ve } from './Modal-5FpMAvV9.js';
-import { A as fe, D as be } from './Action-DFCdvvh6.js';
-import {
-  ab as de,
-  c as p,
-  o as r,
-  g as f,
-  w as t,
-  f as l,
-  j as S,
-  r as i,
-  e as te,
-  i as N,
-  t as C,
-  Z as pe,
-  a as me,
-  l as he,
-  $ as ke,
-  d as R,
-  F as j,
-  q as F,
-  ad as Ce,
-  h as ue,
-  A as O,
-  b as ye,
-  m as we,
-  ac as $e,
-  B as K,
-  a1 as Me,
-  s as ee,
-  M as xe
-} from './index-Q0E3WkDV.js';
-import { _ as ce } from './_plugin-vue_export-helper-DlAUqK2U.js';
-import { b as Ie, c as Ve } from './common-C2h3Dl9G.js';
-const Le = {
-    __name: 'GroupForm',
-    props: { edit_form: Object, is_edit_mode: Boolean },
-    setup(u) {
-      const M = u,
-        { edit_form: b } = de(M);
-      return (A, x) => {
-        const y = p('a-input'),
-          G = p('a-form-item'),
-          g = p('a-col'),
-          I = p('a-row'),
-          w = p('a-textarea'),
-          m = p('a-form');
-        return (
-          r(),
-          f(
-            m,
-            { model: S(b), 'auto-label-width': '' },
-            {
-              default: t(() => [
-                l(
-                  I,
-                  { gutter: 24 },
-                  {
-                    default: t(() => [
-                      l(
-                        g,
-                        { span: 22 },
-                        {
-                          default: t(() => [
-                            l(
-                              G,
-                              { field: 'groupName', label: '组名称', rules: [{ required: !0, message: '组名称必填' }] },
-                              {
-                                default: t(() => [
-                                  l(
-                                    y,
-                                    {
-                                      modelValue: S(b).groupName,
-                                      'onUpdate:modelValue': x[0] || (x[0] = (s) => (S(b).groupName = s))
-                                    },
-                                    null,
-                                    8,
-                                    ['modelValue']
-                                  )
-                                ]),
-                                _: 1
-                              }
-                            )
-                          ]),
-                          _: 1
-                        }
-                      )
-                    ]),
-                    _: 1
-                  }
-                ),
-                l(
-                  I,
-                  { gutter: 24 },
-                  {
-                    default: t(() => [
-                      l(
-                        g,
-                        { span: 22 },
-                        {
-                          default: t(() => [
-                            l(
-                              G,
-                              { field: 'description', label: '描述' },
-                              {
-                                default: t(() => [
-                                  l(
-                                    w,
-                                    {
-                                      modelValue: S(b).description,
-                                      'onUpdate:modelValue': x[1] || (x[1] = (s) => (S(b).description = s))
-                                    },
-                                    null,
-                                    8,
-                                    ['modelValue']
-                                  )
-                                ]),
-                                _: 1
-                              }
-                            )
-                          ]),
-                          _: 1
-                        }
-                      )
-                    ]),
-                    _: 1
-                  }
-                )
-              ]),
-              _: 1
-            },
-            8,
-            ['model']
-          )
-        );
-      };
-    }
-  },
-  Ne = { class: 'membert-config-modal' },
-  Se = {
-    __name: 'MembertConfigModal',
-    props: {
-      visible: Boolean,
-      memberList: { type: Array, default: () => [] },
-      selectedMemberList: { type: Array, default: () => [] }
-    },
-    emits: ['cancel', 'ok'],
-    setup(u, { emit: M }) {
-      const b = u,
-        { visible: A, memberList: x, selectedMemberList: y } = de(b),
-        G = M,
-        g = i([...y.value]),
-        I = () => {
-          G('close');
-        },
-        w = () => {
-          G('ok', y.value);
-        },
-        m = (s) => {
-          const $ = s.filter((h) => !g.value.includes(h)),
-            V = g.value.filter((h) => !s.includes(h));
-          $.length > 0 && (g.value = [...g.value, ...$]),
-            V.length > 0 && (g.value = g.value.filter((h) => !V.includes(h))),
-            G('update:selectedMemberList', g.value);
-        };
-      return (s, $) => {
-        const V = p('a-transfer'),
-          h = p('a-modal');
-        return (
-          r(),
-          f(
-            h,
-            {
-              width: '50%',
-              visible: S(A),
-              'onUpdate:visible': $[0] || ($[0] = (T) => (pe(A) ? (A.value = T) : null)),
-              title: s.$t('permission.group.member_title'),
-              onCancel: I,
-              onOk: w
-            },
-            {
-              default: t(() => [
-                te('div', Ne, [
-                  l(
-                    V,
-                    {
-                      'show-search': '',
-                      data: S(x),
-                      'model-value': S(y),
-                      'source-input-search-props': { placeholder: s.$t('permission.group.search_placeholder') },
-                      'target-input-search-props': { placeholder: s.$t('permission.group.search_placeholder') },
-                      onChange: m
-                    },
-                    {
-                      'source-title': t(() => [N(C(s.$t('permission.group.optional_members')), 1)]),
-                      'target-title': t(() => [N(C(s.$t('permission.group.selected_members')), 1)]),
-                      _: 1
-                    },
-                    8,
-                    ['data', 'model-value', 'source-input-search-props', 'target-input-search-props']
-                  )
-                ])
-              ]),
-              _: 1
-            },
-            8,
-            ['visible', 'title']
-          )
-        );
-      };
-    }
-  },
-  Ge = ce(Se, [['__scopeId', 'data-v-6b3551ae']]),
-  Ae = { style: { display: 'flex' } },
-  Te = { style: { margin: '8px 0' } },
-  Ue = { style: { margin: '8px 0' } },
-  Pe = {
-    __name: 'PermissionConfigModal',
-    props: {
-      visible: Boolean,
-      knowledge_list: { type: Array, default: () => [] },
-      agents_list: { type: Array, default: () => [] },
-      model_list: { type: Array, default: () => [] },
-      record: Object
-    },
-    emits: ['getActiveTab', 'close', 'ok'],
-    setup(u, { emit: M }) {
-      const { t: b } = me(),
-        A = u,
-        { visible: x, knowledge_list: y, agents_list: G, model_list: g } = de(A),
-        I = M,
-        w = [
-          { key: '1', icon: 'icon-storage', title: b('permission.group.knowledge') },
-          { key: '2', icon: 'icon-robot', title: b('permission.group.agents') }
-        ],
-        m = i(w[0].key);
-      i(['0']);
-      const s = i([]),
-        $ = i([]),
-        V = i([]),
-        h = i([]),
-        T = i([]),
-        q = i([]),
-        Q = (d, n, k) => {
-          let P = { id: n.target.value, name: n.target.labels[0].innerText };
-          n.target.checked
-            ? k.value.push(P)
-            : k.value.forEach((c, D, H) => {
-                if (c.id == n.target.value) return k.value.splice(D, 1), !0;
-              });
-        },
-        ae = (d, n) => {
-          Q(d, n, $);
-        },
-        U = (d, n) => {
-          Q(d, n, h);
-        },
-        oe = (d, n) => {
-          Q(d, n, q);
-        },
-        ne = (d) => {
-          const n = w.find((k) => k.key === d);
-          I('getActiveTab', n), (m.value = d);
-        },
-        se = () => {
-          I('cancel');
-        },
-        le = () => {
-          I('ok', { checkedKeys: { knowledge: s.value, agents: V.value, model: T.value } });
-        },
-        ie = he(() => {
-          const d = w.find((n) => n.key === m.value);
-          return d ? d.title : '菜单';
-        });
-      return (
-        ke(
-          () => A.record,
-          (d) => {
-            if (d) {
-              const { knowledges: n, dialogs: k, llms: P } = d;
-              (s.value = n.map((c) => c.id)),
-                (V.value = k.map((c) => c.id)),
-                (T.value = P.map((c) => c.id)),
-                ($.value = n.map((c) => ({ id: c.id, name: c.name }))),
-                (h.value = k.map((c) => ({ id: c.id, name: c.name }))),
-                (q.value = P.map((c) => ({ id: c.id, name: c.name })));
-            }
-          }
-        ),
-        (d, n) => {
-          const k = p('a-tab-pane'),
-            P = p('a-tabs'),
-            c = p('a-checkbox'),
-            D = p('a-checkbox-group'),
-            H = p('a-card'),
-            J = p('a-tag'),
-            W = p('a-space'),
-            X = p('a-divider'),
-            re = p('a-modal');
-          return (
-            r(),
-            f(
-              re,
-              {
-                width: '50%',
-                visible: S(x),
-                'onUpdate:visible': n[3] || (n[3] = (a) => (pe(x) ? (x.value = a) : null)),
-                title: d.$t('permission.group.permission_title'),
-                onCancel: se,
-                onOk: le
-              },
-              {
-                default: t(() => [
-                  l(
-                    P,
-                    { 'active-key': m.value, onChange: ne },
-                    {
-                      default: t(() => [
-                        (r(),
-                        R(
-                          j,
-                          null,
-                          F(w, (a) =>
-                            l(
-                              k,
-                              { key: a.key },
-                              { title: t(() => [(r(), f(Ce(a.icon))), N(' ' + C(a.title), 1)]), _: 2 },
-                              1024
-                            )
-                          ),
-                          64
-                        ))
-                      ]),
-                      _: 1
-                    },
-                    8,
-                    ['active-key']
-                  ),
-                  te('div', Ae, [
-                    l(
-                      H,
-                      { class: 'card-body', title: ie.value, hoverable: '' },
-                      {
-                        default: t(() => [
-                          m.value === '1'
-                            ? (r(),
-                              f(
-                                D,
-                                {
-                                  key: 0,
-                                  modelValue: s.value,
-                                  'onUpdate:modelValue': n[0] || (n[0] = (a) => (s.value = a)),
-                                  onChange: ae
-                                },
-                                {
-                                  default: t(() => [
-                                    (r(!0),
-                                    R(
-                                      j,
-                                      null,
-                                      F(
-                                        S(y),
-                                        (a, Y) => (
-                                          r(),
-                                          f(
-                                            c,
-                                            { value: a.id, label: a.name, style: { width: '150px' } },
-                                            { default: t(() => [N(C(a.name), 1)]), _: 2 },
-                                            1032,
-                                            ['value', 'label']
-                                          )
-                                        )
-                                      ),
-                                      256
-                                    ))
-                                  ]),
-                                  _: 1
-                                },
-                                8,
-                                ['modelValue']
-                              ))
-                            : ue('', !0),
-                          m.value === '2'
-                            ? (r(),
-                              f(
-                                D,
-                                {
-                                  key: 1,
-                                  modelValue: V.value,
-                                  'onUpdate:modelValue': n[1] || (n[1] = (a) => (V.value = a)),
-                                  onChange: U
-                                },
-                                {
-                                  default: t(() => [
-                                    (r(!0),
-                                    R(
-                                      j,
-                                      null,
-                                      F(
-                                        S(G),
-                                        (a, Y) => (
-                                          r(),
-                                          f(
-                                            c,
-                                            { value: a.id, label: a.name, style: { width: '150px' } },
-                                            { default: t(() => [N(C(a.name), 1)]), _: 2 },
-                                            1032,
-                                            ['value', 'label']
-                                          )
-                                        )
-                                      ),
-                                      256
-                                    ))
-                                  ]),
-                                  _: 1
-                                },
-                                8,
-                                ['modelValue']
-                              ))
-                            : ue('', !0),
-                          m.value === '3'
-                            ? (r(),
-                              f(
-                                D,
-                                {
-                                  key: 2,
-                                  modelValue: T.value,
-                                  'onUpdate:modelValue': n[2] || (n[2] = (a) => (T.value = a)),
-                                  onChange: oe
-                                },
-                                {
-                                  default: t(() => [
-                                    (r(!0),
-                                    R(
-                                      j,
-                                      null,
-                                      F(
-                                        S(g),
-                                        (a, Y) => (
-                                          r(),
-                                          f(
-                                            c,
-                                            { value: a.id, label: a.name, style: { width: '150px' } },
-                                            { default: t(() => [N(C(a.name), 1)]), _: 2 },
-                                            1032,
-                                            ['value', 'label']
-                                          )
-                                        )
-                                      ),
-                                      256
-                                    ))
-                                  ]),
-                                  _: 1
-                                },
-                                8,
-                                ['modelValue']
-                              ))
-                            : ue('', !0)
-                        ]),
-                        _: 1
-                      },
-                      8,
-                      ['title']
-                    ),
-                    l(
-                      H,
-                      { class: 'card-body', title: d.$t('permission.group.all_permissions') },
-                      {
-                        default: t(() => [
-                          te('div', Te, C(d.$t('permission.group.knowledge_feature')), 1),
-                          l(
-                            W,
-                            { wrap: '' },
-                            {
-                              default: t(() => [
-                                (r(!0),
-                                R(
-                                  j,
-                                  null,
-                                  F(
-                                    $.value,
-                                    (a) => (
-                                      r(), f(J, { key: a.id }, { default: t(() => [N(C(a.name), 1)]), _: 2 }, 1024)
-                                    )
-                                  ),
-                                  128
-                                ))
-                              ]),
-                              _: 1
-                            }
-                          ),
-                          l(X),
-                          te('div', Ue, C(d.$t('permission.group.agent_feature')), 1),
-                          l(
-                            W,
-                            { wrap: '' },
-                            {
-                              default: t(() => [
-                                (r(!0),
-                                R(
-                                  j,
-                                  null,
-                                  F(
-                                    h.value,
-                                    (a) => (
-                                      r(), f(J, { key: a.id }, { default: t(() => [N(C(a.name), 1)]), _: 2 }, 1024)
-                                    )
-                                  ),
-                                  128
-                                ))
-                              ]),
-                              _: 1
-                            }
-                          ),
-                          l(X)
-                        ]),
-                        _: 1
-                      },
-                      8,
-                      ['title']
-                    )
-                  ])
-                ]),
-                _: 1
-              },
-              8,
-              ['visible', 'title']
-            )
-          );
-        }
-      );
-    }
-  },
-  De = ce(Pe, [['__scopeId', 'data-v-428fcbf4']]),
-  z = '/api/group';
-function Be(u) {
-  return O({ url: `${z}/list`, method: 'get', params: u });
-}
-function Oe(u) {
-  return O({ url: `${z}/group_users`, method: 'get', params: { groupId: u } });
-}
-function ze(u) {
-  return O({ url: `${z}/save_group_user`, method: 'post', data: u });
-}
-function Re(u) {
-  return O({ url: `${z}/group_resource`, method: 'put', data: u });
-}
-function je(u) {
-  return O({ url: `${z}/add_group`, method: 'post', data: u });
-}
-function Qe(u) {
-  return O({ url: `${z}/edit_group`, method: 'put', data: u });
-}
-function Ee(u) {
-  return O({ url: `${z}/edit_group_status`, method: 'put', data: u });
-}
-function Fe(u) {
-  return O({ url: `${z}/delete_group/${u}`, method: 'delete' });
-}
-const Ke = {
-    __name: 'index',
-    setup(u) {
-      const { t: M } = me(),
-        b = i(''),
-        A = i([]),
-        x = i([
-          { title: M('permission.group.serial_number'), width: 80, slotName: 'index' },
-          { title: M('permission.group.groupName'), dataIndex: 'groupName', width: 150, titleSlotName: 'groupName' },
-          {
-            title: M('permission.group.description'),
-            dataIndex: 'description',
-            tooltip: !0,
-            titleSlotName: 'description'
-          },
-          { title: M('permission.group.status'), dataIndex: 'status', slotName: 'status' },
-          {
-            title: M('permission.group.action'),
-            dataIndex: 'operation',
-            width: 400,
-            fixed: 'right',
-            slotName: 'operationSlot'
-          }
-        ]),
-        y = i({ total: 10, current: 1, pageSize: 12 }),
-        G = i('medium'),
-        g = i(!1),
-        I = i(null),
-        w = i(!1),
-        m = i(!1),
-        s = ye({ groupName: '', description: '' }),
-        $ = i(!1),
-        V = i([]),
-        h = i([]),
-        T = i(!1),
-        q = i([]),
-        Q = i([]),
-        ae = i([]),
-        U = async () => {
-          const e = { keyword: b.value, current: y.value.current, pageSize: y.value.pageSize };
-          g.value = !0;
-          const { code: o, data: _ } = await Be(e);
-          o === 200 && ((y.value.total = _.total), (A.value = _.items)), (g.value = !1);
-        },
-        oe = (e) => {
-          (b.value = e), U();
-        },
-        ne = () => {
-          (b.value = ''), U();
-        },
-        se = () => {
-          (s.groupName = ''), (s.description = ''), (m.value = !1), (w.value = !0);
-        },
-        le = () => {
-          console.log('刷新');
-        },
-        ie = (e) => {
-          (y.value.current = e), U();
-        },
-        d = async (e) => {
-          const o = { id: e.groupId, status: e.status },
-            { code: _ } = await Ee(o);
-          _ === 200 && K.success({ title: '成功', content: '状态切换成功' });
-        },
-        n = (e, o) => {
-          e && ((s.groupId = e.groupId), (s.groupName = e.groupName), (s.description = e.description), (m.value = !0)),
-            (w.value = o);
-        },
-        k = async (e, o) => {
-          if (e) {
-            const {
-              code: _,
-              data: { inGroup: L, notInGroup: Z }
-            } = await Oe(e.groupId);
-            if (_ === 200) {
-              const B = [...L, ...Z];
-              (V.value = B.map((v) => ({ label: v.userName, value: v.userId }))), (h.value = L.map((v) => v.userId));
-            }
-          }
-          $.value = o;
-        },
-        P = async (e) => {
-          const o = { id: I.value.groupId, userList: e },
-            { code: _ } = await ze(o);
-          _ === 200 && (K.success({ title: '成员管理', content: '成员修改成功' }), ($.value = !1), U());
-        },
-        c = (e) => {
-          h.value = e;
-        },
-        D = async (e, o) => {
-          e && ((I.value = e), (s.groupId = e.groupId), a('1')), (T.value = o);
-        },
-        H = (e) => {
-          e.key && a(e.key);
-        },
-        J = async ({ checkedKeys: e }) => {
-          T.value = !1;
-          const { knowledge: o, agents: _, model: L } = e,
-            Z = { id: s.groupId, knowledges: o, dialogs: _, llms: L },
-            { code: B } = await Re(Z);
-          B === 200 && (K.success({ title: '权限配置', content: '权限配置成功' }), U());
-        },
-        W = async (e) => {
-          const { code: o } = await Fe(e);
-          o === 200 && (K.success({ title: '删除用户', content: '删除成功' }), U());
-        },
-        X = async () => {
-          w.value = !1;
-          const e = { id: m.value ? s.groupId : void 0, ...s },
-            o = m.value ? Qe : je,
-            { code: _ } = await o(e);
-          if (_ === 200) {
-            const L = m.value ? '编辑' : '新增';
-            K.success({ title: `${L}用户`, content: `${L}成功` }), U();
-          }
-        },
-        re = (e) => {
-          G.value = e;
-        },
-        a = async (e) => {
-          if (e === '1') {
-            const {
-              code: o,
-              data: { rows: _ }
-            } = await Ie();
-            o === 200 && (q.value = _);
-          }
-          if (e === '2') {
-            const {
-              code: o,
-              data: { rows: _ }
-            } = await Ve();
-            o === 200 && (Q.value = _);
-          }
-        },
-        Y = (e, o) => {
-          xe.warning({
-            title: o,
-            okText: '确定',
-            cancelText: '取消',
-            hideCancel: !1,
-            onOk() {
-              W(e);
-            }
-          });
-        };
-      return (
-        we(() => {
-          $e('system:group:list') ? U() : K.error({ title: '权限不足', content: '抱歉,您没有权限查看用户组列表' });
-        }),
-        (e, o) => {
-          const _ = p('a-switch'),
-            L = p('a-button'),
-            Z = p('a-card'),
-            B = Me('hasPermi');
-          return (
-            r(),
-            R(
-              j,
-              null,
-              [
-                l(
-                  Z,
-                  { class: 'group-page-card' },
-                  {
-                    default: t(() => [
-                      l(
-                        fe,
-                        {
-                          btn_text: e.$t('permission.group.create_user_group'),
-                          btn_permission: 'system:group:add',
-                          onSearchClick: oe,
-                          onResetClick: ne,
-                          onCreateClick: se,
-                          onSizeChange: re,
-                          onRefreshClick: le
-                        },
-                        null,
-                        8,
-                        ['btn_text']
-                      ),
-                      l(
-                        be,
-                        {
-                          data: A.value,
-                          columns: x.value,
-                          'row-key': 'groupId',
-                          size: G.value,
-                          loading: g.value,
-                          pagination: y.value,
-                          onPageChange: ie
-                        },
-                        {
-                          status: t(({ record: v }) => [
-                            l(
-                              _,
-                              {
-                                modelValue: v.status,
-                                'onUpdate:modelValue': (E) => (v.status = E),
-                                onChange: (E) => d(v),
-                                'checked-value': '1',
-                                'unchecked-value': '0'
-                              },
-                              null,
-                              8,
-                              ['modelValue', 'onUpdate:modelValue', 'onChange']
-                            )
-                          ]),
-                          operationSlot: t(({ record: v }) => [
-                            ee(
-                              (r(),
-                              f(
-                                L,
-                                { type: 'text', onClick: (E) => n(v, !0) },
-                                { default: t(() => [N(C(e.$t('permission.group.edit')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[B, 'system:group:edit']]
-                            ),
-                            ee(
-                              (r(),
-                              f(
-                                L,
-                                { type: 'text', onClick: (E) => k(v, !0) },
-                                { default: t(() => [N(C(e.$t('permission.group.member_management')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[B, 'system:group:memberConfig']]
-                            ),
-                            ee(
-                              (r(),
-                              f(
-                                L,
-                                { type: 'text', onClick: (E) => D(v, !0) },
-                                { default: t(() => [N(C(e.$t('permission.group.permission_management')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[B, 'system:group:permissionConfig']]
-                            ),
-                            ee(
-                              (r(),
-                              f(
-                                L,
-                                {
-                                  onClick: (E) => Y(v.groupId, e.$t('permission.delete_confirm')),
-                                  type: 'text',
-                                  status: 'warning'
-                                },
-                                { default: t(() => [N(C(e.$t('permission.group.delete')), 1)]), _: 2 },
-                                1032,
-                                ['onClick']
-                              )),
-                              [[B, 'system:group:delete']]
-                            )
-                          ]),
-                          _: 1
-                        },
-                        8,
-                        ['data', 'columns', 'size', 'loading', 'pagination']
-                      )
-                    ]),
-                    _: 1
-                  }
-                ),
-                l(
-                  ge,
-                  {
-                    visible: w.value,
-                    onOk: X,
-                    onCancel: o[0] || (o[0] = (v) => n(null, !1)),
-                    title: m.value
-                      ? e.$t('permission.group.modal_title_edit')
-                      : e.$t('permission.group.modal_title_add')
-                  },
-                  {
-                    default: t(() => [
-                      l(Le, { edit_form: s, is_edit_mode: m.value }, null, 8, ['edit_form', 'is_edit_mode'])
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['visible', 'title']
-                ),
-                l(
-                  Ge,
-                  {
-                    visible: $.value,
-                    memberList: V.value,
-                    selectedMemberList: h.value,
-                    onOk: P,
-                    'onUpdate:selectedMemberList': c,
-                    onCancel: o[1] || (o[1] = (v) => k(null, !1)),
-                    onClose: o[2] || (o[2] = (v) => k(null, !1))
-                  },
-                  null,
-                  8,
-                  ['visible', 'memberList', 'selectedMemberList']
-                ),
-                l(
-                  De,
-                  {
-                    visible: T.value,
-                    knowledge_list: q.value,
-                    agents_list: Q.value,
-                    model_list: ae.value,
-                    record: I.value,
-                    onGetActiveTab: H,
-                    onOk: J,
-                    onCancel: o[3] || (o[3] = (v) => D(null, !1))
-                  },
-                  null,
-                  8,
-                  ['visible', 'knowledge_list', 'agents_list', 'model_list', 'record']
-                )
-              ],
-              64
-            )
-          );
-        }
-      );
-    }
-  },
-  qe = ce(Ke, [['__scopeId', 'data-v-eb0078e7']]),
-  et = {
-    __name: 'PermissionGroup',
-    setup(u) {
-      return (M, b) => (r(), f(_e, null, { default: t(() => [l(ve, { current_label: '用户组' }), l(qe)]), _: 1 }));
-    }
-  };
-export { et as default };

+ 0 - 1
dist/assets/PermissionGroup-WpjxwV0j.css

@@ -1 +0,0 @@
-.membert-config-modal[data-v-a729bb6f]{width:100%;display:flex;justify-content:center}[data-v-a729bb6f] .arco-transfer{width:100%}[data-v-a729bb6f] .arco-transfer-view{width:45%;height:500px}.card-body[data-v-aebb33e9]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-aebb33e9]:first-child{margin-right:16px}.group-page-card[data-v-cc499f93]{height:calc(100% - 56px)}.arco-modal-simple .arco-modal-footer[data-v-cc499f93]{margin-top:0}

+ 0 - 404
dist/assets/PermissionOrganization-ByhFVwBE.js

@@ -1,404 +0,0 @@
-import j from './ContentContainer-BF98H707.js';
-import { _ as A, B as M } from './Modal-5FpMAvV9.js';
-import { T as Q } from './TreeParts-YNkYa4Hd.js';
-import {
-  ab as x,
-  c as $,
-  o as B,
-  g as P,
-  w as l,
-  f as a,
-  j as u,
-  x as E,
-  A as b,
-  r as S,
-  b as G,
-  m as H,
-  ac as J,
-  B as y,
-  a1 as K,
-  d as W,
-  e as F,
-  s as X,
-  i as O,
-  t as T
-} from './index-Q0E3WkDV.js';
-import { a as Y } from './common-C2h3Dl9G.js';
-import { _ as Z } from './_plugin-vue_export-helper-DlAUqK2U.js';
-const q = {
-    __name: 'OrgForm',
-    props: {
-      org_form: {
-        type: Object,
-        required: !0,
-        default: () => ({ parentName: '', status: 0, deptName: '', leader: '', phone: '', address: '' })
-      }
-    },
-    emits: ['statusChange'],
-    setup(r, { emit: _ }) {
-      const m = _,
-        I = r,
-        { org_form: o } = x(I),
-        e = (d) => {
-          m('statusChange', d);
-        };
-      return (d, n) => {
-        const g = $('a-input'),
-          c = $('a-form-item'),
-          U = $('a-switch'),
-          D = $('a-space'),
-          k = $('a-form');
-        return (
-          B(),
-          P(
-            k,
-            { model: u(o), layout: 'horizontal', ref: 'formRef' },
-            {
-              default: l(() => [
-                a(
-                  c,
-                  { field: 'parentName', label: d.$t('permission.org.parent_org'), disabled: '' },
-                  {
-                    default: l(() => [
-                      a(
-                        g,
-                        {
-                          modelValue: u(o).parentName,
-                          'onUpdate:modelValue': n[0] || (n[0] = (i) => (u(o).parentName = i))
-                        },
-                        null,
-                        8,
-                        ['modelValue']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['label']
-                ),
-                a(
-                  c,
-                  { field: 'status', label: d.$t('permission.org.status') },
-                  {
-                    default: l(() => [
-                      a(
-                        U,
-                        {
-                          modelValue: u(o).status,
-                          'onUpdate:modelValue': n[1] || (n[1] = (i) => (u(o).status = i)),
-                          onChange: n[2] || (n[2] = (i) => e(u(o).status)),
-                          'checked-value': '1',
-                          'unchecked-value': '0'
-                        },
-                        null,
-                        8,
-                        ['modelValue']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['label']
-                ),
-                a(
-                  c,
-                  {
-                    field: 'deptName',
-                    label: d.$t('permission.org.org_name'),
-                    rules: [
-                      { required: !0, message: '机构名称必填' },
-                      { maxLength: 50, message: '长度不超过50' }
-                    ]
-                  },
-                  {
-                    default: l(() => [
-                      a(
-                        g,
-                        {
-                          modelValue: u(o).deptName,
-                          'onUpdate:modelValue': n[3] || (n[3] = (i) => (u(o).deptName = i))
-                        },
-                        null,
-                        8,
-                        ['modelValue']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['label']
-                ),
-                a(
-                  c,
-                  {
-                    field: 'leader',
-                    label: d.$t('permission.org.leader'),
-                    rules: [
-                      { required: !0, message: '联系人必填' },
-                      { maxLength: 50, message: '长度不超过50' }
-                    ]
-                  },
-                  {
-                    default: l(() => [
-                      a(
-                        g,
-                        { modelValue: u(o).leader, 'onUpdate:modelValue': n[4] || (n[4] = (i) => (u(o).leader = i)) },
-                        null,
-                        8,
-                        ['modelValue']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['label']
-                ),
-                a(
-                  c,
-                  {
-                    field: 'phone',
-                    label: d.$t('permission.org.phone'),
-                    rules: [
-                      { required: !0, message: '联系电话必填' },
-                      { maxLength: 50, message: '长度不超过50' }
-                    ]
-                  },
-                  {
-                    default: l(() => [
-                      a(
-                        g,
-                        { modelValue: u(o).phone, 'onUpdate:modelValue': n[5] || (n[5] = (i) => (u(o).phone = i)) },
-                        null,
-                        8,
-                        ['modelValue']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['label']
-                ),
-                a(
-                  c,
-                  { field: 'address', label: d.$t('permission.org.address') },
-                  {
-                    default: l(() => [
-                      a(
-                        g,
-                        { modelValue: u(o).address, 'onUpdate:modelValue': n[6] || (n[6] = (i) => (u(o).address = i)) },
-                        null,
-                        8,
-                        ['modelValue']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['label']
-                ),
-                a(c, null, {
-                  default: l(() => [a(D, null, { default: l(() => [E(d.$slots, 'actions')]), _: 3 })]),
-                  _: 3
-                })
-              ]),
-              _: 3
-            },
-            8,
-            ['model']
-          )
-        );
-      };
-    }
-  },
-  V = '/api/dept';
-function ee(r) {
-  return b({ url: `${V}/${r}`, method: 'get' });
-}
-function te(r) {
-  return b({ url: `${V}/status`, method: 'put', data: r });
-}
-function ae(r) {
-  return b({ url: `${V}/edit_dept`, method: 'put', data: r });
-}
-function se(r) {
-  return b({ url: `${V}/dept_parent`, method: 'put', data: r });
-}
-function oe(r) {
-  return b({ url: `${V}/add_dept`, method: 'post', data: r });
-}
-function ne(r) {
-  return b({ url: `${V}/${r}`, method: 'delete' });
-}
-const re = { class: 'organization-container' },
-  le = { class: 'left' },
-  de = { class: 'right' },
-  ie = {
-    __name: 'index',
-    setup(r) {
-      const _ = S(!1),
-        m = S(!0),
-        I = S([]),
-        o = { add_permission: 'system:dept:add', delete_permission: 'system:dept:delete' },
-        e = G({ parentName: '', status: 0, deptName: '', leader: '', phone: '', address: '', orderNum: 0 }),
-        d = async () => {
-          const {
-            code: t,
-            data: { rows: s }
-          } = await Y();
-          t == 200 && (I.value = s);
-        },
-        n = async (t) => {
-          const {
-            data: { data: s }
-          } = await ee(t);
-          (e.deptId = t),
-            (e.parentName = s.parentName),
-            (e.status = s.status),
-            (e.deptName = s.deptName),
-            (e.leader = s.leader),
-            (e.phone = s.phone),
-            (e.address = s.address),
-            (m.value = !0);
-        },
-        g = (t) => {
-          (e.deptId = ''),
-            (e.parentName = t.deptName),
-            (e.parentId = t.deptId),
-            (e.status = 0),
-            (e.deptName = ''),
-            (e.leader = ''),
-            (e.phone = ''),
-            (e.address = ''),
-            (_.value = !0),
-            (m.value = !1);
-        },
-        c = async ({ deptId: t }) => {
-          const { code: s } = await ne(t);
-          s === 200 && y.success({ title: '删除', content: '删除成功' }), d();
-        },
-        U = async (t) => {
-          const s = { deptId: e.deptId[0], status: t },
-            { code: f, msg: p } = await te(s);
-          f === 200
-            ? (y.success({ title: '状态更新', content: '状态更新成功' }), d())
-            : (y.error({ title: '状态更新', content: p }), (e.status = '1'));
-        },
-        D = async () => {
-          const t = { ...e, deptId: m.value && e.deptId ? e.deptId[0] : null },
-            s = m.value ? ae : oe,
-            { code: f } = await s(t);
-          if (f === 200) {
-            const p = m.value ? '编辑' : '新增';
-            y.success({ title: `${p}用户`, content: `${p}成功` }), d(), (_.value = !1);
-          }
-        },
-        k = () => {
-          (e.deptId = null),
-            (e.parentName = ''),
-            (e.status = 0),
-            (e.deptName = ''),
-            (e.leader = ''),
-            (e.phone = ''),
-            (e.address = '');
-        },
-        i = () => {
-          (m.value = !0), (_.value = !1);
-        },
-        z = async ({ dropNode: t, dragNode: s, dropPosition: f }) => {
-          const p = I.value;
-          se({ orderNum: '0', parentId: t.deptId, deptId: s.deptId });
-          const N = (h, v, C) => {
-            h.some((w, L, R) => (w.deptId === v ? (C(w, L, R), !0) : w.children ? N(w.children, v, C) : !1));
-          };
-          N(p, s.deptId, (h, v, C) => {
-            C.splice(v, 1);
-          }),
-            f === 0
-              ? N(p, t.deptId, (h) => {
-                  (h.children = h.children || []), h.children.push(s);
-                })
-              : N(p, t.deptId, (h, v, C) => {
-                  C.splice(f < 0 ? v : v + 1, 0, s);
-                });
-        };
-      return (
-        H(() => {
-          J('system:dept:list') ? d() : y.error({ title: '权限不足', content: '抱歉,您没有权限查看该页面' });
-        }),
-        (t, s) => {
-          const f = $('a-button'),
-            p = $('a-card'),
-            N = K('hasPerm');
-          return (
-            B(),
-            W('div', re, [
-              F('div', le, [
-                a(
-                  Q,
-                  {
-                    treeData: I.value,
-                    title: t.$t('permission.org.organization'),
-                    showLock: !0,
-                    fieldNames: { key: 'deptId', title: 'deptName', children: 'children' },
-                    permission: o,
-                    onNodeClick: n,
-                    onAddBtnClick: g,
-                    onDeleteBtnClick: c,
-                    onDrop: z
-                  },
-                  null,
-                  8,
-                  ['treeData', 'title']
-                )
-              ]),
-              F('div', de, [
-                a(
-                  p,
-                  { title: t.$t('permission.org.details'), style: { height: '100%' } },
-                  {
-                    default: l(() => [
-                      a(
-                        q,
-                        { org_form: e, onStatusChange: U, onSave: D, onReset: k },
-                        {
-                          actions: l(() => [
-                            X(
-                              (B(),
-                              P(f, { onClick: D }, { default: l(() => [O(T(t.$t('permission.org.save')), 1)]), _: 1 })),
-                              [[N, 'system:dept:edit']]
-                            ),
-                            a(f, { onClick: k }, { default: l(() => [O(T(t.$t('permission.org.reset')), 1)]), _: 1 })
-                          ]),
-                          _: 1
-                        },
-                        8,
-                        ['org_form']
-                      )
-                    ]),
-                    _: 1
-                  },
-                  8,
-                  ['title']
-                )
-              ]),
-              a(
-                A,
-                { visible: _.value, onOk: D, onCancel: i, title: t.$t('permission.org.add') },
-                { default: l(() => [a(q, { org_form: e }, null, 8, ['org_form'])]), _: 1 },
-                8,
-                ['visible', 'title']
-              )
-            ])
-          );
-        }
-      );
-    }
-  },
-  ue = Z(ie, [['__scopeId', 'data-v-5fddc97d']]),
-  he = {
-    __name: 'PermissionOrganization',
-    setup(r) {
-      return (_, m) => (B(), P(j, null, { default: l(() => [a(M, { current_label: '机构' }), a(ue)]), _: 1 }));
-    }
-  };
-export { he as default };

+ 1 - 0
dist/assets/PermissionOrganization-C1w777Id.css

@@ -0,0 +1 @@
+.organization-container[data-v-92ccccb1]{display:flex;justify-content:space-between;height:calc(100% - 56px);width:100%}.left[data-v-92ccccb1]{width:30%;height:100%;background-color:#fff}.right[data-v-92ccccb1]{width:69%;height:100%;background-color:#fff}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionOrganization-CHoDFSbb.js


+ 0 - 1
dist/assets/PermissionOrganization-D-coqY4D.css

@@ -1 +0,0 @@
-.organization-container[data-v-c84b55de]{display:flex;justify-content:space-between;height:calc(100% - 56px);width:100%}.left[data-v-c84b55de]{width:30%;height:100%;background-color:#fff}.right[data-v-c84b55de]{width:69%;height:100%;background-color:#fff}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionResource-BYTowqKi.js


+ 1 - 0
dist/assets/PermissionResource-D6ggdQZ8.css

@@ -0,0 +1 @@
+svg[data-v-9b05c37a]{font-size:28px}.icon-box[data-v-9b05c37a]{height:60px;width:60px;display:flex;justify-content:center;align-items:center;border-radius:12px;border:1px solid #d9d9d9;cursor:pointer}.icons-grid[data-v-9b05c37a]{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem}.icon-item[data-v-9b05c37a]{display:flex;cursor:pointer;text-align:center;flex-direction:column;align-items:center;justify-content:center}.icon-item[data-v-9b05c37a]:hover{background-color:#f0f0f0}.resourceanization-container[data-v-24bb1c8f]{display:flex;justify-content:space-between;height:calc(100% - 56px);width:100%}.left[data-v-24bb1c8f]{width:30%;height:100%;background-color:#fff;overflow-y:auto}.right[data-v-24bb1c8f]{width:69%;height:100%;background-color:#fff}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionResource-DNa98up8.js


+ 0 - 1
dist/assets/PermissionResource-LpAzLL3E.css

@@ -1 +0,0 @@
-svg[data-v-def3b5c7]{font-size:28px}.icon-box[data-v-def3b5c7]{height:60px;width:60px;display:flex;justify-content:center;align-items:center;border-radius:12px;border:1px solid #d9d9d9;cursor:pointer}.icons-grid[data-v-def3b5c7]{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem}.icon-item[data-v-def3b5c7]{display:flex;cursor:pointer;text-align:center;flex-direction:column;align-items:center;justify-content:center}.icon-item[data-v-def3b5c7]:hover{background-color:#f0f0f0}.organization-container[data-v-37e24a41]{display:flex;justify-content:space-between;height:calc(100% - 56px);width:100%}.left[data-v-37e24a41]{width:30%;height:100%;background-color:#fff;overflow-y:auto}.right[data-v-37e24a41]{width:69%;height:100%;background-color:#fff}

+ 1 - 0
dist/assets/PermissionRole-Bzj9eJ1a.css

@@ -0,0 +1 @@
+.card-body[data-v-b5f0f870]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-b5f0f870]:first-child{margin-right:16px}.card-body[data-v-88ea36f1]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-88ea36f1]:first-child{margin-right:16px}.role-page-card[data-v-380f5823]{height:calc(100% - 56px)}

+ 0 - 1
dist/assets/PermissionRole-CojaZHKZ.css

@@ -1 +0,0 @@
-.card-body[data-v-ecd3ab29]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-ecd3ab29]:first-child{margin-right:16px}.card-body[data-v-5fe89237]{width:460px;height:500px;overflow-y:auto}.card-body[data-v-5fe89237]:first-child{margin-right:16px}.role-page-card[data-v-d8b0d51e]{height:calc(100% - 56px)}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionRole-Ctven1TG.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/PermissionRole-luKEvPkZ.js


+ 0 - 1
dist/assets/Profiles-BMNvccrb.js

@@ -1 +0,0 @@
-import o from"./LayoutExperience-BPtFvXmF.js";import r from"./ContentContainer-C0A_9vcj.js";import{o as a,g as i,w as e,f as p,e as s}from"./index-CPAQd6yH.js";import"./Header-BWv2pNmP.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-ImBINjYy.js";/* empty css                                                                         */const C={__name:"Profiles",setup(m){return(n,t)=>(a(),i(o,null,{default:e(()=>[p(r,null,{default:e(()=>t[0]||(t[0]=[s("div",{class:"profile"},"用户中心",-1)])),_:1})]),_:1}))}};export{C as default};

+ 1 - 0
dist/assets/Profiles-CqSxwZc1.js

@@ -0,0 +1 @@
+import o from"./LayoutExperience-C8XAVRo-.js";import r from"./ContentContainer-D0EEvd1Y.js";import{o as a,g as i,w as e,f as p,e as s}from"./index-CTXpubiH.js";import"./Header-D42NFFj_.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-C2Q12F7l.js";/* empty css                                                                         */const C={__name:"Profiles",setup(m){return(n,t)=>(a(),i(o,null,{default:e(()=>[p(r,null,{default:e(()=>t[0]||(t[0]=[s("div",{class:"profile"},"用户中心",-1)])),_:1})]),_:1}))}};export{C as default};

+ 1 - 1
dist/assets/RagFlowChat-CS493Klx.js → dist/assets/RagFlowChat-CoabH5he.js

@@ -1 +1 @@
-import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,d as o}from"./index-CPAQd6yH.js";const r={},c={src:"http://192.168.20.116/chatbot/q8F58WkrUB2j4BcK",style:{width:"100%",height:"100%","min-height":"700px"},frameborder:"0",allow:"microphone"};function a(n,s){return e(),o("iframe",c)}const _=t(r,[["render",a]]);export{_ as default};
+import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,d as o}from"./index-CTXpubiH.js";const r={},c={src:"http://192.168.20.116/chatbot/q8F58WkrUB2j4BcK",style:{width:"100%",height:"100%","min-height":"700px"},frameborder:"0",allow:"microphone"};function a(n,s){return e(),o("iframe",c)}const _=t(r,[["render",a]]);export{_ as default};

+ 1 - 1
dist/assets/Register-CTO1R0S-.js → dist/assets/Register-BVNWkICW.js

@@ -1 +1 @@
-import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{d as r,o}from"./index-CPAQd6yH.js";const t={};function c(n,s){return o(),r("div",null,"注册")}const f=e(t,[["render",c]]);export{f as default};
+import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{d as r,o}from"./index-CTXpubiH.js";const t={};function c(n,s){return o(),r("div",null,"注册")}const f=e(t,[["render",c]]);export{f as default};

+ 1 - 0
dist/assets/Settings-BAQgqgKG.js

@@ -0,0 +1 @@
+import o from"./LayoutExperience-C8XAVRo-.js";import r from"./ContentContainer-D0EEvd1Y.js";import{o as a,g as s,w as e,f as i,e as n}from"./index-CTXpubiH.js";import"./Header-D42NFFj_.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-C2Q12F7l.js";/* empty css                                                                         */const B={__name:"Settings",setup(p){return(m,t)=>(a(),s(o,null,{default:e(()=>[i(r,null,{default:e(()=>t[0]||(t[0]=[n("div",{class:"settings"},"设置",-1)])),_:1})]),_:1}))}};export{B as default};

+ 0 - 1
dist/assets/Settings-CNmoTlpo.js

@@ -1 +0,0 @@
-import o from"./LayoutExperience-BPtFvXmF.js";import r from"./ContentContainer-C0A_9vcj.js";import{o as a,g as s,w as e,f as i,e as n}from"./index-CPAQd6yH.js";import"./Header-BWv2pNmP.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./use-current-user-ImBINjYy.js";/* empty css                                                                         */const B={__name:"Settings",setup(p){return(m,t)=>(a(),s(o,null,{default:e(()=>[i(r,null,{default:e(()=>t[0]||(t[0]=[n("div",{class:"settings"},"设置",-1)])),_:1})]),_:1}))}};export{B as default};

+ 1 - 0
dist/assets/TreeParts-BzDeJdnK.css

@@ -0,0 +1 @@
+.tree-card[data-v-92e7e299]{width:100%;overflow-y:auto}.icon-plus[data-v-92e7e299]{position:absolute;right:60px;font-size:12px;top:10px;color:#3370ff}.icon-delete[data-v-92e7e299]{position:absolute;right:40px;font-size:12px;top:10px;color:#3370ff}

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/TreeParts-CvxsGRVj.js


+ 0 - 1
dist/assets/TreeParts-DsVOya6m.css

@@ -1 +0,0 @@
-.tree-card[data-v-6a63f15c]{width:100%;overflow-y:auto}.icon-plus[data-v-6a63f15c]{position:absolute;right:60px;font-size:12px;top:10px;color:#3370ff}.icon-delete[data-v-6a63f15c]{position:absolute;right:40px;font-size:12px;top:10px;color:#3370ff}

+ 1 - 1
dist/assets/Xiaoshu-DcRlByPc.js → dist/assets/Xiaoshu-DaaRCvRD.js

@@ -1,4 +1,4 @@
-import{u as B,r,m as L,o as s,g as i,w as v,d as y,F as U,h as u,j as c,al as l,L as e}from"./index-CPAQd6yH.js";import"./Header.vue_vue_type_style_index_0_scoped_52329e45_lang-07LWVCsZ.js";import{u as C}from"./use-current-user-ImBINjYy.js";/* empty css                                                                         */import R from"./ContentContainer-C0A_9vcj.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const W={__name:"Xiaoshu",props:{},setup(p){const d=B(),{bus:_}=l,m=p,t=r(!1),n=r([]),f=e("XIAOSHU_URL"),h=e("WEBSOCKET_BASE_URL"),x=e("API_BASE_URL"),b=e("ASSETS_BASE_URL"),S={padding:0};return L(()=>{const o=C(),a=o.token,g={userName:o.username,token:a},k=JSON.stringify(g),A=`
+import{u as B,r,m as L,o as s,g as i,w as v,d as y,F as U,h as u,j as c,al as l,L as e}from"./index-CTXpubiH.js";import"./Header.vue_vue_type_style_index_0_scoped_2e420fdc_lang-BFP9Vtxc.js";import{u as C}from"./use-current-user-C2Q12F7l.js";/* empty css                                                                         */import R from"./ContentContainer-D0EEvd1Y.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const W={__name:"Xiaoshu",props:{},setup(p){const d=B(),{bus:_}=l,m=p,t=r(!1),n=r([]),f=e("XIAOSHU_URL"),h=e("WEBSOCKET_BASE_URL"),x=e("API_BASE_URL"),b=e("ASSETS_BASE_URL"),S={padding:0};return L(()=>{const o=C(),a=o.token,g={userName:o.username,token:a},k=JSON.stringify(g),A=`
     window.WEBSOCKET_BASE_URL = '${h}';
     window.API_BASE_URL = '${x}';
     window.ASSETS_BASE_URL = '${b}';

+ 1 - 1
dist/assets/api-conversation-board-BSfcBJ8i.js → dist/assets/api-conversation-board-B7_57MSo.js

@@ -1 +1 @@
-import{A as m}from"./index-CPAQd6yH.js";const g=t=>{const s="/api/user/menus",a={};return"search"in t&&t.search&&(a.keyword=t.search),new Promise((o,i)=>{m({url:s,method:"get",params:a}).then(e=>{if(e.code/1===200){const c=e.data,r=[];if(c&&Array.isArray(c)){const h=c.length;for(let d=0;d<h;d++){const n=c[d];r.push({name:n.name,icon:n.icon,img:n.img,description:n.desc,id:n.id,agentType:n.agent_type,menuId:n.menuId})}}o({code:e.code,data:r,msg:e.msg})}else o(e)}).catch(i)})},l=t=>{const s="/api/label/list",a={};return"search"in t&&t.search&&(a.keyword=t.search),new Promise((o,i)=>{m({url:s,method:"get",params:a}).then(e=>{e.code/1===200?o({code:e.code,data:e.data.rows,msg:e.msg}):o(e)}).catch(i)})};export{g as a,l as c};
+import{A as m}from"./index-CTXpubiH.js";const g=t=>{const s="/api/user/menus",a={};return"search"in t&&t.search&&(a.keyword=t.search),new Promise((o,i)=>{m({url:s,method:"get",params:a}).then(e=>{if(e.code/1===200){const c=e.data,r=[];if(c&&Array.isArray(c)){const h=c.length;for(let d=0;d<h;d++){const n=c[d];r.push({name:n.name,icon:n.icon,img:n.img,description:n.desc,id:n.id,agentType:n.agent_type,menuId:n.menuId})}}o({code:e.code,data:r,msg:e.msg})}else o(e)}).catch(i)})},l=t=>{const s="/api/label/list",a={};return"search"in t&&t.search&&(a.keyword=t.search),new Promise((o,i)=>{m({url:s,method:"get",params:a}).then(e=>{e.code/1===200?o({code:e.code,data:e.data.rows,msg:e.msg}):o(e)}).catch(i)})};export{g as a,l as c};

+ 1 - 1
dist/assets/common-BMgB8EEc.js → dist/assets/common-pfD_6tMj.js

@@ -1 +1 @@
-import{A as e}from"./index-CPAQd6yH.js";function a(){return e({url:"/api/role/list",method:"get",params:{current:1,pageSize:999}})}function i(){return e({url:"/api/dept/list",method:"get"})}function s(){return e({url:"/api/knowledge/list",method:"get",params:{current:1,pageSize:999}})}function l(){return e({url:"/api/dialog/list",method:"get",params:{current:1,pageSize:999}})}export{a as Q,i as a,s as b,l as c};
+import{A as e}from"./index-CTXpubiH.js";function a(){return e({url:"/api/role/list",method:"get",params:{current:1,pageSize:999}})}function i(){return e({url:"/api/dept/list",method:"get"})}function s(){return e({url:"/api/knowledge/list",method:"get",params:{current:1,pageSize:999}})}function l(){return e({url:"/api/dialog/list",method:"get",params:{current:1,pageSize:999}})}export{a as Q,i as a,s as b,l as c};

File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index-CPAQd6yH.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/index-CTXpubiH.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/assets/knowledge-ye0pH4Ir.js


+ 1 - 1
dist/assets/resource-CW4Z0cLL.js → dist/assets/resource-BYkdYiSL.js

@@ -1 +1 @@
-import{A as t}from"./index-CPAQd6yH.js";const r="/api/menu";function o(){return t({url:`${r}/tree_select`,method:"get"})}function n(e){return t({url:`${r}/${e}`,method:"get"})}function s(e){return t({url:`${r}/status`,method:"put",data:e})}function a(e){return t({url:`${r}/edit_menu`,method:"put",data:e})}function c(e){return t({url:`${r}/add_menu`,method:"post",data:e})}function d(e){return t({url:`${r}/${e}`,method:"delete"})}export{c as C,d as D,o as Q,s as U,n as a,a as b};
+import{A as t}from"./index-CTXpubiH.js";const r="/api/menu";function o(){return t({url:`${r}/tree_select`,method:"get"})}function n(e){return t({url:`${r}/${e}`,method:"get"})}function s(e){return t({url:`${r}/status`,method:"put",data:e})}function a(e){return t({url:`${r}/edit_menu`,method:"put",data:e})}function c(e){return t({url:`${r}/add_menu`,method:"post",data:e})}function d(e){return t({url:`${r}/${e}`,method:"delete"})}export{c as C,d as D,o as Q,s as U,n as a,a as b};

+ 1 - 1
dist/assets/use-all-agents-M-GpcpUQ.js → dist/assets/use-all-agents-Dak-gZzJ.js

@@ -1 +1 @@
-import{D as a,X as l}from"./index-CPAQd6yH.js";import{a as r,j as i}from"./utils-DygyT0EC.js";function u(s){const t=i(s);l.setItem(t)}function c(){const s=l.getItem(),t=r(s);return t===null?[]:t}const h=a("all_agents",{state:()=>({agents:[]}),actions:{getList(){if(this.agents.length===0){const t=c();return this.agents=t,this.agents}return this.agents},getInfo(s){if(!s)return null;const t=this.getList(),o=t.length;for(let e=0;e<o;e++){const n=t[e];if(n.id===s)return n}return null},setList(s){const t=r(i(s));this.agents=t,u(t)}}});export{h as u};
+import{D as a,X as l}from"./index-CTXpubiH.js";import{a as r,j as i}from"./utils-Du4OjJfW.js";function u(s){const t=i(s);l.setItem(t)}function c(){const s=l.getItem(),t=r(s);return t===null?[]:t}const h=a("all_agents",{state:()=>({agents:[]}),actions:{getList(){if(this.agents.length===0){const t=c();return this.agents=t,this.agents}return this.agents},getInfo(s){if(!s)return null;const t=this.getList(),o=t.length;for(let e=0;e<o;e++){const n=t[e];if(n.id===s)return n}return null},setList(s){const t=r(i(s));this.agents=t,u(t)}}});export{h as u};

+ 1 - 1
dist/assets/use-current-user-ImBINjYy.js → dist/assets/use-current-user-C2Q12F7l.js

@@ -1 +1 @@
-import{A as o,D as c,S as i,ak as m,am as d}from"./index-CPAQd6yH.js";function g(e){return o({url:"/api/auth/v2/login",method:"post",data:e})}function f(e){return o({url:"/api/auth/v2/register",method:"post",data:e})}function k(e){return o({url:`/api/auth/v2/sync?userFlag=${e}`,method:"get"})}function h(){return o({url:"/api/user/user_info",method:"get"})}function p(){return o({url:"/api/user/user_routers",method:"get"})}const y=c("current_user",{persist:{enabled:!0,strategies:[{key:"info",storage:localStorage,paths:["username"]}]},state:()=>({name:"Jack",token_type:"",token:i.get(),username:"",nickname:"",dept:[],roles:[],permissions:[],user:{}}),actions:{updateName(e){this.name=e},toLogin(e){const{username:s,password:r}=e;return new Promise((n,a)=>{g({username:s,password:r}).then(t=>{t.code==200&&t.data.access_token.length?(this.token=t.data.access_token,this.token_type=t.data.token_type,this.username=t.data.username,this.nickname=t.data.nickname,i.set(t.data.access_token),n(t.msg),this.getInfo()):a(t.msg)}).catch(t=>{a(t)})})},async getRoutesList(){const{code:e,data:{routers:s}}=await p();if(e===200)return new Promise((r,n)=>{try{m.setItem(JSON.stringify(s)),r()}catch(a){n(a)}})},async getUserInfo(){const{code:e,data:{permissions:s,dept:r,roles:n}}=await h();if(e===200)return new Promise((a,t)=>{try{d.setItem(JSON.stringify({permissions:s,dept:r,roles:n})),a()}catch(u){t(u)}})}}});export{k as a,f as r,y as u};
+import{A as o,D as c,S as i,ak as m,am as d}from"./index-CTXpubiH.js";function g(e){return o({url:"/api/auth/v2/login",method:"post",data:e})}function f(e){return o({url:"/api/auth/v2/register",method:"post",data:e})}function k(e){return o({url:`/api/auth/v2/sync?userFlag=${e}`,method:"get"})}function h(){return o({url:"/api/user/user_info",method:"get"})}function p(){return o({url:"/api/user/user_routers",method:"get"})}const y=c("current_user",{persist:{enabled:!0,strategies:[{key:"info",storage:localStorage,paths:["username"]}]},state:()=>({name:"Jack",token_type:"",token:i.get(),username:"",nickname:"",dept:[],roles:[],permissions:[],user:{}}),actions:{updateName(e){this.name=e},toLogin(e){const{username:s,password:r}=e;return new Promise((n,a)=>{g({username:s,password:r}).then(t=>{t.code==200&&t.data.access_token.length?(this.token=t.data.access_token,this.token_type=t.data.token_type,this.username=t.data.username,this.nickname=t.data.nickname,i.set(t.data.access_token),n(t.msg),this.getInfo()):a(t.msg)}).catch(t=>{a(t)})})},async getRoutesList(){const{code:e,data:{routers:s}}=await p();if(e===200)return new Promise((r,n)=>{try{m.setItem(JSON.stringify(s)),r()}catch(a){n(a)}})},async getUserInfo(){const{code:e,data:{permissions:s,dept:r,roles:n}}=await h();if(e===200)return new Promise((a,t)=>{try{d.setItem(JSON.stringify({permissions:s,dept:r,roles:n})),a()}catch(u){t(u)}})}}});export{k as a,f as r,y as u};

+ 1 - 1
dist/assets/utils-DygyT0EC.js → dist/assets/utils-Du4OjJfW.js

@@ -1 +1 @@
-import{L as c}from"./index-CPAQd6yH.js";const a=t=>JSON.stringify(t),f=t=>{try{return JSON.parse(t)}catch(e){return console.log(e),null}},p=(t,e,o)=>{if(typeof t!="function")return new Error("debounce func is not a function");typeof o===void 0&&(o=!1);let n;return function(...r){const s=this;n&&clearTimeout(n),o&&!n&&t.apply(s,r),n=setTimeout(function(){n=null,o||t.apply(s,r)},e)}},w=t=>{{const e=c("ASSETS_BASE_URL");if(t.indexOf("http")===0){const n=new URL(t).origin;return t.replace(n,e)}else return`${e}${t}`}},y=(t,e)=>{if(typeof t!="function")throw new Error(`${t} is not a function`);let o=0,n=null;return function(...r){const s=this,l=e-(new Date-o);l<=0?(t.call(s,...r),o=new Date,clearTimeout(n),n=null):n||(n=setTimeout(function(){clearTimeout(n),n=null,t.call(s,...r),o=new Date},l))}};export{f as a,p as b,y as c,w as f,a as j};
+import{L as c}from"./index-CTXpubiH.js";const a=t=>JSON.stringify(t),f=t=>{try{return JSON.parse(t)}catch(e){return console.log(e),null}},p=(t,e,o)=>{if(typeof t!="function")return new Error("debounce func is not a function");typeof o===void 0&&(o=!1);let n;return function(...r){const s=this;n&&clearTimeout(n),o&&!n&&t.apply(s,r),n=setTimeout(function(){n=null,o||t.apply(s,r)},e)}},w=t=>{{const e=c("ASSETS_BASE_URL");if(t.indexOf("http")===0){const n=new URL(t).origin;return t.replace(n,e)}else return`${e}${t}`}},y=(t,e)=>{if(typeof t!="function")throw new Error(`${t} is not a function`);let o=0,n=null;return function(...r){const s=this,l=e-(new Date-o);l<=0?(t.call(s,...r),o=new Date,clearTimeout(n),n=null):n||(n=setTimeout(function(){clearTimeout(n),n=null,t.call(s,...r),o=new Date},l))}};export{f as a,p as b,y as c,w as f,a as j};

+ 3 - 3
dist/i18n/lang-en.json

@@ -266,7 +266,7 @@
       "roles": "Roles"
     },
     "org": {
-      "organization": "Organization",
+      "tree_title": "Organization",
       "details": "Details",
       "add": "Add",
       "parent_org": "Parent Organization",
@@ -279,12 +279,12 @@
       "reset": "Reset"
     },
     "resource": {
-      "organization": "Resource",
+      "tree_title": "Resource",
       "details": "Details",
       "add": "Add",
       "parent_org": "Parent Resource",
       "status": "Resource Status",
-      "org_name": "Resource Name",
+      "resource_name": "Resource Name",
       "leader": "Leader",
       "phone": "Phone",
       "address": "Resource Address",

+ 3 - 3
dist/i18n/lang-zh.json

@@ -266,7 +266,7 @@
       "roles": "角色"
     },
     "org": {
-      "organization": "机构",
+      "tree_title": "机构",
       "details": "详情",
       "add": "新增",
       "parent_org": "上级机构",
@@ -279,12 +279,12 @@
       "reset": "重置"
     },
     "resource": {
-      "organization": "资源",
+      "tree_title": "资源",
       "details": "详情",
       "add": "新增",
       "parent_org": "上级资源",
       "status": "资源状态",
-      "org_name": "资源名称",
+      "resource_name": "资源名称",
       "leader": "联系人",
       "phone": "联系电话",
       "address": "资源地址",

+ 1 - 1
dist/index.html

@@ -6,7 +6,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>大模型2.0</title>
     <script type="module" src="/config.js"></script>
-    <script type="module" crossorigin src="/assets/index-CPAQd6yH.js"></script>
+    <script type="module" crossorigin src="/assets/index-CTXpubiH.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-VA7QPrnA.css">
   </head>
   <body>

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini