You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 lines
30KB

  1. import{_ as Ee}from"./index.377bedb0.js";import Me from"./addExpertDialog.00a104c4.js";import $e from"./addProjectDialog.78d32f2c.js";import{f as A}from"./expertStore.c6cf7613.js";import{c as Fe,r as He}from"./reviewMeeting.68efe1b9.js";import{d as Ge,C as se,B as X,y as ze,r as _,b as N,o as Je,D as We,c as v,e as m,f as T,h as t,i as l,g as R,j as g,F as h,H as C,u as L,G as x,t as O,k as Z,I as Ke,$ as Qe,q as Xe}from"./index.814371f6.js";import{g as Ze}from"./getTimeDiffer.8e05304a.js";import"./unitManage.9704aa3a.js";const et=["onClick"],tt={class:"card-header flex justify-between"},lt={class:"flex flex-col items-start"},at={class:"flex flex-col items-start"},nt={class:"flex flex-col items-start"};const ot={class:"footer"},it=Ge({name:"addMeeting"}),Rt=Object.assign(it,{setup(rt){const{dictList:D}=se(X.dictStore),{meetingTypeOptions:ue,projectTypeOptions:de}=X.dictStore.globalDicts||{},{proxy:ee}=Xe(),pe=se(X.userStore).userInfo||{},te=ze(),le=_(),a=N({expertInviteRule:{inviteType:1,randomRules:[{expertDicts:[],expertTags:[]}],appointRule:{},avoidRule:{avoidUnitIdList:[],avoidOrgIdList:[],expertIds:[],avoidType:pe.value.regionName==="\u5E02\u672C\u7EA7"?2:1}},meetingBasicInfo:{isInnerProject:!0}}),ae=(n,e)=>{if(!n){a.expertInviteRule.randomRules[e].expertDicts=[];return}const u=n.split("##")[1],o={dictCodes:[n.split("##")[0]],expertDict:u};if(a.expertInviteRule.randomRules[e].expertDicts.length===0)a.expertInviteRule.randomRules[e].expertDicts.push(o);else{const r=a.expertInviteRule.randomRules[e].expertDicts.findIndex(d=>d.expertDict===u);r!==-1?a.expertInviteRule.randomRules[e].expertDicts.splice(r,1,o):a.expertInviteRule.randomRules[e].expertDicts.push(o)}},P=(n,e)=>{let u,o,r;if(n)Array.isArray(n)?(u=n[0].split("##")[0],o=n[n.length-1].split("##")[0],r={tagGeneralType:u,tagCodes:[n[n.length-1].split("##")[2]],expertTag:u}):(o=n.split("##")[0],r={tagType:o,tagCodes:[n.split("##")[2]],expertTag:o});else{r=void 0,a.expertInviteRule.randomRules[e].expertTags=[];return}if(a.expertInviteRule.randomRules[e].expertTags.length===0)a.expertInviteRule.randomRules[e].expertTags.push(r);else if(Array.isArray(n)){const d=a.expertInviteRule.randomRules[e].expertTags.findIndex(y=>y.tagGeneralType===u);d!==-1?a.expertInviteRule.randomRules[e].expertTags.splice(d,1,r):a.expertInviteRule.randomRules[e].expertTags.push(r)}else{const d=a.expertInviteRule.randomRules[e].expertTags.findIndex(y=>y.tagType===o);d!==-1?a.expertInviteRule.randomRules[e].expertTags.splice(d,1,r):a.expertInviteRule.randomRules[e].expertTags.push(r)}},ce=N([{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"150",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"150",showOverflowTooltip:!0},{label:"\u9879\u76EE\u7C7B\u578B",slot:"projectTypeName",prop:"projectTypeName",width:"100"},{label:"\u7533\u62A5\u91D1\u989D",key:"declaredAmount",prop:"declaredAmount",width:"130"},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:"100"},{label:"\u64CD\u4F5C",slot:"action",width:"60",fixed:"right"}]),me=(n,e,u)=>Ze(new Date(e[0].replace(/-/g,"/")),new Date,"h")>1?u():u(new Error("\u8BC4\u5BA1\u65F6\u95F4\u5FC5\u987B\u662F\u5F53\u524D\u65F6\u95F4\u7684\u4E00\u5C0F\u65F6\u4E4B\u540E")),ge=N({"meetingBasicInfo.name":[{required:!0,message:"\u8BF7\u8F93\u5165\u4F1A\u8BAE\u540D\u79F0",trigger:"blur"}],"meetingBasicInfo.isInnerProject":[{required:!0,message:"\u8BF7\u9009\u62E9",trigger:"blur"}],"meetingBasicInfo.type":[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u5BA1\u7C7B\u578B",trigger:"blur"}],"meetingBasicInfo.projectIdList":[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u5BA1\u9879\u76EE",trigger:"blur"}],"meetingBasicInfo.projects":[{required:!0,message:"\u8BF7\u586B\u5199\u8BC4\u5BA1\u9879\u76EE",trigger:"blur"}],"meetingBasicInfo.times":[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u5BA1\u65F6\u95F4",trigger:"change"},{validator:me,trigger:"change"}],"meetingBasicInfo.meetingUsageTime":[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u5BA1\u8017\u65F6",trigger:"blur"}],"meetingBasicInfo.meetingAddress":[{required:!0,message:"\u8BF7\u8F93\u5165\u8BC4\u5BA1\u5730\u70B9",trigger:"blur"}],"meetingBasicInfo.judgesAttendanceTime":[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u59D4\u5230\u573A\u65F6\u95F4",trigger:"blur"}],"meetingBasicInfo.connecter":[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA",trigger:"blur"}],"meetingBasicInfo.contact":[{required:!0,message:"\u8BF7\u8F93\u5165\u8054\u7CFB\u65B9\u5F0F",trigger:"blur"}],"expertInviteRule.inviteType":[{required:!0,message:"\u8BF7\u9009\u62E9\u62BD\u53D6\u65B9\u5F0F",trigger:"blur"}],"expertInviteRule.appointRule.inviteDesc":[{required:!0,message:"\u8BF7\u8F93\u5165\u62BD\u53D6\u7406\u7531",trigger:"blur"}],"expertInviteRule.appointRule.expertIdList":[{required:!0,message:"\u8BF7\u6307\u5B9A\u4E13\u5BB6",trigger:"blur"}],"expertInviteRule.avoidRule.avoidUnitIdList":[{required:!0,message:"\u8BF7\u6DFB\u52A0\u56DE\u907F\u5355\u4F4D",trigger:"blur"}],"expertInviteRule.avoidRule.expertIds":[{required:!0,message:"\u8BF7\u6DFB\u52A0\u56DE\u907F\u4E13\u5BB6",trigger:"blur"}],"expertInviteRule.avoidRule.avoidOrgIdList":[{required:!0,message:"\u8BF7\u6DFB\u52A0\u56DE\u907F\u6761\u7EBF",trigger:"blur"}],"expertInviteRule.avoidRule.avoidType":[{required:!0,message:"\u8BF7\u9009\u62E9"}]}),Y=_(!1),fe=async n=>{!n||await n.validate(async(e,u)=>{var o,r,d,y;if(e){const c=JSON.parse(JSON.stringify(a));a.expertInviteRule.inviteType===1?(delete c.expertInviteRule.appointRule,c.expertInviteRule.randomRules.forEach(f=>{f.inviteType=c.expertInviteRule.inviteType,Object.keys(f).forEach(I=>{switch(I){case"expertSource":delete f[I];break;case"expertType":delete f[I];break;case"goodAt":delete f[I];break;case"otherTag":delete f[I];break;case"professionalLevel":delete f[I];break;case"expertRegionLists":delete f[I];break}})})):(delete c.expertInviteRule.randomRules,c.expertInviteRule.appointRule.inviteType=c.expertInviteRule.inviteType,c.expertInviteRule.appointRule.expertIdList=c.expertInviteRule.appointRule.expertIdList.map(f=>f.id),c.expertInviteRule.appointRule.count=(r=(o=c.expertInviteRule.appointRule)==null?void 0:o.expertIdList)==null?void 0:r.length),c.expertInviteRule.avoidRule.avoidUnitIdList=c.expertInviteRule.avoidRule.avoidUnitIdList.map(f=>f.organizationCode),c.expertInviteRule.avoidRule.expertIds=c.expertInviteRule.avoidRule.expertIds.map(f=>f.userId),a.meetingBasicInfo.isInnerProject?c.meetingBasicInfo.innerProjects=c.meetingBasicInfo.projectIdList.map(f=>({projectId:f.id,projectCode:f.projectCode})):(c.meetingBasicInfo.projects=[],c.meetingBasicInfo.projects.push({projectName:a.meetingBasicInfo.projects})),c.meetingBasicInfo.startTime=((d=c.meetingBasicInfo.times)==null?void 0:d[0])||void 0,c.meetingBasicInfo.endTime=((y=c.meetingBasicInfo.times)==null?void 0:y[1])||void 0,c.meetingBasicInfo.times=void 0,Y.value=!0,await ve(c)}else console.log("error submit!",u)})},ve=async n=>{try{await Fe(n),ee.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),Y.value=!1,te.go(-1)}catch{Y.value=!1}},w=N({visible:!1,meetingType:a.meetingBasicInfo.type,data:[]}),Ie=()=>{w.visible=!0,w.meetingType=a.meetingBasicInfo.type,w.data=a.meetingBasicInfo.projectIdList},Re=n=>{a.meetingBasicInfo.projectIdList=JSON.parse(JSON.stringify(n)),w.visible=!1},xe=n=>{const e=a.meetingBasicInfo.projectIdList.findIndex(u=>u.id===n.id);a.meetingBasicInfo.projectIdList.splice(e,1)},E=_(),st=()=>{E.value="\u56DE\u907F\u6761\u7EBF",b.defaultProps={children:"records",label:"businessStripName",value:"businessStripCode",isLeaf:"isLeaf"},b.type="LINE",b.unitVisible=!0,b.showCheckbox=!0,b.data=a.expertInviteRule.avoidRule.avoidOrgIdList&&a.expertInviteRule.avoidRule.avoidOrgIdList.map(n=>n)||[]},ut=n=>{a.expertInviteRule.avoidRule.avoidOrgIdList.splice(n,1)},b=N({unitVisible:!1,showCheckbox:!1,data:void 0}),be=()=>{b.unitVisible=!0,b.showCheckbox=!0,b.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},b.type="UNIT",b.data=a.expertInviteRule.avoidRule.avoidUnitIdList&&a.expertInviteRule.avoidRule.avoidUnitIdList.map(n=>({key:n.organizationCode,title:n.name}))||[]},ye=()=>{E.value=void 0,b.unitVisible=!1},_e=n=>{E.value==="\u56DE\u907F\u6761\u7EBF"?a.expertInviteRule.avoidRule.avoidOrgIdList=n.map(e=>e):a.expertInviteRule.avoidRule.avoidUnitIdList=n.map(e=>({organizationCode:e.key,name:e.title}))},Te=n=>{a.expertInviteRule.avoidRule.avoidUnitIdList.splice(n,1)},M=_(),V=N({visible:!1,data:[]}),he=()=>{var n,e;M.value=1,V.visible=!0,V.data=((e=(n=a.expertInviteRule.appointRule)==null?void 0:n.expertIdList)==null?void 0:e.map(u=>({userId:u.id,expertName:u.name})))||[]},Ce=n=>{M.value===1?a.expertInviteRule.appointRule.expertIdList=n.map(e=>({id:e.userId,name:e.expertName})):a.expertInviteRule.avoidRule.expertIds=n,V.visible=!1},Ve=n=>{a.expertInviteRule.appointRule.expertIdList.splice(a.expertInviteRule.appointRule.expertIdList.indexOf(n),1)},Be=n=>{a.expertInviteRule.avoidRule.expertIds.splice(a.expertInviteRule.avoidRule.expertIds.indexOf(n),1)},Le=()=>{var n;M.value=2,V.visible=!0,V.data=((n=a.expertInviteRule.avoidRule)==null?void 0:n.expertIds)||[]},S=_([0]),we=()=>{if(a.expertInviteRule.randomRules.length>=5){ee.$message.warning("\u6700\u591A\u6DFB\u52A05\u4E2A\u89C4\u5219");return}S.value.push(S.value.length),a.expertInviteRule.randomRules.push({expertDicts:[],expertTags:[]})},je=n=>{a.expertInviteRule.randomRules.splice(n,1),S.value.splice(n,1)},H=_([]),G=_([]),z=_([]),J=_([]),W=_([]),U=n=>n==null?void 0:n.map(u=>{const o={};if(o.value=u.parentCode+"##"+u.unionCode,o.label=u.tagName,u.children&&u.children.length){o.children=u.children.map(d=>({value:d.parentCode+"##"+d.unionCode,label:d.tagName}));const r=U(u.children);o.children=[...r]}return o}),ke=(n,e)=>{var u;console.log(a.expertInviteRule.randomRules[e].expertRegionLists),a.expertInviteRule.randomRules[e].expertRegionList=((u=a.expertInviteRule.randomRules[e].expertRegionLists)==null?void 0:u.map(o=>{var r,d;return{regionCode:(r=o[o.length-1])==null?void 0:r.split("##")[0],regionLevel:((d=o[o.length-1])==null?void 0:d.split("##")[2])*1}}))||[]},De=(n,e)=>{let u=[];n?u=n.pop().split("##"):u=[];const o=u==null?void 0:u[0],r=u==null?void 0:u[2];a.expertInviteRule.randomRules[e].intentionRegionCode=o,a.expertInviteRule.randomRules[e].intentionRegionLevel=r},q=async n=>{if(n==="technical_expertise"&&H.value.length===0){const e=await A({rootTagCodeList:[n]});H.value=U(e)[0].children}else if(n==="industry_sector"&&G.value.length===0){const e=await A({rootTagCodeList:[n]});G.value=U(e)[0].children}else if(n==="expert_source"&&z.value.length===0){const e=await A({rootTagCodeList:[n]});z.value=U(e)[0].children}else if(n==="good_at"&&J.value.length===0){const e=await A({rootTagCodeList:[n]});J.value=U(e)[0].children}else if(n==="other"&&W.value.length===0){const e=await A({rootTagCodeList:[n]});W.value=U(e)[0].children}},K=_([]),ne=n=>n.map(u=>{const o={};if(o.value=u.unionCode,o.label=u.name,u.children&&u.children.length){o.children=u.children.map(d=>({value:d.unionCode,label:d.name}));const r=ne(u.children);o.children=[...r]}return o}),Ue=n=>{n?a.meetingBasicInfo.projects=void 0:a.meetingBasicInfo.projectIdList=void 0},Ne=()=>{a.meetingBasicInfo.projectIdList=[]},Oe=_({multiple:!0}),oe=_([]),Pe=async()=>{const n=await Ke();oe.value=n.data};Je(async()=>{const n=await We({regionCode:330500,regionLevel:2}),e=[];e.push(n.data),K.value=ne(e),Pe()});async function Se(){const n=`{"expertInviteRule":{"inviteType":1,"randomRules":[{"expertDicts":[{"dictCodes":["300000"],"expertDict":"expert_type"},{"dictCodes":["900001"],"expertDict":"title_level"}],"expertTags":[{"tagType":"other","tagCodes":["5300000"],"expertTag":"other"},{"tagType":"expert_source","tagCodes":["1020000"],"expertTag":"expert_source"},{"tagGeneralType":"industry_sector","tagCodes":["4040300"],"expertTag":"industry_sector"},{"tagGeneralType":"technical_expertise","tagCodes":["3010102"],"expertTag":"technical_expertise"},{"tagType":"good_at","tagCodes":["2010000"],"expertTag":"good_at"}],"count":12,"expertRegionList":[{"regionCode":"330502","regionLevel":3}],"intentionRegionCode":"330500","intentionRegionLevel":"3","inviteType":1}],"avoidRule":{"avoidUnitIdList":["GO_3bc86256687a4884ae410af00682b762"],"avoidOrgIdList":[],"expertIds":[172],"avoidType":2,"weekInviteCount":1}},"meetingBasicInfo":{"isInnerProject":true,"name":"\u6D4B\u8BD5","type":"2","projectIdList":[{"buildOrg":"\u53D1\u6539\u59D4","createOn":"2024-08-21 17:12","declaredAmount":20,"id":1000,"projectCode":"33050000020240100074","projectName":"725\u9884\u5BA1\u64A4\u56DE\u6D4B\u8BD5","projectType":"02","projectYear":2024}],"meetingUsageTime":2,"judgesAttendanceTime":"2024-09-15 00:00","meetingAddress":"111","connecter":"\u7684","contact":"18181818181","innerProjects":[{"projectId":1000,"projectCode":"33050000020240100074"}],"startTime":"2024-09-15 00:00","endTime":"2024-09-18 00:00"}}
  2. `,e=JSON.parse(n),u=await He(e),o=e.expertInviteRule.randomRules.reduce((r,d)=>r+d.count,0);console.log(o),u.data.canInvite<o&&Qe.confirm("\u5F53\u524D\u53EF\u9080\u8BF7\u4E13\u5BB6\u6570\u91CF\u4E0D\u8DB3\uFF0C\u662F\u5426\u7EE7\u7EED\u9080\u8BF7\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{console.log("\u7EE7\u7EED")})}return(n,e)=>{const u=v("el-input"),o=v("el-form-item"),r=v("el-col"),d=v("el-row"),y=v("el-radio"),c=v("el-radio-group"),f=v("table-list"),I=v("el-button"),ie=v("el-date-picker"),$=v("el-card"),re=v("el-input-number"),B=v("el-option"),j=v("el-select"),F=v("el-cascader"),qe=v("Plus"),Ae=v("el-icon"),Q=v("el-tag"),Ye=v("el-form");return m(),T(h,null,[t(Ye,{ref_key:"ruleFormRef",ref:le,model:a,rules:ge,"label-width":"auto",class:"demo-ruleForm footerPage","label-suffix":"\uFF1A","scroll-to-error":""},{default:l(()=>[t($,{class:"mb-16",shadow:"never"},{header:l(()=>e[25]||(e[25]=[R("div",{class:"card-header"},[R("span",null,"\u57FA\u672C\u4FE1\u606F")],-1)])),default:l(()=>[t(d,{gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u4F1A\u8BAE\u540D\u79F0",prop:"meetingBasicInfo.name"},{default:l(()=>[t(u,{modelValue:a.meetingBasicInfo.name,"onUpdate:modelValue":e[0]||(e[0]=s=>a.meetingBasicInfo.name=s),placeholder:"\u8BF7\u8F93\u5165",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u662F\u5426\u7CFB\u7EDF\u5185\u9879\u76EE",prop:"meetingBasicInfo.isInnerProject"},{default:l(()=>[t(c,{modelValue:a.meetingBasicInfo.isInnerProject,"onUpdate:modelValue":e[1]||(e[1]=s=>a.meetingBasicInfo.isInnerProject=s),class:"ml-4",onChange:Ue},{default:l(()=>[t(y,{label:!0},{default:l(()=>e[26]||(e[26]=[g("\u662F")])),_:1}),t(y,{label:!1},{default:l(()=>e[27]||(e[27]=[g("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u8BC4\u5BA1\u7C7B\u578B",prop:"meetingBasicInfo.type"},{default:l(()=>[t(c,{modelValue:a.meetingBasicInfo.type,"onUpdate:modelValue":e[2]||(e[2]=s=>a.meetingBasicInfo.type=s),onChange:Ne},{default:l(()=>[(m(!0),T(h,null,C(L(ue),(s,p)=>(m(),x(y,{key:p,label:p},{default:l(()=>[g(O(s),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:a.meetingBasicInfo.isInnerProject?24:12},{default:l(()=>[a.meetingBasicInfo.isInnerProject?(m(),x(o,{key:0,label:"\u8BC4\u5BA1\u9879\u76EE",prop:"meetingBasicInfo.projectIdList"},{default:l(()=>[t(f,{class:"w-full",column:ce,pagination:!1,height:200,data:a.meetingBasicInfo.projectIdList},{projectTypeName:l(({scope:s})=>{var p;return[g(O(L(de)[(p=s.row)==null?void 0:p.projectType]),1)]}),action:l(({scope:s})=>[R("a",{onClick:p=>xe(s.row)},"\u5220\u9664",8,et)]),_:1},8,["column","data"])]),_:1})):(m(),x(o,{key:1,label:"\u8BC4\u5BA1\u9879\u76EE",prop:"meetingBasicInfo.projects"},{default:l(()=>[t(u,{modelValue:a.meetingBasicInfo.projects,"onUpdate:modelValue":e[3]||(e[3]=s=>a.meetingBasicInfo.projects=s),placeholder:"\u8BF7\u8F93\u5165",maxlength:50},null,8,["modelValue"])]),_:1}))]),_:1},8,["span"]),t(r,{span:12},{default:l(()=>[a.meetingBasicInfo.isInnerProject?(m(),x(I,{key:0,class:"ml-40",type:"primary",disabled:!a.meetingBasicInfo.type,onClick:e[4]||(e[4]=s=>Ie())},{default:l(()=>e[28]||(e[28]=[g("\u6DFB\u52A0\u9879\u76EE")])),_:1},8,["disabled"])):Z("",!0)]),_:1})]),_:1}),t(d,{gutter:20,class:"mt-30"},{default:l(()=>[t(r,{span:15},{default:l(()=>[t(o,{label:"\u8BC4\u5BA1\u65F6\u95F4",prop:"meetingBasicInfo.times"},{default:l(()=>[t(ie,{modelValue:a.meetingBasicInfo.times,"onUpdate:modelValue":e[5]||(e[5]=s=>a.meetingBasicInfo.times=s),type:"datetimerange",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm"},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{span:12},{default:l(()=>[t(o,{label:"\u8BC4\u5BA1\u8017\u65F6",prop:"meetingBasicInfo.meetingUsageTime"},{default:l(()=>[t(c,{modelValue:a.meetingBasicInfo.meetingUsageTime,"onUpdate:modelValue":e[6]||(e[6]=s=>a.meetingBasicInfo.meetingUsageTime=s),class:"ml-4"},{default:l(()=>[t(y,{label:1},{default:l(()=>e[29]||(e[29]=[g("\u534A\u5929")])),_:1}),t(y,{label:2},{default:l(()=>e[30]||(e[30]=[g("\u4E00\u5929")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(r,{span:12},{default:l(()=>[t(o,{label:"\u8BC4\u59D4\u5230\u573A\u65F6\u95F4",prop:"meetingBasicInfo.judgesAttendanceTime"},{default:l(()=>[t(ie,{modelValue:a.meetingBasicInfo.judgesAttendanceTime,"onUpdate:modelValue":e[7]||(e[7]=s=>a.meetingBasicInfo.judgesAttendanceTime=s),type:"datetime",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY-MM-DD HH:mm","value-format":"YYYY-MM-DD HH:mm"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u8BC4\u5BA1\u5730\u70B9",prop:"meetingBasicInfo.meetingAddress"},{default:l(()=>[t(u,{modelValue:a.meetingBasicInfo.meetingAddress,"onUpdate:modelValue":e[8]||(e[8]=s=>a.meetingBasicInfo.meetingAddress=s),placeholder:"\u8BF7\u8F93\u5165",maxlength:50},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:12},{default:l(()=>[t(o,{label:"\u8054\u7CFB\u4EBA",prop:"meetingBasicInfo.connecter"},{default:l(()=>[t(u,{modelValue:a.meetingBasicInfo.connecter,"onUpdate:modelValue":e[9]||(e[9]=s=>a.meetingBasicInfo.connecter=s),placeholder:"\u8BF7\u8F93\u5165",maxlength:20},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{span:12},{default:l(()=>[t(o,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:"meetingBasicInfo.contact"},{default:l(()=>[t(u,{modelValue:a.meetingBasicInfo.contact,"onUpdate:modelValue":e[10]||(e[10]=s=>a.meetingBasicInfo.contact=s),placeholder:"\u8BF7\u8F93\u5165",maxlength:11},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),t($,{class:"mb-16",shadow:"never"},{header:l(()=>e[31]||(e[31]=[R("div",{class:"card-header"},[R("span",null,"\u62BD\u53D6\u4FE1\u606F")],-1)])),default:l(()=>[t(d,{gutter:20},{default:l(()=>[t(r,{span:12},{default:l(()=>[t(o,{label:"\u62BD\u53D6\u65B9\u5F0F",prop:"expertInviteRule.inviteType"},{default:l(()=>[t(c,{modelValue:a.expertInviteRule.inviteType,"onUpdate:modelValue":e[11]||(e[11]=s=>a.expertInviteRule.inviteType=s),class:"ml-4"},{default:l(()=>[t(y,{label:1},{default:l(()=>e[32]||(e[32]=[g("\u968F\u673A\u62BD\u53D6")])),_:1}),t(y,{label:2},{default:l(()=>e[33]||(e[33]=[g("\u6307\u5B9A\u62BD\u53D6")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),a.expertInviteRule.inviteType==1?(m(),x(d,{key:0,gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u62BD\u53D6\u89C4\u5219"},{default:l(()=>[(m(!0),T(h,null,C(S.value,(s,p)=>(m(),x($,{key:p,class:"box-card w-full mb-8"},{header:l(()=>[R("div",tt,[R("span",null,"\u89C4\u5219"+O(p+1),1),t(I,{type:"danger",plain:"",icon:"Delete",disabled:S.value.length===1,onClick:i=>je(p)},{default:l(()=>e[34]||(e[34]=[g(" \u5220\u9664\u89C4\u5219 ")])),_:2},1032,["disabled","onClick"])])]),default:l(()=>[t(d,{class:"mt-8",gutter:10},{default:l(()=>[t(r,{span:8},{default:l(()=>[t(o,{label:"\u9080\u8BF7\u6570\u91CF","label-width":100,prop:`expertInviteRule.randomRules[${p}].count`,rules:[{required:!0,message:" ",trigger:"blur"}]},{default:l(()=>[t(re,{modelValue:a.expertInviteRule.randomRules[p].count,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].count=i,placeholder:"\u8BF7\u8F93\u5165",min:1,controls:!1,step:1,"step-strictly":""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:2},1024)]),_:2},1024),t(d,{gutter:10,class:"mt-8"},{default:l(()=>[t(r,{span:8},{default:l(()=>[t(o,{label:"\u5176\u4ED6\u6807\u7B7E","label-width":100},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.randomRules[p].otherTag,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].otherTag=i,class:"w-full",clearable:"",placeholder:"\u8BF7\u9009\u62E9",onChange:i=>P(i,p),onVisibleChange:e[12]||(e[12]=i=>q("other"))},{default:l(()=>[(m(!0),T(h,null,C(W.value,i=>(m(),x(B,{key:i.value,label:i.label,value:i.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)]),_:2},1024),t(r,{span:8},{default:l(()=>[t(o,{label:"\u4E13\u5BB6\u7EA7\u522B","label-width":100},{default:l(()=>[t(F,{modelValue:a.expertInviteRule.randomRules[p].expertRegionLists,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].expertRegionLists=i,clearable:"",options:K.value,placeholder:"\u8BF7\u9009\u62E9",class:"w-full",props:Oe.value,onChange:i=>ke(i,p)},null,8,["modelValue","onUpdate:modelValue","options","props","onChange"])]),_:2},1024)]),_:2},1024),t(r,{span:8},{default:l(()=>[t(o,{label:"\u5185\u5916\u56F4","label-width":100},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.randomRules[p].expertType,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].expertType=i,placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:"",onChange:i=>ae(i,p)},{default:l(()=>[(m(!0),T(h,null,C(L(D)&&L(D).length&&L(D).find(i=>i.dictionaryName==="expert_type").dictionaryList,(i,k)=>(m(),x(B,{key:k,label:i.describe,value:i.dictionaryCode+"##"+i.dictionaryType},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024),t(d,{gutter:10,class:"mt-8"},{default:l(()=>[t(r,{span:8},{default:l(()=>[t(o,{label:"\u5C65\u804C\u610F\u5411","label-width":100},{default:l(()=>[t(F,{options:K.value,class:"w-full",clearable:"",onChange:i=>De(i,p)},null,8,["options","onChange"])]),_:2},1024)]),_:2},1024),t(r,{span:8},{default:l(()=>[t(o,{label:"\u4E13\u5BB6\u6765\u6E90","label-width":100},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.randomRules[p].expertSource,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].expertSource=i,class:"w-full",placeholder:"\u8BF7\u9009\u62E9",clearable:"",onChange:i=>P(i,p),onVisibleChange:e[13]||(e[13]=i=>q("expert_source"))},{default:l(()=>[(m(!0),T(h,null,C(z.value,(i,k)=>(m(),x(B,{key:k,label:i.label,value:i.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)]),_:2},1024),t(r,{span:8},{default:l(()=>[t(o,{label:"\u804C\u79F0\u7EA7\u522B","label-width":100},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.randomRules[p].professionalLevel,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].professionalLevel=i,class:"w-full",placeholder:"\u8BF7\u9009\u62E9",clearable:"",onChange:i=>ae(i,p)},{default:l(()=>[(m(!0),T(h,null,C(L(D)&&L(D).length&&L(D).find(i=>i.dictionaryName==="title_level").dictionaryList,(i,k)=>(m(),x(B,{key:k,label:i.describe,value:i.dictionaryCode+"##"+i.dictionaryType},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024),t(d,{gutter:10,class:"mt-8"},{default:l(()=>[t(r,{span:8},{default:l(()=>[t(o,{label:"\u64C5\u957F\u65B9\u5411","label-width":100},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.randomRules[p].goodAt,"onUpdate:modelValue":i=>a.expertInviteRule.randomRules[p].goodAt=i,class:"w-full",placeholder:"\u8BF7\u9009\u62E9",clearable:"",onChange:i=>P(i,p),onVisibleChange:e[14]||(e[14]=i=>q("good_at"))},{default:l(()=>[(m(!0),T(h,null,C(J.value,(i,k)=>(m(),x(B,{key:k,label:i.label,value:i.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)]),_:2},1024),t(r,{span:8},{default:l(()=>[t(o,{label:"\u6280\u672F\u4E13\u957F","label-width":100},{default:l(()=>[t(F,{options:H.value,placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:"",onChange:i=>P(i,p),onVisibleChange:e[15]||(e[15]=i=>q("technical_expertise"))},null,8,["options","onChange"])]),_:2},1024)]),_:2},1024),t(r,{span:8},{default:l(()=>[t(o,{label:"\u884C\u4E1A\u9886\u57DF","label-width":100},{default:l(()=>[t(F,{options:G.value,placeholder:"\u8BF7\u9009\u62E9",class:"w-full",clearable:"",onChange:i=>P(i,p),onVisibleChange:e[16]||(e[16]=i=>q("industry_sector"))},null,8,["options","onChange"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),t(I,{class:"w-full",type:"primary",icon:"plus",plain:"",onClick:we},{default:l(()=>e[35]||(e[35]=[g("\u6DFB\u52A0\u89C4\u5219")])),_:1})]),_:1})]),_:1})]),_:1})):(m(),x(d,{key:1,gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u6307\u5B9A\u62BD\u53D6\u7406\u7531",prop:"expertInviteRule.appointRule.inviteDesc"},{default:l(()=>[t(u,{modelValue:a.expertInviteRule.appointRule.inviteDesc,"onUpdate:modelValue":e[17]||(e[17]=s=>a.expertInviteRule.appointRule.inviteDesc=s),placeholder:"\u8BF7\u8F93\u5165",type:"textarea",maxlength:"1000","show-word-limit":!0},null,8,["modelValue"])]),_:1})]),_:1}),t(r,{span:12},{default:l(()=>[t(o,{label:"\u6307\u5B9A\u4E13\u5BB6",prop:"expertInviteRule.appointRule.expertIdList"},{default:l(()=>[R("div",lt,[t(I,{type:"primary",class:"button-new-tag ml-1",size:"small",onClick:he},{default:l(()=>[t(Ae,null,{default:l(()=>[t(qe)]),_:1}),e[36]||(e[36]=g("\u6DFB\u52A0\u4E13\u5BB6 "))]),_:1}),R("p",null,[(m(!0),T(h,null,C(a.expertInviteRule.appointRule.expertIdList,s=>(m(),x(Q,{key:s,class:"mx-1",closable:"","disable-transitions":!1,onClose:p=>Ve(s)},{default:l(()=>[g(O(s.name),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1}))]),_:1}),a.expertInviteRule.inviteType==1?(m(),x($,{key:0,shadow:"never"},{header:l(()=>e[37]||(e[37]=[R("div",{class:"card-header"},[R("span",null,"\u56DE\u907F\u4FE1\u606F")],-1)])),default:l(()=>[t(d,null,{default:l(()=>[t(r,null,{default:l(()=>[t(o,{label:"\u90E8\u95E8\u3001\u6761\u7EBF\u56DE\u907F\u89C4\u5219",prop:"expertInviteRule.avoidRule.avoidType"},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.avoidRule.avoidType,"onUpdate:modelValue":e[18]||(e[18]=s=>a.expertInviteRule.avoidRule.avoidType=s)},{default:l(()=>[t(B,{value:1,label:"\u56DE\u907F\u5355\u4F4D"}),t(B,{value:2,label:"\u56DE\u907F\u6761\u7EBF"}),t(B,{value:3,label:"\u4E0D\u56DE\u907F"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:12},{default:l(()=>[t(o,{label:"\u56DE\u907F\u5355\u4F4D"},{default:l(()=>[R("div",at,[t(I,{type:"primary",size:"small",icon:"Plus",onClick:be},{default:l(()=>e[38]||(e[38]=[g(" \u6DFB\u52A0\u56DE\u907F\u5355\u4F4D ")])),_:1}),R("p",null,[(m(!0),T(h,null,C(a.expertInviteRule.avoidRule.avoidUnitIdList,(s,p)=>(m(),x(Q,{key:p,class:"mr-8",closable:"",onClose:i=>Te(p)},{default:l(()=>[g(O(s.name),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:12},{default:l(()=>[t(o,{label:"\u56DE\u907F\u4E13\u5BB6"},{default:l(()=>[R("div",nt,[t(I,{type:"primary",class:"button-new-tag ml-1",size:"small",icon:"Plus",onClick:Le},{default:l(()=>e[39]||(e[39]=[g(" \u6DFB\u52A0\u56DE\u907F\u4E13\u5BB6 ")])),_:1}),R("p",null,[(m(!0),T(h,null,C(a.expertInviteRule.avoidRule.expertIds,s=>(m(),x(Q,{key:s,class:"mx-1",closable:"","disable-transitions":!1,onClose:p=>Be(s)},{default:l(()=>[g(O(s.expertName),1)]),_:2},1032,["onClose"]))),128))])])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:12},{default:l(()=>[Z("",!0),t(o,{label:"\u56DE\u907F\u6761\u7EBF"},{default:l(()=>[t(j,{modelValue:a.expertInviteRule.avoidRule.avoidOrgIdList,"onUpdate:modelValue":e[19]||(e[19]=s=>a.expertInviteRule.avoidRule.avoidOrgIdList=s),multiple:""},{default:l(()=>[(m(!0),T(h,null,C(oe.value,(s,p)=>(m(),x(B,{key:p,label:s.businessStripName,value:s.businessStripCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),t(d,{gutter:20},{default:l(()=>[t(r,{span:24},{default:l(()=>[t(o,{label:"\u4E00\u5468\u5185\u53C2\u4E0E"},{default:l(()=>[t(re,{modelValue:a.expertInviteRule.avoidRule.weekInviteCount,"onUpdate:modelValue":e[20]||(e[20]=s=>a.expertInviteRule.avoidRule.weekInviteCount=s),placeholder:"\u8BF7\u8F93\u5165",min:0,controls:!1,style:{width:"100px !important"}},null,8,["modelValue"]),e[41]||(e[41]=R("div",{style:{fontSize:"14px",color:"#666666",lineHeight:"2em"}},"\u6B21\u7684\u4E13\u5BB6\u4E0D\u518D\u62BD\u53D6",-1))]),_:1})]),_:1})]),_:1})]),_:1})):Z("",!0),R("div",ot,[t(I,{type:"primary",loading:Y.value,onClick:e[21]||(e[21]=s=>fe(le.value))},{default:l(()=>e[42]||(e[42]=[g(" \u63D0\u4EA4 ")])),_:1},8,["loading"]),t(I,{onClick:e[22]||(e[22]=s=>L(te).go(-1))},{default:l(()=>e[43]||(e[43]=[g("\u8FD4\u56DE")])),_:1}),t(I,{onClick:Se},{default:l(()=>e[44]||(e[44]=[g("\u6D4B\u8BD5")])),_:1})])]),_:1},8,["model","rules"]),t(Ee,{visible:b.unitVisible,"show-checkbox":b.showCheckbox,"default-data":b.data,title:E.value,type:b.type,"default-props":b.defaultProps,onClose:ye,onGetSelectUnit:_e},null,8,["visible","show-checkbox","default-data","title","type","default-props"]),t(Me,{visible:V.visible,"org-code":V.orgCode,data:V.data,"select-expert-type":M.value,onGetUserData:Ce,onClose:e[23]||(e[23]=s=>V.visible=!1)},null,8,["visible","org-code","data","select-expert-type"]),t($e,{visible:w.visible,data:w.data,"meeting-type":w.meetingType,"dictionary-list":n.dictionaryList,onGetProjectData:Re,onClose:e[24]||(e[24]=s=>w.visible=!1)},null,8,["visible","data","meeting-type","dictionary-list"])],64)}}});export{Rt as default};