PageSourceSearch

https://xg.jxjsxy.edu.cn/js/aikeywordsadvice-BrBF7GIw.js

js jxjsxy.edu.cn collected 2026-10-07 19:20:50 UTC 9,941 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-CrDpbf3h.js","js/@element-plus-CDHBip47.js","js/@vue-NlNvFkYI.js","js/@babel-BapNebd-.js","js/vue3-online-signature-N-3GJQBA.js","css/vue3-online-signature-D17tLoS7.css"])))=>i.map(i=>d[i]);
2import{_ as J}from"./jspdf-Q811qlh1.js";import{q as v,a as K}from"./index-DT6sm0jZ.js";import{I as X}from"./baseSelect-DhngBlP8.js";import{E as d,d as A}from"./element-plus-DJuupK7a.js";import{d as L,g as N,h as x,l as Z,al as s,e as p,o as m,_ as o,s as l,k as y,Y as ee,a0 as f,a as B,i as E,aG as te,c as oe,F as ae,j as re}from"./@vue-NlNvFkYI.js";import"./@babel-BapNebd-.js";import"./fflate-5yQ9ouor.js";import"./vue-router-CG008jyV.js";import"./vue-i18n-CkGennPb.js";import"./@intlify-mN9fpFou.js";import"./vue-CpbIeQg4.js";import"./pinia-BF3CpgMc.js";import"./js-base64-BbY-I90a.js";import"./vxe-table-kplhxq2i.js";import"./xe-utils-CcosdKrj.js";import"./dom-zindex-DlWB42XF.js";import"./axios-BtuGy7By.js";import"./js-md5-B4ePrH8J.js";import"./crypto-js-DrPvn4Xy.js";import"./qs-BbfDP0xe.js";import"./side-channel-Bj7Qwmdm.js";import"./get-intrinsic-gH0OeWJ1.js";import"./has-symbols-CABd5qHC.js";import"./has-proto-CpIZBmUT.js";import"./function-bind-C4RYm_-a.js";import"./has-D2ofp1JE.js";import"./call-bind-7ir4MDz-.js";import"./object-inspect-xVgStMIu.js";import"./nprogress-BH6D5LVX.js";import"./mitt-DJ65BbbF.js";import"./@kjgl77-_4mm9_72.js";import"./@element-plus-CDHBip47.js";import"./vue-grid-layout-Bv2k2tnX.js";import"./vue-plugin-hiprint-CLcszzcE.js";import"./jquery-DOjtwcDP.js";import"./jsbarcode-BfPiqcla.js";import"./bwip-js-DgQ6UNrg.js";import"./socket.io-client-C_RDE86t.js";import"./engine.io-client-9Kp6USsf.js";import"./engine.io-parser-B_p2_61x.js";import"./@socket.io-DBWaY7dt.js";import"./debug-CRTpGwJb.js";import"./ms-CzQ2E3wO.js";import"./socket.io-parser-CDJQo1Gr.js";import"./html2canvas-DTx7LZy1.js";import"./canvg-Ahf8eeRj.js";import"./core-js-ORXj8cVN.js";import"./raf-54aU2eK3.js";import"./performance-now-DzowmezO.js";import"./rgbcolor-DwDHcSiN.js";import"./svg-pathdata-hos9PJBR.js";import"./stackblur-canvas-D67oNEks.js";import"./vue3-online-signature-N-3GJQBA.js";import"./lodash-es-S0Y0Up6J.js";import"./@vueuse-CgDlxGnq.js";import"./@sxzz-C5az9QE8.js";import"./@ctrl-r5W6hzzQ.js";import"./dayjs-PWW_q5I_.js";import"./async-validator-9PlIezaS.js";import"./memoize-one-BdPwpGay.js";import"./normalize-wheel-es-BQoi3Ox2.js";import"./@floating-ui-DR4KwZa4.js";const ie={class:"flex"},le={class:"modal_foot"},ne=L({name:"aikeywordsadvice"}),xt=L({...ne,setup(se){const P=te(()=>J(()=>import("./index-CrDpbf3h.js"),__vite__mapDeps([0,1,2,3,4,5]))),w=N(),D=N(),c=x({getPage:"/api/flySource-base/ai/keywordsAdvice/page",add:"/api/flySource-base/ai/keywordsAdvice/add",update:"/api/flySource-base/ai/keywordsAdvice/update",remove:"/api/flySource-base/ai/keywordsAdvice/remove"}),b=x({add:!0,update:!0,delete:!0});x({});const i=x({submitLoading:!1,isShowDialog:!1,isUpdate:!1}),r=x({activeName:["1","2"],formQuery:{name:""},formData:{},formRules:{name:[{required:!0,content:"请输入提示词"}],orderNo:[{required:!0,content:"请输入排序号"}]},domain:window.location.origin}),R=x({height:"auto",rowConfig:{keyField:"id",isHover:!0,isCurrent:!0},checkboxConfig:{checkField:"checkField",reserve:!0,highlight:!0,range:!0,checkMethod(n){return n.row.isQuote!==1}},pagerConfig:{pageSize:50,pageSizes:[50,100,500]},formConfig:{data:r.formQuery,titleWidth:100,titleAlign:"right",items:[{field:"name",title:"提示词",span:6,folding:!1,itemRender:{name:"VxeInput",props:{placeholder:"请输入提示词",clearable:!0}}},{span:4,align:"center",collapseNode:!1,itemRender:{name:"VxeButtonGroup",options:[{type:"submit",content:"查询",status:"primary"},{type:"reset",content:"重置"}]}}]},columns:[{type:"checkbox",width:50,align:"center",fixed:"left"},{type:"seq",field:"seq",width:60,title:"序号",align:"center",fixed:"left"},{field:"name",sortable:!0,minWidth:150,title:"提示词",align:"left",headerAlign:"center"},{field:"logo",sortable:!0,width:120,title:"提示词logo",align:"center",headerAlign:"center",slots:{default:"logo"}},{field:"remark",sortable:!0,minWidth:150,title:"备注",align:"left",headerAlign:"center"},{field:"orderNo",sortable:!0,width:80,title:"排序号",align:"center",headerAlign:"center"},{field:"state",sortable:!0,width:120,title:"状态",align:"center",headerAlign:"center",slots:{default:"state"}},{field:"tool",title:"操作",width:140,resizable:!1,fixed:"right",slots:{default:"default"}}],proxyConfig:{autoLoad:!0,ajax:{query:({page:n})=>new Promise(e=>{v().getUrlPageData(c.getPage,n.currentPage,n.pageSize,r.formQuery).then(a=>{const u=a.data;e({page:{total:u.total},result:u.records})})})}},toolbarConfig:{export:!1,slots:{buttons:"toolbar_buttons"}}}),k=()=>{w.value.commitProxy("query")},F=()=>{const e=w.value.getCheckboxRecords();if(e.length===0){d.warning("请选择至少一条数据");return}let a=[];e.forEach(u=>{a.push(u.id)}),A.confirm("此操作将永久删除选中的记录,是否继续?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>v().removeUrl(c.remove,a.join(","))).then(u=>{const _=u;_.success&&_.code===200?d.success("删除成功"):d.error(_.msg),k()}).catch(()=>{})},q=n=>{A.confirm("此操作将永久删除该记录,是否继续?","提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>v().removeUrl(c.remove,n.id)).then(e=>{const a=e;a.success&&a.code===200?d.success("删除成功"):d.error(a.msg),k()}).catch(()=>{})};Z(()=>{});const V=()=>{i.isShowDialog=!1,k()},C=()=>{r.formData={id:"",name:"",logo:"ele-Menu",remark:"",state:1,isSystem:0},i.isUpdate=!1},I=()=>{C(),i.isShowDialog=!0},$=n=>{r.formData=n,i.isUpdate=!0,i.isShowDialog=!0},U=n=>{D.value.validate().then(e=>{K(e)&&z(n)})},z=n=>{i.submitLoading=!0,i.isUpdate?v().updateUrl(c.update,r.formData).then(e=>{i.submitLoading=!1,e.success&&e.code===200?(d.success("操作成功"),V()):d.error(e.msg)}).catch(()=>{i.submitLoading=!1}):v().addUrl(c.add,r.formData).then(e=>{i.submitLoading=!1,e.success&&e.code===200?(d.success("操作成功"),n?D.value.reset().then(()=>{C()}):V()):d.error(e.msg)}).catch(()=>{i.submitLoading=!1})},G=n=>
2{v().updateUrl(c.update,n).then(e=>{const a=e;a.success&&a.code===200?(d.success("操作成功"),k()):d.error(a.msg)}).catch(()=>{})};return(n,e)=>{const a=s("vxe-button"),u=s("SvgIcon"),_=s("vxe-switch"),T=s("Empty"),Q=s("vxe-grid"),S=s("vxe-input"),h=s("vxe-form-item"),M=s("vxe-textarea"),j=s("vxe-radio"),W=s("vxe-radio-group"),O=s("vxe-form"),H=s("vxe-modal"),Y=s("base-container");return m(),p(Y,null,{default:o(()=>[l(Q,ee({ref_key:"xGridRef",ref:w,commitProxy:""},R),{toolbar_buttons:o(()=>[B("div",ie,[b.add?(m(),p(a,{key:0,status:"primary",onClick:e[0]||(e[0]=t=>I())},{default:o(()=>e[10]||(e[10]=[f("新增")])),_:1})):y("",!0),b.delete?(m(),p(a,{key:1,status:"danger",onClick:e[1]||(e[1]=t=>F())},{default:o(()=>e[11]||(e[11]=[f("批量删除")])),_:1})):y("",!0)])]),default:o(({row:t})=>[b.update?(m(),p(a,{key:0,status:"primary",type:"text",onClick:g=>$(t)},{default:o(()=>e[12]||(e[12]=[f("编辑")])),_:2},1032,["onClick"])):y("",!0),b.delete?(m(),p(a,{key:1,disabled:t.isQuote===1,status:"primary",type:"text",onClick:g=>q(t)},{default:o(()=>e[13]||(e[13]=[f("删除")])),_:2},1032,["disabled","onClick"])):y("",!0)]),logo:o(({row:t})=>[l(u,{name:t.logo,size:24,style:{"margin-right":"0"}},null,8,["name"])]),state:o(({row:t})=>[l(_,{modelValue:t.state,"onUpdate:modelValue":g=>t.state=g,"close-value":0,"open-value":1,"close-label":"禁用","open-label":"启用",onChange:g=>G(t)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),empty:o(()=>[l(T)]),_:1},16),i.isShowDialog?(m(),p(H,{key:0,modelValue:i.isShowDialog,"onUpdate:modelValue":e[9]||(e[9]=t=>i.isShowDialog=t),loading:i.submitLoading,position:{top:100},title:i.isUpdate?"编辑":"新增","destroy-on-close":"",height:"500","show-footer":"","show-zoom":"",width:"600"},{default:o(()=>[l(O,{ref_key:"xFormRef",ref:D,data:r.formData,rules:r.formRules,"title-align":"right","title-width":"100"},{default:o(()=>[l(h,{span:24,field:"name",title:"提示词"},{default:o(()=>[l(S,{modelValue:r.formData.name,"onUpdate:modelValue":e[2]||(e[2]=t=>r.formData.name=t),clearable:"",maxlength:"50",placeholder:"请输入提示词"},null,8,["modelValue"])]),_:1}),l(h,{span:24,field:"logo",title:"提示词logo"},{default:o(()=>[l(E(P),{modelValue:r.formData.logo,"onUpdate:modelValue":e[3]||(e[3]=t=>r.formData.logo=t),placeholder:"请选择提示词logo",type:"symbol"},null,8,["modelValue"])]),_:1}),l(h,{field:"orderNo",title:"排序号",span:24},{default:o(()=>[l(S,{type:"integer",modelValue:r.formData.orderNo,"onUpdate:modelValue":e[4]||(e[4]=t=>r.formData.orderNo=t),min:"1",clearable:"",placeholder:"请输入排序号",maxlength:"4"},null,8,["modelValue"])]),_:1}),l(h,{span:24,field:"remark",title:"备注"},{default:o(()=>[l(M,{modelValue:r.formData.remark,"onUpdate:modelValue":e[5]||(e[5]=t=>r.formData.remark=t),clearable:"",maxlength:"200",placeholder:"请输入备注","show-word-count":""},null,8,["modelValue"])]),_:1}),l(h,{span:24,field:"state",title:"状态"},{default:o(()=>[l(W,{modelValue:r.formData.state,"onUpdate:modelValue":e[6]||(e[6]=t=>r.formData.state=t)},{default:o(()=>[(m(!0),oe(ae,null,re(E(X),(t,g)=>(m(),p(j,{key:g,content:t.label,label:t.value},null,8,["content","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["data","rules"])]),footer:o(()=>[B("div",le,[l(a,{status:"primary",onClick:e[7]||(e[7]=t=>U(!1))},{default:o(()=>e[14]||(e[14]=[f("保存")])),_:1}),i.isUpdate?y("",!0):(m(),p(a,{key:0,status:"primary",onClick:e[8]||(e[8]=t=>U(!0))},{default:o(()=>e[15]||(e[15]=[f("保存并新增")])),_:1})),l(a,{onClick:V},{default:o(()=>e[16]||(e[16]=[f("关闭")])),_:1})])]),_:1},8,["modelValue","loading","title"])):y("",!0)]),_:1})}}});
2export{xt 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.