1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-68da7ec4"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,a,o){return e/=o/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=r(),l=e-i,s=20,c=0;t="undefined"===typeof t?500:t;var u=function e(){c+=s;var r=Math.easeInOutQuad(c,i,l,t);n(r),c<t?o(e):a&&"function"===typeof a&&a()};u()}},"2bc7":function(e,t,a){"use strict";a("c5d6")},8985:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i})),a.d(t,"d",(function(){return l}));var o=a("829b"),n=function(e){return Object(o["a"])({url:"/api-web/employee/level",method:"post",data:e})},r=function(e){return Object(o["a"])({url:"/api-web/employee/levelDetail",method:"get",params:e})},i=function(e){return Object(o["a"])({url:"/api-web/employee/queryEmployByOrganId",method:"get",params:e})},l=function(e){return Object(o["a"])({url:"/api-web/open/school/cooperation",method:"get",data:e,params:e})}},"9d64":function(e,t,a){e.exports=a.p+"static/img/logo.ae7b11a3.png"},adb21:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var o=a("bc3a"),n=a.n(o),r=(a("4328"),a("5f87")),i=a("3908"),l=a("e3eb"),s=a.n(l),c=function(e,t,a,o){var l=t.url,c={method:t.method?t.method:"get",headers:{Authorization:Object(r["b"])(),tenantId:Object(r["a"])()},url:l,responseType:"blob"};"post"==c.method?c.data=t.params:c.params=t.params,e.$confirm(a||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i["a"].startLoading(),n()(s()(c)).then((function(a){var n=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),r=new Response(n).text();r.then((function(a){if(-1!=a.indexOf("code")){var r=JSON.parse(a);if(403==r.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==r.code?e.$message.success(r.msg):e.$message.error(r.msg),o&&o()}else{var i=URL.createObjectURL(n),l=document.createElement("a"),s=t.fileName||"导出文件.xls";l.href=i,l.setAttribute("download",s),document.body.appendChild(l),l.click(),o&&o()}})),i["a"].endLoading()})).catch((function(t){console.log(t),e.$message.error("下载失败,请联系管理员"),i["a"].endLoading()}))})).catch((function(){}))}},c5d6:function(e,t,a){},e85c:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("transition",{attrs:{name:"el-fade-in-linear"}},[(e.tableList.length>0||e.pageInfo.page>1)&&e.contextFlag||!e.isSearch?a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",staticClass:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{attrs:{clearable:"",placeholder:"单位/乐团主管名称"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search",t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"organId"}},[a("el-select",{attrs:{placeholder:"请选择分部",filterable:"",clearable:""},model:{value:e.searchForm.organId,callback:function(t){e.$set(e.searchForm,"organId","string"===typeof t?t.trim():t)},expression:"searchForm.organId"}},e._l(e.selects.branchs,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"isEnable"}},[a("el-select",{attrs:{placeholder:"请选择状态",filterable:"",clearable:""},model:{value:e.searchForm.isEnable,callback:function(t){e.$set(e.searchForm,"isEnable","string"===typeof t?t.trim():t)},expression:"searchForm.isEnable"}},[a("el-option",{attrs:{label:"开启",value:!0}}),e._v(" "),a("el-option",{attrs:{label:"关闭",value:!1}})],1)],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"danger"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"export/cooperationOrgan",expression:"'export/cooperationOrgan'"}],attrs:{type:"primary"},on:{click:e.onExport}},[e._v("导出")])],1)],1),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"cooperationOrgan/add",expression:"'cooperationOrgan/add'"}],staticStyle:{"margin-bottom":"20px"},attrs:{type:"primary"},on:{click:function(t){return e.openTeaching("create")}}},[e._v("\n 新建\n ")]),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.tableList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",prop:"id",label:"单位编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"name",label:"单位名称"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"logo",label:"logo"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("el-image",{staticStyle:{width:"100px",height:"100px"},attrs:{src:e.row.logo,"preview-src-list":[e.row.logo]}})]}}],null,!1,2311787032)}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"name",label:"所属分部"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.organization.name)+"\n ")])]}}],null,!1,1062854371)}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"realName",label:"乐团主管"}}),e._v(" "),1==e.tenantId?a("el-table-column",{attrs:{align:"center",label:"是否全职资源"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.fullJobResource?"是":"否")+"\n ")]}}],null,!1,2194503727)}):e._e(),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(t.row.isEnable?"开启":"关闭")+"\n ")])]}}],null,!1,3827644254)}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作",width:"140px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.openTeaching("look",t.row)}}},[e._v("查看")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"cooperationOrgan/update",expression:"'cooperationOrgan/update'"}],attrs:{type:"text"},on:{click:function(a){return e.openTeaching("update",t.row)}}},[e._v("修改")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:function(a){return e.rejuest(t.row)}}},[e._v("领队注册")])]}}],null,!1,4091386992)})],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1):e._e(),e._v(" "),e.tableList.length>0||e.pageInfo.page>1||!e.contextFlag||!e.isSearch?e._e():a("emptyPage",{attrs:{title:"合作单位",btnTitle:"新建合作单位",context:e.context},on:{submit:function(t){return e.openTeaching("create")}}})],1),e._v(" "),e.teachingStatus?a("el-dialog",{attrs:{title:e.formTitle[e.formActionTitle],visible:e.teachingStatus,width:"1060px"},on:{"update:visible":function(t){e.teachingStatus=t}}},[a("el-form",{ref:"ruleForm",staticClass:"eidtForm",attrs:{model:e.form,rules:e.rules,inline:!0,"label-position":"left"}},[a("el-alert",{staticStyle:{margin:"10px 0"},attrs:{title:"合作单位信息",closable:!1,type:"info"}}),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"单位名称",prop:"name","label-width":e.formLabelWidth}},[a("el-input",{attrs:{disabled:e.basdisabled,autocomplete:"off"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name","string"===typeof t?t.trim():t)},expression:"form.name"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"所属分部",prop:"organId","label-width":e.formLabelWidth}},[a("el-select",{attrs:{disabled:e.basdisabled,filterable:"",clearable:""},on:{change:e.changeOrgan},model:{value:e.form.organId,callback:function(t){e.$set(e.form,"organId","string"===typeof t?t.trim():t)},expression:"form.organId"}},e._l(e.selects.branchs,(function(e){return a("el-option",{key:e.id,attrs:{label:e.name,value:e.id}})})),1)],1)],1),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"乐团主管",prop:"educationUserId","label-width":e.formLabelWidth,rules:[{required:!0,message:"乐团主管不能为空"}]}},[a("el-select",{attrs:{disabled:!e.form.organId||e.basdisabled,filterable:"",clearable:""},model:{value:e.form.educationUserId,callback:function(t){e.$set(e.form,"educationUserId","string"===typeof t?t.trim():t)},expression:"form.educationUserId"}},e._l(e.educationList,(function(t,o){return a("el-option",{key:o,attrs:{label:t.userName,value:t.userId}},[a("span",{staticStyle:{float:"left"}},[e._v(e._s(t.userName))]),e._v(" "),a("span",{staticStyle:{float:"right",color:"#8492a6","font-size":"13px"}},[e._v(e._s(String(t.userId)))])])})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"合作单位状态",prop:"isEnable","label-width":e.formLabelWidth}},[a("el-select",{attrs:{disabled:e.basdisabled,filterable:"",clearable:""},model:{value:e.form.isEnable,callback:function(t){e.$set(e.form,"isEnable","string"===typeof t?t.trim():t)},expression:"form.isEnable"}},[a("el-option",{attrs:{label:"开启",value:!0}}),e._v(" "),a("el-option",{attrs:{label:"关闭",value:!1}})],1)],1),e._v(" "),1==e.tenantId?a("el-form-item",{attrs:{label:"是否全职资源",prop:"fullJobResource","label-width":e.formLabelWidth}},[a("el-select",{attrs:{disabled:e.basdisabled},model:{value:e.form.fullJobResource,callback:function(t){e.$set(e.form,"fullJobResource","string"===typeof t?t.trim():t)},expression:"form.fullJobResource"}},[a("el-option",{attrs:{label:"是",value:1}}),e._v(" "),a("el-option",{attrs:{label:"否",value:0}})],1)],1):e._e()],1),e._v(" "),a("el-row",[a("el-form-item",{attrs:{label:"合作单位logo","label-width":e.formLabelWidth}},[a("image-cropper",{attrs:{options:e.cropperOptions,bucket_name:"daya",imgSize:2,imageUrl:e.form.logo,showSize:""},on:{"crop-upload-success":e.cropSuccess}}),e._v(" "),a("p",{staticStyle:{color:"red"}},[e._v("大小2M以内,格式为jpg、png、gif图片")])],1)],1),e._v(" "),a("el-alert",{staticStyle:{margin:"10px 0"},attrs:{title:"合作单位联系人",closable:!1,type:"info"}}),e._v(" "),e._l(e.form.cooperationOrganLinkmanList,(function(t,o){return a("el-row",{key:o,staticClass:"greyRow"},[a("div",{staticClass:"concatTitle"},[a("p",[e._v("联系人"+e._s(o+1))]),e._v(" "),e.form.cooperationOrganLinkmanList.length>1&&!e.basdisabled?a("i",{staticClass:"el-icon-delete-solid marginLeft10 iconStyle",staticStyle:{"font-size":"20px",cursor:"pointer"},on:{click:function(t){return e.deleteLinkMan(o)}}}):e._e()]),e._v(" "),a("el-form-item",{attrs:{rules:[{required:!0,message:"请输入联系人",trigger:"blur"}],label:"联系人姓名",prop:"cooperationOrganLinkmanList."+o+".linkman","label-width":e.formLabelWidth}},[a("el-input",{attrs:{disabled:e.basdisabled,autocomplete:"off"},model:{value:t.linkman,callback:function(a){e.$set(t,"linkman","string"===typeof a?a.trim():a)},expression:"item.linkman"}})],1),e._v(" "),a("el-form-item",{attrs:{rules:[{required:!0,message:"请输入职位",trigger:"blur"}],label:"联系人职位",prop:"cooperationOrganLinkmanList."+o+".job","label-width":e.formLabelWidth}},[a("el-input",{attrs:{disabled:e.basdisabled,autocomplete:"off"},model:{value:t.job,callback:function(a){e.$set(t,"job","string"===typeof a?a.trim():a)},expression:"item.job"}})],1),e._v(" "),a("el-form-item",{attrs:{rules:[{required:!0,validator:e.validPhone,trigger:"blur"},,{pattern:/^1[3456789]\d{9}$/,message:"请输入正确的手机号",trigger:"blur"}],label:"联系人手机号",prop:"cooperationOrganLinkmanList."+o+".mobileNo","label-width":e.formLabelWidth}},[a("el-input",{attrs:{disabled:e.basdisabled,max:11,min:11,maxlength:"11",autocomplete:"off"},model:{value:t.mobileNo,callback:function(a){e.$set(t,"mobileNo","string"===typeof a?a.trim():a)},expression:"item.mobileNo"}})],1)],1)})),e._v(" "),e.basdisabled?e._e():a("el-button",{staticClass:"greyRow",staticStyle:{width:"100%"},attrs:{icon:"el-icon-plus"},on:{click:e.addLinkMan}},[e._v("添加联系人")])],2),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.teachingStatus=!1}}},[e._v("取 消")]),e._v(" "),e.basdisabled?e._e():a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onTeachingSubmit("ruleForm")}}},[e._v("确 定")])],1)],1):e._e(),e._v(" "),a("qr-code",{ref:"qrCode",attrs:{title:"领队注册",codeUrl:e.codeUrl,value:e.radio,isDown:!0},model:{value:e.codeStatus,callback:function(t){e.codeStatus=t},expression:"codeStatus"}},[a("el-radio-group",{staticClass:"groupWrap",on:{change:e.changeRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[a("el-radio",{attrs:{label:"SCHOOL_LEADER"}},[e._v("分管领导")]),e._v(" "),a("el-radio",{attrs:{label:"TEACHER"}},[e._v("负责老师")]),e._v(" "),a("el-radio",{attrs:{disabled:e.staffStat.orchestraLeaderNums>0,label:"ORCHESTRA_LEADER"}},[e._v("乐团领队")]),e._v(" "),a("el-radio",{attrs:{disabled:e.staffStat.schoolmasterNums>0,label:"SCHOOLMASTER"}},[e._v("学校校长")])],1)],1)],1)},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 合作单位\n ")])}],r=a("75fc"),i=(a("7f7f"),a("db72")),l=(a("386d"),a("c80c")),s=(a("96cf"),a("3b8d")),c=a("333d"),u=a("99b4"),d=a("e3eb"),m=a.n(d),p=a("61f7"),b=a("adb21"),f=a("1cc7"),g=a("1062"),h=a("4328"),v=a.n(h),_=a("903e"),w=a("896b"),k=a("641c"),y=a("8985"),L=function(e,t,a){t?Object(p["b"])(t)?a():a(new Error("请输入正确的11位手机号码")):a(new Error("请输入电话号码"))},O={name:"branchManager",components:{pagination:c["a"],emptyPage:g["a"],ImageCropper:w["a"],qrCode:k["a"]},data:function(){return{searchForm:{organId:null,isEnable:null,search:null},validPhone:L,searchLsit:[],tableList:[],educationList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},teachingStatus:!1,formActionTitle:"create",formTitle:{create:"添加合作单位",update:"修改合作单位",look:"查看合作单位"},formLabelWidth:"120px",form:{id:null,name:null,linkman:null,job:null,mobileNo:null,fullJobResource:null,organId:null,educationUserId:null,logo:null,cooperationOrganLinkmanList:[{cooperationOrganId:"",job:"",linkman:"",mobileNo:""}]},rules:{name:[{required:!0,message:"请输入教学点名称",trigger:"blur"}],organId:[{required:!0,message:"请选择所属分部",trigger:"change"}],educationUserId:[{required:!0,message:"请选择乐团主管",trigger:"change"}],fullJobResource:[{required:!0,message:"请选择是否全职资源",trigger:"change"}],isEnable:[{required:!0,message:"请选择状态",trigger:"change"}]},basdisabled:!1,actionRow:null,tenantId:null,context:"合作单位即为合作学校,可以为本机构下的各个分部创建合作单位,创建乐团时需选择合作单位用于区分和管理各合作方的乐团。若本机构乐团无合作方,可将本机构创建为合作单位,并在创建乐团时选择。",contextFlag:!1,cropperOptions:{autoCrop:!0,autoCropWidth:200,autoCropHeight:200,fixedBox:!0,previewsCircle:!1,full:!0,enlarge:2,title:"logo"},codeStatus:!1,codeUrl:"www.baidu.com",radio:"SCHOOL_LEADER",staffStat:{orchestraLeaderNums:0,orchestraNums:0,schoolLeaderNums:0,schoolmasterNums:0,studentNums:0,teacherNums:0}}},mounted:function(){var e=Object(s["a"])(Object(l["a"])().mark((function e(){return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this.tenantId=this.$helpers.tenantId,this.getList(),e.next=4,this.$store.dispatch("setBranchs");case 4:this.selects.branchs.length<=0&&this.$bus.$emit("showguide",["organ"]);case 5:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:{onDelete:function(e){var t=this;this.$confirm("您确定删除合作单位?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(u["d"])(e.id).then((function(e){200==e.code?(t.$message.success("删除成功"),t.teachingStatus=!1,t.getList()):t.$message.error(e.msg)}))})).catch((function(){}))},search:function(){this.pageInfo.page=1,this.getList()},onReSet:function(){this.searchForm={organId:null,isEnable:null,search:null},this.$refs.searchForm.resetFields(),this.$refs.searchForm.save(),this.search(),this.$forceUpdate()},changeRadio:function(){this.$refs.qrCode.resetImage(),this.codeUrl="".concat(Object(p["f"])(),"/school/#/school-register?id=").concat(this.activeRow.id,"&type=").concat(this.radio)},onExport:function(){Object(b["a"])(this,{url:"/api-web/export/cooperationOrgan",fileName:"合作单位.xls",method:"post",params:v.a.stringify(m()(this.searchForm))},"您确定导出合作单位?")},onTeachingSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;"create"==t.formActionTitle?(t.form.id&&delete t.form.id,Object(u["c"])(t.form).then((function(e){200==e.code?(t.$message.success("创建成功"),t.teachingStatus=!1,t.getList()):t.$message.error(e.msg)}))):"update"==t.formActionTitle&&Object(u["e"])(t.form).then((function(e){200==e.code?(t.$message.success("修改成功"),t.teachingStatus=!1,t.getList()):t.$message.error(e.msg)}))}))},getList:function(){var e=this;this.contextFlag=!1,Object(u["H"])(Object(i["a"])({rows:this.pageInfo.limit,page:this.pageInfo.page},this.searchForm)).then((function(t){200==t.code&&t.data&&(e.contextFlag=!0,e.tableList=t.data.rows,e.pageInfo.total=t.data.total)}))},openTeaching:function(e,t){if(this.teachingStatus=!0,this.actionRow=Object(i["a"])({},t)||null,this.formActionTitle=e,"update"==e){this.changeOrgan(t.organId),this.form={id:t.id,name:t.name,linkman:t.linkman,job:t.job,mobileNo:t.mobileNo?t.mobileNo:null,ownershipType:t.ownershipType,organId:t.organId,fullJobResource:t.fullJobResource,isEnable:t.isEnable,educationUserId:t.educationUserId,logo:t.logo};var a=t.cooperationOrganLinkmanList.length>0?Object(r["a"])(t.cooperationOrganLinkmanList):[{cooperationOrganId:t.id,job:"",linkman:"",mobileNo:""}];this.$set(this.form,"cooperationOrganLinkmanList",a),this.basdisabled=!1}else if("look"==e){this.changeOrgan(t.organId),this.form={id:t.id,name:t.name,linkman:t.linkman,job:t.job,mobileNo:t.mobileNo?t.mobileNo:null,ownershipType:t.ownershipType,organId:t.organId,fullJobResource:t.fullJobResource,isEnable:t.isEnable,educationUserId:t.educationUserId,logo:t.logo};var o=t.cooperationOrganLinkmanList.length>0?Object(r["a"])(t.cooperationOrganLinkmanList):[];this.$set(this.form,"cooperationOrganLinkmanList",o),this.basdisabled=!0}else this.basdisabled=!1,this.actionRow=null},changeOrgan:function(){var e=Object(s["a"])(Object(l["a"])().mark((function e(t){var a,o,n;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.form.educationUserId=null,!t){e.next=13;break}return e.prev=2,e.next=5,Object(f["xb"])({id:t});case 5:n=e.sent,this.educationList=null===n||void 0===n||null===(a=n.data)||void 0===a?void 0:a.EDUCATION,(!this.educationList||(null===(o=this.educationList)||void 0===o?void 0:o.length)<=0)&&this.$bus.$emit("showguide",["teamManager"]),e.next=13;break;case 10:e.prev=10,e.t0=e["catch"](2),console.log(e.t0);case 13:case"end":return e.stop()}}),e,this,[[2,10]])})));function t(t){return e.apply(this,arguments)}return t}(),deleteLinkMan:function(e){this.form.cooperationOrganLinkmanList.splice(e,1)},addLinkMan:function(){this.actionRow?this.form.cooperationOrganLinkmanList.push({cooperationOrganId:this.actionRow.id,job:"",linkman:"",mobileNo:""}):this.form.cooperationOrganLinkmanList.push({cooperationOrganId:"",job:"",linkman:"",mobileNo:""})},cropClose:function(){console.log("上传操作结束")},cropSuccess:function(e){this.$set(this.form,"logo",e.data.url),console.log(this.form.logo,"cropSuccess")},rejuest:function(){var e=Object(s["a"])(Object(l["a"])().mark((function e(t){var a;return Object(l["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(y["d"])({id:t.id});case 3:a=e.sent,console.log(a,"rejuest"),this.staffStat=Object(i["a"])({},a.data.staffStat),this.activeRow=t,this.codeUrl="".concat(Object(p["f"])(),"/school/#/school-register?id=").concat(t.id,"&type=").concat(this.radio),this.codeStatus=!0,e.next=13;break;case 11:e.prev=11,e.t0=e["catch"](0);case 13:case"end":return e.stop()}}),e,this,[[0,11]])})));function t(t){return e.apply(this,arguments)}return t}()},watch:{teachingStatus:function(e){e||(this.form={id:null,name:null,linkman:null,job:null,mobileNo:null,fullJobResource:null,organId:null,isEnable:null,educationUserId:null,cooperationOrganLinkmanList:[]},this.$refs.ruleForm.resetFields())}},computed:{isSearch:function(){return!this.searchForm.search&&!this.searchForm.organId&&!Object(_["A"])(this.searchForm.isEnable)&&!this.searchForm.isEnable}}},x=O,I=(a("2bc7"),a("2877")),S=Object(I["a"])(x,o,n,!1,null,"4b227b69",null);t["default"]=S.exports}}]);
|