2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{y as A,A as h,B as v,C as g,D as k}from"./element-plus.517d4382.js";import{P as x}from"./index.b17dae19.js";import{a as R}from"./custom.99349afc.js";import{d as c,s as m,a0 as i,o as O,c as j,V as t,M as e,T as p,U as s}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=m(),r=m();i({provinceOptions:[],cityOptions:[],areaOptions:[]});const o=i({}),n=async a=>{Object.assign(o,a)},D=async a=>{const _=await R({id:a.id});n(_)},b=async()=>{var a;(a=r.value)==null||a.close()},C=()=>{var a;console.log("1111111"),(a=r.value)==null||a.open()},B=()=>{f("close")};return d({open:C,setFormData:n,getDetail:D}),(a,_)=>{const l=A,u=h,y=v,F=g,w=k;return O(),j("div",V,[t(x,{ref_key:"popupRef",ref:r,title:"\u65BD\u5DE5\u6C47\u62A5\u8BE6\u60C5",async:!0,width:"80%",onConfirm:b,onClose:B},{default:e(()=>[t(w,{ref_key:"formRef",ref:E,model:o,"label-width":"120px"},{default:e(()=>[t(F,{class:"mb-2"},{default:e(()=>[t(y,null,{default:e(()=>[t(u,{span:12},{default:e(()=>[t(l,{label:"\u4F5C\u4E1A\u7F16\u7801"},{default:e(()=>[p(s(o.zy_code),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[p(s(o.project_name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u5206\u9879\u5DE5\u7A0B"},{default:e(()=>[p(s(o.subentry_engineering),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u5DE5\u5E8F\u6B65\u9AA4"},{default:e(()=>[p(s(o.process_step),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u8BA1\u5212\u5F00\u59CB\u65E5\u671F"},{default:e(()=>[p(s(o.plan_start_date),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u8BA1\u5212\u7ED3\u675F\u65E5\u671F"},{default:e(()=>[p(s(o.plan_end_date),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u73ED\u7EC4\u957F"},{default:e(()=>[p(s(o.project_member_name),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u4F5C\u4E1A\u91CF"},{default:e(()=>[p(s(o.workload),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u65BD\u5DE5\u4EBA\u5458"},{default:e(()=>[p(s(o.work_user),1)]),_:1})]),_:1}),t(u,{span:12},{default:e(()=>[t(l,{label:"\u65BD\u5DE5\u5185\u5BB9"},{default:e(()=>[p(s(o.work_content),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Ct=P(N,[["__scopeId","data-v-9ef3d14e"]]);export{Ct as default};
|