import{d as m,cL as _,f,r as u,h as v,c as h,a as t,e as i,w as p,i as w,E as g,aa as b}from"./index-4dcc0234.js";/* empty css *//* empty css */const k=""+new URL("addon_develop-a78473b3.png",import.meta.url).href,C=""+new URL("code-cea24823.png",import.meta.url).href,D=""+new URL("sys_dict_list-da03b204.png",import.meta.url).href,U=""+new URL("tools_Update_cache-f2bdda40.png",import.meta.url).href,L=""+new URL("tools_check_environment-b1730280.png",import.meta.url).href,R=""+new URL("tools_schedule-bfdc05aa.png",import.meta.url).href,$=""+new URL("app_auth-d99146b6.png",import.meta.url).href,n=""+new URL("official_market-919bcfb1.png",import.meta.url).href,E=""+new URL("developer-25adcf57.png",import.meta.url).href,V={class:"box-border pt-[64px]"},y=t("div",{class:"text-[20px] text-[#222] mb-[32px] pl-[14px]"},"工具管理",-1),B={class:"flex flex-wrap mt-[28px]"},S=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"插件开发"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 点击新建插件,生成插件后系统会生成对应插 ")],-1),N=t("img",{src:k,class:"w-[256px] h-[128px]"},null,-1),G=[S,N],T=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"代码生成"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 代码生成 ")],-1),z=t("img",{src:C,class:"w-[256px] h-[128px]"},null,-1),A=[T,z],F=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"数据字典"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 数据字典 ")],-1),H=t("img",{src:D,class:"w-[256px] h-[128px]"},null,-1),M=[F,H],j=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"更新缓存"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 更新缓存 ")],-1),q=t("img",{src:U,class:"w-[256px] h-[128px]"},null,-1),I=[j,q],J=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"环境监测"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 环境监测 ")],-1),K=t("img",{src:L,class:"w-[256px] h-[128px] cursor-pointer"},null,-1),O=[J,K],P=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"计划任务"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 计划任务 ")],-1),Q=t("img",{src:R,class:"w-[256px] h-[128px]"},null,-1),W=[P,Q],X=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"授权信息"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 查看授权信息及重新认证授权 ")],-1),Y=t("img",{src:$,class:"w-[256px] h-[128px]"},null,-1),Z=[X,Y],tt=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"平台菜单"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 平台菜单 ")],-1),et=t("img",{src:n,class:"w-[256px] h-[128px]"},null,-1),st=[tt,et],ot=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"站点菜单"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 站点菜单 ")],-1),lt=t("img",{src:n,class:"w-[256px] h-[128px]"},null,-1),xt=[ot,lt],pt=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"开发模式"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 开发环境和生产环境说明 ")],-1),nt=t("img",{src:E,class:"w-[256px] h-[128px]"},null,-1),it=[pt,nt],dt=t("div",{class:"flex-1 pt-[18px] pb-[14px] px-[24px] flex flex-col"},[t("span",{class:"text-[16px] text-[#222] font-bold"},"官方市场"),t("div",{class:"text-[13px] text-[#6D7278] leading-[18px] mt-[8px] truncate"}," 官方市场 ")],-1),at=t("img",{src:n,class:"w-[256px] h-[128px]"},null,-1),ct=[dt,at],rt=t("div",null,[t("p",{class:"text-[16px] mb-[4px] text-[#333]"},"开发模式"),t("div",{class:"text-[14px] indent-[2em]"}," 开发人员模式即软件开发环境,指框架开启了开发模式(DEBUG=TRUE) ,开发模式时会出现开发选项卡,仅用于开发人员使用,包括应用及插件的安装卸载,系统升级等等。本菜单及子项功能均不受系统管理和权限控制 "),t("p",{class:"text-[16px] mt-[15px] mb-[4px] text-[#333]"},"生产模式"),t("div",{class:"text-[14px] indent-[2em]"}," 生产模式即软件生产环境,指框架关闭了调试开发模式(DEBUG=FALSE) 软件正式部署运营开发选项卡隐藏,一般来说,开发人员开发或者部署好环境后,要关闭开发模式。 ")],-1),mt={class:"dialog-footer"},wt=m({__name:"tools",setup(_t){_().setHeadMenu("");const d=f(),l=u(!1),o=x=>{d.push(x)},a=()=>{window.open("https://www.niucloud.com/app")};return(x,e)=>{const c=g,r=b;return v(),h("div",V,[y,t("div",B,[t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[0]||(e[0]=s=>o("/admin/tools/addon"))},G),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[1]||(e[1]=s=>o("/admin/tools/code"))},A),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[2]||(e[2]=s=>o("/admin/tools/list"))},M),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[3]||(e[3]=s=>o("/admin/tools/update"))},I),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[4]||(e[4]=s=>o("/admin/tools/detection"))},O),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[5]||(e[5]=s=>o("/admin/tools/schedule"))},W),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[6]||(e[6]=s=>o("/admin/tools/authorize"))},Z),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[7]||(e[7]=s=>o("/admin/tools/setting/admin"))},st),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[8]||(e[8]=s=>o("/admin/tools/setting/site"))},xt),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:e[9]||(e[9]=s=>l.value=!0)},it),t("div",{class:"w-[256px] tools-item-shadow mb-[24px] mx-[14px] rounded-[8px] flex flex-col cursor-pointer leading-[1]",onClick:a},ct)]),i(r,{modelValue:l.value,"onUpdate:modelValue":e[11]||(e[11]=s=>l.value=s),class:"developer-dialog-wrap",title:"开发人员模式说明",width:"30%","before-close":x.handleClose},{footer:p(()=>[t("span",mt,[i(c,{onClick:e[10]||(e[10]=s=>l.value=!1)},{default:p(()=>[w("确定")]),_:1})])]),default:p(()=>[rt]),_:1},8,["modelValue","before-close"])])}}});export{wt as default};