WokerTask/public/admin/assets/index.1cea7d2a.js

2 lines
6.9 KiB
JavaScript
Raw Normal View History

2023-12-27 14:06:33 +08:00
import{B as z,C as K,M as G,N as H,w as J,D as W,I as X,O as Y,P as Z,Q as ee}from"./element-plus.10e48c93.js";import{_ as le}from"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import{_ as te}from"./index.vue_vue_type_script_setup_true_lang.17266fa4.js";import{f as oe,b as ae}from"./index.f095bcc5.js";import{u as ue}from"./usePaging.2ad8e1e6.js";import{u as ne}from"./useDictOptions.29c13eb8.js";import{_ as pe,a as re,b as ie}from"./edit.vue_vue_type_script_setup_true_name_appUpdateEdit_lang.b7a55afb.js";import"./lodash.08438971.js";import{d as $,s as se,r as P,$ as de,af as me,o as n,c as E,U as e,L as o,u as t,T as h,a7 as x,K as i,R as v,M as F,a as A,k as ce,Q as _e,n as U}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";import"./index.c570839a.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";const fe={class:"mt-4"},ve={class:"flex mt-4 justify-end"},be=$({name:"appUpdateLists"}),nl=$({...be,setup(Fe){const B=se(),w=P(!1),u=de({title:"",content:"",type:"",version:"",dow_url:"",force:"",quiet:""}),V=P([]),L=r=>{V.value=r.map(({id:a})=>a)},{dictData:s}=ne("app_type,app_force_quiet"),{pager:b,getLists:C,resetParams:N,resetPage:R}=ue({fetchFun:ie,params:u}),S=async()=>{var r;w.value=!0,await U(),(r=B.value)==null||r.open("add")},T=async r=>{var a,c;w.value=!0,await U(),(a=B.value)==null||a.open("edit"),(c=B.value)==null||c.setFormData(r)},D=async r=>{await oe.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await re({id:r}),C()};return C(),(r,a)=>{const c=z,d=K,_=G,k=H,f=J,I=W,q=X,M=ae,p=Y,g=te,O=Z,Q=le,y=me("perms"),j=ee;return n(),E("div",null,[e(q,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[e(I,{class:"mb-[-16px]",model:t(u),inline:""},{default:o(()=>[e(d,{label:"\u6807\u9898",prop:"title"},{default:o(()=>[e(c,{class:"w-[280px]",modelValue:t(u).title,"onUpdate:modelValue":a[0]||(a[0]=l=>t(u).title=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6807\u9898"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u5185\u5BB9",prop:"content"},{default:o(()=>[e(c,{class:"w-[280px]",modelValue:t(u).content,"onUpdate:modelValue":a[1]||(a[1]=l=>t(u).content=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9",type:"textarea",autosize:""},null,8,["modelValue"])]),_:1}),e(d,{label:"APP\u7C7B\u578B",prop:"type"},{default:o(()=>[e(k,{class:"w-[280px]",modelValue:t(u).type,"onUpdate:modelValue":a[2]||(a[2]=l=>t(u).type=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9APP\u7C7B\u578B"},{default:o(()=>[e(_,{label:"\u5168\u90E8",value:""}),(n(!0),E(h,null,x(t(s).app_type,(l,m)=>(n(),i(_,{key:m,label:l.name,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(d,{label:"\u7248\u672C",prop:"version"},{default:o(()=>[e(c,{class:"w-[280px]",modelValue:t(u).version,"onUpdate:modelValue":a[3]||(a[3]=l=>t(u).version=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7248\u672C"},null,8,["modelValue"])]),_:1}),e(d,{label:"\u662F\u5426\u5F3A\u5236\u66F4\u65B0",prop:"force"},{default:o(()=>[e(k,{class:"w-[280px]",modelValue:t(u).force,"onUpdate:modelValue":a[4]||(a[4]=l=>t(u).force=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u662F\u5426\