import{B as P}from"./BasicForm-dL_oCSPM.js";import{d as M,V as v,r as l,h as V,o as G,j as n,aE as p,w as I,y as C,ds as F,l as a,x as k,aF as c,i as d}from"./index-9PRMimni.js";import{u}from"./useForm-CKmgcynv.js";import"./Render.vue_vue_type_script_lang-DKUYY0Zw.js";import"./SingleImageUpload-CNx4b9eC.js";import"./ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js";import"./componentSetting-DVhNDBTO.js";import"./ImageUpload-DUsnro3W.js";import"./vuedraggable.umd-Co2xEC3p.js";import"./BasicUpload.vue_vue_type_style_index_0_scoped_a4d0e930_lang-DxRbtP01.js";import"./tabsView-BXskTdVh.js";import"./BasicForm.vue_vue_type_style_index_0_scoped_b9e995ec_lang-CEvcLwxD.js";import"./propTypes-CebMRUpe.js";import"./BasicSelect-C_uwzMkE.js";import"./BasicSelect.vue_vue_type_style_index_0_scoped_772d51cc_lang-Brp6PjEU.js";import"./dictionary-BRse4lkf.js";import"./index-DkvzUEqh.js";import"./index-kKnqLkWM.js";import"./AutoComplete-Dv1Bqed4.js";import"./TreeSelect-BZh2DeCh.js";import"./usePageCache-DluHn7Yy.js";const no=M({__name:"SSB0104",setup(w,{expose:m}){const{t:o}=v(),S=l(),f=l(),t=l(0),e=[{label:o("sysDoc.excellent"),value:"1"},{label:o("sysDoc.good"),value:"2"},{label:o("sysDoc.unqualified"),value:"3"}],b=[{field:"name",component:"NInput",label:o("sysDoc.SSB0104.name"),labelWidth:100,componentProps:{placeholder:o("sysDoc.SSB0104.nameHint")},rules:[{required:!0,message:"请输入姓名",trigger:["blur"]}]},{field:"birthday",component:"NDatePicker",label:o("sysDoc.SSB0104.birthday"),labelWidth:100,componentProps:{placeholder:o("sysDoc.SSB0104.birthdayHint"),type:"date",valueFormat:"yyyy-MM-dd"},rules:[{required:!0,message:"请选择出生日期",trigger:["blur","change"]}]},{field:"position",component:"NSelect",label:o("sysDoc.SSB0104.position"),labelWidth:100,componentProps:{placeholder:o("sysDoc.SSB0104.positionHint"),options:[{label:"职务1",value:"1"},{label:"职务2",value:"2"},{label:"职务3",value:"3"}]}},{field:"qualification",component:"NInput",label:o("sysDoc.SSB0104.qualification"),labelWidth:100,componentProps:{placeholder:o("sysDoc.SSB0104.qualificationHint")}},{field:"college",component:"NInput",label:o("sysDoc.SSB0104.college"),labelWidth:100,componentProps:{placeholder:o("sysDoc.SSB0104.collegeHint")}}],y=[{field:"radio_knowledge",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMCode"),defaultValue:"1",componentProps:{options:e}},{field:"radio_background",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMBackground"),defaultValue:"1",componentProps:{options:e}},{field:"radio_explain",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMCodeNons"),defaultValue:"1",componentProps:{options:e}},{field:"radio_audit",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMCodeAuditReview"),defaultValue:"1",componentProps:{options:e}},{field:"radio_rule",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMCodeContent"),defaultValue:"1",componentProps:{options:e}},{field:"radio_range",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMCodeApplicationImplementation"),defaultValue:"1",componentProps:{options:e}},{field:"radio_run",component:"NRadioGroup",label:o("sysDoc.SSB0104.ISMNSMCodeRunningCondition"),defaultValue:"1",componentProps:{options:e}},{field:"radio_sms",component:"NRadioGroup",label:o("sysDoc.SSB0104.SMSContent"),defaultValue:"1",componentProps:{options:e}},{field:"radio_main",component:"NRadioGroup",label:o("sysDoc.SSB0104.SMSPoint"),defaultValue:"1",componentProps:{options:e}},{field:"radio_meeting",component:"NRadioGroup",label:o("sysDoc.SSB0104.SMSMonitorMeeting"),defaultValue:"1",componentProps:{options:e}},{field:"radio_train",component:"NRadioGroup",label:o("sysDoc.SSB0104.trainingPointRecord"),defaultValue:"1",componentProps:{options:e}},{field:"radio_detail",component:"NRadioGroup",label:o("sysDoc.SSB0104.other"),defaultValue:"1",componentProps:{options:e}}],[_,{submit:B,setFieldsValue:g}]=u({gridProps:{cols:2},layout:"horizontal",showActionButtonGroup:!1,schemas:b}),[h,{submit:D}]=u({gridProps:{cols:1},layout:"horizontal",showActionButtonGroup:!1,schemas:y,labelWidth:"300"});return m({basicSubmit:B,contentSubmit:D,setFieldsValue:g}),(x,i)=>{const s=C,N=k,r=P;return G(),V("div",null,[n(N,{value:a(t),"onUpdate:value":i[0]||(i[0]=R=>F(t)?t.value=R:null),type:"segment",animated:""},{default:I(()=>[n(s,{tab:"基础信息",name:0}),n(s,{tab:"内容",name:1})]),_:1},8,["value"]),p(d("div",null,[n(r,{ref_key:"basicFromRef",ref:S,onRegister:a(_)},null,8,["onRegister"])],512),[[c,a(t)===0]]),p(d("div",null,[n(r,{ref_key:"contentFromRef",ref:f,onRegister:a(h)},null,8,["onRegister"])],512),[[c,a(t)===1]])])}}});export{no as default};
