engineering/public/admin/assets/detail.41b440bf.js
2024-03-11 10:37:46 +08:00

2 lines
3.0 KiB
JavaScript

import{y as h,A as v,B as w,C as x,D as R}from"./element-plus.681cbccc.js";import{P as O}from"./index.759b73b8.js";import{a as k}from"./custom.e8a29127.js";import{d as c,s as _,a0 as n,o as j,c as P,V as t,M as o,T as s,U as r}from"./@vue.ab566ce7.js";import"./lodash.b95a2de7.js";import{_ as V}from"./index.f61cdbc1.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.a7c621e8.js";import"./axios.dd66b46b.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.09be15d7.js";import"./color.d8810402.js";import"./clone.bcede16c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.01877ff1.js";import"./ms.a9ae1d6d.js";import"./nprogress.1e1a4c40.js";import"./vue-clipboard3.8564dcb8.js";import"./clipboard.176b8931.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.d693a0d8.js";const I={class:"detail-popup"},N=c({name:"customdetail"}),S=c({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:f}){const C=_(),u=_();n({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=n({}),i=async e=>{Object.assign(a,e)},y=async e=>{const m=await k({id:e.id});i(m)},b=async()=>{var e;(e=u.value)==null||e.close()},E=()=>{var e;(e=u.value)==null||e.open()},F=()=>{f("close")};return d({open:E,setFormData:i,getDetail:y}),(e,m)=>{const p=h,l=v,B=w,D=x,g=R;return j(),P("div",I,[t(O,{ref_key:"popupRef",ref:u,title:"\u9879\u76EE\u6587\u6863\u8BBE\u7F6E\u8BE6\u60C5",async:!0,width:"80%",onConfirm:b,onClose:F},{default:o(()=>[t(g,{ref_key:"formRef",ref:C,model:a,"label-width":"120px"},{default:o(()=>[t(D,{class:"mb-2"},{default:o(()=>[t(B,null,{default:o(()=>[t(l,{span:12},{default:o(()=>[t(p,{label:"\u9879\u76EE\u7C7B\u578B"},{default:o(()=>[s(r(a.project_type_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u6587\u6863\u5927\u7C7B"},{default:o(()=>[s(r(a.large_category),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u6587\u6863\u4E2D\u7C7B"},{default:o(()=>[s(r(a.middle_category),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u6587\u6863\u5C0F\u7C7B"},{default:o(()=>[s(r(a.small_category),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u6587\u6863\u540D\u79F0"},{default:o(()=>[s(r(a.name),1)]),_:1})]),_:1}),t(l,{span:24},{default:o(()=>[t(p,{label:"\u6587\u6863\u63CF\u8FF0"},{default:o(()=>[s(r(a.describe),1)]),_:1})]),_:1}),t(l,{span:8},{default:o(()=>[t(p,{label:"\u5FC5\u4F20"},{default:o(()=>[s(r(a.is_upload==1?"\u662F":"\u5426"),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Et=V(S,[["__scopeId","data-v-0ab30a15"]]);export{Et as default};