(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54d1b7b1"],{"260e":function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"d",(function(){return d}));n("99af"),n("fb6a"),n("d3b7"),n("159b");var i=n("b775");function a(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,i){e.key?t+="".concat(n,"[").concat(i,"][key]=").concat(e.key,"&").concat(n,"[").concat(i,"][op]=").concat(e.op,"&").concat(n,"[").concat(i,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(i,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var i in e)n(i);return t.slice(0,-1)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(i["a"])({method:"get",url:"/api/admin/course-signs/index",params:e,paramsSerializer:a,isLoading:t})}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(i["a"])({method:"get",url:"/api/admin/course-signs/show",params:e,isLoading:t})}function o(e){return Object(i["a"])({method:"post",url:"/api/admin/course-signs/save",data:e})}function r(e){return Object(i["a"])({method:"get",url:"/api/admin/course-signs/destroy",params:e})}function u(e){return Object(i["a"])({method:"post",url:"/api/admin/course-signs/batch-update-status",data:e})}function c(e){return Object(i["a"])({method:"post",url:"/api/admin/course-signs/batch-update-fee-status",data:e})}function d(e){return Object(i["a"])({method:"post",url:"/api/admin/course-signs/batch-notice",data:e})}},3112:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));n("99af"),n("fb6a"),n("d3b7"),n("159b");var i=n("b775");function a(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,i){e.key?t+="".concat(n,"[").concat(i,"][key]=").concat(e.key,"&").concat(n,"[").concat(i,"][op]=").concat(e.op,"&").concat(n,"[").concat(i,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(i,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var i in e)n(i);return t.slice(0,-1)}function s(e){return Object(i["a"])({url:"/api/admin/parameter/save",method:"post",data:e})}function l(e){return Object(i["a"])({url:"/api/admin/parameter/store",method:"post",data:e})}function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(i["a"])({url:"/api/admin/parameter/show",method:"get",params:e,paramsSerializer:a,isLoading:t})}function r(e){return Object(i["a"])({url:"/api/admin/parameter/index",method:"get",params:e,paramsSerializer:a})}function u(e){return Object(i["a"])({url:"/api/admin/parameter/delete",method:"get",params:{id:e}})}function c(e){return Object(i["a"])({url:"/api/admin/parameter/detail-delete",method:"get",params:{id:e}})}},"3cb3":function(e,t,n){"use strict";n("d81d");var i=n("3112");t["a"]={data:function(){return{defaultFormList:[{name:"姓名",field:"username",rule:"required",edit_input:"text",help:"请输入姓名",need_fill:0,belong_user:1,belong_user_table:"username",sort:0},{name:"性别",field:"sex",rule:"required",edit_input:"radio",help:"请选择性别",select_item:[{key:"男",value:"男"},{key:"女",value:"女"}],need_fill:0,belong_user:1,belong_user_table:"sex",sort:0},{name:"出生年月",field:"birthday",rule:"",edit_input:"date",help:"请选择出生年月",need_fill:0,belong_user:1,belong_user_table:"birthday",sort:0},{name:"联系方式",field:"mobile",rule:"required",edit_input:"text",help:"请输入联系方式",need_fill:0,belong_user:1,belong_user_table:"mobile",sort:0},{name:"身份证号",field:"idcard",rule:"idcard",edit_input:"text",help:"请输入身份证号",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"idcard",sort:0},{name:"学历",field:"education",rule:"",edit_input:"radio",help:"请选择学历",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"education",sort:0},{name:"公司",field:"company_name",rule:"",edit_input:"text",help:"请输入公司",need_fill:0,belong_user:1,belong_user_table:"company_name",sort:0,span:2},{name:"职务",field:"company_position",rule:"",edit_input:"text",help:"请输入职务",need_fill:0,belong_user:1,belong_user_table:"company_position",sort:0},{name:"股份",field:"company_has_share",rule:"",edit_input:"radio",help:"请选择有无股份",need_fill:0,belong_user:1,select_item:[{key:"有",value:"有"},{key:"无",value:"无"}],is_open:!1,belong_user_table:"company_has_share",sort:0},{name:"人才类别",field:"type",rule:"",edit_input:"radio",help:"请选择人才类别",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"type",sort:0,span:2},{name:"企业资质",field:"company_type",rule:"",edit_input:"checkbox",help:"请选择企业资质",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"company_type",sort:0,span:2},{name:"融资情况",field:"company_fund",rule:"",edit_input:"textarea",help:"请输入融资情况",need_fill:0,belong_user:1,belong_user_table:"company_fund",sort:0,span:2},{name:"板块",field:"company_area",rule:"",edit_input:"radio",help:"请选择板块",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"company_area",sort:0},{name:"所属领域",field:"company_industry",rule:"",edit_input:"radio",help:"请选择所属领域",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"company_industry",sort:0},{name:"公司地址",field:"company_address",rule:"",edit_input:"text",help:"请填写公司地址",need_fill:0,belong_user:1,is_open:!1,belong_user_table:"company_address",sort:0,span:2},{name:"产品",field:"company_product",rule:"",edit_input:"textarea",help:"请输入产品",need_fill:0,belong_user:1,belong_user_table:"company_product",sort:0,span:2},{name:"毕业院校",field:"school",rule:"",edit_input:"text",help:"请输入毕业院校",need_fill:0,belong_user:1,belong_user_table:"school",sort:0,span:2},{name:"专业",field:"speciality",rule:"",edit_input:"text",help:"请输入专业",need_fill:0,belong_user:1,belong_user_table:"speciality",sort:0},{name:"海外经验",field:"overseas_experience",rule:"",edit_input:"text",help:"请输入海外经验",need_fill:0,belong_user:1,belong_user_table:"overseas_experience",sort:0},{name:"报名渠道",field:"sign_from",rule:"",edit_input:"radio",help:"请选择报名渠道",need_fill:0,select_item:[],belong_user:1,belong_user_table:"sign_from",sort:0},{name:"邮箱",field:"email",rule:"email",edit_input:"text",help:"请输入邮箱",need_fill:0,belong_user:1,belong_user_table:"email",sort:0},{name:"销售额/亿",field:"sales_volume",rule:"",edit_input:"text",help:"请输入销售额/亿",need_fill:0,belong_user:1,belong_user_table:"sales_volume",sort:0},{name:"估值",field:"valuation",rule:"",edit_input:"text",help:"请输入估值",need_fill:0,belong_user:1,belong_user_table:"valuation",sort:0},{name:"市值",field:"market_value",rule:"",edit_input:"text",help:"请输入市值",need_fill:0,belong_user:1,belong_user_table:"market_value",sort:0},{name:"是否为元禾投资企业",field:"is_yuanhe",rule:"",edit_input:"text",help:"请选择",need_fill:0,belong_user:1,select_item:[{key:"是",value:"是"},{key:"否",value:"否"}],belong_user_table:"is_yuanhe",sort:0}],selectFormList:[{name:"姓名",field:"username",rule:"required",edit_input:"text",help:"请输入姓名",need_fill:0,belong_user:1,belong_user_table:"username",sort:0},{name:"性别",field:"sex",rule:"required",edit_input:"radio",help:"请选择性别",select_item:[{key:"男",value:"男"},{key:"女",value:"女"}],need_fill:0,belong_user:1,belong_user_table:"sex",sort:0},{name:"出生年月",field:"birthday",rule:"",edit_input:"date",help:"请选择出生年月",need_fill:0,belong_user:1,belong_user_table:"birthday",sort:0},{name:"联系方式",field:"mobile",rule:"required",edit_input:"text",help:"请输入联系方式",need_fill:0,belong_user:1,belong_user_table:"mobile",sort:0},{name:"身份证号",field:"idcard",rule:"idcard",edit_input:"text",help:"请输入身份证号",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"idcard",sort:0},{name:"最高学历",field:"education",rule:"",edit_input:"radio",help:"有学位证书方可,请如实填写,后续需提供材料证明",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"education",sort:0},{name:"个人简介",field:"introduce",rule:"",edit_input:"textarea",help:"请体现个人的优势,详细描述个人学习经历、所在校友会、工作经历、社会职务和其他荣誉等。",need_fill:0,belong_user:1,belong_user_table:"introduce",sort:0,span:2},{name:"公司",field:"company_name",rule:"",edit_input:"text",help:"请填写公司全称,确保无误",need_fill:0,belong_user:1,belong_user_table:"company_name",sort:0,span:2},{name:"公司简介",field:"company_introduce",rule:"",edit_input:"textarea",help:"请阐述公司近两年销售额、人员规模、专利等情况(请如实填写,这将影响您的报名情况)",need_fill:0,belong_user:1,belong_user_table:"company_introduce",sort:0,span:2},{name:"公司成立时间",field:"company_date",rule:"",edit_input:"date",help:"请选择公司成立时间",need_fill:0,belong_user:1,belong_user_table:"company_date",sort:0},{name:"职务",field:"company_position",rule:"",edit_input:"text",help:"请输入职务",need_fill:0,belong_user:1,belong_user_table:"company_position",sort:0},{name:"是否有股份",field:"company_has_share",rule:"",edit_input:"radio",help:"请选择是否有股份",need_fill:0,belong_user:1,select_item:[{key:"有",value:"有"},{key:"无",value:"无"}],is_open:!1,belong_user_table:"company_has_share",sort:0},{name:"个人荣誉",field:"type",rule:"",edit_input:"checkbox",help:"请如实填写,后期需提供证明材料",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"type",sort:0,span:2},{name:"企业资质",field:"company_type",rule:"",edit_input:"checkbox",help:"请如实填写,后期需提供证明材料",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"company_type",sort:0,span:2},{name:"是否需要融资",field:"company_need_fund",rule:"",edit_input:"radio",help:"请选择",need_fill:0,belong_user:1,select_item:[{key:"是",value:"是"},{key:"否",value:"否"}],belong_user_table:"company_need_fund",sort:0,span:2},{name:"融资情况",field:"company_fund",rule:"",edit_input:"textarea",help:"请输入融资情况",need_fill:0,belong_user:1,belong_user_table:"company_fund",sort:0,span:2},{name:"公司所属区域",field:"company_area",rule:"",edit_input:"radio",help:"请选择公司所属区域",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"company_area",sort:0,span:2},{name:"所属领域",field:"company_industry",rule:"",edit_input:"radio",help:"请选择所属领域",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"company_industry",sort:0,span:2},{name:"公司地址",field:"company_address",rule:"",edit_input:"text",help:"请按照实际地址填写",need_fill:0,belong_user:1,is_open:!1,belong_user_table:"company_address",sort:0,span:2},{name:"公司主营业务",field:"company_product",rule:"",edit_input:"textarea",help:"请详细描述具体内容",need_fill:0,belong_user:1,belong_user_table:"company_product",sort:0,span:2},{name:"最高学历毕业院校",field:"school",rule:"",edit_input:"text",help:"请输入最高学历毕业院校",need_fill:0,belong_user:1,belong_user_table:"school",sort:0,span:2},{name:"最高学历专业",field:"speciality",rule:"",edit_input:"text",help:"请输入最高学历专业",need_fill:0,belong_user:1,belong_user_table:"speciality",sort:0,span:2},{name:"海外经验",field:"overseas_experience",rule:"",edit_input:"text",help:"请输入海外经验",need_fill:0,belong_user:1,belong_user_table:"overseas_experience",sort:0,span:2},{name:"报名渠道",field:"sign_from",rule:"",edit_input:"radio",help:"请选择报名渠道",need_fill:0,select_item:[],belong_user:1,belong_user_table:"sign_from",sort:0},{name:"邮箱",field:"email",rule:"email",edit_input:"text",help:"请填写常用邮箱,以便接收录取结果信息",need_fill:0,belong_user:1,belong_user_table:"email",sort:0},{name:"销售额/亿",field:"sales_volume",rule:"",edit_input:"text",help:"请输入销售额/亿",need_fill:0,belong_user:1,belong_user_table:"sales_volume",sort:0},{name:"估值",field:"valuation",rule:"",edit_input:"text",help:"请输入估值",need_fill:0,belong_user:1,belong_user_table:"valuation",sort:0},{name:"市值",field:"market_value",rule:"",edit_input:"text",help:"请输入市值",need_fill:0,belong_user:1,belong_user_table:"market_value",sort:0},{name:"是否为元禾投资企业",field:"is_yuanhe",rule:"",edit_input:"radio",help:"请选择",need_fill:0,belong_user:1,select_item:[{key:"是",value:"是"},{key:"否",value:"否"}],belong_user_table:"is_yuanhe",sort:0}],sexList:[{key:"男",value:"男"},{key:"女",value:"女"}],shareList:[{key:"有",value:"有"},{key:"无",value:"无"}],yuanheList:[{key:"是",value:"是"},{key:"否",value:"否"}],formSelect:{company_type:[],company_area:[],company_industry:[],company_industry_detail:[],type:[],education:[],sign_from:[]}}},computed:{},created:function(){this.getAllPara()},mounted:function(){},methods:{getAllPara:function(){var e=this,t=["company_type","company_area","company_industry","company_industry_detail","type","education","sign_from"];Object(i["c"])({number:t}).then((function(t){t.map((function(t){for(var n in e.formSelect)t.number===n&&(e.formSelect[n]=t.detail)})),e.selectFormList.map((function(t){for(var n in e.formSelect)t.field===n&&e.formSelect[n].map((function(e){t.select_item.push({key:e.value,value:e.value})}))})),console.log("this.selectFormList123",e.selectFormList)}))}}}},"60f0":function(e,t,n){"use strict";n("957f")},6204:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("xy-dialog",{ref:"dialog",attrs:{width:70,"is-show":e.isShow,type:"form",title:e.typeName,form:e.form},on:{"update:isShow":function(t){e.isShow=t},"update:is-show":function(t){e.isShow=t}},scopedSlots:e._u([{key:"show",fn:function(){return[n("div",{staticClass:"xy-table-item",staticStyle:{padding:"0 20px"}},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold",width:"0",padding:"0",display:"none"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}})]),n("div",{staticClass:"xy-table-item-content",staticStyle:{"flex-grow":"1"}},["check"==e.type||"checkshow"==e.type?n("div",{staticClass:"courseName"},[n("div",[e._v("课程名称:"+e._s(e.subjectObj.title))]),n("div",[e._v("开课日期:"+e._s(e.subjectObj.date?e.subjectObj.date:"开课待定"))]),n("div",[e._v("课程体系:"+e._s(e.subjectObj.leibie))])]):e._e(),n("div",[n("lx-header",{staticStyle:{"margin-bottom":"10px",border:"0px","margin-top":"15px"},attrs:{icon:"",text:""},scopedSlots:e._u([{key:"textcontent",fn:function(){return[n("span",[e._v(e._s("checkshow"==e.type||"check"==e.type?"报名信息":"个人信息"))]),"checkshow"==e.type||"check"==e.type?n("span",[e._v(" (注:"),n("span",{staticStyle:{color:"red"}},[e._v("红色标识")]),e._v("为学员本次报名提交的信息,"),n("span",{staticStyle:{color:"#000"}},[e._v("黑色标识")]),e._v("为学员过往信息) ")]):e._e()]},proxy:!0}])}),n("div",[n("el-descriptions",{staticClass:"margin-top",attrs:{column:2,border:""}},[e._l(e.selectFormList,(function(t){return n("el-descriptions-item",{attrs:{span:t.span?t.span:1}},[n("template",{slot:"label"},[e._v(" "+e._s(t.name)+" ")]),"company_date"===t.field?n("div",[e._v(" "+e._s(e.student_info[t.field]?"0000-00-00"==e.student_info[t.field]?"":e.student_info[t.field]:"")+" ")]):n("div",[e._v(" "+e._s(e.student_info[t.field]?e.student_info[t.field]:"")+" "),e.change_data.length>0?[e._l(e.change_data,(function(i){return[i[t.field]&&i["need_update"]?n("span",{staticStyle:{color:"red"}},[e._v("--\x3e"+e._s(i[t.field]))]):e._e()]}))]:e._e()],2)],2)})),"check"===e.type||"checkshow"===e.type||"setPosition"===e.type?n("el-descriptions-item",{attrs:{span:2}},[n("template",{slot:"label"},[e._v(" 本班职务 ")]),e._v(" "+e._s(e.sign_result.position?e.sign_result.position:"")+" ")],2):e._e(),e.sign_info.length>0?["check"===e.type||"checkshow"===e.type||"setPosition"===e.type?[e._l(e.sign_info,(function(t){return[t.submit_files&&t.submit_files.length>0?n("el-descriptions-item",{attrs:{span:2}},[n("template",{slot:"label"},[e._v(" "+e._s(t.name)+" ")]),n("div",[e._l(t.submit_files,(function(t){return[n("img",{staticStyle:{width:"100px",margin:"10px"},attrs:{src:e.host+t}})]}))],2)],2):n("el-descriptions-item",{attrs:{span:2}},[n("template",{slot:"label"},[e._v(" "+e._s(t.name)+" ")]),e._v(" "+e._s(t.value)+" ")],2)]}))]:e._e()]:e._e()],2)],1),("checkshow"==e.type||"check"==e.type)&&e.sign_result.audits&&e.sign_result.audits.length>0?n("lx-header",{staticStyle:{"margin-bottom":"10px",border:"0px","margin-top":"15px"},attrs:{icon:"",text:"操作日志"}}):e._e(),("checkshow"==e.type||"check"==e.type)&&e.sign_result.audits&&e.sign_result.audits.length>0?n("div",[n("xy-table",{attrs:{list:e.sign_result.audits,isPage:!1,height:"200","table-item":e.audit_item},scopedSlots:e._u([{key:"username",fn:function(){return[n("el-table-column",{attrs:{align:"center",label:"操作人",width:"120","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return["created"==t.row.event?n("div",[e._v(" 学员 ")]):n("div",[e._v(" "+e._s(t.row.user?t.row.user.username:"")+" ")])]}}],null,!1,3227299614)})]},proxy:!0},{key:"event",fn:function(){return[n("el-table-column",{attrs:{align:"center",label:"操作类型",width:"120","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return["created"==t.row.event?n("div",[e._v(" 提交报名 ")]):n("div",[e._v(" 更新状态 ")])]}}],null,!1,2902236479)})]},proxy:!0},{key:"values",fn:function(){return[n("el-table-column",{attrs:{align:"left",label:"操作详情","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return["created"==t.row.event?n("div",[e._v(" 提交报名信息 ")]):n("div",[e._l(e.apply_status_list,(function(i){return[t.row.old_values.status===i.id?n("span",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(i.value))]):e._e()]})),e._v(" 变更为: "),e._l(e.apply_status_list,(function(i){return[t.row.new_values.status===i.id?n("span",{staticStyle:{color:"red"}},[e._v(e._s(i.value))]):e._e()]}))],2)]}}],null,!1,838311774)})]},proxy:!0},{key:"created_at",fn:function(){return[n("el-table-column",{attrs:{align:"center",label:"操作时间",width:"240","header-align":"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(e.base.formatDate(t.row.created_at))+" ")]}}],null,!1,814584666)})]},proxy:!0}],null,!1,3644427614)})],1):e._e(),"checkshow"==e.type||"check"==e.type?n("lx-header",{staticStyle:{"margin-bottom":"10px",border:"0px","margin-top":"15px"},attrs:{icon:"",text:"审核结果"}}):e._e(),"checkshow"==e.type?n("div",[n("div",{staticClass:"studentInfo"},[n("div",[n("span",[e._v("审核结果:")]),e._l(e.apply_status_list,(function(t){return n("span",[e.sign_result.status===t.id?n("el-tag",{attrs:{type:t.type}},[e._v(e._s(t.value))]):e._e()],1)}))],2),n("div",[n("span",[e._v("评分:")]),n("span",[e._v(e._s(e.sign_result.score))])]),5===e.sign_result.status?n("div",[n("span",[e._v("放弃原因:")]),n("span",[e._v(e._s(e.sign_result.giveup_reason))])]):e._e(),1===e.sign_result.status?n("div",{staticStyle:{display:"flex"}},[n("span",[e._v("录取通知书:")]),n("div",e._l(e.sign_result.files,(function(t){return n("div",[n("a",{staticStyle:{color:"#0077CC"},attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.original_name))])])})),0)]):e._e(),n("div",[n("span",[e._v("备注:")]),n("span",[e._v(e._s(e.sign_result.reason?e.sign_result.reason:""))])])])]):e._e()],1)])])]},proxy:!0},"check"==e.type?{key:"status",fn:function(){return[n("div",{staticClass:"xy-table-item"},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}},[e._v("*")]),e._v("审核: ")]),n("div",{staticClass:"xy-table-item-content"},[n("el-select",{attrs:{placeholder:"请选择"},model:{value:e.form.status,callback:function(t){e.$set(e.form,"status",t)},expression:"form.status"}},e._l(e.apply_status_list,(function(e){return n("el-option",{key:e.id,attrs:{label:e.value,value:e.id}})})),1)],1)])]},proxy:!0}:null,"check"==e.type?{key:"score",fn:function(){return[n("div",{staticClass:"xy-table-item"},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}}),e._v("评分: ")]),n("div",{staticClass:"xy-table-item-content"},[n("el-input",{attrs:{type:"number",placeholder:"请输入评分"},model:{value:e.form.score,callback:function(t){e.$set(e.form,"score",t)},expression:"form.score"}})],1)])]},proxy:!0}:null,"check"==e.type&&5===e.form.status?{key:"giveup_reason",fn:function(){return[n("div",{staticClass:"xy-table-item"},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}}),e._v("放弃原因: ")]),n("div",{staticClass:"xy-table-item-content"},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入放弃原因"},model:{value:e.form.giveup_reason,callback:function(t){e.$set(e.form,"giveup_reason",t)},expression:"form.giveup_reason"}})],1)])]},proxy:!0}:null,"check"==e.type&&1===e.form.status?{key:"file_ids",fn:function(){return[n("div",{staticClass:"xy-table-item"},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}}),e._v("录取通知书: ")]),n("div",{staticClass:"xy-table-item-content"},[n("el-upload",{ref:"pictureUpload",staticClass:"upload-demo",attrs:{action:e.action,"file-list":e.fileList,"auto-upload":!0,accept:".pdf",limit:1,"on-success":e.uploadSuccess,"on-remove":e.uploadRemove}},[n("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")]),n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("只能上传pdf文件")])],1)],1)])]},proxy:!0}:null,"check"==e.type?{key:"reason",fn:function(){return[n("div",{staticClass:"xy-table-item"},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}}),e._v("备注: ")]),n("div",{staticClass:"xy-table-item-content"},[n("el-input",{attrs:{type:"textarea",placeholder:"请输入备注(展示给学员查看)"},model:{value:e.form.reason,callback:function(t){e.$set(e.form,"reason",t)},expression:"form.reason"}})],1)])]},proxy:!0}:null,"setPosition"==e.type?{key:"position",fn:function(){return[n("div",{staticClass:"xy-table-item"},[n("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[n("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}}),e._v("班委名称: ")]),n("div",{staticClass:"xy-table-item-content"},[n("el-input",{attrs:{type:"text",placeholder:"请输入班委名称(如:班长)"},model:{value:e.form.position,callback:function(t){e.$set(e.form,"position",t)},expression:"form.position"}})],1)])]},proxy:!0}:null,{key:"footerContent",fn:function(){return["check"==e.type||"setPosition"==e.type?n("el-button",{staticStyle:{"margin-left":"5px","margin-bottom":"5px"},attrs:{type:"primary"},on:{click:e.submit}},[e._v("确认")]):"check"==e.type||"setPosition"==e.type?n("el-button",{staticStyle:{"margin-left":"5px","margin-bottom":"5px"},attrs:{type:"primary",plain:""},on:{click:function(t){e.isShow=!1}}},[e._v("取消")]):"show"==e.type||"checkshow"==e.type?n("el-button",{staticStyle:{"margin-left":"5px","margin-bottom":"5px"},attrs:{type:"primary",plain:""},on:{click:function(t){e.isShow=!1}}},[e._v("关闭")]):e._e()]},proxy:!0}],null,!0)}),n("Modal",{attrs:{width:"60",title:"审核并更新字段"},scopedSlots:e._u([{key:"footer",fn:function(){return[n("el-button",{staticStyle:{"margin-left":"5px","margin-bottom":"5px"},attrs:{plain:"",type:"primary",plain:""},on:{click:function(t){e.showChange=!1}}},[e._v("取消")]),n("el-button",{staticStyle:{"margin-left":"5px","margin-bottom":"5px"},attrs:{type:"primary"},on:{click:function(t){return e.saveAndUpdate(!1)}}},[e._v("直接审核")]),n("el-button",{staticStyle:{"margin-left":"5px","margin-bottom":"5px"},attrs:{type:"primary"},on:{click:function(t){return e.saveAndUpdate(!0)}}},[e._v("审核并更新")])]},proxy:!0}]),model:{value:e.showChange,callback:function(t){e.showChange=t},expression:"showChange"}},[n("div",{staticClass:"update"},[e._l(e.selectFormList,(function(t){return[e._l(e.change_data,(function(i,a){return[i[t.field]&&i["need_update"]?n("div",{staticClass:"update-item"},[n("el-checkbox",{on:{change:function(t){e.changeCheckBox(t,a)}},model:{value:i["is_checked"],callback:function(t){e.$set(i,"is_checked",t)},expression:"change['is_checked']"}},[n("div",{staticClass:"update-item-name"},[e._v(e._s(t.name)+":")]),n("div",{staticClass:"update-item-fieldwrap"},[n("div",{staticClass:"update-item-field",style:{"margin-top":e.student_info[t.field]?"10px":"0px"}},[e._v(" "+e._s(e.student_info[t.field])+" ")]),n("div",{staticClass:"update-item-field1",style:{"margin-top":i[t.field]?"10px":"0px"}},[e._v(" "+e._s(i[t.field])+" ")])])])],1):e._e()]}))]}))],2)])],1)},a=[],s=n("5530"),l=n("b85c"),o=(n("d81d"),n("6d08")),r=n("260e"),u=n("be84"),c=n("3cb3"),d={mixins:[u["a"],c["a"]],components:{},data:function(){return{isShow:!1,type:"show",typeName:"查看个人明细",showChange:!1,id:"",action:"".concat("https://wx.sstbc.com/api/admin/upload-file"),host:"".concat("https://wx.sstbc.com"),subjectObj:{},student_info:{},row:{},sign_info:[],change_data:[],sign_result:{},update_student_info:{},fileList:[],form:{show:"",status:0,score:"",giveup_reason:"",file_ids:[],reason:"",position:""},audit_item:[{prop:"username",label:"操作人"},{prop:"ip_address",label:"Ip",width:120},{prop:"event",label:"操作类型"},{prop:"values",label:"操作详情"},{prop:"created_at",label:"操作时间"}]}},created:function(){},methods:{uploadSuccess:function(e,t,n){this.fileList=n},uploadRemove:function(e,t){this.fileList=t},changeCheckBox:function(e,t){var n=this;console.log(e,t),this.$nextTick((function(){n.$set(n.change_data[t],"is_checked",e)})),this.$forceUpdate(),console.log("this.change",this.change_data)},submit:function(){var e=this;if(this.id&&(this.form.id=this.id),2===this.form.status&&this.base.isNull(this.form.reason))this.$message({type:"warning",message:"审核不通过时,请填写备注"});else{var t=[];this.fileList.length>0&&this.fileList.map((function(e){e.response?t.push(e.response.id):t.push(e.id)})),this.form.file_ids=t;var n=0;if("check"===this.type&&this.change_data.length>0){var i,a=Object(l["a"])(this.change_data);try{for(a.s();!(i=a.n()).done;){var o=i.value;o["need_update"]&&n++}}catch(u){a.e(u)}finally{a.f()}if(n>0)return console.log("has_count",n,this.change_data),void(this.showChange=!0)}console.log("123"),Object(r["c"])(Object(s["a"])(Object(s["a"])({},this.row),{},{status:this.form.status,reason:this.form.reason,score:this.form.score,giveup_reason:this.form.giveup_reason,file_ids:this.form.file_ids,position:this.form.position})).then((function(t){e.$message({type:"success",message:"check"===e.type?"审核成功":"设置成功"}),e.isShow=!1,e.$emit("refresh")}))}},saveAndUpdate:function(e){var t=this;if(console.log("isUpdate",e),e){var n=0;if(this.change_data.map((function(e){if(e.is_checked)for(var i in n++,t.student_info)e[i]&&(t.update_student_info[i]=e[i])})),!(n>0))return void this.$Message.warning("请选择需要更新的字段");Object(r["c"])(Object(s["a"])(Object(s["a"])({},this.row),{},{status:this.form.status,reason:this.form.reason,score:this.form.score,giveup_reason:this.form.giveup_reason,file_ids:this.form.file_ids,position:this.form.position})).then((function(e){Object(o["b"])(Object(s["a"])({},t.update_student_info)).then((function(e){t.$message({type:"success",message:"审核并更新成功"}),t.isShow=!1,t.showChange=!1,t.$emit("refresh")}))})),console.log("update",this.update_student_info)}else Object(r["c"])(Object(s["a"])(Object(s["a"])({},this.row),{},{status:this.form.status,reason:this.form.reason,score:this.form.score,giveup_reason:this.form.giveup_reason,file_ids:this.form.file_ids,position:this.form.position})).then((function(e){t.$message({type:"success",message:"审核成功"}),t.isShow=!1,t.showChange=!1,t.$emit("refresh")}))},getDetail:function(){var e=this;Object(o["c"])({id:this.id}).then((function(t){e.student_info=t}))},getSignDetail:function(){var e=this;Object(r["e"])({id:this.id,show_relation:["user"]}).then((function(t){e.student_info=t.user,e.update_student_info=e.base.deepCopy(t.user),e.sign_result=t,e.form.position=t.position?t.position:"",e.change_data=t.change_data?t.change_data:[];var n=[];if(t.data&&Array.isArray(t.data)?(t.data.map((function(t){"files"===t.edit_input&&(e.base.isNull(t.value)||-1===t.value.indexOf("/storage/files/")||(t.submit_files=t.value.split(","))),e.student_info.hasOwnProperty(t.field)||(console.log("item.field"),n.push(t))})),e.sign_info=n):e.sign_info=[],e.form.status=t.status?t.status:0,e.form.score=t.score?t.score:"",e.form.reason=t.reason?t.reason:"",e.form.giveup_reason=t.giveup_reason?t.giveup_reason:"",e.fileList=t.files?t.files:[],e.change_data.length>0){var i,a=Object(l["a"])(e.change_data);try{for(a.s();!(i=a.n()).done;){var s=i.value;for(var o in e.student_info)console.log(s,o,s.hasOwnProperty(o),s[o]!=e.student_info[o]),s.hasOwnProperty(o)&&s[o]!=e.student_info[o]&&(s["need_update"]=!0,s["is_checked"]=!0)}}catch(r){a.e(r)}finally{a.f()}}console.log("this.sign_info",e.sign_info,e.change_data)}))}},watch:{isShow:function(e){e?"show"===this.type?(this.typeName="查看个人明细",this.getDetail()):"check"!==this.type&&"checkshow"!==this.type&&"setPosition"!==this.type||(this.getSignDetail(),"check"===this.type?this.typeName="审核":"setPosition"===this.type?this.typeName="设置班委":this.typeName="查看"):(this.id="",this.type="show",this.showChange=!1,this.subjectObj={},this.sign_result={},this.sign_info=[],this.change_data=[],this.fileList=[],this.student_info={},this.update_student_info={},this.row={},this.$refs["dialog"].reset())}}},_=d,p=(n("60f0"),n("2877")),f=Object(p["a"])(_,i,a,!1,null,"39140f81",null);t["default"]=f.exports},"6d08":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return r}));n("99af"),n("fb6a"),n("d3b7"),n("159b");var i=n("b775");function a(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,i){e.key?t+="".concat(n,"[").concat(i,"][key]=").concat(e.key,"&").concat(n,"[").concat(i,"][op]=").concat(e.op,"&").concat(n,"[").concat(i,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(i,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var i in e)n(i);return t.slice(0,-1)}function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(i["a"])({method:"get",url:"/api/admin/users/study",params:e,paramsSerializer:a,isLoading:t})}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(i["a"])({method:"get",url:"/api/admin/users/show",params:e,isLoading:t})}function o(e){return Object(i["a"])({method:"post",url:"/api/admin/users/save",data:e})}function r(e){return Object(i["a"])({method:"post",url:"/api/admin/users/batch-update-schoolmate",data:e})}},"957f":function(e,t,n){}}]);