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

2 lines
3.3 KiB
JavaScript

import{R as C,S as E}from"./element-plus.258bf9e7.js";import{P as x}from"./index.9492d03b.js";import{a as h}from"./custom.13e75d58.js";import{d as _,s as u,a0 as r,o as v,c as O,V as t,M as o,T as n,U as s}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as k}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 w={class:"detail-popup"},R=_({name:"customdetail"}),j=_({...R,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(B,{expose:f,emit:b}){u();const m=u(),d=r([]);r({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=r({}),c=async e=>{if(e.annex&&e.annex.length>0){const i=e.annex.map((a,p)=>({name:`\u6587\u4EF6${p+1}`,uri:a}));Object.assign(d,i)}Object.assign(l,e),console.log(l,"2222222222")},g=async e=>{const i=await h({id:e.id});c(i)},y=async()=>{var e;(e=m.value)==null||e.close()},D=()=>{var e;console.log("1111111"),(e=m.value)==null||e.open()},F=()=>{b("close")};return f({open:D,setFormData:c,getDetail:g}),(e,i)=>{const a=C,p=E;return v(),O("div",w,[t(x,{ref_key:"popupRef",ref:m,title:"\u94F6\u884C\u8D26\u6237\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:F},{default:o(()=>[t(p,{column:3,border:""},{default:o(()=>[t(a,{label:"\u7EC4\u7EC7\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.org_name),1)]),_:1}),t(a,{label:"\u90E8\u95E8\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.dept_name),1)]),_:1}),t(a,{label:"\u8D26\u6237\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.account_sn),1)]),_:1}),t(a,{label:"\u5F00\u6237\u94F6\u884C","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.deposit_bank),1)]),_:1}),t(a,{label:"\u5F00\u6237\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.account_name),1)]),_:1}),t(a,{label:"\u8D26\u53F7","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.account),1)]),_:1}),t(a,{label:"\u5F00\u6237\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.account_opening_date),1)]),_:1}),t(a,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:o(()=>[n(s(l.remark),1)]),_:1})]),_:1})]),_:1},512)])}}});const _e=k(j,[["__scopeId","data-v-6de1a586"]]);export{_e as default};