2 lines
2.9 KiB
JavaScript
2 lines
2.9 KiB
JavaScript
import{y as x,A as F,B as g,C as k,D as B}from"./element-plus.517d4382.js";import{P as R}from"./index.b17dae19.js";import{a as j}from"./custom.99349afc.js";import{d as c,s as _,a0 as u,o as O,c as A,V as t,M as o,T as r,U as l}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 V={class:"detail-popup"},I=c({name:"customdetail"}),N=c({...I,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(S,{expose:d,emit:f}){const E=_(),i=_();u({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=u({}),m=async e=>{Object.assign(a,e)},y=async e=>{const n=await j({id:e.id});m(n)},D=async()=>{var e;(e=i.value)==null||e.close()},b=()=>{var e;console.log("1111111"),(e=i.value)==null||e.open()},C=()=>{f("close")};return d({open:b,setFormData:m,getDetail:y}),(e,n)=>{const p=x,s=F,h=g,v=k,w=B;return O(),A("div",V,[t(R,{ref_key:"popupRef",ref:i,title:"\u9879\u76EE\u6210\u5458\u8BE6\u60C5",async:!0,width:"80%",onConfirm:D,onClose:C},{default:o(()=>[t(w,{ref_key:"formRef",ref:E,model:a,"label-width":"160px"},{default:o(()=>[t(v,{class:"mb-2"},{default:o(()=>[t(h,null,{default:o(()=>[t(s,{span:12},{default:o(()=>[t(p,{label:"\u9879\u76EE"},{default:o(()=>[r(l(a.project_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(p,{label:"\u9879\u76EE\u7F16\u7801"},{default:o(()=>[r(l(a.project_code),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(p,{label:"\u89D2\u8272\u540D\u79F0"},{default:o(()=>[r(l(a.project_role_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(p,{label:"\u4EBA\u5458\u540D\u79F0"},{default:o(()=>[r(l(a.admin_name),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(p,{label:"\u4EBA\u5DE5\u5355\u4EF7"},{default:o(()=>[r(l(a.working_unit_price),1)]),_:1})]),_:1}),t(s,{span:12},{default:o(()=>[t(p,{label:"\u5907\u6CE8"},{default:o(()=>[r(l(a.remark),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const bt=P(N,[["__scopeId","data-v-8aa22a06"]]);export{bt as default};
|