2 lines
7.4 KiB
JavaScript
2 lines
7.4 KiB
JavaScript
import{a4 as k,a5 as h}from"./element-plus.517d4382.js";import i from"./myTable.a3a43597.js";import{p as v,a as A,b as L}from"./project_personnel.b59a00de.js";import{p as P,d as w,a as g}from"./project_labor_contract.c0a3eef5.js";import{i as x,d as q,a as F}from"./project_insurance_management.6e781053.js";import{a as V,e as R,b as T}from"./project_attendance_record.2786e3ce.js";import{a as B,e as C,b as E}from"./project_attendance_detail.49a76a7d.js";import{p as N}from"./project_salary_detail.c487a402.js";import{r as M,a0 as n,o as t,L as r,M as o,V as c,S as s}from"./@vue.ab566ce7.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.8b1962e9.js";import"./lodash.1d82ee7c.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";import"./index.vue_vue_type_script_setup_true_lang.5ae95555.js";import"./index.vue_vue_type_style_index_0_lang.9f4b6930.js";import"./index.b17dae19.js";import"./usePaging.f6660143.js";const Fe={__name:"manpower",props:{project:Object},setup(a){const p=a,e=M("first-1"),b=n({fetchFun:v,delApi:A,editApi:L,tit:"",queryParams:{project_id:p.project.id},columnList:[{label:"\u59D3\u540D",prop:"name"},{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"idcard"},{label:"\u624B\u673A\u53F7",prop:"mobile"},{label:"\u5DE5\u79CD",prop:"work_type_text"},{label:"\u4EBA\u5DE5\u5355\u4EF7",prop:"unit_price"},{label:"\u6BCF\u65E5\u751F\u6D3B\u8D39",prop:"price"},{label:"\u671F\u521D\u6536\u5165",prop:"opening_income"},{label:"\u65E5\u7ED3\u6536\u5165",prop:"daily_income"},{label:"\u5B8C\u5DE5\u91CF\u6536\u5165",prop:"work_income"},{label:"\u603B\u6536\u5165",prop:"total_income"},{label:"\u603B\u652F\u51FA",prop:"pay_out"},{label:"\u4F59\u989D",prop:"balance"}]}),d=n({fetchFun:x,delApi:q,editApi:F,tit:"",queryParams:{project_id:p.project.id},columnList:[{label:"\u9879\u76EE\u7F16\u7801",prop:"project_code"},{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name"},{label:"\u59D3\u540D",prop:"person_name"},{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard"},{label:"\u6295\u4FDD\u65E5\u671F",prop:"insurance_date"},{label:"\u5230\u671F\u65E5\u671F",prop:"due_date"},{label:"\u4FDD\u9669\u79CD\u7C7B",prop:"type"},{label:"\u4FDD\u5355\u53F7",prop:"insurance_no"},{label:"\u4FDD\u8D39\uFF08\u5143\uFF09",prop:"insurance"},{label:"\u6295\u4FDD\u91D1\u989D\uFF08\u4E07\u5143\uFF09",prop:"insured_amount"},{label:"\u4FDD\u9669\u516C\u53F8",prop:"insurance_company"},{label:"\u4FDD\u5355\u660E\u7EC6",prop:"insurance_detail"},{label:"\u53D1\u7968\u7F16\u53F7",prop:"invoice_no"},{label:"\u7ECF\u529E\u4EBA",prop:"handler"}]}),_=n({fetchFun:V,delApi:R,editApi:T,tit:"",queryParams:{project_id:p.project.id},columnList:[{label:"\u65E5\u8BB0\u5DE5\u5355\u53F7",prop:"attendance_code"},{label:"\u65E5\u671F",prop:"attendance_date"},{label:"\u51FA\u52E4\u4EBA\u6570",prop:"competitor_contacts_phone"},{label:"\u8BB0\u5DE5\u6570\u91CF",prop:"work_record_num_total"},{label:"\u65E5\u5DE5\u8D44\u5408\u8BA1",prop:"daily_salary_total"},{label:"\u65E5\u751F\u6D3B\u8D39\u5408\u8BA1",prop:"daily_living_total"},{label:"\u65E5\u8865\u8D34\u5408\u8BA1",prop:"daily_subsidy_total"},{label:"\u65E5\u5176\u5B83\u5408\u8BA1",prop:"daily_other_total"},{label:"\u65E5\u6536\u5165\u5408\u8BA1",prop:"daily_income_total"},{label:"\u5907\u6CE8",prop:"remark"}]}),u=n({fetchFun:B,delApi:C,editApi:E,tit:"",queryParams:{project_id:p.project.id},columnList:[{label:"\u65E5\u8BB0\u5DE5\u5355\u53F7",prop:"attendance_code"},{label:"\u65E5\u671F",prop:"attendance_date"},{label:"\u59D3\u540D",prop:"person_name"},{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard"},{label:"\u5DE5\u79CD",prop:"work_type_text"},{label:"\u4E0A\u73ED\u65F6\u95F4",prop:"work_start_time"},{label:"\u4E0B\u73ED\u65F6\u95F4",prop:"work_end_time"},{label:"\u8BB0\u5DE5\u6570\u91CF",prop:"work_record_num"},{label:"\u65E5\u5DE5\u8D44",prop:"daily_salary"},{label:"\u65E5\u751F\u6D3B\u8D39",prop:"daily_living"},{label:"\u65E5\u8865\u8D34",prop:"daily_subsidy"},{label:"\u65E5\u5176\u5B83",prop:"daily_other"},{label:"\u65E5\u6536\u5165",prop:"daily_income"},{label:"\u5907\u6CE8",prop:"remark"}]}),j=n({fetchFun:N,delApi:"",editApi:"",tit:"",queryParams:{project_id:p.project.id},columnList:[{label:"\u5DE5\u8D44\u4ED8\u6B3E\u5355\u53F7",prop:"payment_code"},{label:"\u65E5\u671F",prop:"apply_date"},{label:"\u59D3\u540D",prop:"person_name"},{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard"},{label:"\u5DE5\u79CD",prop:"person_work_type_text"},{label:"\u603B\u6536\u5165",prop:"total_income"},{label:"\u603B\u652F\u51FA",prop:"total_pay_out"},{label:"\u672A\u53D1\u653E",prop:"balance"},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"apply_amount"},{label:"\u5907\u6CE8",prop:"remark"}]}),y=n({fetchFun:P,delApi:w,editApi:g,tit:"",queryParams:{project_id:p.project.id},columnList:[{label:"\u9879\u76EE\u540D\u79F0",prop:"project_name"},{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"person_idcard"},{label:"\u5408\u540C\u72B6\u6001",prop:"contract_status_text"},{label:"\u5408\u540C\u7C7B\u522B",prop:"contract_type_text"},{label:"\u5408\u540C\u540D\u79F0",prop:"contract_title_text"},{label:"\u5408\u540C\u7B7E\u5B9A\u65E5\u671F",prop:"signing_date"},{label:"\u8D77\u59CB\u65F6\u95F4",prop:"start_date"},{label:"\u7EC8\u6B62\u65F6\u95F4",prop:"end_date"}]});return(O,m)=>{const l=k,f=h;return t(),r(f,{modelValue:e.value,"onUpdate:modelValue":m[0]||(m[0]=D=>e.value=D),class:"demo-tabs"},{default:o(()=>[c(l,{label:"\u9879\u76EE\u4EBA\u5458",name:"first-1"},{default:o(()=>[e.value=="first-1"?(t(),r(i,{key:0,baseData:b,project:a.project,editPath:"project_personnel"},null,8,["baseData","project"])):s("",!0)]),_:1}),c(l,{label:"\u52B3\u52A8\u5408\u540C",name:"first-2"},{default:o(()=>[e.value=="first-2"?(t(),r(i,{key:0,baseData:y,project:a.project,editPath:"project_labor_contract"},null,8,["baseData","project"])):s("",!0)]),_:1}),c(l,{label:"\u4FDD\u9669\u8BB0\u5F55",name:"first-3"},{default:o(()=>[e.value=="first-3"?(t(),r(i,{key:0,baseData:d,project:a.project,editPath:"project_insurance_management"},null,8,["baseData","project"])):s("",!0)]),_:1}),c(l,{label:"\u9879\u76EE\u8003\u52E4",name:"first-4"},{default:o(()=>[e.value=="first-4"?(t(),r(i,{key:0,baseData:_,project:a.project,editPath:"project_attendance_record"},null,8,["baseData","project"])):s("",!0)]),_:1}),c(l,{label:"\u8003\u52E4\u660E\u7EC6",name:"first-5"},{default:o(()=>[e.value=="first-5"?(t(),r(i,{key:0,baseData:u,project:a.project,editPath:"project_attendance_detail"},null,8,["baseData","project"])):s("",!0)]),_:1}),c(l,{label:"\u5DE5\u8D44\u4ED8\u6B3E",name:"first-6"},{default:o(()=>[e.value=="first-6"?(t(),r(i,{key:0,baseData:j,project:a.project,isAction:!0,editPath:"project_salary_payment"},null,8,["baseData","project"])):s("",!0)]),_:1})]),_:1},8,["modelValue"])}}};export{Fe as default};
|