2 lines
3.1 KiB
JavaScript
2 lines
3.1 KiB
JavaScript
import{y as h,A as v,B as F,C as w,D as R}from"./element-plus.517d4382.js";import{P as O}from"./index.b17dae19.js";import{a as j}from"./custom.99349afc.js";import{d as c,s as n,a0 as m,o as k,c as P,V as t,M as o,T as r,U as s}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as V}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 A={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 b=n(),l=n();m({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=m({}),i=async e=>{Object.assign(a,e)},B=async e=>{const _=await j({id:e.id});i(_)},D=async()=>{var e;(e=l.value)==null||e.close()},E=()=>{var e;console.log("1111111"),(e=l.value)==null||e.open()},y=()=>{f("close")};return d({open:E,setFormData:i,getDetail:B}),(e,_)=>{const u=h,p=v,x=F,C=w,g=R;return k(),P("div",A,[t(O,{ref_key:"popupRef",ref:l,title:"\u9879\u76EE\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:D,onClose:y},{default:o(()=>[t(g,{ref_key:"formRef",ref:b,model:a,"label-width":"160px"},{default:o(()=>[t(C,{class:"mb-2"},{default:o(()=>[t(x,null,{default:o(()=>[t(p,{span:12},{default:o(()=>[t(u,{label:"\u9879\u76EE"},{default:o(()=>[r(s(a.project_name),1)]),_:1})]),_:1}),t(p,{span:12},{default:o(()=>[t(u,{label:"\u9879\u76EE\u7F16\u7801"},{default:o(()=>[r(s(a.project_code),1)]),_:1})]),_:1}),t(p,{span:12},{default:o(()=>[t(u,{label:"\u6750\u6599\u9884\u7B97\u82B1\u8D39\u6BD4\u4F8B"},{default:o(()=>[r(s(a.material_budget_expenditure_ratio),1)]),_:1})]),_:1}),t(p,{span:12},{default:o(()=>[t(u,{label:"\u4EBA\u5DE5\u9884\u7B97\u82B1\u8D39\u6BD4\u4F8B"},{default:o(()=>[r(s(a.labour_budget_expenditure_ratio),1)]),_:1})]),_:1}),t(p,{span:12},{default:o(()=>[t(u,{label:"\u8D39\u7528\u9884\u7B97\u82B1\u8D39\u6BD4\u4F8B"},{default:o(()=>[r(s(a.cost_budget_expenditure_ratio),1)]),_:1})]),_:1}),t(p,{span:12},{default:o(()=>[t(u,{label:"\u5206\u5305\u9884\u7B97\u82B1\u8D39\u6BD4\u4F8B"},{default:o(()=>[r(s(a.subcontract_budget_expenditure_ratio),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Et=V(N,[["__scopeId","data-v-b7a46dbc"]]);export{Et as default};
|