2 lines
4.8 KiB
JavaScript
2 lines
4.8 KiB
JavaScript
|
import{U as x,V as R,C as A,D as C,F as I}from"./element-plus.681b9893.js";import{P as g}from"./index.bba2f543.js";import{a as q}from"./app_update.1a1a012a.js";import{d as v,s as D,r as T,Z as L,o as i,c as n,U as l,L as a,u,T as _,a9 as F,K as V,R as B,S as b}from"./@vue.18505fe0.js";import"./lodash.466e9fe4.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.6e50aa23.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const S={class:"edit-popup"},N=v({name:"appUpdateDETAILS"}),Ge=v({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(s,{expose:U,emit:P}){const k=D(),y=D();T("add");const o=L({id:"",title:"",content:"",type:"",version:"",dow_url:"",force:"",quiet:""}),E=async r=>{for(const t in o)r[t]!=null&&r[t]!=null&&(o[t]=r[t])};return U({open:()=>{var r;(r=y.value)==null||r.open()},setFormData:E,getDetail:async r=>{const t=await q({id:r.id});E(t)}}),(r,t)=>{const d=A,p=C,f=x,c=R,w=I;return i(),n("div",S,[l(g,{ref_key:"popupRef",ref:y,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:a(()=>[l(w,{ref_key:"formRef",ref:k,model:u(o),"label-width":"90px"},{default:a(()=>[l(p,{label:"\u6807\u9898",prop:"title"},{default:a(()=>[l(d,{modelValue:u(o).title,"onUpdate:modelValue":t[0]||(t[0]=e=>u(o).title=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6807\u9898",readonly:!0},null,8,["modelValue"])]),_:1}),l(p,{label:"\u5185\u5BB9",prop:"content"},{default:a(()=>[l(d,{modelValue:u(o).content,"onUpdate:modelValue":t[1]||(t[1]=e=>u(o).content=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9",readonly:!0},null,8,["modelValue"])]),_:1}),l(p,{label:"1ios 2\u5B89\u5353",prop:"type"},{default:a(()=>[l(c,{modelValue:u(o).type,"onUpdate:modelValue":t[2]||(t[2]=e=>u(o).type=e),placeholder:"\u8BF7\u9009\u62E91ios 2\u5B89\u5353",disabled:!0},{default:a(()=>[(i(!0),n(_,null,F(s.dictData.app_update_type,(e,m)=>(i(),V(f,{key:m,label:parseInt(e.value)},{default:a(()=>[B(b(e.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(p,{label:"\u7248\u672C",prop:"version"},{default:a(()=>[l(d,{modelValue:u(o).version,"onUpdate:modelValue":t[3]||(t[3]=e=>u(o).version=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u7248\u672C",readonly:!0},null,8,["modelValue"])]),_:1}),l(p,{label:"app\u94FE\u63A5",prop:"dow_url"},{default:a(()=>[l(d,{modelValue:u(o).dow_url,"onUpdate:modelValue":t[4]||(t[4]=e=>u(o).dow_url=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165app\u94FE\u63A5",readonly:!0},null,8,["modelValue"])]),_:1}),l(p,{label:"\u5F3A\u5236\u66F4\u65B0",prop:"force"},{default:a(()=>[l(c,{modelValue:u(o).force,
|