2 lines
4.8 KiB
JavaScript
2 lines
4.8 KiB
JavaScript
import{y as A,A as V,B as N,C as P,D as $}from"./element-plus.517d4382.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang.e1e5e943.js";import{P as S}from"./index.b17dae19.js";import{a as T}from"./custom.99349afc.js";import{d as D,s as E,a0 as d,o as r,c as _,V as t,M as e,T as s,U as n,W as L,a8 as M,a as C}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as U}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 W={class:"detail-popup"},q={key:0},z={style:{"margin-left":"5px",display:"block"}},G=["href"],H=["onClick"],J={key:1},K=D({name:"customdetail"}),Q=D({...K,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(m,{expose:y,emit:h}){const v=E(),p=E(),c=d([]);d({provinceOptions:[],cityOptions:[],areaOptions:[]});const l=d({}),f=async u=>{if(Object.assign(l,u),u.annex&&u.annex.length>0){const i=u.annex.map((a,o)=>({name:`\u6587\u4EF6${o+1}`,uri:a}));Object.assign(c,i)}},B=async u=>{const i=await T({id:u.id});f(i)},g=async()=>{var u;(u=p.value)==null||u.close()},x=()=>{var u;console.log("1111111"),(u=p.value)==null||u.open()},k=()=>{h("close")};return y({open:x,setFormData:f,getDetail:B}),(u,i)=>{const a=A,o=V,F=I,w=N,O=P,R=$;return r(),_("div",W,[t(S,{ref_key:"popupRef",ref:p,title:"\u52B3\u52A8\u5408\u540C\u8BE6\u60C5",async:!0,width:"80%",onConfirm:g,onClose:k},{default:e(()=>[t(R,{ref_key:"formRef",ref:v,model:l,"label-width":"120px"},{default:e(()=>[t(O,{class:"mb-2"},{default:e(()=>[t(w,null,{default:e(()=>[t(o,{span:12},{default:e(()=>[t(a,{label:"\u9879\u76EE\u540D\u79F0"},{default:e(()=>[s(n(l.project_name),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u9879\u76EE\u7F16\u53F7"},{default:e(()=>[s(n(l.project_code),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u59D3\u540D"},{default:e(()=>[s(n(l.person_name),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u8EAB\u4EFD\u8BC1\u53F7"},{default:e(()=>[s(n(l.person_idcard),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u5408\u540C\u72B6\u6001"},{default:e(()=>[t(F,{options:m.dictData.labor_contract_status,value:l.contract_status},null,8,["options","value"])]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u5408\u540C\u7C7B\u522B"},{default:e(()=>[t(F,{options:m.dictData.labor_contract_type,value:l.contract_type},null,8,["options","value"])]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u5408\u540C\u540D\u79F0"},{default:e(()=>[s(n(l.contract_title_text),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u5408\u540C\u7B7E\u5B9A\u65E5\u671F"},{default:e(()=>[s(n(l.signing_date),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u8BD5\u7528\u671F\u8D77\u59CB\u65E5\u671F"},{default:e(()=>[s(n(l.trial_start_date),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u8BD5\u7528\u671F\u7ED3\u675F\u65E5\u671F"},{default:e(()=>[s(n(l.trial_end_date),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u8D77\u59CB\u65F6\u95F4"},{default:e(()=>[s(n(l.start_date),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u7ED3\u675F\u65F6\u95F4"},{default:e(()=>[s(n(l.end_date),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u89E3\u9664\u65F6\u95F4"},{default:e(()=>[s(n(l.release_time),1)]),_:1})]),_:1}),t(o,{span:12},{default:e(()=>[t(a,{label:"\u5907\u6CE8"},{default:e(()=>[s(n(l.remark),1)]),_:1})]),_:1}),t(o,{span:24},{default:e(()=>[t(a,{label:"\u5408\u540C\u9644\u4EF6"},{default:e(()=>[c.length>0?(r(),_("div",q,[(r(!0),_(L,null,M(c,(b,j)=>(r(),_("div",z,[C("a",{style:{"margin-left":"10px",color:"#4a5dff","align-self":"flex-start"},href:b.uri,target:"_blank"},n(b.name),9,G),C("span",{style:{cursor:"pointer","margin-left":"5px"},onClick:X=>u.delFileFn(j)},"x",8,H)]))),256))])):(r(),_("div",J,"\u6682\u65E0\u9644\u4EF6"))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Nt=U(Q,[["__scopeId","data-v-6825b64a"]]);export{Nt as default};
|