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.
1 line
33 KiB
1 line
33 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-215af678"],{"09bd":function(e,t,n){"use strict";n("5071")},"260e":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),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("0643"),n("4e3e"),n("159b");var a=n("b775");function i(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,a){e.key?t+="".concat(n,"[").concat(a,"][key]=").concat(e.key,"&").concat(n,"[").concat(a,"][op]=").concat(e.op,"&").concat(n,"[").concat(a,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(a,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var a in e)n(a);return t.slice(0,-1)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/course-signs/index",params:e,paramsSerializer:i,isLoading:t})}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/course-signs/show",params:e,isLoading:t})}function s(e){return Object(a["a"])({method:"post",url:"/api/admin/course-signs/save",data:e})}function r(e){return Object(a["a"])({method:"get",url:"/api/admin/course-signs/destroy",params:e})}function u(e){return Object(a["a"])({method:"post",url:"/api/admin/course-signs/batch-update-status",data:e})}function c(e){return Object(a["a"])({method:"post",url:"/api/admin/course-signs/batch-update-fee-status",data:e})}function d(e){return Object(a["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 o})),n.d(t,"f",(function(){return l})),n.d(t,"c",(function(){return s})),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("0643"),n("4e3e"),n("159b");var a=n("b775");function i(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,a){e.key?t+="".concat(n,"[").concat(a,"][key]=").concat(e.key,"&").concat(n,"[").concat(a,"][op]=").concat(e.op,"&").concat(n,"[").concat(a,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(a,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var a in e)n(a);return t.slice(0,-1)}function o(e){return Object(a["a"])({url:"/api/admin/parameter/save",method:"post",data:e})}function l(e){return Object(a["a"])({url:"/api/admin/parameter/store",method:"post",data:e})}function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(a["a"])({url:"/api/admin/parameter/show",method:"get",params:e,paramsSerializer:i,isLoading:t})}function r(e){return Object(a["a"])({url:"/api/admin/parameter/index",method:"get",params:e,paramsSerializer:i})}function u(e){return Object(a["a"])({url:"/api/admin/parameter/delete",method:"get",params:{id:e}})}function c(e){return Object(a["a"])({url:"/api/admin/parameter/detail-delete",method:"get",params:{id:e}})}},"3cb3":function(e,t,n){"use strict";n("d81d"),n("d3b7"),n("0643"),n("a573");var a=n("3112"),i=n("807b");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:"from",rule:"",edit_input:"text",help:"请输入学员标签",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"from",sort:0},{name:"人才标签",field:"talent_tags",rule:"",edit_input:"text",help:"请输入人才标签",need_fill:0,belong_user:1,select_item:[],is_open:!1,belong_user_table:"talent_tags",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_type_all:[],company_tag:[],ranking_tag:[],company_scale:[],company_area:[],company_industry:[],company_industry_detail:[],type:[],education:[],sign_from:[],from_tag:[],talent_tags:[]}}},computed:{},created:function(){this.getAllPara(),this.getCompanyConfig()},mounted:function(){},methods:{getCompanyConfig:function(){var e=this;Object(i["a"])().then((function(t){e.formSelect.company_type_all=t.companiesTags}))},getAllPara:function(){var e=this,t=["company_type","company_area","company_tag","ranking_tag","company_scale","company_industry","company_industry_detail","type","education","sign_from","from_tag","talent_tags"];Object(a["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)}))}}}},5071:function(e,t,n){},6204:function(e,t,n){"use strict";n.r(t);var a=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",{staticStyle:{"word-break":"break-word","word-wrap":"break-word","overflow-wrap":"break-word"}},[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(a){return[a[t.field]&&a[t.field]!=e.student_info[t.field]?n("span",{staticStyle:{color:"red","word-break":"break-word","word-wrap":"break-word","overflow-wrap":"break-word"}},[e._v("--\x3e"+e._s(a[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[e.isImageFile(t)?n("div",{staticStyle:{display:"inline-block",margin:"10px"}},[n("el-image",{staticStyle:{width:"100px",height:"100px",cursor:"pointer"},attrs:{src:e.host+t,"preview-src-list":[e.host+t],fit:"cover"}})],1):n("div",{staticStyle:{display:"inline-block",margin:"10px"}},[n("a",{staticStyle:{color:"#409EFF","text-decoration":"none"},attrs:{href:e.host+t,target:"_blank"}},[n("i",{staticClass:"el-icon-document"}),e._v(" "+e._s(e.getFileName(t))+" ")])])]}))],2)],2):n("el-descriptions-item",{attrs:{span:2}},[n("template",{slot:"label"},[e._v(" "+e._s(t.name)+" ")]),n("div",{staticStyle:{"word-break":"break-word","word-wrap":"break-word","overflow-wrap":"break-word"}},[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",width:"450",label:"操作详情","header-align":"center","min-width":"200","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return["created"==t.row.event?n("div",{staticStyle:{"word-break":"break-word"}},[e._v(" 提交报名信息 ")]):n("div",{staticStyle:{"word-break":"break-word"}},[e._l(e.apply_status_list,(function(a){return[t.row.old_values.status===a.id?n("span",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(a.value))]):e._e()]})),e._v(" 变更为: "),e._l(e.apply_status_list,(function(a){return[t.row.new_values.status===a.id?n("span",{staticStyle:{color:"red"}},[e._v(e._s(a.value))]):e._e()]}))],2)]}}],null,!1,4202283198)})]},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,1908415551)})],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",{staticStyle:{"word-break":"break-word","word-wrap":"break-word","overflow-wrap":"break-word"}},[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",{staticStyle:{"word-break":"break-word","word-wrap":"break-word","overflow-wrap":"break-word"}},[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:{filterable:"",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)})],1)},i=[],o=n("5530"),l=(n("d81d"),n("d3b7"),n("8a79"),n("0643"),n("a573"),n("6d08")),s=n("260e"),r=n("be84"),u=n("3cb3"),c={mixins:[r["default"],u["a"]],components:{},data:function(){return{isShow:!1,type:"show",typeName:"查看个人明细",id:"",action:"".concat("/api/admin/upload-file"),host:"".concat(""),subjectObj:{},student_info:{},row:{},sign_info:[],change_data:[],sign_result:{},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:{isImageFile:function(e){if(!e)return!1;var t=[".jpg",".jpeg",".png",".gif",".bmp",".webp",".svg"],n=e.toLowerCase();return t.some((function(e){return n.endsWith(e)}))},getFileName:function(e){if(!e)return"未知文件";var t=e.split("/");return t[t.length-1]||"未知文件"},uploadSuccess:function(e,t,n){this.fileList=n},uploadRemove:function(e,t){this.fileList=t},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,console.log("123"),Object(s["c"])(Object(o["a"])(Object(o["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")}))}},getDetail:function(){var e=this;Object(l["e"])({id:this.id}).then((function(t){e.student_info=t}))},getSignDetail:function(){var e=this;Object(s["e"])({id:this.id,show_relation:["user"]}).then((function(t){e.student_info=t.user,e.sign_result=t,e.form.position=t.position?t.position:"",e.change_data=t.change_data?t.change_data:[];var n=[];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:[],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.subjectObj={},this.sign_result={},this.sign_info=[],this.change_data=[],this.fileList=[],this.student_info={},this.row={},this.$refs["dialog"].reset())}}},d=c,p=(n("09bd"),n("2877")),_=Object(p["a"])(d,a,i,!1,null,"ac852724",null);t["default"]=_.exports},"6d08":function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"l",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return c})),n.d(t,"k",(function(){return d})),n.d(t,"i",(function(){return p})),n.d(t,"h",(function(){return _})),n.d(t,"b",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return b}));n("99af"),n("fb6a"),n("d3b7"),n("0643"),n("4e3e"),n("159b");var a=n("b775");function i(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,a){e.key?t+="".concat(n,"[").concat(a,"][key]=").concat(e.key,"&").concat(n,"[").concat(a,"][op]=").concat(e.op,"&").concat(n,"[").concat(a,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(a,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var a in e)n(a);return t.slice(0,-1)}function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/users/study",params:e,paramsSerializer:i,isLoading:t})}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/users/show",params:e,isLoading:t})}function s(e){return Object(a["a"])({method:"post",url:"/api/admin/users/save",data:e})}function r(e){return Object(a["a"])({method:"post",url:"/api/admin/users/batch-update-schoolmate",data:e})}function u(e){return Object(a["a"])({method:"post",url:"/api/admin/users/batch-update",data:e})}function c(e){return Object(a["a"])({method:"get",url:"/api/admin/supply-demand/index",params:e})}function d(e){return Object(a["a"])({method:"post",url:"/api/admin/supply-demand/save",data:e})}function p(e){return Object(a["a"])({method:"get",url:"/api/mobile/supply-demand/detail",params:e})}function _(e){return Object(a["a"])({method:"get",url:"/api/admin/supply-demand/chart",params:e})}function f(e){return Object(a["a"])({method:"get",url:"/api/admin/supply-demand/message-list",params:e})}function m(e){return Object(a["a"])({method:"post",url:"/api/admin/users/import-special",data:e})}function b(e){return Object(a["a"])({method:"post",url:"/api/admin/users/excel-show-special",data:e})}},"807b":function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return c}));n("99af"),n("fb6a"),n("d3b7"),n("0643"),n("4e3e"),n("159b");var a=n("b775");function i(e){var t="",n=function(n){e.hasOwnProperty(n)&&(Array.isArray(e[n])?e[n].forEach((function(e,a){e.key?t+="".concat(n,"[").concat(a,"][key]=").concat(e.key,"&").concat(n,"[").concat(a,"][op]=").concat(e.op,"&").concat(n,"[").concat(a,"][value]=").concat(e.value,"&"):t+="".concat(n,"[").concat(a,"]=").concat(e,"&")})):t+="".concat(n,"=").concat(e[n],"&"))};for(var a in e)n(a);return t.slice(0,-1)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/company/index",params:e,paramsSerializer:i,isLoading:t})}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/company/config",params:e,isLoading:t})}function s(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object(a["a"])({method:"get",url:"/api/admin/company/show",params:e,isLoading:t})}function r(e){return Object(a["a"])({method:"post",url:"/api/admin/company/save",data:e})}function u(e){return Object(a["a"])({method:"get",url:"/api/admin/company/destroy",params:e})}function c(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(a["a"])({method:"get",url:"/api/mobile/other/company",params:e,paramsSerializer:i,isLoading:t})}}}]); |