engineering/public/admin/assets/detail.a0482b16.js
2024-02-27 10:28:16 +08:00

2 lines
5.2 KiB
JavaScript

import{R as k,_ as v,S as A}from"./element-plus.517d4382.js";import{P as O}from"./index.b17dae19.js";import{a as w}from"./custom.99349afc.js";import{d as _,s as b,a0 as c,o,c as u,V as e,M as a,T as n,U as s,W as R,a8 as j}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}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 S={class:"detail-popup"},V={key:0},I={style:{"margin-left":"5px",display:"block"}},L={key:1},N=_({name:"customdetail"}),T=_({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(z,{expose:d,emit:g}){b();const r=b(),y=c([]);c({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=c({}),p=async i=>{if(i.annex&&i.annex.length>0){const m=i.annex.map((t,f)=>({name:`\u6587\u4EF6${f+1}`,uri:t}));Object.assign(y,m)}Object.assign(l,i),console.log(l,"2222222222")},E=async i=>{const m=await w({id:i.id});p(m)},B=async()=>{var i;(i=r.value)==null||i.close()},F=()=>{var i;console.log("1111111"),(i=r.value)==null||i.open()},x=()=>{g("close")};return d({open:F,setFormData:p,getDetail:E}),(i,m)=>{const t=k,f=v,D=A;return o(),u("div",S,[e(O,{ref_key:"popupRef",ref:r,title:"\u4F9B\u5E94\u5546\u8054\u7CFB\u4EBA\u8BE6\u60C5",async:!0,width:"80%",onConfirm:B,onClose:x},{default:a(()=>[e(D,{column:2,border:""},{default:a(()=>[e(t,{label:"\u59D3\u540D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.name),1)]),_:1}),e(t,{label:"\u6027\u522B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.sex_text),1)]),_:1}),e(t,{label:"\u4F9B\u5E94\u5546","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.supplier_name),1)]),_:1}),e(t,{label:"\u8054\u7CFB\u4EBA\u5206\u7C7B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.contacts_type_text),1)]),_:1}),e(t,{label:"\u8D1F\u8D23\u4E1A\u52A1","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.responsible),1)]),_:1}),e(t,{label:"\u79F0\u8C13","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.title),1)]),_:1}),e(t,{label:"\u7C7B\u578B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.contacts_cate_text),1)]),_:1}),e(t,{label:"\u90E8\u95E8","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.department),1)]),_:1}),e(t,{label:"\u804C\u52A1","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.duties),1)]),_:1}),e(t,{label:"\u5DE5\u4F5C\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.work_phone),1)]),_:1}),e(t,{label:"\u79FB\u52A8\u7535\u8BDD","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.mobile),1)]),_:1}),e(t,{label:"\u90AE\u4EF6\u5730\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.email),1)]),_:1}),e(t,{label:"\u4F20\u771F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.fax),1)]),_:1}),e(t,{label:"\u90AE\u7F16","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.zip_code),1)]),_:1}),e(t,{label:"\u8BC1\u4EF6\u7C7B\u578B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.email),1)]),_:1}),e(t,{label:"\u8BC1\u4EF6\u53F7\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.id_type_text),1)]),_:1}),e(t,{label:"\u5BB6\u5EAD\u4F4F\u5740","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.family_address),1)]),_:1}),e(t,{label:"\u5907\u6CE8","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[n(s(l.remark),1)]),_:1}),e(t,{label:"\u9644\u4EF6","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[l.annex&&l.annex.length>0?(o(),u("div",V,[(o(!0),u(R,null,j(l.annex,(C,h)=>(o(),u("div",I,[e(f,{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:C,target:"_blank"},{default:a(()=>[n("\u6587\u4EF6"+s(h+1)+"\u67E5\u770B",1)]),_:2},1032,["href"])]))),256))])):(o(),u("div",L," \u6682\u65E0\u6587\u4EF6 "))]),_:1})]),_:1})]),_:1},512)])}}});const xl=P(T,[["__scopeId","data-v-2ad327b2"]]);export{xl as default};