import{r as n,m as Ke,_ as Qe,p as F,f as xe,A as ue,t as fe,j as e,I as O,ae as Je,B as P,R as ge,g as x,d as c,F as N,D as ce,b as J,ac as Xe,h as de,S as B,a as Ze,y as ea,N as aa,v as he,M as sa}from"./index-CKIL6d0V.js";import{O as ta}from"./index-DS0KBckH.js";import{T as na}from"./index-DhKd6wcu.js";import{F as X}from"./Table-BaVi_066.js";import{R as la}from"./index-CkuBMsw4.js";import ra from"./index-B_PZT89f.js";import{R as pe}from"./FileAddOutlined-DZJhsTo4.js";import{D as me}from"./index-BzG6U_Bx.js";import{R as ia}from"./PlusCircleOutlined-C3dgw0Zs.js";import{P as oa}from"./index-V9Oy4lBT.js";import{R as ca}from"./DeleteOutlined-BHDTCKcb.js";import{R as da}from"./MoreOutlined-D6hW6YIc.js";import{R as ha,a as pa,b as ma}from"./StopOutlined-Cp4rPXEP.js";import{R as xa}from"./WarningOutlined-DXw3DJIi.js";import"./index-C-LPyJas.js";import"./iconUtil-Co5gbObL.js";import"./index-2o7ngel8.js";var ua={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M676 565c-50.8 0-92 41.2-92 92s41.2 92 92 92 92-41.2 92-92-41.2-92-92-92zm0 126c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.2 34-34 34zm204-523H668c0-30.9-25.1-56-56-56h-80c-30.9 0-56 25.1-56 56H264c-17.7 0-32 14.3-32 32v200h-88c-17.7 0-32 14.3-32 32v448c0 17.7 14.3 32 32 32h336c17.7 0 32-14.3 32-32v-16h368c17.7 0 32-14.3 32-32V200c0-17.7-14.3-32-32-32zm-412 64h72v-56h64v56h72v48H468v-48zm-20 616H176V616h272v232zm0-296H176v-88h272v88zm392 240H512V432c0-17.7-14.3-32-32-32H304V240h100v104h336V240h100v552zM704 408v96c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-96c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zM592 512h48c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"}}]},name:"reconciliation",theme:"outlined"},fa=function(j,v){return n.createElement(Ke,Qe({},j,{ref:v,icon:ua}))},ga=n.forwardRef(fa);const ja=F.div`
  height: 100%;
  display: flex;
  flex-direction: column;
  .topSearch {
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
    font-size: 16px;
    margin-bottom: 10px;
    border-radius: 6px;
    background-color: ${t=>t.theme.colorBgContainer};

    display: flex;
    .searchflex {
      flex: 1;
      .searchInput {
        width:60%;
      }
      .ysh_search_TreeSelect {
        width:60%;
      }
    }
    .searchflex.date {
      flex: 2;
      .endDateLabel {
        margin-left: 15px;
      }
    }
    .ysh_search_add {
      margin-left: 20px;
    }
  }
  .people_table {
    flex: 1;
    height: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    .leftOrganize {
      width: 220px;
      height: 100%;
      margin-right: 16px;
      border-radius: 6px;
      background-color: ${t=>t.theme.colorBgContainer};
    }
    .rightTable {
      flex: 1;
      padding: 16px;
      overflow: hidden;
      border-radius: 6px;
      background-color: ${t=>t.theme.colorBgContainer};
      .tableBox {
        height: 100%;
        overflow: auto;
      }
    }
  }

  .ysh_tree {
    flex: 1;
    overflow: auto;
    white-space: nowrap;

    .ant-tree-node-content-wrapper {
      min-height: 36px;
      line-height: 36px;
      font-size: 14px;
      .change_value {
        .ysh_input {
          margin: 0 20px;
          width: 200px;
        }
      }
    }
    /* icon图标的具体位置 */
    .ant-tree-switcher {
      line-height: 36px;
    }
    .ant-tree-node-content-wrapper.ant-tree-node-content-wrapper-open {
      /* background-color: #015092; */
    }
  }
`,va=F.div`
  height: 100%;
  display: flex;
  flex-direction: column;
  .topCommonInfor {
    height: 95px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    border-bottom: 1px dashed ${t=>t.theme.colorBorder};
    .leftInput {
      flex: 1;
      display: flex;
      flex-wrap: wrap;
      .item {
        width: 33%;
        height: 40px;
        line-height: 40px;
        display: flex;
        .label {
          width: 80px;
          opacity: 0.5;
          text-align: right;
        }
        .value {
          flex: 1;
          padding-left: 10px;
        }
      }
    }
    .rightBtn {
      width: 80px;
      .btn {
        height: 100%;
        line-height: 80px;
        border-radius: 10px;
        font-size: 32px;
        text-align: center;
        cursor: pointer;
        color: ${t=>t.theme.colorBorder};
        border: 1px dashed ${t=>t.theme.colorBorder};

        transition: all 0.2s;
        &:hover {
          border-width: 2px;
          font-size: 36px;
        }
      }
    }
  }

  .Profilelist {
    height: 310px;
    display: flex;
    .profileTable {
      width: 50%;
      height: 100%;
      overflow: auto;
    }
    .profileDetail {
      width: 50%;
      padding-left: 15px;
      overflow: auto;
      .items {
        line-height: 36px;
        margin-bottom: 15px;
        display: flex;
        .profileLabel {
          width: 100px;
          padding-right: 15px;
          text-align: right;
          opacity: 0.5;
        }
        .profileValue {
          flex: 1;
          width: 0;
          padding-left: 15px;
          border-radius: 5px;
          border-bottom: 1px dashed ${t=>t.theme.colorBorder};
          background-color: ${t=>t.theme.colorBgLayout};
        }
      }
      .handleBtns {
        height: 40px;
        line-height: 40px;
        padding-left: 100px;
        display: flex;
        justify-content: space-around;
      }
    }
  }
  .reportinfo {
    flex: 1;
    height: 0;
  }

  /* 选中表格行样式 */
  .ant-table .ant-table-container tr.table-tr-row-id {
    background-color: ${t=>t.theme.blue1};
  }
`,ya=F.div`
  .ant-form {
    padding-right: 50px;
    .ant-form-item {
      margin-bottom: 30px;
    }
    .ant-form-item-label {
      font-size: 14px;
      width: 120px;
    }
    .ant-form-item-label > label {
      font-size: 14px;
      opacity: 0.8;
    }
  }
`,wa=F.div`
  height: 650px;
  .box {
    height: 100%;
    display: flex;
    flex-direction: column;
    .topsearch {
      height: 60px;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      .special {
        display: flex;
        align-items: center;
        .treeLabel {
          width: 80px;
          text-align: center;
        }
        .tree {
          flex: 1;
        }
      }
      .btns {
        text-align: right;
      }

      .nameinput {
        flex: 1;
        line-height: 60px;
        .inputLabel {
          margin-right: 10px;
        }
        .searchInput {
          width: 200px;
        }
      }
    }
    .list {
      flex: 1;
      height: 0;
      padding: 16px;
      .tableScroll {
        height: 100%;
        overflow: auto;
      }
    }
  }
`,je=n.memo(t=>{const{personId:j,onchange:v}=t,{organ:k}=xe(l=>l),{message:y}=ue.useApp(),{token:b}=fe.useToken(),[w,z]=n.useState(""),[d,Y]=n.useState(null),[u,I]=n.useState(""),[f,C]=n.useState(0),g=l=>{z(l.target.value)},A=l=>{Y(l)};n.useEffect(()=>{(async()=>{try{const i=await x("/api/Person/All",{pageIndex:1,pageSize:50});I(i.data),C(i.total)}catch(i){y.error(i),console.log(i)}})()},[y]);const $=async()=>{const l={};w&&(l.PName=w),d&&(l.QorganizeId=d);try{const i=await x("/api/Person/All",{pageIndex:1,pageSize:50,...l});I(i.data),C(i.total)}catch(i){y.error(i)}},T=[{title:"序 号",dataIndex:"id",align:"center",width:80,key:"id",render:(l,i,h)=>e.jsx(e.Fragment,{children:h+1})},{title:"账 号",dataIndex:"pNum",align:"center",key:"id"},{title:"姓 名",dataIndex:"pName",align:"center",key:"id"},{title:"性 别",dataIndex:"pSexDesc",width:80,align:"center",key:"id"},{title:"出生日期",dataIndex:"pBirthDate",align:"center",key:"id",render:l=>e.jsx(e.Fragment,{children:c(l).format("YYYY-MM-DD")})},{title:"组织机构",dataIndex:"pOrganizationName",ellipsis:!0,width:300,align:"center",key:"id"}],S=l=>{v(l)},E=async(l,i)=>{try{const h=await x("/api/Person/All",{pageIndex:l,pageSize:i});I(h.data),C(h.total)}catch(h){y.error(h)}};return e.jsx(wa,{theme:b,children:e.jsxs("div",{className:"box",children:[e.jsxs("div",{className:"topsearch",children:[e.jsxs("div",{className:"nameinput",children:[e.jsx("span",{className:"inputLabel",children:"姓 名: "}),e.jsx(O,{value:w,onChange:g,allowClear:!0,placeholder:"输入姓名查询",className:"searchInput"})]}),e.jsxs("div",{className:"nameinput special",children:[e.jsx("span",{className:"treeLabel",children:"组织机构: "}),e.jsx(na,{className:"tree",dropdownStyle:{maxHeight:400,overflow:"auto"},treeData:Je(k,k[0].PId),placeholder:"请选择组织机构",treeDefaultExpandAll:!0,onChange:A,allowClear:!0,value:d,fieldNames:{label:"Name",value:"Id",children:"children"}})]}),e.jsx("div",{className:"nameinput btns",children:e.jsxs(P,{type:"primary",onClick:$,children:[e.jsx(ge,{}),"查 询"]})})]}),e.jsx("div",{className:"list",children:e.jsx("div",{className:"tableScroll",children:e.jsx(X,{rowKey:l=>l.id,columns:T,rowSelection:{type:"radio",selectedRowKeys:j,onChange:S},dataSource:u,size:"small",sticky:!0,pagination:{total:f,showSizeChanger:!0,showQuickJumper:!0,defaultPageSize:50,onChange:E,showTotal:l=>`共 ${l} 条`}})})})]})})});je.displayName="AddProfile";const Na=n.memo(()=>{const{message:t}=ue.useApp(),{token:j}=fe.useToken(),{userInfo:v,organ:k,genderList:y}=xe(a=>a),[b]=N.useForm(),{Option:w}=B,{TextArea:z}=O,[d,Y]=n.useState(""),[u,I]=n.useState(""),[f,C]=n.useState(c().add(-1,"y")),[g,A]=n.useState(c()),[$,T]=n.useState(!1),[S,E]=n.useState({}),[l,i]=n.useState({}),[h,ve]=n.useState({}),[ye,L]=n.useState(!1),[we,_]=n.useState(!1),[Ne,Z]=n.useState(!1),[be,M]=n.useState(!1),[V,ee]=n.useState(null),[ae,H]=n.useState([]),[Ie,se]=n.useState(""),[o,G]=n.useState(null),[q,Ce]=n.useState(null),[p,te]=n.useState({}),[Se,U]=n.useState([]);n.useEffect(()=>{(async()=>{T(!0);try{const s=await x("/api/Dict/GetDict_Consult_Type");E(s.data);const r=await x("/api/Dict/GetDict_Consult_Way");i(r.data);const m=await x("/api/Dict/GetDict_Evaluation_Level");ve(m.data);const D=await x("/api/PsyCounse/GetLisProfile",{type:1,pageIndex:1,pageSize:50});if(D.code===200){const{items:Q,totalRecords:We}=D.data;H(Q),U(We)}else t.error(D.msg)}catch(s){t.error(s),console.log(s)}finally{T(!1)}})()},[t]);const _e=[{title:"序 号",dataIndex:"index",align:"center",width:80,render:(a,s,r)=>e.jsx(e.Fragment,{children:r+1})},{title:"档案编号",dataIndex:"archives_id",align:"center",render:a=>e.jsx(e.Fragment,{children:a})},{title:"姓 名",dataIndex:"pname",align:"center",render:a=>e.jsx(e.Fragment,{children:a})},{title:"性 别",dataIndex:"pSex",align:"center",render:a=>e.jsx(e.Fragment,{children:y[a]})},{title:"组织机构",dataIndex:"orgid",align:"center",render:a=>e.jsx(e.Fragment,{children:ne(a)})},{title:"日期",dataIndex:"updatetime",align:"center",render:a=>e.jsx(e.Fragment,{children:c(a).format("YYYY-MM-DD")})},{title:"操 作",dataIndex:"id",align:"center",key:"handle",render:(a,s)=>e.jsx(e.Fragment,{children:e.jsxs(Ze,{size:"middle",style:{color:j.colorPrimaryText},children:[e.jsxs("span",{style:{cursor:"pointer"},onClick:()=>$e(s),children:[e.jsx(da,{}),"咨询详情"]}),e.jsxs("span",{style:{cursor:"pointer"},onClick:()=>Re(s),children:[e.jsx(ga,{})," 行为记录"]})]})})}],Re=a=>{Z(!0),te(a)},De=[{title:"序 号",dataIndex:"index",width:60,align:"center",render:(a,s,r)=>e.jsx(e.Fragment,{children:r+1})},{title:"评价等级",dataIndex:"evaluation_level",align:"center",key:"id",render:a=>e.jsxs("span",{style:{color:le(a,!0)},children:[re(a),"   ",h[a]]})},{title:"面询时间",dataIndex:"updatetime",align:"center"},{title:"咨询师",dataIndex:"cname",align:"center"}],ne=a=>{let s="";return k.forEach(r=>{r.Id===a&&(s=r.Name)}),s},Pe=a=>{Y(a.target.value)},ke=a=>{I(a.target.value)},ze=a=>{if(g&&c(g).valueOf()<c(a).valueOf()){t.warning("开始时间不得大于结束时间");return}else C(a)},Te=a=>{if(f&&c(f).valueOf()>c(a).valueOf()){t.warning("开始时间不得大于结束时间");return}else A(a)},W=a=>{x("/api/PsyCounse/GetLisProfile",a).then(s=>{if(s.code===200){t.success(s.msg,3);const{items:r,totalRecords:m}=s.data;H(r),U(m)}else t.error(s.msg)})},Le=()=>{const a={};d&&(a.archives_id=d),u&&(a.PName=u),f&&g&&(a.StartTime=c(f).format("YYYY-MM-DD"),a.EndTime=c(g).format("YYYY-MM-DD")),W({pageIndex:1,pageSize:10,...a})},le=(a,s=!1)=>{switch(a){case 1:return s?"#5BC946":" 正常";case 2:return s?"#FFC125":" 一般";case 3:return s?"#FF8C00":" 严重";case 4:return s?"#ff0000":" 异常";case 5:return s?"#B413EC":" 高危";case"*":return s?"#aaa":" 未知";default:return""}},re=a=>{switch(a){case 1:return e.jsx(ma,{});case 2:return e.jsx(aa,{});case 3:return e.jsx(pa,{});case 4:return e.jsx(ea,{});case 5:return e.jsx(xa,{});case"*":return e.jsx(ha,{});default:return""}},Be=a=>{const s={};d&&(s.archives_id=d),u&&(s.PName=u),a&&(s.QorganizeId=a),f&&g&&(s.StartTime=c(f).format("YYYY-MM-DD"),s.EndTime=c(g).format("YYYY-MM-DD")),W({pageIndex:1,pageSize:10,...s})},Oe=a=>{Be(a)},Fe=(a,s)=>{const r={};d&&(r.archives_id=d),u&&(r.PName=u),W({pageIndex:a,pageSize:s,...r})},Ye=a=>({onClick:()=>{se(a.id)}}),Ae=a=>a.id===Ie?(G(a),"table-tr-row-id"):"",$e=async a=>{te(a);const s=await x("/api/PsyCounse/GetLisProfile",{c_id:a.c_id,person_id:a.person_id,type:2,pageIndex:1,pageSize:9999});if(s.code===200){const{items:r}=s.data;r[0]&&se(r[0].id),Ce(r),G(r[0]),L(!0)}else G(null),t.error(s.msg)},[ie,oe]=n.useState(""),Ee=async()=>{oe("编辑咨询记录"),b.setFieldsValue({consult_type:o.consult_type,consult_way:o.consult_way,appeals:o.appeals,reply:o.reply,evaluation_level:o.evaluation_level}),_(!0)},Me=async()=>{oe("新建咨询记录"),b.setFieldsValue({consult_type:null,consult_way:null,appeals:null,reply:null,evaluation_level:null}),_(!0)},Ve=async a=>{if(K)return;let s={c_id:v.id,person_id:p.person_id,archives_id:p.archives_id,...a};ie==="编辑咨询记录"&&(s.id=o.id);const r={type:2};R(!0);const m=await he("/api/PsyCounse/AddOrUpdate_profile",s,r);m.code===200?(t.success(m.msg),_(!1),L(!1)):t.error(m.msg),R(!1)},He=async()=>{const a=await sa(`/api/PsyCounse/profileDelete/${o.id}`);a.code===200?(t.success(a.msg),_(!1),L(!1)):t.error(a.msg)},Ge=()=>{M(!0)},[K,R]=n.useState(!1),qe=a=>{ee(a)},Ue=async()=>{if(K)return;if(!V){t.warning("未选择人员");return}const a={person_id:V[0]},s={type:1};R(!0);const r=await he("/api/PsyCounse/AddOrUpdate_profile",a,s);r.code===200?(t.success(r.msg),M(!1),ee(null),R(!1),x("/api/PsyCounse/GetLisProfile",{type:1,pageIndex:1,pageSize:10}).then(m=>{if(m.code===200){const{items:D,totalRecords:Q}=m.data;H(D),U(Q)}else t.error(m.msg)})):(R(!1),t.error(r.msg))};return e.jsxs(ja,{theme:j,children:[e.jsxs("div",{className:"topSearch",children:[e.jsxs("div",{className:"searchflex",children:[e.jsx("span",{children:"档案编号: "}),e.jsx(O,{value:d,onChange:Pe,allowClear:!0,placeholder:"请输入档案编号",className:"searchInput"})]}),e.jsxs("div",{className:"searchflex",children:[e.jsx("span",{children:"姓 名: "}),e.jsx(O,{className:"searchInput",onChange:ke,allowClear:!0,value:u,placeholder:"请输入姓名"})]}),e.jsxs("div",{className:"searchflex date",children:[e.jsx("span",{children:"开始 : "}),e.jsx(ce,{value:f,allowClear:!0,onChange:ze}),e.jsx("span",{className:"endDateLabel",children:"至 : "}),e.jsx(ce,{value:g,allowClear:!0,onChange:Te})]}),e.jsxs("div",{className:"searchflex",children:[e.jsxs(P,{onClick:Le,type:"primary",children:[e.jsx(ge,{}),"查 询"]}),e.jsxs(P,{className:"ysh_search_add",onClick:()=>Ge(),children:[e.jsx(pe,{}),"新建档案"]})]})]}),e.jsxs("div",{className:"people_table",children:[e.jsx("div",{className:"leftOrganize",children:e.jsx(ta,{onSelectOrg:Oe})}),e.jsx("div",{className:"rightTable",children:e.jsx("div",{className:"tableBox",children:ae&&e.jsx(X,{columns:_e,rowKey:a=>a.id,dataSource:ae||[],size:"small",sticky:!0,loading:$,pagination:{total:Se,showSizeChanger:!0,showQuickJumper:!0,defaultPageSize:50,onChange:Fe,showTotal:a=>`共 ${a} 条`}})})})]}),e.jsx(me,{title:e.jsxs(e.Fragment,{children:[e.jsx(J,{}),"  编辑档案"]}),width:1200,destroyOnClose:!0,placement:"right",onClose:()=>L(!1),open:ye,children:e.jsxs(va,{theme:j,info:p,children:[e.jsxs("div",{className:"topCommonInfor",children:[e.jsxs("div",{className:"leftInput",children:[e.jsxs("div",{className:"item",children:[e.jsx("span",{className:"label",children:"个案编号: "}),e.jsx("span",{className:"value",children:p.archives_id})]}),e.jsxs("div",{className:"item",children:[e.jsx("span",{className:"label",children:"账号: "}),e.jsx("span",{className:"value",children:p.pNum})]}),e.jsxs("div",{className:"item",children:[e.jsx("span",{className:"label",children:"姓名: "}),e.jsx("span",{className:"value",children:p.pname})]}),e.jsxs("div",{className:"item",children:[e.jsx("span",{className:"label",children:"性别: "}),e.jsx("span",{className:"value",children:y[p.pSex]})]}),e.jsxs("div",{className:"item",children:[e.jsx("span",{className:"label",children:"所属机构: "}),e.jsx("span",{className:"value",children:ne(p.orgid)})]}),e.jsxs("div",{className:"item",children:[e.jsx("span",{className:"label",children:"建档日期: "}),e.jsx("span",{className:"value",children:c(p.updatetime).format("YYYY-MM-DD")})]})]}),e.jsx("div",{className:"rightBtn",children:v.isAdmin===2&&e.jsx("div",{className:"btn",onClick:()=>Me(),children:e.jsx(Xe,{placement:"bottom",title:"添加咨询",children:e.jsx(ia,{})})})})]}),e.jsxs("div",{className:"Profilelist",children:[e.jsx("div",{className:"profileTable",children:q&&e.jsx(X,{columns:De,rowKey:a=>a.id,dataSource:q||[],size:"small",sticky:!0,onRow:a=>Ye(a),rowClassName:a=>Ae(a),pagination:{total:q.length,showTotal:a=>`共 ${a} 条`}})}),e.jsx("div",{className:"profileDetail",children:o?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"items",children:[e.jsx("div",{className:"profileLabel",children:"咨询方式:"}),e.jsx("div",{className:"profileValue",children:l[o.consult_way]})]}),e.jsxs("div",{className:"items",children:[e.jsx("div",{className:"profileLabel",children:"咨询类型:"}),e.jsx("div",{className:"profileValue",children:S[o.consult_type]})]}),e.jsxs("div",{className:"items",children:[e.jsx("div",{className:"profileLabel",children:"主述:"}),e.jsx("div",{className:"profileValue",children:o.appeals})]}),e.jsxs("div",{className:"items",children:[e.jsx("div",{className:"profileLabel",children:"回复:"}),e.jsx("div",{className:"profileValue",children:o.reply})]}),e.jsxs("div",{className:"items",children:[e.jsx("div",{className:"profileLabel",children:"评价等级:"}),e.jsx("div",{className:"profileValue",children:e.jsxs("span",{style:{color:le(o.evaluation_level,!0)},children:[re(o.evaluation_level),"   ",h[o.evaluation_level]]})})]}),v.isAdmin===2&&e.jsxs("div",{className:"handleBtns",children:[e.jsx(oa,{placement:"top",title:"确定删除当前面询?",onConfirm:()=>He(),okText:"删除",cancelText:"取消",children:e.jsxs(P,{children:[e.jsx(ca,{})," 删 除"]})}),e.jsxs(P,{type:"primary",onClick:()=>Ee(),children:[e.jsx(J,{})," 编 辑"]})]})]}):e.jsx("p",{style:{lineHeight:"100px",fontSize:"28px",textAlign:"center"},children:"暂无咨询,请添加~~~"})})]}),e.jsx("div",{className:"reportinfo",children:e.jsx(la,{pnum:p.pNum})})]})}),e.jsx(me,{title:e.jsxs(e.Fragment,{children:[e.jsx(J,{}),"  行为记录"]}),width:1200,placement:"right",onClose:()=>Z(!1),open:Ne,children:e.jsx(ra,{info:p})}),e.jsx(de,{width:618,text:e.jsx("span",{style:{fontSize:"20px"},children:ie}),open:we,maskClosable:!1,onOk:()=>b.submit(),onCancel:()=>_(!1),children:e.jsx(ya,{children:e.jsxs(N,{form:b,onFinish:Ve,children:[e.jsx(N.Item,{label:"咨询类型",name:"consult_type",rules:[{required:!0,message:"请选择咨询类型"}],children:e.jsx(B,{className:"ysh_antd_select",placeholder:"请选择咨询类型",allowClear:!0,children:Object.keys(S).map((a,s)=>e.jsx(w,{value:s+1,children:S[a]},a))})}),e.jsx(N.Item,{label:"咨询方式",name:"consult_way",rules:[{required:!0,message:"请选择咨询方式"}],children:e.jsx(B,{className:"ysh_antd_select",placeholder:"请选择咨询方式",allowClear:!0,children:Object.keys(l).map((a,s)=>e.jsx(w,{value:s+1,children:l[a]},a))})}),e.jsx(N.Item,{label:"主述",name:"appeals",rules:[{required:!0,message:"请输入主述"}],children:e.jsx(z,{className:"ysh_antd_input"})}),e.jsx(N.Item,{label:"回复",name:"reply",rules:[{required:!0,message:"请输入回复"}],children:e.jsx(z,{className:"ysh_antd_input"})}),e.jsx(N.Item,{label:"评价等级",name:"evaluation_level",rules:[{required:!0,message:"请选择评价等级"}],children:e.jsx(B,{className:"ysh_antd_select",placeholder:"请选择评价等级",allowClear:!0,children:Object.keys(h).map((a,s)=>e.jsx(w,{value:s+1,children:h[a]},a))})})]})})}),e.jsx(de,{width:1200,text:e.jsxs(e.Fragment,{children:[e.jsx(pe,{})," 新建档案"]}),open:be,confirmLoading:K,maskClosable:!1,onOk:()=>Ue(),onCancel:()=>M(!1),children:e.jsx(je,{personId:V,onchange:qe})})]})});Na.displayName="PersonalProfile";export{Na as default};
