2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
import{y as G,A as H,B as J,L as K,M as Q,a4 as W,a5 as X,D as Y}from"./element-plus.258bf9e7.js";import{_ as Z}from"./picker.4547601e.js";import{P as $}from"./index.9492d03b.js";import{c as oo,d as eo,e as lo,f as to,g as uo}from"./project_personnel.09fb588e.js";import{d as g,s as k,a0 as D,r as c,o as _,c as d,V as o,M as l,T as s,U as n}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as ao}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"./index.59cb12da.js";import"./index.vue_vue_type_script_setup_true_lang.60e89e82.js";import"./index.7a6cc892.js";import"./index.vue_vue_type_script_setup_true_lang.84fcd2ee.js";import"./usePaging.f6660143.js";import"./file.vue_vue_type_style_index_0_scoped_5ccc0f84_lang.e4e8877b.js";import"./vue3-video-play.b66b1487.js";import"./vuedraggable.05ef589e.js";import"./vue.6436c619.js";import"./sortablejs.81b741d7.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 po={class:"detail-popup"},ro={key:0},so={key:1},no={key:0},io={key:1},_o={key:0},co={key:1},fo=g({name:"customdetail"}),wo=g({...fo,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(mo,{expose:A,emit:x}){const V=k(),m=k();D([]);const E=c([]),v=c([]),F=c([]),h=c([]),B=c([]);D({provinceOptions:[],cityOptions:[],areaOptions:[]});const C=c("first"),T=(t,a)=>{console.log(t,a)},u=D({}),z=async t=>{let a=await oo({person_id:t,page_no:1,page_size:9999});E.value=a.lists},L=async t=>{let a=await eo({person_id:t,page_no:1,page_size:9999});v.value=a.lists},R=async t=>{let a=await lo({person_id:t,page_no:1,page_size:9999});F.value=a.lists},O=async t=>{let a=await to({person_id:t,page_no:1,page_size:9999});h.value=a.lists},U=async t=>{let a=await uo({person_id:t,page_no:1,page_size:9999});B.value=a.lists},y=async t=>{z(t.id),R(t.id),L(t.id),O(t.id),U(t.id),Object.assign(u,t)},j=async t=>{const a=await apiCustomDetail({id:t.id});y(a)},P=async()=>{var t;(t=m.value)==null||t.close()},I=()=>{var t;console.log("1111111"),(t=m.value)==null||t.open()},N=()=>{x("close")};return A({open:I,setFormData:y,getDetail:j}),(t,a)=>{const p=G,r=H,b=Z,M=J,e=K,f=Q,w=W,S=X,q=Y;return _(),d("div",po,[o($,{ref_key:"popupRef",ref:m,title:"\u9879\u76EE\u4EBA\u5458\u8BE6\u60C5",async:!0,width:"80%",onConfirm:P,onClose:N},{default:l(()=>[o(q,{ref_key:"formRef",ref:V,model:u,"label-width":"120px"},{default:l(()=>[o(M,null,{default:l(()=>[o(r,{span:12},{default:l(()=>[o(p,{label:"\u9879\u76EE\u540D\u79F0"},{default:l(()=>[s(n(u.project_name),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u9879\u76EE\u7F16\u7801"},{default:l(()=>[s(n(u.project_code),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u59D3\u540D"},{default:l(()=>[s(n(u.name),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:l(()=>[s(n(u.idcard),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u5DE5\u79CD"},{default:l(()=>[s(n(u.work_type_text),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u4EBA\u5DE5\u5355\u4EF7"},{default:l(()=>[s(n(u.unit_price),1)]),_:1})]),_:1}),o(r,{span:24},{default:l(()=>[o(p,{label:"\u8EAB\u4EFD\u8BC1\u6B63\u9762"},{default:l(()=>[u.idcard_front&&u.idcard_front.length>0?(_(),d("div",ro,[o(b,{modelValue:u.idcard_front,"onUpdate:modelValue":a[0]||(a[0]=i=>u.idcard_front=i)},null,8,["modelValue"])])):(_(),d("div",so,"\u6682\u65E0\u7167\u7247"))]),_:1})]),_:1}),o(r,{span:24},{default:l(()=>[o(p,{label:"\u8EAB\u4EFD\u8BC1\u53CD\u9762"},{default:l(()=>[u.idcard_backend&&u.idcard_backend.length>0?(_(),d("div",no,[o(b,{modelValue:u.idcard_backend,"onUpdate:modelValue":a[1]||(a[1]=i=>u.idcard_backend=i)},null,8,["modelValue"])])):(_(),d("div",io,"\u6682\u65E0\u7167\u7247"))]),_:1})]),_:1}),o(r,{span:24},{default:l(()=>[o(p,{label:"\u94F6\u884C\u5361\u7167\u7247"},{default:l(()=>[u.bank_card&&u.bank_card.length>0?(_(),d("div",_o,[o(b,{modelValue:u.bank_card,"onUpdate:modelValue":a[2]||(a[2]=i=>u.bank_card=i)},null,8,["modelValue"])])):(_(),d("div",co,"\u6682\u65E0\u7167\u7247"))]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u94F6\u884C\u5361\u53F7"},{default:l(()=>[s(n(u.bank_no),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u5F00\u6237\u94F6\u884C"},{default:l(()=>[s(n(u.deposit_bank),1)]),_:1})]),_:1}),o(r,{span:12},{default:l(()=>[o(p,{label:"\u5907\u6CE8"},{default:l(()=>[s(n(u.remark),1)]),_:1})]),_:1})]),_:1}),o(S,{modelValue:C.value,"onUpdate:modelValue":a[3]||(a[3]=i=>C.value=i),class:"demo-tabs",onTabClick:T},{default:l(()=>[o(w,{label:"\u52B3\u52A8\u5408\u540C",name:"first"},{default:l(()=>[o(f,{data:E.value},{default:l(()=>[o(e,{label:"\u59D3\u540D",prop:"person_name","show-overflow-tooltip":""}),o(e,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u72B6\u6001",prop:"contract_status_text","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u7C7B\u522B",prop:"contract_type_text","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u540D\u79F0",prop:"contract_title_text","show-overflow-tooltip":""}),o(e,{label:"\u5408\u540C\u7B7E\u5B9A\u65E5\u671F",prop:"signing_date","show-overflow-tooltip":""}),o(e,{label:"\u8D77\u59CB\u65F6\u95F4",prop:"start_date","show-overflow-tooltip":""}),o(e,{label:"\u7EC8\u6B62\u65F6\u95F4",prop:"end_date","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1}),o(w,{label:"\u4FDD\u9669\u8BB0\u5F55",name:"second"},{default:l(()=>[o(f,{data:v.value},{default:l(()=>[o(e,{label:"\u59D3\u540D",prop:"person_name","show-overflow-tooltip":""}),o(e,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard","show-overflow-tooltip":""}),o(e,{label:"\u6295\u4FDD\u65E5\u671F",prop:"insurance_date","show-overflow-tooltip":""}),o(e,{label:"\u5230\u671F\u65E5\u671F",prop:"due_date","show-overflow-tooltip":""}),o(e,{label:"\u4FDD\u9669\u79CD\u7C7B",prop:"type","show-overflow-tooltip":""}),o(e,{label:"\u4FDD\u5355\u53F7",prop:"insurance_no","show-overflow-tooltip":""}),o(e,{label:"\u4FDD\u8D39\uFF08\u5143\uFF09",prop:"insurance","show-overflow-tooltip":""}),o(e,{label:"\u6295\u4FDD\u91D1\u989D\uFF08\u4E07\u5143\uFF09",prop:"insured_amount","show-overflow-tooltip":""}),o(e,{label:"\u4FDD\u9669\u516C\u53F8",prop:"insurance_company","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1}),o(w,{label:"\u8003\u52E4\u660E\u7EC6",name:"third"},{default:l(()=>[o(f,{data:F.value},{default:l(()=>[o(e,{label:"\u65E5\u8BB0\u5DE5\u5355\u53F7",prop:"attendance_code","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u671F",prop:"attendance_date","show-overflow-tooltip":""}),o(e,{label:"\u59D3\u540D",prop:"person_name","show-overflow-tooltip":""}),o(e,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u79CD",prop:"work_type_text","show-overflow-tooltip":""}),o(e,{label:"\u4E0A\u73ED\u65F6\u95F4",prop:"work_start_time","show-overflow-tooltip":""}),o(e,{label:"\u4E0B\u73ED\u65F6\u95F4",prop:"work_end_time","show-overflow-tooltip":""}),o(e,{label:"\u8BB0\u5DE5\u6570\u91CF",prop:"work_record_num","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u5DE5\u8D44",prop:"daily_salary","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u751F\u6D3B\u8D39",prop:"daily_living","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u8865\u8D34",prop:"daily_subsidy","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u5176\u5B83",prop:"daily_other","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u6536\u5165",prop:"daily_income","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1}),o(w,{label:"\u65BD\u5DE5\u8BB0\u5F55",name:"fourth"},{default:l(()=>[o(f,{data:h.value},{default:l(()=>[o(e,{label:"\u65BD\u5DE5\u6C47\u62A5\u5355\u53F7",prop:"report_code","show-overflow-tooltip":""}),o(e,{label:"\u4F5C\u4E1A\u7F16\u7801",prop:"zy_code","show-overflow-tooltip":""}),o(e,{label:"\u5206\u9879\u5DE5\u7A0B",prop:"subentry_engineering","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u5E8F\u6B65\u9AA4",prop:"process_step","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u671F",prop:"report_date","show-overflow-tooltip":""}),o(e,{label:"\u59D3\u540D",prop:"person_name","show-overflow-tooltip":""}),o(e,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u79CD",prop:"work_type_text","show-overflow-tooltip":""}),o(e,{label:"\u5B8C\u5DE5\u91CF",prop:"work_num","show-overflow-tooltip":""}),o(e,{label:"\u5355\u4F4D",prop:"unit","show-overflow-tooltip":""}),o(e,{label:"\u5355\u4EF7",prop:"price","show-overflow-tooltip":""}),o(e,{label:"\u91D1\u989D",prop:"amount","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1}),o(w,{label:"\u5DE5\u8D44\u4ED8\u6B3E",name:"six"},{default:l(()=>[o(f,{data:B.value},{default:l(()=>[o(e,{label:"ID",prop:"id","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u8D44\u4ED8\u6B3E\u5355\u53F7",prop:"payment_code","show-overflow-tooltip":""}),o(e,{label:"\u65E5\u671F",prop:"apply_date","show-overflow-tooltip":""}),o(e,{label:"\u59D3\u540D",prop:"person_name","show-overflow-tooltip":""}),o(e,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard","show-overflow-tooltip":""}),o(e,{label:"\u5DE5\u79CD",prop:"person_work_type_text","show-overflow-tooltip":""}),o(e,{label:"\u603B\u6536\u5165",prop:"total_income","show-overflow-tooltip":""}),o(e,{label:"\u603B\u652F\u51FA",prop:"total_pay_out","show-overflow-tooltip":""}),o(e,{label:"\u672A\u53D1\u653E",prop:"balance","show-overflow-tooltip":""}),o(e,{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"apply_amount","show-overflow-tooltip":""}),o(e,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])]),_:1},512)])}}});const ne=ao(wo,[["__scopeId","data-v-dcff5254"]]);export{ne as default};
|