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

2 lines
4.1 KiB
JavaScript

import{R as E,S as F}from"./element-plus.517d4382.js";import{_ as v}from"./index.8b1962e9.js";import{P as x}from"./index.b17dae19.js";import{a as h}from"./custom.99349afc.js";import{d as _,s as c,a0 as r,o as B,c as O,V as e,M as a,T as o,U as n}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.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 j={class:"detail-popup"},w=_({name:"customdetail"}),R=_({...w,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(k,{expose:f,emit:b}){c();const u=c(),d=r([]);r({provinceOptions:[],cityOptions:[],areaOptions:[]});const t=r({}),p=async i=>{if(Object.assign(t,i),i.annex&&i.annex.length>0){const s=i.annex.map((l,m)=>({name:`\u6587\u4EF6${m+1}`,uri:l}));Object.assign(d,s)}},g=async i=>{const s=await h({id:i.id});p(s)},y=async()=>{var i;(i=u.value)==null||i.close()},C=()=>{var i;console.log("1111111"),(i=u.value)==null||i.open()},D=()=>{b("close")};return f({open:C,setFormData:p,getDetail:g}),(i,s)=>{const l=E,m=F;return B(),O("div",j,[e(x,{ref_key:"popupRef",ref:u,title:"\u9879\u76EE\u6750\u6599\u91C7\u8D2D\u7533\u8BF7\u660E\u7EC6\u8C03\u6574",async:!0,width:"80%",onConfirm:y,onClose:D},{default:a(()=>[e(m,{column:2,border:""},{default:a(()=>[e(l,{label:"\u9879\u76EE\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.project_name),1)]),_:1}),e(l,{label:"\u9879\u76EE\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.project_code),1)]),_:1}),e(l,{label:"\u7533\u8BF7\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.apply_date),1)]),_:1}),e(l,{label:"\u5E0C\u671B\u5230\u8D27\u65E5\u671F","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.arrival_date),1)]),_:1}),e(l,{label:"\u6750\u6599\u540D\u79F0","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_name),1)]),_:1}),e(l,{label:"\u6750\u6599\u7F16\u7801","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_code),1)]),_:1}),e(l,{label:"\u6750\u6599\u5927\u7C7B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_first_level),1)]),_:1}),e(l,{label:"\u6750\u6599\u4E2D\u7C7B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_second_level),1)]),_:1}),e(l,{label:"\u6750\u6599\u5C0F\u7C7B","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_three_level),1)]),_:1}),e(l,{label:"\u5355\u4F4D","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_unit),1)]),_:1}),e(l,{label:"\u6570\u91CF","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.num),1)]),_:1}),e(l,{label:"\u54C1\u724C","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_brand),1)]),_:1}),e(l,{label:"\u53C2\u6570\u8BF4\u660E","label-align":"left",align:"left","label-class-name":"my-label"},{default:a(()=>[o(n(t.material_parameter_description),1)]),_:1})]),_:1})]),_:1},512)])}}});const _l=v(R,[["__scopeId","data-v-495fb6b7"]]);export{_l as default};