2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{y as O,A as R,B as A,C as V,D as N}from"./element-plus.517d4382.js";import{P}from"./index.b17dae19.js";import{a as I}from"./custom.99349afc.js";import{d as x,s as y,a0 as m,o as u,c,V as t,M as e,T as l,U as n,a as _,W as S,a8 as T}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as $}from"./index.8b1962e9.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const L={class:"detail-popup"},M={style:{"margin-left":"5px",display:"block"}},U=["href"],W=["onClick"],q=x({name:"customdetail"}),z=x({...q,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(G,{expose:F,emit:b}){const g=y(),i=y(),f=m([]);m({provinceOptions:[],cityOptions:[],areaOptions:[]});const r=m({}),d=async o=>{if(Object.assign(r,o),o.annex&&o.annex.length>0){const p=o.annex.map((a,s)=>({name:`\u6587\u4EF6${s+1}`,uri:a}));Object.assign(f,p)}},h=async o=>{const p=await I({id:o.id});d(p)},C=async()=>{var o;(o=i.value)==null||o.close()},D=()=>{var o;console.log("1111111"),(o=i.value)==null||o.open()},v=()=>{b("close")};return F({open:D,setFormData:d,getDetail:h}),(o,p)=>{const a=O,s=R,B=A,k=V,w=N;return u(),c("div",L,[t(P,{ref_key:"popupRef",ref:i,title:"\u9879\u76EE\u8BA1\u5212\u8BE6\u60C5",async:!0,width:"80%",onConfirm:C,onClose:v},{default:e(()=>[t(w,{ref_key:"formRef",ref:g,model:r,"label-width":"120px"},{default:e(()=>[t(k,{class:"mb-2"},{default:e(()=>[t(B,null,{default:e(()=>[t(s,{span:12},{default:e(()=>[t(a,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[l(n(r.project_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(a,{label:"\u9879\u76EE\u7F16\u7801"},{default:e(()=>[l(n(r.project_code),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(a,{label:"\u8BA1\u5212\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[l(n(r.start_time),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(a,{label:"\u8BA1\u5212\u7ED3\u675F\u65E5\u671F"},{default:e(()=>[l(n(r.deliver_time),1)]),_:1})]),_:1}),t(s,{span:12},{default:e(()=>[t(a,{label:"\u8D1F\u8D23\u4EBA"},{default:e(()=>[l(n(r.project_manager_name),1)]),_:1})]),_:1}),t(s,{span:24},{default:e(()=>[t(a,{label:"\u9644\u4EF6",prop:"field127"},{default:e(()=>[_("div",null,[(u(!0),c(S,null,T(f,(E,j)=>(u(),c("div",M,[_("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:E.uri,target:"_blank"},n(E.name),9,U),_("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:H=>o.delFileFn(j)},"x",8,W)]))),256))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const jt=$(z,[["__scopeId","data-v-a56f4775"]]);export{jt as default};
|