engineering/public/admin/assets/detail.09dd75a0.js
2024-03-04 15:04:21 +08:00

2 lines
3.6 KiB
JavaScript

import{R as x,a2 as v,S as A}from"./element-plus.258bf9e7.js";import{P as k}from"./index.9492d03b.js";import{a as O}from"./custom.13e75d58.js";import{d as f,s as c,a0 as _,o as n,c as u,V as l,M as t,T as s,U as i,W as w,a8 as R}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}from"./index.ec401e3b.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const S={class:"detail-popup"},V={key:0},j={style:{"margin-left":"5px",display:"block"}},I={key:1},L=f({name:"customdetail"}),N=f({...L,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:b}){c();const p=c();_({provinceOptions:[],cityOptions:[],areaOptions:[]});const e=_({}),r=async a=>{Object.assign(e,a)},g=async a=>{const m=await O({id:a.id});r(m)},y=async()=>{var a;(a=p.value)==null||a.close()},B=()=>{var a;console.log("1111111"),(a=p.value)==null||a.open()},E=()=>{b("close")};return d({open:B,setFormData:r,getDetail:g}),(a,m)=>{const o=x,h=v,C=A;return n(),u("div",S,[l(k,{ref_key:"popupRef",ref:p,title:"\u5BA2\u6237\u8054\u7CFB\u4EBA\u8BE6\u60C5",async:!0,width:"40%",onConfirm:y,onClose:E},{default:t(()=>[l(C,{column:1,border:""},{default:t(()=>[l(o,{label:"\u5BA2\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.custom_name),1)]),_:1}),l(o,{label:"\u8054\u7CFB\u4EBA\u59D3\u540D","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.name),1)]),_:1}),l(o,{label:"\u8054\u7CFB\u4EBA\u804C\u4F4D","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.position),1)]),_:1}),l(o,{label:"\u8054\u7CFB\u4EBA\u624B\u673A","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.phone),1)]),_:1}),l(o,{label:"\u8054\u7CFB\u4EBA\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.telephone),1)]),_:1}),l(o,{label:"\u8054\u7CFB\u4EBA\u90AE\u7BB1","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.email),1)]),_:1}),l(o,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[s(i(e.notes),1)]),_:1}),l(o,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:t(()=>[e.annex&&e.annex.length>0?(n(),u("div",V,[(n(!0),u(w,null,R(e.annex,(D,F)=>(n(),u("div",j,[l(h,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:D.uri,target:"_blank"},{default:t(()=>[s("\u6587\u4EF6"+i(F+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(n(),u("div",I," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1})]),_:1},512)])}}});const he=P(N,[["__scopeId","data-v-68596888"]]);export{he as default};