WokerTask/public/admin/assets/details.fa179394.js

2 lines
14 KiB
JavaScript

import{B as S,C as M,a1 as N,G as P,H as T,a2 as G,a5 as j,M as H,N as K,D as Q,I as W}from"./element-plus.10e48c93.js";import{u as $}from"./vue-router.9f65afb1.js";import J from"./store.000c7426.js";import X from"./breeding.7850532d.js";import Y from"./plant.abc28cb9.js";import Z from"./houseTransaction.c08134fc.js";import ee from"./houseRenovate.475f08d6.js";import le from"./houseDecoration.4fe14631.js";import ue from"./houseRepair.33b65e31.js";import ae from"./banquetMarry.84138c9e.js";import te from"./banquetOther.b34f337e.js";import oe from"./banquetFuneral.d3fcd45a.js";import de from"./banquetFullMoon.d4a2a83e.js";import se from"./banquetBirthday.5a563497.js";import ne from"./thickProcessing.45ffc22e.js";import re from"./deepProcessing.364f0fec.js";import{f as pe}from"./informationg.54ffc3ad.js";import{d as U,$ as f,r as g,o as r,c as _,U as e,L as l,R as m,K as b,Q as D,T as V,a7 as v,S as ie,P as me,bf as _e,be,a as y}from"./@vue.51d7f2d8.js";import{d as fe}from"./index.8f8edf86.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";const C=h=>(_e("data-v-dcc2f9bf"),h=h(),be(),h),Fe=C(()=>y("p",{class:"tit"},"\u4E2A\u4EBA\u4FE1\u606F",-1)),Ee=C(()=>y("p",{class:"tit"},"\u5730\u533A\u4FE1\u606F",-1)),ce=C(()=>y("p",{class:"tit"},"\u5E38\u4F4F\u4EBA\u53E3",-1)),Ve=U({name:"test"}),Be=U({...Ve,setup(h){const w=$(),p=f(new Map);p.set(7,Y),p.set(8,J),p.set(32,X),p.set(15,Z),p.set(14,ee),p.set(13,le),p.set(12,ue),p.set(17,ae),p.set(20,te),p.set(21,oe),p.set(19,de),p.set(18,se),p.set(10,ne),p.set(9,re);const k=F=>p.get(F),a=f({name:"",phone:"",age:"",sex:"",id_card:"",area_name:"",street_name:"",village_name:"",brigade_name:"",addressa:"",address:"",family:[{name:"",birth_time:"",situation:"",work:"",phone:"",skills:""}],child:void 0,child_arr:[{name:"",birth:"",age:0,class:"",lessons:"",notes:"",feeding:""}],highway:void 0,smart_phone:void 0,wechat:"",datas:[]}),x=f([{name:"\u505A\u5DE5\u5730\u7684",id:"0"},{name:"\u5382\u91CC\u6253\u5DE5",id:"1"},{name:"\u516C\u53F8\u804C\u5458",id:"2"},{name:"\u653F\u5E9C\u4E0A\u73ED",id:"3"},{name:"\u79CD\u5730",id:"4"},{name:"\u5728\u5BB6\u8D4B\u95F2",id:"5"},{name:"\u5176\u4ED6",id:"6"}]);g(!1);const O=f({subjs:[{label:"\u8BED\u6587",value:1},{label:"\u6570\u5B66",value:2},{label:"\u82F1\u8BED",value:3},{label:"\u827A\u672F\u7C7B",value:4},{label:"\u5176\u4ED6",value:5}],feedsList:[{label:"\u6BCD\u4E73",value:"0"},{label:"\u5976\u7C89",value:"1"}],plantList:[{label:"\u81EA\u5DF1\u79CD\u517B",value:"0"},{label:"\u51FA\u79DF",value:"1"},{label:"\u4EE3\u79CD\u517B",value:"2"},{label:"\u79DF\u66F4\u591A\u5730\u6269\u5927\u79CD\u690D",value:"3"}],houseStyle:[{label:"\u4E2D\u5F0F",value:1},{label:"\u7F8E\u5F0F",value:2},{label:"\u6B27\u5F0F",value:3},{label:"\u7B80\u7EA6",value:4},{label:"\u5962\u534E",value:5},{label:"\u522B\u5885/\u56DB\u5408\u9662",value:6},{label:"\u5176\u4ED6",value:7}],weihu:[{label:"\u623F\u9876",value:1},{label:"\u5395\u6240",value:2},{label:"\u7BA1\u7EBF",value:3},{label:"\u7535\u5668",value:4}],field102Options:[{label:"\u522B\u5885",value:1},{label:"\u6D0B\u623F",value:2},{label:"\u9AD8\u5C42",value:3},{label:"\u697C\u68AF\u623F",value:4}],ecologyPlant:[{label:"\u975E\u751F\u6001\u79CD\u690D",value:1}],sellType:[{label:"\u81EA\u9500",value:"1"},{label:"\u5B9A\u70B9\u9500\u552E",value:"2"}],publicize:[{label:"\u6709\u65E0\u5BA3\u4F20\u63A8\u5E7F",value:1}],field106Options:[{label:"\u8D85\u5E02",value:1},{label:"\u751F\u9C9C",value:2},{label:"\u996D\u5E97",value:3},{label:"\u4E94\u91D1",value:4},{label:"\u6742\u8D27",value:5},{label:"\u670D\u88C5",value:6},{label:"\u6587\u5177",value:7},{label:"\u5176\u4ED6",value:8}],field109Options:[{label:"\u5B66\u751F",value:1},{label:"\u5BB6\u5EAD\u5BA2\u6237",value:2},{label:"\u9752\u5E74\u5BA2\u6237",value:3},{label:"\u8001\u5E74\u4EBA",value:4},{label:"\u6E38\u5BA2",value:5}],banquetList:[{label:"\u5A5A\u5BB4",value:1},{label:"\u5BFF\u5BB4",value:2},{label:"\u6EE1\u6708\u9152",value:3},{label:"\u5176\u5B83\u5E86\u529F\u5BB4",value:4},{label:"\u767D\u4E8B",value:5}],field106aOptions:[{label:"\u9152\u5E97",value:1},{label:"\u4E00\u6761\u9F99",value:2},{label:"\u53EA\u8BF7\u53A8\u5E08",value:3}],field104Options:[{label:"\u7535\u74F6\u8F66",value:1},{label:"\u6469\u6258\u8F66",value:2},{label:"\u5C0F\u6C7D\u8F66",value:3}],provinceOptions:[],cityOptions:[],areaOptions:[],streetOptions:[]});return f([{label:"\u6709\u52A0\u5DE5\u4ED3\u50A8",value:1}]),f([{label:"\u6709\u8FD0\u8F93",value:1}]),f([{label:"\u662F\u5426\u60F3\u8981\u6269\u5927\u7ECF\u8425",value:1}]),g(!0),pe({id:w.query.id}).then(async F=>{for(const d in a)F[d]!=null&&F[d]!=null&&(a[d]=F[d]);a.addressa=a.area_name+a.street_name+a.village_name+a.brigade_name+a.address}),(F,d)=>{const n=S,s=M,o=N,i=P,E=T,B=G,z=j,L=H,q=K,I=Q,R=W;return r(),_(V,null,[e(R,null,{default:l(()=>[e(I,{ref:"elForm",disabled:!0,model:a,size:"mini","label-width":"100px"},{default:l(()=>[Fe,e(o,null,{default:l(()=>[e(B,null,{default:l(()=>[e(o,{span:6},{default:l(()=>[e(s,{label:"\u59D3\u540D",prop:"name"},{default:l(()=>[e(n,{modelValue:a.name,"onUpdate:modelValue":d[0]||(d[0]=u=>a.name=u),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u6027\u522B",prop:"sex"},{default:l(()=>[e(E,{modelValue:a.sex,"onUpdate:modelValue":d[1]||(d[1]=u=>a.sex=u),size:"medium"},{default:l(()=>[e(i,{label:1},{default:l(()=>[m("\u7537")]),_:1}),e(i,{label:2},{default:l(()=>[m("\u5973")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u5E74\u9F84",prop:"age"},{default:l(()=>[e(n,{modelValue:a.age,"onUpdate:modelValue":d[2]||(d[2]=u=>a.age=u),placeholder:"\u8BF7\u8F93\u5165\u5E74\u9F84",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u7535\u8BDD",prop:"phone"},{default:l(()=>[e(n,{modelValue:a.phone,"onUpdate:modelValue":d[3]||(d[3]=u=>a.phone=u),placeholder:"\u8BF7\u8F93\u5165\u7535\u8BDD",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u8EAB\u4EFD\u8BC1\u53F7",prop:"id_card"},{default:l(()=>[e(n,{modelValue:a.id_card,"onUpdate:modelValue":d[4]||(d[4]=u=>a.id_card=u),placeholder:"\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u5730\u5740",prop:"field104"},{default:l(()=>[e(n,{modelValue:a.address,"onUpdate:modelValue":d[5]||(d[5]=u=>a.address=u),clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),Ee,e(o,null,{default:l(()=>[e(B,null,{default:l(()=>[e(o,{span:6},{default:l(()=>[e(s,{label:"\u5730\u5740"},{default:l(()=>[e(n,{value:a.area_name+a.street_name+a.village_name,placeholder:"\u8BF7\u8F93\u5165\u5730\u5740",clearable:"",style:{width:"100%"}},null,8,["value"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u8BE6\u7EC6\u5730\u5740",prop:"address"},{default:l(()=>[e(n,{modelValue:a.address,"onUpdate:modelValue":d[6]||(d[6]=u=>a.address=u),placeholder:"\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(o,{span:12},{default:l(()=>[e(s,{label:"\u6C7D\u8F66\u662F\u5426\u80FD\u5230\u5BB6","label-width":"200px",prop:"highway"},{default:l(()=>[e(E,{modelValue:a.highway,"onUpdate:modelValue":d[7]||(d[7]=u=>a.highway=u),size:"medium"},{default:l(()=>[e(i,{label:1},{default:l(()=>[m("\u662F")]),_:1}),e(i,{label:0},{default:l(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(o,{span:6},{default:l(()=>[e(s,{label:"\u662F\u5426\u4F7F\u7528\u667A\u80FD\u624B\u673A","label-width":"200px",prop:"smart_phone"},{default:l(()=>[e(E,{modelValue:a.smart_phone,"onUpdate:modelValue":d[8]||(d[8]=u=>a.smart_phone=u),size:"medium"},{default:l(()=>[e(i,{label:1},{default:l(()=>[m("\u662F")]),_:1}),e(i,{label:0},{default:l(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a.smart_phone?(r(),b(o,{key:0,span:6},{default:l(()=>[e(s,{label:"\u5FAE\u4FE1\u53F7",prop:"field119"},{default:l(()=>[e(n,{modelValue:a.skills,"onUpdate:modelValue":d[9]||(d[9]=u=>a.skills=u),placeholder:"\u8BF7\u8F93\u5165\u5FAE\u4FE1\u53F7",clearable:"",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1})):D("",!0)]),_:1})]),_:1}),ce,e(o,null,{default:l(()=>[(r(!0),_(V,null,v(a.family,(u,c)=>(r(),_("div",{key:c},[e(B,null,{default:l(()=>[e(o,{span:6},{default:l(()=>[e(s,{label:"\u59D3\u540D",prop:"name"},{default:l(()=>[e(n,{modelValue:u.name,"onUpdate:modelValue":t=>u.name=t,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D",clearable:"",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(o,{span:6,class:"dates"},{default:l(()=>[e(s,{label:"\u51FA\u751F\u65E5\u671F",prop:"field110"},{default:l(()=>[e(z,{disabled:!0,modelValue:u.birth_time,"onUpdate:modelValue":t=>u.birth_time=t,style:{width:"150%"},placeholder:"\u8BF7\u8F93\u5165\u51FA\u751F\u65E5\u671F",clearable:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(o,{span:6},{default:l(()=>[e(s,{label:"\u5C31\u4E1A\u60C5\u51B5",prop:"field111"},{default:l(()=>[e(q,{disabled:!0,modelValue:u.situation,"onUpdate:modelValue":t=>u.situation=t,placeholder:"\u8BF7\u8F93\u5165\u5C31\u4E1A\u60C5\u51B5",clearable:"",style:{width:"100%"}},{default:l(()=>[(r(!0),_(V,null,v(x,(t,A)=>(r(),b(L,{key:A,label:t.name,value:t.id},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(o,{span:6},{default:l(()=>[e(s,{label:"\u6280\u80FD\u7279\u957F",prop:"field119"},{default:l(()=>[e(n,{modelValue:u.skills,"onUpdate:modelValue":t=>u.skills=t,placeholder:"\u8BF7\u8F93\u5165\u6280\u80FD\u7279\u957F",clearable:"",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]))),128)),e(s,{label:"\u662F\u5426\u5B58\u5728\u5B66\u751F, \u5A74\u5E7C\u513F",labelWidth:"200px"},{default:l(()=>[e(E,{modelValue:a.child,"onUpdate:modelValue":d[10]||(d[10]=u=>a.child=u),size:"medium"},{default:l(()=>[e(i,{label:1},{default:l(()=>[m("\u662F")]),_:1}),e(i,{label:0},{default:l(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),a.child?(r(!0),_(V,{key:0},v(a.child_arr,(u,c)=>(r(),_("div",null,[a.child_arr[c].age<=3?(r(),b(o,{key:0},{default:l(()=>[e(B,null,{default:l(()=>[e(o,{span:6},{default:l(()=>[e(s,{label:"\u5E74\u9F84",prop:"field134"},{default:l(()=>[e(n,{modelValue:u.age,"onUpdate:modelValue":t=>u.age=t,clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(o,{span:6},{default:l(()=>[e(s,{label:"\u54FA\u4E73\u65B9\u5F0F",prop:"feeding"},{default:l(()=>[e(E,{modelValue:u.feeding,"onUpdate:modelValue":t=>u.feeding=t,size:"medium"},{default:l(()=>[(r(!0),_(V,null,v(O.feedsList,(t,A)=>(r(),b(i,{key:c,label:t.value},{default:l(()=>[m(ie(t.label),1)]),_:2},1032,["label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),e(o,{span:6},{default:l(()=>[e(s,{label:"\u5907\u6CE8",prop:"field157"},{default:l(()=>[e(n,{modelValue:u.notes,"onUpdate:modelValue":t=>u.notes=t,placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",clearable:"",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)):(r(),b(o,{key:1},{default:l(()=>[e(B,null,{default:l(()=>[e(o,{span:6},{default:l(()=>[e(s,{label:"\u5E74\u9F84",prop:"field134"},{default:l(()=>[e(n,{modelValue:u.age,"onUpdate:modelValue":t=>u.age=t,clearable:"",disabled:!0,style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),a.child_arr[c].age>=3?(r(),b(o,{key:0,span:6},{default:l(()=>[e(s,{label:"\u5E74\u7EA7",prop:"grade"},{default:l(()=>[e(n,{modelValue:u.grade,"onUpdate:modelValue":t=>u.grade=t,placeholder:"\u8BF7\u8F93\u5165\u5E74\u7EA7",clearable:"",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)):D("",!0),e(o,{span:6},{default:l(()=>[e(s,{label:"\u662F\u5426\u8865\u8BFE",prop:"is_lesson"},{default:l(()=>[e(E,{modelValue:u.is_lesson,"onUpdate:modelValue":t=>u.is_lesson=t,size:"medium"},{default:l(()=>[e(i,{label:"1"},{default:l(()=>[m("\u662F")]),_:1}),e(i,{label:"0"},{default:l(()=>[m("\u5426")]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),u.is_lesson?(r(),b(o,{key:1,span:6},{default:l(()=>[e(s,{label:"\u8865\u8BFE\u60C5\u51B5",prop:"lessons"},{default:l(()=>[e(n,{modelValue:u.lessons,"onUpdate:modelValue":t=>u.lessons=t,clearable:"",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)):D("",!0),e(o,{span:6},{default:l(()=>[e(s,{label:"\u5907\u6CE8",prop:"field138"},{default:l(()=>[e(n,{modelValue:u.notes,"onUpdate:modelValue":t=>u.notes=t,placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",clearable:"",style:{width:"100%"}},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))]))),256)):D("",!0)]),_:1},8,["model"])]),_:1}),(r(!0),_(V,null,v(a.datas,(u,c)=>(r(),b(me(k(u.category_child||u.category_id)),{key:u.id,datas:u,update_time:u.update_time},null,8,["datas","update_time"]))),128))],64)}}});const Fl=fe(Be,[["__scopeId","data-v-dcc2f9bf"]]);export{Fl as default};