PageSourceSearch

http://mixlinker.com/chunks/detail-05151055.js

js mixlinker.com collected 2026-10-08 20:26:33 UTC 7,378 bytes, 1 lines download raw bytes

1import{u as K}from"./vue-router-bcd3b3d8.js";import{e as O}from"./empower-modal-d5909ff8.js";import{f as F}from"./analy_script-c48fb00e.js";import{s as A,A as _,D as J,k as U,j as L,_ as V,r as $,o as m,a as S,d as c,c as s,bJ as a,Y as i,f as u,g as w,e as z,t as l,K as W,b9 as E}from"./@vue-d4698f71.js";import{_ as Y}from"../index-519afb36.js";import"./menu-8bf73cfe.js";import"./pinia-e8266022.js";import"./vue-demi-71ba0ef2.js";import"./pro-82590c10.js";import"./ant-design-vue-aed2d464.js";import"./@babel-9744bea5.js";import"./@ant-design-ff1c9763.js";import"./vue-d080cb1e.js";import"./@ctrl-7541abaa.js";import"./resize-observer-polyfill-83c533c4.js";import"./vue-types-13ea99f7.js";import"./dom-align-ecb06dd6.js";import"./lodash-es-6d1fdea6.js";import"./dayjs-bcdf9cd5.js";import"./async-validator-dee29e8b.js";import"./scroll-into-view-if-needed-6b992d05.js";import"./compute-scroll-into-view-183f845a.js";import"./lodash-5da30efc.js";import"./utils-511c6d2e.js";import"./vue-i18n-19a7264a.js";import"./@intlify-b6d93b1b.js";import"./axios-55a4e3d8.js";import"./mitt-970afded.js";import"./@vueuse-f75fad33.js";import"./qrcode-79d680f4.js";import"./dijkstrajs-f906a09e.js";import"./ag-grid-community-a59f2518.js";import"./ag-grid-vue3-d175f308.js";import"./@wangeditor-20052aa1.js";const q={class:"flex"},G={__name:"application-list",props:["object"],setup(M,{expose:j}){const D=M,{proxy:t}=A(),o=_(null),N=_(null),p=J({...t.config.pagination}),e=_(3),h=[{label:t.$t("company.application.id"),value:"id",type:"input"},{label:t.$t("company.application.name"),value:"name",type:"input"}],r=_([{field:"id",headerName:t.$t("company.application.id")},{field:"name",headerName:t.$t("company.application.name")},{field:"alias",headerName:t.$t("company.application.alias")},{field:"logo",headerName:t.$t("block.logo"),cellRenderer:"ag-local-icon2"},{field:"created",headerName:t.$t("company.application.auth_time")}]),v=_([{field:"id",headerName:t.$t("company.application.id")},{field:"alias",headerName:t.$t("company.application.alias")},{field:"name",headerName:t.$t("company.application.name")},{field:"logo",headerName:t.$t("block.logo"),cellRenderer:"ag-local-icon2"},{field:"created",headerName:t.$t("company.application.auth_time")}]),f=_([]);U(()=>{b()}),L(e,y=>{p.current=1,b()});const k=(y,n)=>{p.current=y,p.pageSize=n,b()},x=()=>{p.current=1,b()},P=()=>{p.current=1,b()},b=()=>{const{where_and_mixtop:y}=F({mix_top_operation:o});let n=e.value==3?"get_slave_company_shortcut":"get_slave_company_mobile_shortcut",g={where_and:y,page_index:p.current,page_size:p.pageSize,namespace:D.object.namespace};t.api.post(n,g).then(C=>{f.value=C.result.result.data,p.total=C.result.result.total_records})},B=_(null),T=y=>{let n={namespace:D.object.namespace,alias:y.alias};t.api.post("disable_slave_company_shortcut",n).then(g=>{p.total%p.pageSize==1&&p.current>1&&p.current--,g.code===200&&g.result.code===200&&(b(),t.$message.success(t.$t("success")))})};return V(()=>{b()}),j({handleDelete:T,reload:P}),(y,n)=>{const g=$("a-radio-button"),C=$("a-radio-group"),I=$("mixTopOperation"),R=$("MixAgrid");return m(),S("div",null,[c("div",q,[s(C,{value:e.value,"onUpdate:value":n[0]||(n[0]=d=>e.value=d),"button-style":"solid",class:"mr-[12px]"},{default:a(()=>[s(g,{value:3},{default:a(()=>n[5]||(n[5]=[i("PC")])),_:1}),s(g,{value:2},{default:a(()=>n[6]||(n[6]=[i("APP")])),_:1})]),_:1},8,["value"]),s(I,{ref_key:"mix_top_operation",ref:o,onSearch:x,onReload:P,searchField:h},null,512)]),e.value===3?(m(),u(R,{key:0,columnDefs:r.value,"onUpdate:columnDefs":n[1]||(n[1]=d=>r.value=d),rowData:f.value,"onUpdate:rowData":n[2]||(n[2]=d=>f.value=d),ref_key:"ag_grid",ref:N,columWithStorageName:"company_detail_applist_pc",pager:p,onPageChange:k},null,8,["columnDefs","rowData","pager"])):w("",!0),e.value===2?(m(),u(R,{key:1,columnDefs:v.value,"onUpdate:columnDefs":n[3]||(n[3]=d=>v.value=d),rowData:f.value,"onUpdate:rowData":n[4]||(n[4]=d=>f.value=d),ref_key:"ag_grid",ref:N,columWithStorageName:"company_detail_applist_mob",pager:p,onPageChange:k},null,8,["columnDefs","rowData","pager"])):w("",!0),s(O,{ref_key:"empowerModalRef",ref:B},null,512)])}}};const H={class:"mix-container flex flex-1"},Q={class:"container-left"},X={class:"detail-container container-right"},Z={key:0,class:"right-detail"},ee={class:"mix-detail-block"},ae={class:"title-wrap"},te={class:"title"},oe={class:"block-item"},le={__name:"detail",setup(M){const{proxy:j}=A(),D=K(),t=_("base"),o=_({});U(()=>{N()});const N=()=>{j.api.post("company_item",{id:Number(D.params.id)}).then(e=>{o.value=e.result})},p=e=>{t.value=e};return V(()=>{N()}),(e,h)=>{const r=$("a-descriptions-item"),v=$("a-tag"),f=$("a-descriptions");return m(),S("div",H,[c("div",Q,[c("div",{class:z(["menu",{active:t.value==="base"}]),onClick:h[0]||(h[0]=k=>p("base"))},l(e.$t("company.basic_info")),3),c("div",{class:z(["menu",{active:t.value==="empower"}]),onClick:h[1]||(h[1]=k=>p("empower"))},l(e.$t("company.empower_application")),3)]),c("div",X,[t.value==="base"?(m(),S("div",Z,[c("div",ee,[c("div",ae,[c("div",te,[c("b",null,l(e.$t("base_info")),1)])]),c("div",oe,[o.value?(m(),u(f,{key:0,bordered:""},{default:a(()=>[s(r,{label:e.$t("company.id")},{default:a(()=>[i(l(o.value.id),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.company_name")},{default:a(()=>[i(l(o.value.company_name),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.alias")},{default:a(()=>[i(l(o.value.alias),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.namespace")},{default:a(()=>[i(l(o.value.namespace+".mixyun.com"),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.is_active")},{default:a(()=>[o.value.is_examine===1?(m(),u(v,{key:0,color:"green"},{default:a(()=>[i(l(e.$t("pass")),1)]),_:1})):(m(),u(v,{key:1,color:"red"},{default:a(()=>[i(l(e.$t("notpass")),1)]),_:1}))]),_:1},8,["label"]),s(r,{label:e.$t("company.status")},{default:a(()=>[o.value.is_active===1?(m(),u(v,{key:0,color:"green"},{default:a(()=>
1[i(l(e.$t("vaild")),1)]),_:1})):(m(),u(v,{key:1,color:"red"},{default:a(()=>[i(l(e.$t("invalild")),1)]),_:1}))]),_:1},8,["label"]),s(r,{label:e.$t("company.industry")},{default:a(()=>[i(l(o.value.industry),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.mobile")},{default:a(()=>[i(l(o.value.mobile),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.email")},{default:a(()=>[i(l(o.value.email),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.audit_at")},{default:a(()=>[i(l(o.value.examine_time),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.regist_at")},{default:a(()=>[i(l(o.value.created_at),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.expiration_time")},{default:a(()=>[i(l(o.value.expire_time),1)]),_:1},8,["label"]),o.value.tag?(m(),u(r,{key:0,label:e.$t("company.label")},{default:a(()=>[(m(!0),S(W,null,E(JSON.parse(o.value.tag),(k,x)=>(m(),u(v,{color:"blue",key:x},{default:a(()=>[i(l(k),1)]),_:2},1024))),128))]),_:1},8,["label"])):w("",!0),s(r,{label:e.$t("company.namespaces")},{default:a(()=>[i(l(o.value.namespace),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.node")},{default:a(()=>[i(l(o.value.node),1)]),_:1},8,["label"]),s(r,{label:e.$t("company.description"),span:3},{default:a(()=>[i(l(o.value.description),1)]),_:1},8,["label"])]),_:1})):w("",!0)])])])):w("",!0),t.value==="empower"?(m(),u(G,{key:1,object:o.value},null,8,["object"])):w("",!0)])])}}},Ie=Y(le,[["__scopeId","data-v-c1cc0231"]]);export{Ie as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.