2 lines
4.0 KiB
JavaScript
2 lines
4.0 KiB
JavaScript
import{y as h,A as k,B as v,C as g,D as O}from"./element-plus.258bf9e7.js";import{P as R}from"./index.9492d03b.js";import{a as j}from"./custom.13e75d58.js";import{d,s as m,a0 as r,o as A,c as P,V as e,M as t,T as u,U as s}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as V}from"./index.ec401e3b.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.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const I={class:"detail-popup"},N=d({name:"customdetail"}),S=d({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:c,emit:f}){const E=m(),_=m(),b=r([]);r({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=r({}),i=async n=>{if(Object.assign(a,n),n.annex&&n.annex.length>0){const p=n.annex.map((o,l)=>({name:`\u6587\u4EF6${l+1}`,uri:o}));Object.assign(b,p)}},D=async n=>{const p=await j({id:n.id});i(p)},y=async()=>{var n;(n=_.value)==null||n.close()},F=()=>{var n;console.log("1111111"),(n=_.value)==null||n.open()},C=()=>{f("close")};return c({open:F,setFormData:i,getDetail:D}),(n,p)=>{const o=h,l=k,x=v,w=g,B=O;return A(),P("div",I,[e(R,{ref_key:"popupRef",ref:_,title:"\u8003\u52E4\u660E\u7EC6\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:C},{default:t(()=>[e(B,{ref_key:"formRef",ref:E,model:a,"label-width":"120px"},{default:t(()=>[e(w,{class:"mb-2"},{default:t(()=>[e(x,null,{default:t(()=>[e(l,{span:12},{default:t(()=>[e(o,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[u(s(a.project_name),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u9879\u76EE\u7F16\u53F7"},{default:t(()=>[u(s(a.project_code),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u59D3\u540D"},{default:t(()=>[u(s(a.person_name),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:t(()=>[u(s(a.person_idcard),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u8003\u52E4\u65E5\u671F"},{default:t(()=>[u(s(a.attendance_date),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u5DE5\u79CD"},{default:t(()=>[u(s(a.work_type_text),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u4E0A\u73ED\u65F6\u95F4"},{default:t(()=>[u(s(a.work_start_time),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u4E0B\u73ED\u65F6\u95F4"},{default:t(()=>[u(s(a.work_end_time),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u8BB0\u5DE5\u6570\u91CF"},{default:t(()=>[u(s(a.work_record_num),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u65E5\u5DE5\u8D44"},{default:t(()=>[u(s(a.daily_salary),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u65E5\u751F\u6D3B\u8D39"},{default:t(()=>[u(s(a.daily_living),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u65E5\u8865\u8D34"},{default:t(()=>[u(s(a.daily_subsidy),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u65E5\u5176\u5B83"},{default:t(()=>[u(s(a.daily_other),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u65E5\u6536\u5165"},{default:t(()=>[u(s(a.daily_income),1)]),_:1})]),_:1}),e(l,{span:12},{default:t(()=>[e(o,{label:"\u5907\u6CE8"},{default:t(()=>[u(s(a.remark),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Fe=V(S,[["__scopeId","data-v-b03d8368"]]);export{Fe as default};
|