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

2 lines
3.4 KiB
JavaScript

import{L as x,M as F,C as g,D as B}from"./element-plus.517d4382.js";import{P as k}from"./index.b17dae19.js";import{a as O}from"./custom.99349afc.js";import{d as _,s as m,a0 as s,o as R,c as j,V as o,M as r,a as u,U as c}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"},z={style:{"margin-bottom":"30px","font-size":"16px"}},M={style:{"margin-bottom":"30px","font-size":"16px"}},N=_({name:"customdetail"}),S=_({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:f}){const w=m(),l=m(),b=s([]);s({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=s({}),n=async e=>{if(Object.assign(a,e),e.annex&&e.annex.length>0){const p=e.annex.map((t,i)=>({name:`\u6587\u4EF6${i+1}`,uri:t}));Object.assign(b,p)}},v=async e=>{const p=await O({id:e.id});n(p)},D=async()=>{var e;(e=l.value)==null||e.close()},h=()=>{var e;console.log("1111111"),(e=l.value)==null||e.open()},y=()=>{f("close")};return d({open:h,setFormData:n,getDetail:v}),(e,p)=>{const t=x,i=F,E=g,C=B;return R(),j("div",V,[o(k,{ref_key:"popupRef",ref:l,title:"\u8003\u52E4\u8BB0\u5F55",async:!0,width:"80%",onConfirm:D,onClose:y},{default:r(()=>[o(C,{ref_key:"formRef",ref:w,model:a},{default:r(()=>[u("div",z,c(a.attendance_code),1),u("div",M,c(a.attendance_date),1),o(E,{class:"mb-2"},{default:r(()=>[o(i,{data:a.attendance_detail},{default:r(()=>[o(t,{label:"\u59D3\u540D",prop:"name","show-overflow-tooltip":""}),o(t,{label:"\u59D3\u540D",prop:"idcard","show-overflow-tooltip":""}),o(t,{label:"\u5DE5\u79CD",prop:"work_type_text","show-overflow-tooltip":""}),o(t,{label:"\u5DE5\u4F5C\u5F00\u59CB\u65F6\u95F4",prop:"work_start_time","show-overflow-tooltip":""}),o(t,{label:"\u5DE5\u4F5C\u7ED3\u675F\u65F6\u95F4",prop:"work_end_time","show-overflow-tooltip":""}),o(t,{label:"\u8BB0\u5DE5\u6570\u91CF",prop:"work_record_num","show-overflow-tooltip":""}),o(t,{label:"\u65E5\u5DE5\u8D44",prop:"daily_salary","show-overflow-tooltip":""}),o(t,{label:"\u65E5\u751F\u6D3B\u8D39",prop:"daily_living","show-overflow-tooltip":""}),o(t,{label:"\u65E5\u8865\u8D34",prop:"daily_subsidy","show-overflow-tooltip":""}),o(t,{label:"\u65E5\u5176\u5B83",prop:"daily_other","show-overflow-tooltip":""}),o(t,{label:"\u65E5\u6536\u5165",prop:"daily_income","show-overflow-tooltip":""}),o(t,{label:"\u5907\u6CE8",prop:"invoice_no","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const yo=P(S,[["__scopeId","data-v-2d5cd811"]]);export{yo as default};