1 line
5.7 KiB
JavaScript
1 line
5.7 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-51d9ad89"],{"0844":function(t,e,a){"use strict";a("9f82d")},"19d9":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"auth acea-row row-between-wrapper"},[a("div",{staticClass:"acea-row row-middle"},[1===t.status?a("div",{staticClass:"text"},[a("div",[t._v("商业授权")]),t._v(" "),a("div",{staticClass:"code"},[t._v("授权码:"+t._s(t.authCode))])]):t._e(),t._v(" "),-1===t.status?a("div",{staticClass:"text"},[t._v("请申请授权")]):t._e()]),t._v(" "),a("div",[1===t.status?a("el-button",{on:{click:function(e){return t.toCrmeb()}}},[t._v("进入官网")]):-1===t.status?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.applyAuth("java_mer")}}},[t._v("申请授权")]):2===t.status?a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.applyAuth("java_mer")}}},[t._v("重新申请")]):0===t.status?a("el-button",{staticClass:"grey"},[t._v("审核中")]):t._e()],1)])]),t._v(" "),t.copyright||1!=t.status?t._e():a("el-card",{staticClass:"box-card",staticStyle:{"margin-top":"15px"}},[a("div",{staticClass:"auth acea-row row-between-wrapper"},[a("div",{staticClass:"acea-row row-middle"},[a("i",{staticClass:"el-icon-s-help iconIos blue"}),t._v(" "),a("div",{staticClass:"text"},[a("div",[t._v("去版权服务")]),t._v(" "),a("div",{staticClass:"code"},[t._v("购买之后可以设置")])])]),t._v(" "),a("div",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.applyAuth("copyright")}}},[t._v("去版权")])],1)])]),t._v(" "),t.copyright?a("el-card",{staticStyle:{"margin-top":"15px"}},[a("el-form",{ref:"copyForm",staticClass:"demo-ruleForm",attrs:{model:t.copyForm,rules:t.rules,"label-width":"100px"}},[a("el-form-item",{attrs:{label:"修改授权信息",prop:"name"}},[a("el-input",{model:{value:t.copyForm.companyName,callback:function(e){t.$set(t.copyForm,"companyName","string"===typeof e?e.trim():e)},expression:"copyForm.companyName"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"上传授权图片",prop:"region"}},[a("div",{staticClass:"authorized"},[t.copyForm.companyImage?a("div",{staticClass:"uploadPictrue"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.copyForm.companyImage,expression:"copyForm.companyImage"}]}),t._v(" "),a("i",{staticClass:"el-icon-error btndel",on:{click:t.handleRemove}})]):a("div",{staticClass:"upload",on:{click:function(e){return t.modalPicTap()}}},[a("div",{staticClass:"iconfont"},[t._v("+")])])]),t._v(" "),a("div",{staticClass:"prompt"},[t._v("建议尺寸:宽290px*高100px")])]),t._v(" "),a("el-form-item",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["platform:copyright:update:company:info"],expression:"['platform:copyright:update:company:info']"}]},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.saveCopyRight("copyForm")}}},[t._v("保存")])],1)],1)],1):t._e(),t._v(" "),t.isTemplate?a("el-dialog",{staticClass:"mapBox",staticStyle:{padding:"0"},attrs:{visible:t.isTemplate,"close-on-click-modal":!1,"before-close":t.handleClose,width:"440px",title:t.title,"close-on-click-modal":"","custom-class":"dialog-scustom"},on:{"update:visible":function(e){t.isTemplate=e}},model:{value:t.isTemplate,callback:function(e){t.isTemplate=e},expression:"isTemplate"}},[a("iframe",{staticStyle:{width:"400px",height:"600px"},attrs:{src:t.iframeUrl,frameborder:"0"}})]):t._e()],1)},o=[],s=a("7dae"),c=a("61f7"),r=a("e350"),l={name:"index",data:function(){return{baseUrl:"https://shop.crmeb.net/html/index.html",iframeUrl:"",captchs:"http://authorize.crmeb.net/api/captchs/",authCode:"",status:null,dayNum:0,copyright:"",isTemplate:!1,price:"",proPrice:"",productStatus:!1,copyForm:{companyName:"",companyImage:""},success:!1,payType:"",disabled:!1,isShow:!1,active:0,timer:null,version:"",label:"",productType:"",modalPic:!1,isChoice:"单选",gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},title:"",
|