webpackJsonp([1],{"+2uD":function(t,e){},"/s7R":function(t,e){},"1lES":function(t,e,i){t.exports=i.p+"static/img/status.f170e73.png"},"3qAc":function(t,e,i){t.exports=i.p+"static/img/null.85d9479.png"},"4CrT":function(t,e){},"4JsU":function(t,e){},"5/wP":function(t,e){},"50ko":function(t,e){},"58W4":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARoAAABUCAMAAABqSAggAAABO1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+//7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8Ns14PtWAev2wbvWoSt2IKsVsiwnAkw3IVuWUYu2ggwG4mxHQhwW8qx3coxnUxzH0JsFouynosyXmq5sey6s2B3q40zX9Ly4m87dS07dCt6cqm48RX1ZVr1J7G8duP4bdL041TyY3l9+7Y9eYsi2WEAAAARHRSTlMABceu1uCUuIEd9J7dvkTMiXUJ+lHwExnsjEh6ZStcKEz+bDgyhXE7FwL2V6mb50Hi0LOjaS4PC9jCliOPNWHLYl+wmGRAB5sAAAuRSURBVHja3Nn9T9pAGMDxp5W3VcApL1NQtC5joJuDBRmi82V7En+ARIYEMphbmDPZ//8X7Lk7KQheafW61X1ajkuMMfdFWlpgTMuEYjUDH8CoxUIZDf5XhXoKHyVVL8BftRkkUfCaFjHw0YyIBg9xEAyUy3G+2hQpgzMb/G+Cxwo6KqEX4AECSJLWaqNu0gTAW/slVKS0D44Ui4rSLIKnCiVUplQAB5aQxFSkeQle0nRUSNdgri1kttyliRskPJUmApaSQTZBqQgqFYH7VXc3RtVOkJTBXZrM7S8VVz6kuddo5Fc0GDGRqE1TMFApQ/KWerGHCf1VvAgQRybnMs0WMgmcZu4IqD5NHRWryw69yRgi7kWeHfAAmvs0822AQloKFUtpIJPcYy8zMusAr18d1RdJCkmMzRaQGIvM8b1p9uJS6tNkULkMSFXDKJSoXx5tvJ3JiiQIUurThFC5EMgVPyO3TfP4WyGFJMxmC8in4fD7N8f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LZWa4Gp0CmXrziim2nb8ka1qMZ5a3Xx515ulNIse7eLw1O6TVbDvV/dlGkd6cGocB9JEPNFluQwsKx6TF2gtD+GYF+q8hdyAUlUgLG/BdRCbJNRZT2aagqkPSqm72Sm3A0bV2i75n4JHhfsP6xAOG53jeGG0uJSmbhhq/VKa32p61J+n1/OtKwj49l2LxW81qe7v7s+bivlX+z+Bd6ivSfF1fHIFDrYAAAAASUVORK5CYII="},"5ukF":function(t,e){},"5yYk":function(t,e){},"64o1":function(t,e){},"7VIj":function(t,e){},"9OyB":function(t,e){},"9Rnw":function(t,e){},BdxS:function(t,e){},CYfF:function(t,e){},Cmeh:function(t,e){},E9Lm:function(t,e){},G3i2:function(t,e){},GJkO:function(t,e){},GX0M:function(t,e){},IIrg:function(t,e){},JXpH:function(t,e){t.exports={_development:!0,_from:"vue-img-cutter@https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz",_id:"vue-img-cutter@2.1.10",_inBundle:!1,_integrity:"sha512-fNLzAkF2fsQ7ew/3LMzm6ZpAs+AKIyHIf2XtXAKjHq6ryz91nWXq9XNoqJQlBb+7hwa49rrYYHD2Tnac1GtU3w==",_location:"/vue-img-cutter",_phantomChildren:{},_requested:{type:"remote",raw:"vue-img-cutter@https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz",name:"vue-img-cutter",escapedName:"vue-img-cutter",rawSpec:"https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz",saveSpec:"https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz",fetchSpec:"https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz"},_requiredBy:["#DEV:/"],_resolved:"https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz",_shasum:"2c92488cd4f57982f2d142967f51949d58634e9f",_spec:"vue-img-cutter@https://registry.npm.taobao.org/vue-img-cutter/download/vue-img-cutter-2.1.10.tgz",_where:"D:\\kuxuan_work\\union_wx\\adManage\\operator",author:{name:"acccccccb",email:"tabzhang@foxmail.com"},browserslist:["> 1%","last 2 versions","not ie <= 8"],bugs:{url:"https://github.com/acccccccb/vue-img-cutter/issues"},bundleDependencies:!1,dependencies:{vue:"^2.5.2"},deprecated:!1,description:"A image crop plug-in for Vue,you can use it to rotate、zoom images and cut any size",devDependencies:{autoprefixer:"^7.1.2","babel-core":"^6.22.1","babel-helper-vue-jsx-merge-props":"^2.0.3","babel-loader":"^7.1.1","babel-plugin-syntax-jsx":"^6.18.0","babel-plugin-transform-runtime":"^6.22.0","babel-plugin-transform-vue-jsx":"^3.5.0","babel-preset-env":"^1.3.2","babel-preset-stage-2":"^6.22.0",chalk:"^2.0.1","copy-webpack-plugin":"^4.0.1","css-loader":"^0.28.0","extract-text-webpack-plugin":"^3.0.0","file-loader":"^1.1.4","friendly-errors-webpack-plugin":"^1.6.1","html-webpack-plugin":"^2.30.1","js-yaml":"^3.13.1",lodash:"^4.17.15",mem:"^6.0.0","mixin-deep":"^2.0.1","node-notifier":"^5.1.2","optimize-css-assets-webpack-plugin":"^3.2.0",ora:"^1.2.0",portfinder:"^1.0.13","postcss-import":"^11.0.0","postcss-loader":"^2.0.8","postcss-url":"^7.2.1",rimraf:"^2.6.0",semver:"^5.3.0","set-value":"^3.0.1",shelljs:"^0.7.6","uglifyjs-webpack-plugin":"^1.1.1","url-loader":"^0.5.8","vue-loader":"^13.3.0","vue-style-loader":"^3.0.1","vue-template-compiler":"^2.5.2",webpack:"^3.6.0","webpack-bundle-analyzer":"^2.13.1","webpack-dev-server":"^2.11.5","webpack-merge":"^4.1.0"},engines:{node:">= 6.0.0",npm:">= 3.0.0"},homepage:"https://ihtmlcss.com/demo/dist/#/croptool",keywords:["image","crop","cutter","vue","裁剪"],license:"Apache2.0",main:"./src/index.js",name:"vue-img-cutter",private:!1,repository:{type:"git",url:"git+https://github.com/acccccccb/vue-img-cutter.git"},scripts:{build:"node build/build.js",dev:"webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",start:"npm run dev"},version:"2.1.10"}},MI0L:function(t,e){},NHnr:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("//Fk"),s=i.n(a),n=i("7+uW"),o=i("mtWM"),r=i.n(o),l=i("Uuz3"),c={BASEURL:new(i.n(l).a)({address:{ceshi:"/ceshi","线上":"/api",production:""},default:"production",exclude:"production",color:"#f66034"}).address,register:"/api/user/register",Login:"/api/user/login",perfect:"/api/user/perfect",sendCode:"/api/user/sendCode",uploadImg:"/api/adMaterial/uploadImg",wxPagePay:"/api/wxPay/pagePay",aPagePay:"/api/aliPay/pagePay",aliCheckOrder:"/api/aliPay/checkOrder",wxCheckOrder:"/api/wxPay/checkOrder",userBalance:"/api/userBalance/index",paymentLog:"/api/paymentLog/index",creditedAccount:"/api/remittanceRecord/creditedAccount",createRecord:"/api/remittanceRecord/create",account:"/api/media/account",position:"/api/media/position",accountSelected:"/api/cptOrder/accountSelected",cptOrder:"/api/cptOrder/accountList",delSelected:"/api/cptOrder/delSelected",getArticle:"/api/adMaterial/getArticle",createOrder:"/api/cptOrder/createOrder",history:"/api/adMaterial/history",orderList:"/api/cptOrder/list",orderInfo:"/api/cptOrder/info",orderDetail:"/api/cptOrder/detail",cptPay:"/api/cptOrder/pay",cancel:"/api/cptOrder/cancel",update:"/api/cptOrder/update",userInfo:"/api/user/info",setPassword:"/api/user/setPassword",setPayPwd:"/api/user/setPayPwd",overview:"/api/userBalance/overview",cpaAttr:"/api/cpaCampaigns/attr",cpaList:"/api/cpaCampaigns/list",cpaCreate:"/api/cpaCampaigns/create",upload_link_file:"/api/cpaCampaigns/upload_link_file",cpaInfo:"/api/cpaCampaigns/info",cpaorderList:"/api/cpaCampaigns/order_list",cpaOrder_fans:"/api/cpaCampaigns/order_fans",cpaOrder_fans_edit:"/api/cpaCampaigns/order_fans_edit",cpaCancel:"/api/cpaCampaigns/cancel",cpaOrder_bill:"/api/cpaCampaigns/order_bill",cpaOrder_pay:"/api/cpaCampaigns/order_pay",cpasupplementLink:"/api/cpaCampaigns/supplementLink",cpacampaign_pay:"/api/cpaCampaigns/campaign_pay",cpaupdateShortcut:"/api/cpaCampaigns/updateShortcut",fansDataImport:"/api/cpaCampaigns/fansDataImport",apply:"https://pay.baobeiwenwen.com/union_wx/payment/#/rechanrge?uid="},d=i("Rf8U"),p=i.n(d),u=i("/ocq"),h={data:function(){return{isNull:"",imgUrl:"",status:1,psw_user:"",psw_password:"",loading:!1}},mounted:function(){},methods:{toUrl:function(){window.location.href="http://liewu.kuxuan-inc.com/union_wx/pcAbout/index.html"},login:function(t){var e=this;return""==this.psw_user?(this.$message({message:"请输入账号",type:"warning"}),!1):""==this.psw_password?(this.$message({message:"请正确输入密码",type:"warning"}),!1):(this.loading=!0,void this.$axios({url:this.URL.BASEURL+this.URL.Login,method:"post",data:{username:this.psw_user,password:this.psw_password}}).then(function(t){t=t.data;if(e.loading=!1,t&&0==t.errno){var i=t.rst.data;if(e.$cookieStore.setCookie("created_at",i.created_at),e.$cookieStore.setCookie("username",i.username),e.$cookieStore.setCookie("uid",i.id),e.$cookieStore.setCookie("isLogin",!0),2==i.is_auditing)e.$router.push({path:"/home"});else if(-1==i.is_auditing||1==i.is_auditing){e.$cookieStore.setCookie("result","审核信息待补充"),e.$router.push("/perfect?result="+(1!=i.is_auditing?"reject":"audit"))}else 0==i.is_auditing&&e.$router.push("/perfect")}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loading=!1}))}},watch:{status:function(){2==this.status?this.getQrcode():(clearTimeout(this.timer),this.timer="isNull")}},destroyed:function(){clearTimeout(this.timer),this.timer="isNull"}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-main"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"user-land-page"},[a("div",{staticClass:"section-body"},[a("div",{staticClass:"body_left"},[t._m(0),t._v(" "),a("div",{staticClass:"lText"},[a("img",{attrs:{src:i("XvQC"),alt:""}}),t._v(" "),a("div",{staticClass:"lBottom",attrs:{alt:""},on:{click:t.toUrl}},[a("img",{attrs:{src:i("RBJf")}}),t._v("\n 点击进入首页\n ")])]),t._v(" "),a("div")]),t._v(" "),a("div",{staticClass:"body_right"},[t._m(1),t._v(" "),a("div",{staticClass:"right",staticStyle:{height:"60px",opacity:"0"}}),t._v(" "),1==t.status?a("div",{staticClass:"input"},[a("div",{staticClass:"input-tit"},[t._v("账号")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.psw_user,expression:"psw_user",modifiers:{trim:!0}}],staticStyle:{"margin-bottom":"20px"},attrs:{type:"text",placeholder:"请输入账号"},domProps:{value:t.psw_user},on:{input:function(e){e.target.composing||(t.psw_user=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("div",{staticClass:"input-tit"},[t._v("密码")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.psw_password,expression:"psw_password",modifiers:{trim:!0}}],attrs:{type:"password",placeholder:"请输入密码"},domProps:{value:t.psw_password},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.login()},input:function(e){e.target.composing||(t.psw_password=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("button",{staticClass:"button",on:{click:function(e){return t.login()}}},[t._v("登录")]),t._v(" "),a("div",{staticClass:"btnInfo btnInfo1"},[t._v("\n 未有账号?"),a("router-link",{staticClass:"to-other-page",attrs:{to:"/register"}},[t._v("注册")])],1)]):t._e()])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"lBox"},[e("img",{staticClass:"lLogo",attrs:{src:i("YyoC"),alt:""}}),this._v("\n 猎悟\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"func-header"},[e("img",{staticClass:"logo",attrs:{src:i("YyoC"),alt:""}}),this._v(" "),e("span",{staticClass:"type"},[this._v("登陆")])])}]};var v=i("VU/8")(h,m,!1,function(t){i("/s7R"),i("Tw9S")},"data-v-2e77c300",null).exports,g={data:function(){return{password:"",psw_user:"",psw_password:"",loading:!1,openId:this.$route.query.openid}},created:function(){this.code=this.$route.query.teamId},methods:{toUrl:function(){window.location.href="http://liewu.kuxuan-inc.com/union_wx/pcAbout/index.html"},login:function(){var t=this;return""==this.psw_user?(this.$message({message:"请输入用户名",type:"warning"}),!1):""==this.psw_password?(this.$message({message:"请正确输入密码",type:"warning"}),!1):this.password!=this.psw_password?(this.$message({message:"两次密码不一致,请重新输入",type:"warning"}),!1):(this.loading=!0,void this.$axios.post(this.URL.BASEURL+this.URL.register,{username:this.psw_user,password:this.psw_password,code:this.code,openid:this.openId}).then(function(e){e=e.data;if(t.loading=!1,e&&0==e.errno){var i=e.rst.data;if(t.$cookieStore.setCookie("created_at",i.created_at),t.$cookieStore.setCookie("username",i.username),t.$cookieStore.setCookie("uid",i.id),t.$cookieStore.setCookie("isLogin",!0),2==i.is_auditing)t.$router.push({path:"/home"});else if(-1==i.is_auditing||1==i.is_auditing){t.$cookieStore.setCookie("result","审核信息待补充"),t.$router.push("/perfect?result="+(1!=i.is_auditing?"reject":"audit"))}else 0==i.is_auditing&&t.$router.push("/perfect")}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loading=!1}))}}},_={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-main"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"user-land-page"},[a("div",{staticClass:"section-body"},[a("div",{staticClass:"body_left"},[t._m(0),t._v(" "),a("div",{staticClass:"lText"},[a("img",{attrs:{src:i("XvQC"),alt:""}}),t._v(" "),a("div",{staticClass:"lBottom",attrs:{alt:""},on:{click:t.toUrl}},[a("img",{attrs:{src:i("RBJf")}}),t._v("\n 点击进入首页\n ")])]),t._v(" "),a("div")]),t._v(" "),a("div",{staticClass:"body_right"},[t._m(1),t._v(" "),a("div",{staticClass:"input"},[a("div",{staticClass:"input-tit"},[t._v("\n 账号注册")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.psw_user,expression:"psw_user",modifiers:{trim:!0}}],staticClass:"text",staticStyle:{"margin-bottom":"20px"},attrs:{type:"text",placeholder:"请输入账号"},domProps:{value:t.psw_user},on:{input:function(e){e.target.composing||(t.psw_user=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("div",{staticClass:"input-tit"},[t._v("\n 密码")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.psw_password,expression:"psw_password",modifiers:{trim:!0}}],staticClass:"text",staticStyle:{"margin-bottom":"20px"},attrs:{type:"password",placeholder:"请输入密码"},domProps:{value:t.psw_password},on:{input:function(e){e.target.composing||(t.psw_password=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("div",{staticClass:"input-tit"},[t._v("\n 确认密码")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.password,expression:"password",modifiers:{trim:!0}}],staticClass:"text",staticStyle:{"margin-bottom":"20px"},attrs:{type:"password",placeholder:"请再次输入密码"},domProps:{value:t.password},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.login()},input:function(e){e.target.composing||(t.password=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a("button",{staticClass:"button",staticStyle:{"margin-top":"4px"},on:{click:function(e){return t.login()}}},[t._v("注册")]),t._v(" "),a("div",{staticClass:"btnInfo"},[t._v("\n 未有账号?"),a("router-link",{staticClass:"to-other-page",attrs:{to:"/login"+(t.openId?"?openId="+t.openId:"")}},[t._v("登陆")])],1)])])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"lBox"},[e("img",{staticClass:"lLogo",attrs:{src:i("YyoC"),alt:""}}),this._v("\n 猎悟\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"func-header"},[e("img",{staticClass:"logo",attrs:{src:i("YyoC"),alt:""}}),this._v(" "),e("span",{staticClass:"type"},[this._v("注册")])])}]};var f=i("VU/8")(g,_,!1,function(t){i("E9Lm"),i("CYfF")},"data-v-2ac4cb5b",null).exports,w=i("Xxa5"),y=i.n(w),x=i("exGp"),b=i.n(x),C={data:function(){return{result:this.$cookieStore.getCookie("result"),timer:null,phone:"",loading:!1,regUserName:null,perfectResult:"",perfectResultText:"",regInfoTelNum:"",regInfoTime:this.$cookieStore.getCookie("created_at"),regInfoRemark:"",infoType:1,formInlinePersonal:{phone:"",real_name:"",id_card:"",address:"",code:""},formInlineCompany:{phone:"",company:"",corporation:"",social_code:"",link_man:"",code:""},userCardPic1:{src:"",val:""},userCardPic2:{src:"",val:""},shopCardPic:{src:"",val:""},ruleInline1:{phone:[{required:!0,message:"手机号码不得为空",trigger:"blur"},{required:!0,type:"string",pattern:/^1[0-9]\d{9}$/,message:"请正确输入手机号码",trigger:"blur"}],code:[{required:!0,message:"验证码不得为空",trigger:"blur"}],real_name:[{required:!0,message:"真实姓名不得为空",trigger:"blur"}],id_card:[{required:!0,message:"身份证号码不得为空",trigger:"blur"}]},ruleInline2:{phone:[{required:!0,message:"手机号码不得为空",trigger:"blur"},{required:!0,type:"string",pattern:/^1[0-9]\d{9}$/,message:"请正确输入手机号码",trigger:"blur"}],code:[{required:!0,message:"验证码不得为空",trigger:"blur"}],company:[{required:!0,message:"企业名称不得为空",trigger:"blur"}],corporation:[{required:!0,message:"法人姓名不得为空",trigger:"blur"}]},sendVcodeSwitch:!0,sendVcodeTime:59,sendVcodeText:"发送验证码"}},created:function(){this.regUserName=this.$route.query.userName?this.$route.query.userName:"";var t=this.$route.query.result?this.$route.query.result:"";this.perfectResult=t,this.perfectResultText={audit:"审核中,请耐心等待",reject:"审核失败,请重新填写信息"}[t]},mounted:function(){},computed:{},methods:{sendCode:function(t){var e=this;this.$axios.get(this.URL.BASEURL+this.URL.sendCode,{params:{phone:t}}).then(function(t){if(e.loadList=!1,(t=t.data)&&0==t.errno){t=t.rst;e.$message({message:"手机验证码发送成功!",type:"success"}),e.sendVcodeSwitch=!1,e.sendVcodeText="60s后重发",clearInterval(e.timer),e.timer=setInterval(function(){e.sendVcodeText=e.sendVcodeTime+"s后重发",e.sendVcodeTime--,e.sendVcodeTime<0&&(e.sendVcodeSwitch=!0,e.sendVcodeText="发送验证码",e.sendVcodeTime=59,clearInterval(e.timer))},1e3)}else e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loadList=!1})},perfect:function(t){var e={formInlinePersonal:"PERSON",formInlineCompany:"BUSI"}[t];if("PERSON"==e&&this.userCardPic1.src)this.$message.error("请上传身份证图片!");else if("BUSI"==e&&this.userCardPic2.src)this.$message.error("请上传图片!");else{this.formInlinePersonal,this.formInlineCompany;this.postPerfect()}},postPerfect:function(){var t=this,e=1==this.infoType?this.formInlinePersonal:this.formInlineCompany;e.uid=Number(this.$cookieStore.getCookie("uid")),e.username=this.$cookieStore.getCookie("username"),e.account_type=this.infoType,e.id_card_person=this.userCardPic1.src,e.id_card_emblem=this.userCardPic2.src,2==this.infoType&&(e.business_license=this.shopCardPic.src),this.loading=!0,this.$axios.post(this.URL.BASEURL+this.URL.perfect,e).then(function(e){t.loading=!1,(e=e.data)&&0==e.errno?(t.$message.success("完善信息成功,请等待审核!"),t.perfectResult="PUSH",t.perfectResultText="恭喜,信息提交成功",t.regInfoTelNum=1==t.infoType?t.formInlinePersonal.phone:t.formInlineCompany.phone):t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loading=!1})},infoTypeSelect:function(t){this.infoType=t,this.sendVcodeSwitch=!0,this.sendVcodeTime=59,this.sendVcodeText="发送验证码",clearInterval(this.timer)},sendMtCodeApi:function(t){var e=this;return b()(y.a.mark(function i(){return y.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(t){i.next=3;break}return e.$message.error("手机号码不可为空!"),i.abrupt("return");case 3:e.sendCode(t);case 4:case"end":return i.stop()}},i,e)}))()},uploadImg:function(t,e){var i=this;return b()(y.a.mark(function a(){var s,n;return y.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(t.target.files[0]){a.next=2;break}return a.abrupt("return",!1);case 2:if("png"!==(s=t.target.files[0].name.split(".")[1].toLowerCase())&&"jpg"!==s){a.next=14;break}if(!(t.target&&t.target.files&&t.target.files[0]&&t.target.files[0].size>2097152)){a.next=7;break}return i.$message.error("请上传2M以下图片"),a.abrupt("return");case 7:(new FormData).append("file",t.target.files[0]),(n=new FileReader).readAsDataURL(t.target.files[0]),n.onload=function(t){1==e?i.userCardPic1.src=t.target.result:2==e?i.userCardPic2.src=t.target.result:i.shopCardPic.src=t.target.result},a.next=15;break;case 14:i.$message.error("请上传正确格式的图片");case 15:case"end":return a.stop()}},a,i)}))()},handlePerfect:function(t){"audit"!=t&&"PUSH"!=t?this.perfectResult="":this.$router.go(-1)},handleSubmit:function(t){var e=this;return b()(y.a.mark(function i(){var a;return y.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return a={formInlinePersonal:"PERSON",formInlineCompany:"BUSI"}[t],i.next=3,e.$refs[t].validate();case 3:if(i.sent){i.next=6;break}return i.abrupt("return");case 6:if("PERSON"!=a||e.userCardPic1.src){i.next=9;break}return e.$message.error("请上传身份证图片!"),i.abrupt("return");case 9:if("BUSI"!=a||e.userCardPic2.src){i.next=12;break}return e.$message.error("请上传图片!"),i.abrupt("return");case 12:({PERSON:e.formInlinePersonal,BUSI:e.formInlineCompany}),e.postPerfect();case 14:case"end":return i.stop()}},i,e)}))()},getShowTelNum:function(t){return t.slice(0,3)+"***"+t.slice(7,11)}}},k={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"user-perfect-page"},[i("section",{staticClass:"user-perfect-page-container"},[t._m(0),t._v(" "),i("section",{staticClass:"section-body"},[i("div",{staticClass:"selectType"},[i("span",{class:1==t.infoType?"active":"",on:{click:function(e){return t.infoTypeSelect(1)}}},[t._v("个人")]),t._v(" "),i("span",{class:2==t.infoType?"active":"",on:{click:function(e){return t.infoTypeSelect(2)}}},[t._v("企业")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.perfectResult,expression:"perfectResult"}],staticClass:"perfect-result"},[i("div",{staticClass:"perfect-content"},[i("span",{staticClass:"typePic",class:t.perfectResult}),t._v(" "),i("div",{staticClass:"title"},[t._v(t._s(t.perfectResultText))]),t._v(" "),t.regInfoTelNum&&"reject"!=t.perfectResult?i("div",{staticClass:"text"},[t._v("审核会在24个小时内完成,审核结果会以短信方式发送到您的手机"+t._s(t.regInfoTelNum))]):t._e(),t._v(" "),"reject"==t.perfectResult?i("div",{staticClass:"text",staticStyle:{textAlign:"center"}},[i("div",{staticStyle:{color:"#FF2020","line-height":"21px"}},[t._v("未通过原因:")]),t._v(t._s(t.result))]):t._e(),t._v(" "),t.regInfoTime?i("div",{staticClass:"time"},[t._v("提交时间:"+t._s(t.regInfoTime||"- -"))]):t._e(),t._v(" "),i("span",{staticClass:"perfect-btn",on:{click:function(e){return t.handlePerfect(t.perfectResult)}}},[t._v("知 道 了")])])]),t._v(" "),t._m(1),t._v(" "),i("div",{staticClass:"section-body-content"},[i("div",{directives:[{name:"show",rawName:"v-show",value:1==t.infoType,expression:"infoType == 1"}],staticClass:"body-left"},[i("el-form",{ref:"formInlinePersonal",attrs:{model:t.formInlinePersonal,rules:t.ruleInline1}},[i("el-form-item",{attrs:{prop:"phone"}},[i("span",{staticClass:"input-tit active"},[t._v("手机号")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入手机号"},model:{value:t.formInlinePersonal.phone,callback:function(e){t.$set(t.formInlinePersonal,"phone",e)},expression:"formInlinePersonal.phone"}})],1),t._v(" "),i("el-form-item",{attrs:{prop:"code"}},[i("span",{staticClass:"input-tit active",staticStyle:{display:"block"}},[t._v("验证码")]),t._v(" "),i("el-input",{staticStyle:{width:"233px"},attrs:{type:"text",placeholder:"请输入验证码"},model:{value:t.formInlinePersonal.code,callback:function(e){t.$set(t.formInlinePersonal,"code",e)},expression:"formInlinePersonal.code"}}),t._v(" "),i("span",{staticClass:"send-code",class:t.sendVcodeSwitch?"":"active",on:{click:function(e){t.sendVcodeSwitch&&t.sendMtCodeApi(t.formInlinePersonal.phone)}}},[t._v(t._s(t.sendVcodeText))])],1),t._v(" "),i("el-form-item",{attrs:{prop:"real_name"}},[i("span",{staticClass:"input-tit active"},[t._v("真实姓名")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入真实姓名"},model:{value:t.formInlinePersonal.real_name,callback:function(e){t.$set(t.formInlinePersonal,"real_name",e)},expression:"formInlinePersonal.real_name"}})],1),t._v(" "),i("el-form-item",{attrs:{prop:"id_card"}},[i("span",{staticClass:"input-tit active"},[t._v("身份证号码")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入身份证号码"},model:{value:t.formInlinePersonal.id_card,callback:function(e){t.$set(t.formInlinePersonal,"id_card",e)},expression:"formInlinePersonal.id_card"}})],1),t._v(" "),i("el-form-item",{staticStyle:{marginBottom:"24px"},attrs:{prop:"address"}},[i("span",{staticClass:"input-tit"},[t._v("联系地址")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入联系地址"},model:{value:t.formInlinePersonal.address,callback:function(e){t.$set(t.formInlinePersonal,"address",e)},expression:"formInlinePersonal.address"}})],1)],1)],1),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2==t.infoType,expression:"infoType == 2"}],staticClass:"body-left"},[i("el-form",{ref:"formInlineCompany",attrs:{model:t.formInlineCompany,rules:t.ruleInline2}},[i("el-form-item",{attrs:{prop:"phone"}},[i("span",{staticClass:"input-tit active"},[t._v("手机号")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入手机号"},model:{value:t.formInlineCompany.phone,callback:function(e){t.$set(t.formInlineCompany,"phone",e)},expression:"formInlineCompany.phone"}})],1),t._v(" "),i("el-form-item",{attrs:{prop:"code"}},[i("span",{staticClass:"input-tit active",staticStyle:{display:"block"}},[t._v("验证码")]),t._v(" "),i("el-input",{staticStyle:{width:"233px"},attrs:{type:"text",placeholder:"请输入验证码"},model:{value:t.formInlineCompany.code,callback:function(e){t.$set(t.formInlineCompany,"code",e)},expression:"formInlineCompany.code"}}),t._v(" "),i("span",{staticClass:"send-code",class:t.sendVcodeSwitch?"":"active",on:{click:function(e){t.sendVcodeSwitch&&t.sendMtCodeApi(t.formInlineCompany.phone)}}},[t._v(t._s(t.sendVcodeText))])],1),t._v(" "),i("el-form-item",{attrs:{prop:"company"}},[i("span",{staticClass:"input-tit active"},[t._v("企业名称")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入企业名称"},model:{value:t.formInlineCompany.company,callback:function(e){t.$set(t.formInlineCompany,"company",e)},expression:"formInlineCompany.company"}})],1),t._v(" "),i("el-form-item",{attrs:{prop:"corporation"}},[i("span",{staticClass:"input-tit active"},[t._v("法人姓名")]),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"请输入法人姓名"},model:{value:t.formInlineCompany.corporation,callback:function(e){t.$set(t.formInlineCompany,"corporation",e)},expression:"formInlineCompany.corporation"}})],1),t._v(" "),i("el-form-item",{staticStyle:{marginBottom:"20px"},attrs:{prop:"social_code"}},[i("span",{staticClass:"input-tit"},[t._v("社会信用代码")]),t._v(" "),i("el-input",{staticClass:"social_code",attrs:{type:"text",placeholder:"请输入社会信用代码"},model:{value:t.formInlineCompany.social_code,callback:function(e){t.$set(t.formInlineCompany,"social_code",e)},expression:"formInlineCompany.social_code"}})],1),t._v(" "),i("el-form-item",{staticStyle:{marginBottom:"20px"},attrs:{prop:"link_man"}},[i("span",{staticClass:"input-tit"},[t._v("业务联系人姓名")]),t._v(" "),i("el-input",{staticClass:"link_man",attrs:{type:"text",placeholder:"请输入业务联系人姓名"},model:{value:t.formInlineCompany.link_man,callback:function(e){t.$set(t.formInlineCompany,"link_man",e)},expression:"formInlineCompany.link_man"}})],1)],1)],1),t._v(" "),i("div",{staticClass:"body-right"},[t._m(2),t._v(" "),i("div",{staticClass:"pic-content"},[i("span",[i("input",{ref:"uploadImgFile1",staticClass:"uploadImg-file",staticStyle:{width:"100%",height:"100%"},attrs:{type:"file",size:"mini"},on:{change:function(e){return t.uploadImg(e,1)}}}),t._v(" "),t.userCardPic1.src?i("img",{attrs:{src:t.userCardPic1.src,alt:""}}):t._e()]),t._v(" "),i("span",[i("input",{ref:"uploadImgFile2",staticClass:"uploadImg-file",staticStyle:{width:"100%",height:"100%"},attrs:{type:"file",size:"mini"},on:{change:function(e){return t.uploadImg(e,2)}}}),t._v(" "),t.userCardPic2.src?i("img",{attrs:{src:t.userCardPic2.src,alt:""}}):t._e()])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2==t.infoType,expression:"infoType == 2"}],staticClass:"pic-title active",staticStyle:{"margin-top":"30px"}},[t._v("上传营业执照 "),i("span",[t._v("请上传小于2M格式为JPG/PNG的图片")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:2==t.infoType,expression:"infoType == 2"}],staticClass:"pic-content"},[i("span",{staticStyle:{width:"326px",height:"126px"}},[i("input",{ref:"uploadImgFile3",staticClass:"uploadImg-file",staticStyle:{width:"100%",height:"100%"},attrs:{type:"file",size:"mini"},on:{change:function(e){return t.uploadImg(e,3)}}}),t._v(" "),t.shopCardPic.src?i("img",{attrs:{src:t.shopCardPic.src,alt:""}}):t._e()])])])]),t._v(" "),i("div",{staticClass:"section-body-foot"},[i("span",{staticClass:"submit-btn",on:{click:function(e){!t.loading&&t.handleSubmit(1==t.infoType?"formInlinePersonal":"formInlineCompany")}}},[t.loading?i("Icon",{staticClass:"loadingIcon",attrs:{type:"ios-loading"}}):t._e(),t._v("提 交")],1)])]),t._v(" "),i("footer")])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{height:"100px"}},[e("img",{staticClass:"logo",attrs:{src:i("RNtg"),alt:""}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"section-body-header"},[e("span",{staticClass:"now-page-tit"},[this._v("请完善信息")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"pic-title active"},[this._v("上传身份证 "),e("span",[this._v("请上传小于2M格式为JPG/PNG的图片")])])}]};var I=i("VU/8")(C,k,!1,function(t){i("5ukF")},null,null).exports,A={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.visible?i("section",[i("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:">"}},[i("transition-group",{attrs:{name:"breadcrumb"}},t._l(t.levelList,function(e,a){return i("el-breadcrumb-item",{directives:[{name:"show",rawName:"v-show",value:e.meta.title,expression:"item.meta.title"}],key:e.path},["noredirect"===e.redirect||a==t.levelList.length-1?i("span",{staticClass:"no-redirect"},[t._v("\n "+t._s(e.meta.desc||e.meta.title)+"\n ")]):i("span",{staticClass:"gray"},[t._v(t._s(e.meta.title))])])}),1)],1)],1):t._e()},staticRenderFns:[]};var S=i("VU/8")({data:function(){return{levelList:null,visible:!0}},created:function(){this.getBreadcrumb()},watch:{$route:function(){this.getBreadcrumb()},visible:function(){}},methods:{getBreadcrumb:function(){var t=this.$route.matched.filter(function(t){return t.name}),e=t[0];"首页"!==e.meta.title?(this.visible=!0,this.addBreadcrumb(t,e),this.levelList=t):this.visible=!1},addBreadcrumb:function(t,e){e.parent&&e.meta.title!==e.parent.meta.title&&(t.unshift(e.parent),this.addBreadcrumb(t,e.parent))}}},A,!1,function(t){i("MI0L"),i("NWFg")},"data-v-6a73944c",null).exports,B=i("zL8q"),L=i.n(B),U={props:["wxName","teamName","isCollapse"],data:function(){return{routes:qt.options.routes,pathName:"home",searchIsFlag:!1,admin_id:"",isIEfalg:!1,keyword:"",isManage:!0}},created:function(){this.pathName=this.$route.name,this.isManage||"groupManage"!=this.$route.name&&"manage"!=this.$route.name||this.$router.push("/")},mounted:function(){this.IEVersion()},methods:{toUrl:function(t){this.$router.push("/"+t)},asideTabEvent:function(t,e){this.$route.path!=e.path&&-1==e.allPathName.indexOf(this.$route.path.replace(/\//g,""))&&this.$router.push({path:e.path})},goUrl:function(t){t.path?this.$route.path!=t.path&&this.$router.push({path:t.path}):Object(B.MessageBox)({message:"敬请期待!",duration:3e3})},IEVersion:function(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,i=t.indexOf("Edge")>-1&&!e,a=t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1;e?this.isIEfalg=!0:i||a&&(this.isIEfalg=!0)}},watch:{teamName:function(){this.isManage=this.teamName==this.$cookieStore.getCookie("phone")},$route:function(t,e){this.pathName=t.name}}},R={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sidebar-container clear"},[a("el-menu",{attrs:{mode:"vertical","unique-opened":"","default-active":t.$route.path,collapse:t.isCollapse,"background-color":"#3B3F52","text-color":"#fff","active-text-color":"#fff","active-background-color":"#4589FF"}},[a("div",{staticClass:"logoBox",style:{opacity:t.isCollapse?0:1}},[a("img",{staticClass:"logo",attrs:{src:i("58W4"),alt:""}})]),t._v(" "),a("div",{staticClass:"menu-wrapper"},[t._l(t.routes,function(e){return[e.children&&1===e.children.length&&!e.children[0].children?a("router-link",{key:e.children[0].name,attrs:{to:e.children[0].path}},[a("el-menu-item",{staticClass:"submenu-title-noDropdown",attrs:{index:e.children[0].path}},[e.children[0].meta&&e.children[0].meta.icon?a("i",{class:"ivu-icon ivu-icon-"+e.children[0].meta.icon}):t._e(),t._v(" "),e.children[0].meta&&e.children[0].meta.title?a("span",[t._v(t._s(e.children[0].meta.title))]):t._e()])],1):e.children&&e.children.every(function(t){return t.hidden})?a("router-link",{key:e.children[0].name,attrs:{to:e.children[0].path}},[a("el-menu-item",{staticClass:"submenu-title-noDropdown",attrs:{index:e.children[0].path}},[e.meta&&e.meta.icon?a("i",{class:"ivu-icon ivu-icon-"+e.meta.icon}):t._e(),t._v(" "),e.children[0].meta&&e.children[0].meta.title?a("span",[t._v(t._s(e.meta.title))]):t._e()])],1):e.hidden?t._e():a("el-submenu",{key:e.name,attrs:{index:e.name||e.path}},[a("template",{slot:"title"},[e.meta&&e.meta.icon?a("i",{class:"ivu-icon ivu-icon-"+e.meta.icon}):t._e(),t._v(" "),e.meta&&e.meta.title?a("span",[t._v(t._s(e.meta.title))]):t._e()]),t._v(" "),t._l(e.children,function(e){return e.hidden?t._e():[a("router-link",{key:e.name,attrs:{to:e.path}},[a("el-menu-item",{attrs:{index:e.path}},[e.meta&&e.meta.title?a("span",[t._v(t._s(e.meta.title))]):t._e()])],1)]})],2)]})],2)])],1)},staticRenderFns:[]};var P=i("VU/8")(U,R,!1,function(t){i("yWAu"),i("Soun")},"data-v-e963dd2c",null).exports,O={props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}},inject:["reload"],components:{homeAside:P,breadCrumb:S},data:function(){return{isCollapse:!1,isIEfalg:!1,username:this.$cookieStore.getCookie("username")}},created:function(){},mounted:function(){this.IEVersion()},methods:{toOwn:function(){this.$cookieStore.delAllCookie(),this.$router.push({path:"/login"}),location.reload()},asideTabEvent:function(t){this.tabList[t].flag=!this.tabList[t].flag},IEVersion:function(){var t=navigator.userAgent,e=t.indexOf("compatible")>-1&&t.indexOf("MSIE")>-1,i=(t.indexOf("Edge"),t.indexOf("Trident")>-1&&t.indexOf("rv:11.0")>-1);e?this.isIEfalg=!0:i&&(this.isIEfalg=!0)}},watch:{}},T={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:{hideSidebar:t.isCollapse},attrs:{id:"container"}},[t.isIEfalg?i("div",{staticClass:"notice"},[i("div",{staticClass:"left"},[t._v("抱歉  为了保证产品体验,建议您用其他浏览器!")])]):t._e(),t._v(" "),i("home-aside",{staticStyle:{background:"#3b3f52"},attrs:{isCollapse:t.isCollapse}}),t._v(" "),i("div",{staticClass:"main-container"},[i("div",{staticClass:"header"},[i("div",{staticClass:"right"},[i("div",{staticClass:"hamburger-container"},[i("svg",{staticClass:"svg-icon hamburger",class:{"is-active":!t.isCollapse},attrs:{t:"1492500959545",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1691","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"64",height:"64"},on:{click:function(e){t.isCollapse=!t.isCollapse}}},[i("path",{attrs:{d:"M966.8023 568.849776 57.196677 568.849776c-31.397081 0-56.850799-25.452695-56.850799-56.850799l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 543.397081 998.200404 568.849776 966.8023 568.849776z","p-id":"1692"}}),t._v(" "),i("path",{attrs:{d:"M966.8023 881.527125 57.196677 881.527125c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.849776 56.850799-56.849776l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.849776l0 0C1023.653099 856.07443 998.200404 881.527125 966.8023 881.527125z","p-id":"1693"}}),t._v(" "),i("path",{attrs:{d:"M966.8023 256.17345 57.196677 256.17345c-31.397081 0-56.850799-25.452695-56.850799-56.849776l0 0c0-31.397081 25.452695-56.850799 56.850799-56.850799l909.605623 0c31.397081 0 56.849776 25.452695 56.849776 56.850799l0 0C1023.653099 230.720755 998.200404 256.17345 966.8023 256.17345z","p-id":"1694"}})])]),t._v(" "),i("div",{staticClass:"name"},[i("el-dropdown",{on:{command:t.toOwn}},[i("span",{staticClass:"el-dropdown-link"},[t._v("\n "+t._s(t.username)),i("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[i("el-dropdown-item",{attrs:{command:"logout"}},[t._v("退出登录")])],1)],1)],1)])]),t._v(" "),i("div",{staticClass:"main clear"},[t.$route.meta.three?t._e():i("breadCrumb"),t._v(" "),i("keep-alive",[t.$route.meta.keepAlive?i("router-view",{staticClass:"con",attrs:{isCollapse:t.isCollapse}}):t._e()],1),t._v(" "),t.$route.meta.keepAlive?t._e():i("router-view",{staticClass:"con",attrs:{isCollapse:t.isCollapse}})],1)])],1)},staticRenderFns:[]};var E=i("VU/8")(O,T,!1,function(t){i("5/wP"),i("WCqQ")},"data-v-6c609976",null).exports,M={data:function(){return{loadPerson:!1,dataInfo:{},editPhone:!1,editPaw:!1,old_pwd:"",newPhone:"",loadPhone:!1,truePhone:!1,editPay:!1,new_pwd:"",new_pwd1:"",code:"",pay_pwd:"",new_pay_pwd:"",sendVcodeText:"发送验证码",sendVcodeSwitch:!0,sendVcodeTime:59,timer:null,isPayTip:!1,isPawTip:!1}},created:function(){this.getInfo(),"setPay"==this.$route.query.type&&(this.editPay=!0)},methods:{getInfo:function(){var t=this;this.loadPerson=!0,this.$axios.get(this.URL.BASEURL+this.URL.userInfo).then(function(e){e=e.data;if(t.loadPerson=!1,e&&0==e.errno){var i=e.rst.data;t.dataInfo=i}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadPerson=!1})},changePhone:function(){this.loadPhone=!0},changepaw:function(){var t=this;if(this.isPawTip=!1,this.new_pwd!=this.new_pwd1)return this.$message({message:"请确保新密码两次输入一致",type:"error"}),this.new_pwd1="",!1;var e=new RegExp(/^(?![^a-zA-Z]+$)(?!\D+$)/);this.new_pwd.length<6||!e.test(this.new_pwd)?this.isPawTip=!0:(this.loadPhone=!0,this.$axios.post(this.URL.BASEURL+this.URL.setPassword,{old_pwd:this.old_pwd,new_pwd:this.new_pwd}).then(function(e){e=e.data;if(t.loadPhone=!1,e&&0==e.errno){e.rst.data;t.$message({message:"修改密码成功",type:"success"}),t.getInfo(),t.editPaw=!1}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadPhone=!1}))},sendCode:function(){var t=this;this.loadPhone=!0,this.$axios.get(this.URL.BASEURL+this.URL.sendCode,{params:{phone:this.dataInfo.phone,operation:"pay_pwd"}}).then(function(e){e=e.data;if(t.loadPhone=!1,e&&0==e.errno){e.rst.data;t.$message({message:"手机验证码发送成功!",type:"success"}),t.sendVcodeSwitch=!1,t.sendVcodeText="60s后重发",clearInterval(t.timer),t.timer=setInterval(function(){t.sendVcodeText=t.sendVcodeTime+"s后重发",t.sendVcodeTime--,t.sendVcodeTime<0&&(t.sendVcodeSwitch=!0,t.sendVcodeText="发送验证码",t.sendVcodeTime=59,clearInterval(t.timer))},1e3)}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadPhone=!1})},changePay:function(){var t=this;return this.code?this.pay_pwd!=this.new_pay_pwd?(this.$message({message:"请确保支付密码两次输入一致",type:"error"}),this.new_pwd1="",!1):void(this.pay_pwd.length<6?this.isPayTip=!0:(this.isPayTip=!1,this.loadPhone=!0,this.$axios.post(this.URL.BASEURL+this.URL.setPayPwd,{pay_pwd:this.pay_pwd,phone:this.dataInfo.phone,code:this.code}).then(function(e){e=e.data;if(t.loadPhone=!1,e&&0==e.errno){e.rst.data;t.$message({message:t.dataInfo.pay_password?"修改":"设置密码成功",type:"success"}),t.getInfo(),t.editPay=!1}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadPhone=!1}))):(this.$message({message:"短信验证码不能为空",type:"warning"}),!1)}}},j={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadPerson,expression:"loadPerson"}],staticClass:"person"},[i("div",{staticClass:"boxer"},[i("div",{staticClass:"cardTitle"},[t._v("我的资料")]),t._v(" "),i("div",{staticClass:"panel"},[i("div",{staticClass:"inputItem"},[i("label",[t._v("真实姓名")]),t._v(" "),i("span",[t._v(t._s(t.dataInfo.real_name?t.dataInfo.real_name:"-"))])]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("安全手机")]),t._v(" "),i("span",[t._v(t._s(t.dataInfo.phone?t.dataInfo.phone:"-"))])]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("账号密码")]),t._v(" "),i("span",[t._v(t._s(t.dataInfo.password?"已设置":"未设置"))]),t._v(" "),t.dataInfo.password?i("button",{staticClass:"button",on:{click:function(e){t.editPaw=!0}}},[t._v("修改")]):i("button",{staticClass:"button"},[t._v("设置密码")])])])]),t._v(" "),i("div",{staticClass:"boxer"},[i("div",{staticClass:"cardTitle"},[t._v("身份信息")]),t._v(" "),i("div",{staticClass:"panel"},[i("div",{staticClass:"leftBox"},[i("div",{staticClass:"inputItem"},[i("label",[t._v("真实姓名")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.dataInfo.real_name,expression:"dataInfo.real_name"}],staticClass:"input",attrs:{type:"text",readonly:""},domProps:{value:t.dataInfo.real_name},on:{input:function(e){e.target.composing||t.$set(t.dataInfo,"real_name",e.target.value)}}})]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("身份证号")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.dataInfo.id_card,expression:"dataInfo.id_card"}],staticClass:"input",attrs:{type:"text",readonly:""},domProps:{value:t.dataInfo.id_card},on:{input:function(e){e.target.composing||t.$set(t.dataInfo,"id_card",e.target.value)}}})]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("联系地址")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.dataInfo.address,expression:"dataInfo.address"}],staticClass:"input",attrs:{type:"text",readonly:""},domProps:{value:t.dataInfo.address},on:{input:function(e){e.target.composing||t.$set(t.dataInfo,"address",e.target.value)}}})])]),t._v(" "),i("div",{staticClass:"twiceBox"},[i("div",{staticClass:"twiceItem"},[i("span",{staticClass:"info"},[t._v("身份证正面")]),t._v(" "),i("span",{staticClass:"img"},[i("img",{attrs:{src:t.dataInfo.id_card_person,alt:""}})])]),t._v(" "),i("div",{staticClass:"twiceItem"},[i("span",{staticClass:"info"},[t._v("身份证背面")]),t._v(" "),i("span",{staticClass:"img"},[i("img",{attrs:{src:t.dataInfo.id_card_emblem,alt:""}})])])])])]),t._v(" "),i("my-dialog",{attrs:{visible:t.editPhone,width:"500px",minWidth:"231px"},on:{"update:visible":function(e){t.editPhone=e}}},[i("h3",[t._v("设置修改手机号")]),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadPhone,expression:"loadPhone"}],staticClass:"toastMain"},[t.truePhone?i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("短信验证码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.newPhone,expression:"newPhone"}],staticStyle:{"margin-left":"10px"},attrs:{type:"text",placeholder:"请输入短信验证码"},domProps:{value:t.newPhone},on:{input:function(e){e.target.composing||(t.newPhone=e.target.value)}}})]):i("div",[i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("待绑定手机号码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.newPhone,expression:"newPhone"}],staticStyle:{"margin-left":"10px"},attrs:{type:"text",placeholder:"请输入待绑定手机号码"},domProps:{value:t.newPhone},on:{input:function(e){e.target.composing||(t.newPhone=e.target.value)}}})]),t._v(" "),i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("短信验证码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.newPhone,expression:"newPhone"}],staticStyle:{"margin-left":"10px"},attrs:{type:"text",placeholder:"请输入短信验证码"},domProps:{value:t.newPhone},on:{input:function(e){e.target.composing||(t.newPhone=e.target.value)}}})])])]),t._v(" "),i("div",{staticClass:"toastBtn"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.editPhone=!1}}},[t._v("取消")]),t._v(" "),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.changePhone}},[t._v("提交")])],1)]),t._v(" "),i("my-dialog",{attrs:{visible:t.editPaw,width:"500px",minWidth:"231px"},on:{"update:visible":function(e){t.editPaw=e}}},[i("h3",[t._v("修改登陆密码")]),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadPhone,expression:"loadPhone"}],staticClass:"toastMain"},[i("div",[i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("原登陆密码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.old_pwd,expression:"old_pwd"}],staticStyle:{"margin-left":"10px"},attrs:{type:"password",placeholder:"请输入原登陆密码"},domProps:{value:t.old_pwd},on:{input:function(e){e.target.composing||(t.old_pwd=e.target.value)}}})]),t._v(" "),i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("新登陆密码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.new_pwd,expression:"new_pwd"}],staticStyle:{"margin-left":"10px"},attrs:{type:"password",placeholder:"请输入新登陆密码"},domProps:{value:t.new_pwd},on:{input:function(e){e.target.composing||(t.new_pwd=e.target.value)}}}),t._v(" "),t.isPawTip?i("div",{staticClass:"tip"},[t._v("“建议登录密码采用字母和数字组合,并且不短于6位”")]):t._e()]),t._v(" "),i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("确认新登陆密码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.new_pwd1,expression:"new_pwd1"}],staticStyle:{"margin-left":"10px"},attrs:{type:"password",placeholder:"请输入新登陆密码"},domProps:{value:t.new_pwd1},on:{input:function(e){e.target.composing||(t.new_pwd1=e.target.value)}}})])])]),t._v(" "),i("div",{staticClass:"toastBtn"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.editPaw=!1}}},[t._v("取消")]),t._v(" "),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.changepaw}},[t._v("提交")])],1)]),t._v(" "),i("my-dialog",{attrs:{visible:t.editPay,width:"500px",minWidth:"231px"},on:{"update:visible":function(e){t.editPay=e}}},[i("h3",[t._v(t._s(t.dataInfo.pay_password?"修改":"设置")+"支付密码")]),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadPhone,expression:"loadPhone"}],staticClass:"toastMain"},[i("div",[i("div",{staticStyle:{width:"0",height:"0",overflow:"hidden"}},[i("input",{attrs:{type:"text"}}),t._v(" "),i("input",{attrs:{type:"password"}})]),t._v(" "),i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("短信验证码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.code,expression:"code"}],staticClass:"code",staticStyle:{"margin-left":"10px"},attrs:{autocomplete:"off",type:"text",placeholder:"请输入短信验证码"},domProps:{value:t.code},on:{input:function(e){e.target.composing||(t.code=e.target.value)}}}),i("button",{staticClass:"button send",style:{cursor:!t.sendVcodeSwitch&&"not-allowed;"},on:{click:t.sendCode}},[t._v(t._s(t.sendVcodeText))])]),t._v(" "),i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("设置支付密码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.pay_pwd,expression:"pay_pwd"}],staticStyle:{"margin-left":"10px"},attrs:{autocomplete:"off",maxlength:"6",type:"password",placeholder:"请输入新的支付密码"},domProps:{value:t.pay_pwd},on:{input:function(e){e.target.composing||(t.pay_pwd=e.target.value)}}}),t._v(" "),t.isPayTip?i("div",{staticClass:"tip"},[t._v("“请设置6位支付密码”")]):t._e()]),t._v(" "),i("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[i("label",[t._v("确认支付密码")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.new_pay_pwd,expression:"new_pay_pwd"}],staticStyle:{"margin-left":"10px"},attrs:{maxlength:"6",type:"password",placeholder:"请输入新的支付密码"},domProps:{value:t.new_pay_pwd},on:{input:function(e){e.target.composing||(t.new_pay_pwd=e.target.value)}}})])])]),t._v(" "),i("div",{staticClass:"toastBtn"},[i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.editPay=!1}}},[t._v("取消")]),t._v(" "),i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.changePay}},[t._v("提交")])],1)])],1)},staticRenderFns:[]};var $=i("VU/8")(M,j,!1,function(t){i("9Rnw")},"data-v-2799c79c",null).exports,z={data:function(){return{}},created:function(){window.open(this.URL.apply+this.$cookieStore.getCookie("uid"))},methods:{}},F={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"remit"})},staticRenderFns:[]};var N=i("VU/8")(z,F,!1,function(t){i("ynuQ")},"data-v-4f2b82a8",null).exports,D={data:function(){return{infoObj:{},price:this.$route.query.money,loadPay:!1,name:"",phone:"",bank_card_no:"",evidence:[],ruleInline1:{phone:[{required:!0,message:"手机号码不得为空",trigger:"blur"},{required:!0,type:"string",pattern:/^1[0-9]\d{9}$/,message:"请正确输入手机号码",trigger:"blur"}],bank_card_no:[{required:!0,message:"汇款银行账号不得为空",trigger:"blur"}],name:[{required:!0,message:"汇款人姓名不得为空",trigger:"blur"}]},formObj:{}}},created:function(){this.getInfo()},methods:{getInfo:function(){var t=this;this.loadPay=!0,this.$axios.get(this.URL.BASEURL+this.URL.creditedAccount).then(function(e){e=e.data;if(t.loadPay=!1,e&&0==e.errno){var i=e.rst;t.infoObj=i}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loading=!1})},create:function(){var t=this;return b()(y.a.mark(function e(){var i;return y.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.formInline.validate();case 2:if(e.sent){e.next=6;break}return t.$message.warning("表单输入有误,请检查"),e.abrupt("return");case 6:if(0!=t.evidence.length){e.next=9;break}return t.$message.warning("请上传汇款凭证"),e.abrupt("return");case 9:t.loadPay=!0,(i=t.formObj).amount=100*t.price,i.evidence=t.evidence,t.$axios.post(t.URL.BASEURL+t.URL.createRecord,i).then(function(e){e=e.data;if(t.loadPay=!1,e&&0==e.errno){e.rst;t.$message({message:"汇款订单创建成功,请稍候",type:"success"}),t.$router.push("/detailed?type=2")}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loading=!1});case 14:case"end":return e.stop()}},e,t)}))()},uploadImg:function(t,e){var i=this,a=t.target.files[0].name.split(".")[1].toLowerCase();if("png"===a||"jpg"===a||"jpeg"===a){if(t.target&&t.target.files&&t.target.files[0]&&t.target.files[0].size>2097152)return void this.$Message.error("请上传2M以下图片");(new FormData).append("file",t.target.files[0]);var s=new FileReader;s.readAsDataURL(t.target.files[0]),s.onload=function(t){i.evidence=[],i.evidence.push(t.target.result)}}else this.$Message.error("请上传正确格式的图片")}}},W={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"remit"},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadPay,expression:"loadPay"}],staticClass:"boxer"},[t._m(0),t._v(" "),i("div",{staticClass:"mainInfo"},[i("h3",[t._v("收款人信息")]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("开户名称:")]),t._v(" "),i("span",[t._v(t._s(t.infoObj.name))])]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("开户账号:")]),t._v(" "),i("span",[t._v(t._s(t.infoObj.bank_card_no))])]),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("开户银行:")]),t._v(" "),i("span",[t._v(t._s(t.infoObj.bank_name))])])]),t._v(" "),i("div",{staticClass:"mainInfo",staticStyle:{"padding-bottom":"0"}},[i("h3",[t._v("汇款人信息")]),t._v(" "),i("Form",{ref:"formInline",attrs:{model:t.formObj,rules:t.ruleInline1,"label-position":"right"}},[i("div",{staticClass:"inputItem"},[i("label",[t._v("汇款金额:")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.price,expression:"price"}],staticClass:"not",staticStyle:{"padding-left":"10px"},attrs:{type:"text"},domProps:{value:t.price},on:{input:function(e){e.target.composing||(t.price=e.target.value)}}})]),t._v(" "),i("FormItem",{staticClass:"inputItem",attrs:{prop:"name"}},[i("label",[t._v("汇款人姓名:")]),t._v(" "),i("Input",{staticClass:"input",attrs:{placeholder:"请输入汇款人姓名"},model:{value:t.formObj.name,callback:function(e){t.$set(t.formObj,"name",e)},expression:"formObj.name"}})],1),t._v(" "),i("FormItem",{staticClass:"inputItem",attrs:{prop:"phone"}},[i("label",[t._v("手机号码:")]),t._v(" "),i("Input",{staticClass:"input",attrs:{placeholder:"请输入汇款人手机号码"},model:{value:t.formObj.phone,callback:function(e){t.$set(t.formObj,"phone",e)},expression:"formObj.phone"}})],1),t._v(" "),i("FormItem",{staticClass:"inputItem",attrs:{prop:"bank_card_no"}},[i("label",[t._v("汇款银行账号:")]),t._v(" "),i("Input",{staticClass:"input",attrs:{placeholder:"请输入汇款银行账号"},model:{value:t.formObj.bank_card_no,callback:function(e){t.$set(t.formObj,"bank_card_no",e)},expression:"formObj.bank_card_no"}})],1),t._v(" "),i("div",{staticClass:"inputItem"},[i("label",[t._v("汇款凭证:")]),t._v(" "),t.evidence[0]?i("img",{staticClass:"icon",attrs:{src:t.evidence[0],alt:""}}):i("div",{staticClass:"imgBox"},[i("i",{staticClass:"el-icon-picture"})]),t._v(" "),i("input",{ref:"inputer1",staticClass:"upload",attrs:{type:"file",id:"file",name:"点击上传"},on:{change:t.uploadImg}}),t._v(" "),i("div",{staticStyle:{"margin-left":"130px"}},[t._v("支持2M以内的jpg,png和jpeg的图片")])])],1)],1),t._v(" "),i("button",{staticClass:"button",on:{click:function(e){return t.create()}}},[t._v("提交")])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tip"},[e("i",{staticClass:"el-icon-warning"}),this._v("\n 请确认填写信息正确,信息提交会在1个工作日内进行审核,审核通过会向您的账户发放指定金额\n ")])}]};var V=i("VU/8")(D,W,!1,function(t){i("gvIv"),i("50ko")},"data-v-2633f406",null).exports,q={data:function(){return{loadList:!1,value:[],timeRange:[],tab:this.$route.query.type?this.$route.query.type:1,infoObj:{},list:[],page:1,page_size:20,total:1,allList:[]}},created:function(){this.balance(1)},methods:{exportToExcel:function(){var t=this.allList,e=[],i="";if(1==this.tab){for(var a in t)e.push({created_at:t[a].created_at?'"'+t[a].created_at+'"':"空",type_info:t[a].type_info?t[a].type_info:"空",subject:t[a].subject?t[a].subject:"空",amount:t[a].amount?t[a].amount:"空"});i="交易时间,类型,明细,金额(元)\n"}else{for(var a in t)e.push({code:t[a].code?'"'+t[a].code+'"':"空",created_at:t[a].created_at?t[a].created_at:"空",cost:t[a].cost?t[a].cost:"空",platform:t[a].platform?t[a].platform:"空",status:t[a].status?t[a].status:"空"});i="订单号,交易时间,支付金额(元),支付方式,订单状态\n"}for(var s=0;s0?this.timeRange[0]:null,end_time:this.timeRange&&this.timeRange.length>0?this.timeRange[1]:null,type:2,page:1,pagesize:999}}).then(function(t){t=t.data;if(e.loadList=!1,t&&0==t.errno){var i=t.rst.data;e.allList=i,e.exportToExcel()}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadList=!1})},balance:function(t){var e=this;this.list=[],this.page=t,this.loadList=!0,this.$axios.get(this.URL.BASEURL+this.URL.userBalance,{params:{start_time:this.timeRange&&this.timeRange.length>0?this.timeRange[0]:null,end_time:this.timeRange&&this.timeRange.length>0?this.timeRange[1]:null,type:2,page:this.page,pagesize:this.page_size}}).then(function(t){t=t.data;if(e.loadList=!1,t&&0==t.errno){var i=t.rst.data;e.list=i,e.infoObj=t.rst.extra,e.total=t.rst.pageInfo.total,e.pages=t.rst.pageInfo.pages,e.page_size=Number(t.rst.pageInfo.size)}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadList=!1})},handleCurrentChange:function(t){1==this.tab?this.balance(t):this.paymentLog(t)}},watch:{tab:function(){this.balance(1)}}},H={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"detailed"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadList,expression:"loadList"}],staticClass:"boxer"},[1==t.tab?a("div",[a("div",{staticClass:"selectBox"},[a("label",[t._v("日期:")]),t._v(" "),a("el-date-picker",{attrs:{size:"small",type:"daterange","value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:function(e){return t.balance(1)}},model:{value:t.timeRange,callback:function(e){t.timeRange=e},expression:"timeRange"}})],1),t._v(" "),a("div",{staticClass:"selectBox"},[a("label",[t._v("支出:")]),t._v(" "),a("span",[t._v(t._s(t.infoObj.disburseSum))]),t._v("元\n "),a("el-button",{staticStyle:{"margin-left":"50px"},attrs:{size:"small",type:"primary"},on:{click:function(e){return t.allBalance()}}},[t._v("导出")])],1)]):t._e(),t._v(" "),1==t.tab?a("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.list}},[a("template",{slot:"empty"},[a("img",{staticClass:"pic",attrs:{src:i("z3Om"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])]),t._v(" "),a("el-table-column",{attrs:{prop:"created_at",align:"center",label:"交易时间"}}),t._v(" "),a("el-table-column",{attrs:{prop:"type_info",align:"center",label:"类型"}}),t._v(" "),a("el-table-column",{attrs:{prop:"subject",align:"center",label:"明细"}}),t._v(" "),a("el-table-column",{attrs:{prop:"amount",align:"center",label:"金额(元)"}})],2):t._e(),t._v(" "),a("div",{staticClass:"bottom"},[a("div"),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}),t._v(" "),a("div")],1)],1)])},staticRenderFns:[]};var J=i("VU/8")(q,H,!1,function(t){i("7VIj")},"data-v-ad1efe00",null).exports,Y={data:function(){return{type:0,hasOrder:0,ingOrder:0,typeList:["CPT","CPA"],dataInfo:{},list:[],listCPA:[],ableList:[],noList:[],ableListCPA:[],noListCPA:[],wxList:[],allPrice:[],loadWx:!1,loadOrder:!1}},created:function(){this.init(1),this.initCPA(1),this.getWx(),this.allBalance()},methods:{rechange:function(){window.open(this.URL.apply+this.$cookieStore.getCookie("uid"))},init:function(t,e){var i=this;this.loadOrder=!0,this.$axios.post(this.URL.BASEURL+this.URL.orderList,{page:1,page_size:999}).then(function(t){t=t.data;if(i.loadOrder=!1,t&&0==t.errno){var e=t.rst?t.rst:[];i.list=e.data,i.ableList=[],i.noList=[],i.list.forEach(function(t){4==t.enable||5==t.enable?i.ableList.push(t):i.noList.push(t)})}else i.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),i.loadOrder=!1})},initCPA:function(t){var e=this;this.page=t,this.loadOrder=!0,this.$axios.post(this.URL.BASEURL+this.URL.cpaList,{page:t,page_size:this.page_size}).then(function(t){t=t.data;if(e.loadOrder=!1,t&&0==t.errno){var i=t.rst;e.listCPA=i.data,e.ableListCPA=[],e.noListCPA=[],e.listCPA.forEach(function(t){"已结束"==t.status||"已完成"==t.status?e.ableListCPA.push(t):e.noListCPA.push(t)})}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadOrder=!1})},allBalance:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.userBalance,{params:{page:1,page_size:999}}).then(function(e){if((e=e.data)&&0==e.errno){var i=e.rst.extra;t.allPrice=i}else t.$message({message:e.err,type:"warning"})}).catch(function(t){console.log(t)})},getWx:function(){var t=this;this.loadWx=!0,this.$axios.post(this.URL.BASEURL+this.URL.account,{int_page_percent:this.int_page_percent,serving_time:this.getDay(-1,!1),ad_type:1,page:1,page_size:3}).then(function(e){e=e.data;if(t.loadWx=!1,e&&0==e.errno){var i=e.rst.data;t.wxList=i}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadWx=!1})},getInfo:function(){var t=this;this.loadMoney=!0,this.$axios.get(this.URL.BASEURL+this.URL.userInfo).then(function(e){e=e.data;if(t.loadMoney=!1,e&&0==e.errno){var i=e.rst.data;t.dataInfo=i}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadMoney=!1})}}},G={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home"},[a("div",{staticClass:"leftCard"},[a("div",{staticClass:"topBody boxer"},[a("div",{staticClass:"cardTitle"},[t._v("订单概况")]),t._v(" "),a("ul",{directives:[{name:"loading",rawName:"v-loading",value:t.loadOrder,expression:"loadOrder"}],staticClass:"cardList"},[a("li",{staticClass:"cardItem"},[a("div",{staticClass:"cardBox"},[a("div",{staticClass:"cardTitle topBorder"},[t._v("CPT订单")]),t._v(" "),a("div",{staticClass:"twiceBox"},[a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("未完成")]),t._v(" "),a("span",{staticClass:"count",on:{click:function(e){return t.$router.push("/order")}}},[t._v(t._s(t.list.length-t.ableList.length))])]),t._v(" "),a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("已完成")]),t._v(" "),a("span",{staticClass:"count",on:{click:function(e){return t.$router.push("/order")}}},[t._v(t._s(t.ableList.length))])])])])]),t._v(" "),a("li",{staticClass:"cardItem"},[a("div",{staticClass:"cardBox"},[a("div",{staticClass:"cardTitle topBorder"},[t._v("CPA订单")]),t._v(" "),a("div",{staticClass:"twiceBox"},[a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("未完成")]),t._v(" "),a("span",{staticClass:"count",on:{click:function(e){return t.$router.push("/cpaAdvert/index")}}},[t._v(t._s(t.listCPA.length-t.ableListCPA.length))])]),t._v(" "),a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("已完成")]),t._v(" "),a("span",{staticClass:"count",on:{click:function(e){return t.$router.push("/cpaAdvert/index")}}},[t._v(t._s(t.ableListCPA.length))])])])])]),t._v(" "),a("li",{staticClass:"cardItem"},[a("div",{staticClass:"cardBox"},[a("div",{staticClass:"cardTitle topBorder"},[t._v("支出情况(元)")]),t._v(" "),a("div",{staticClass:"twiceBox"},[a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("已支出")]),t._v(" "),a("span",{staticClass:"count",on:{click:function(e){return t.$router.push("/detailed")}}},[t._v(t._s(t.allPrice.disburseSum))])]),t._v(" "),a("div",{staticClass:"twiceItem",staticStyle:{"margin-top":"14px"}},[a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.rechange}},[t._v("充值")])],1)])])])])]),t._v(" "),a("div",{staticClass:"launch boxer"},[t._m(0),t._v(" "),a("ul",{directives:[{name:"loading",rawName:"v-loading",value:t.loadWx,expression:"loadWx"}],staticClass:"cardList",staticStyle:{height:"120px"}},t._l(t.wxList,function(e){return a("li",{staticClass:"cardItem",staticStyle:{width:"33.3%"},on:{click:function(e){return t.$router.push("/index")}}},[a("div",{staticClass:"cardBox"},[a("div",{staticClass:"topInfo",staticStyle:{"margin-bottom":"0"}},[e.head_img?a("img",{staticClass:"icon",attrs:{src:e.head_img,alt:""}}):a("img",{staticClass:"icon",attrs:{src:i("urTc"),alt:""}}),t._v(" "),a("div",{staticClass:"wxInfo"},[a("div",{staticClass:"name"},[t._v(t._s(e.name))]),t._v(" "),a("div",{staticClass:"desc"},[t._v(t._s(e.principal_name))])])]),t._v(" "),a("div",{staticClass:"flex"},[a("div",{staticClass:"count"},[t._v("粉丝数:"+t._s(e.fans))]),t._v(" "),a("div",{staticClass:"count"},[t._v(t._s(e.estimated_price_min)+"元起")])])])])}),0)]),t._v(" "),a("div",{staticClass:"stepBox boxer"},[a("div",{staticClass:"cardTitle"},[t._v("创建广告计划\n "),a("el-select",{staticStyle:{width:"80px","vertical-align":"middle","margin-left":"10px"},attrs:{size:"mini",placeholder:"请选择"},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},t._l(t.typeList,function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})}),1)],1),t._v(" "),a("div",{staticClass:"stepList"},[t._m(1),t._v(" "),t._m(2),t._v(" "),a("div",{staticClass:"step"},[a("div",{staticClass:"num"},[t._v("3")]),t._v(" "),a("div",{staticClass:"introduce"},[t._v(t._s(0==t.type?"按时间结算":"按投放结果结算"))]),t._v(" "),a("div",{staticClass:"title"},[t._v("投放时间结束")])]),t._v(" "),t._m(3)]),t._v(" "),a("el-button",{staticClass:"button",attrs:{type:"primary"},on:{click:function(e){t.$router.push("/"+(0==t.type?"index":"cpaAdvert/setting"))}}},[t._v("前往投放")])],1),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadOrder,expression:"loadOrder"}],staticClass:"taskBox boxer"},[a("div",{staticClass:"cardTitle"},[t._v("近期发布订单\n "),a("el-select",{staticStyle:{width:"80px","vertical-align":"middle","margin-left":"10px"},attrs:{size:"mini",placeholder:"请选择"},model:{value:t.hasOrder,callback:function(e){t.hasOrder=e},expression:"hasOrder"}},t._l(t.typeList,function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})}),1)],1),t._v(" "),a("div",{staticClass:"rightText",on:{click:function(e){t.$router.push("/"+(0==t.hasOrder?"order":"cpaAdvert/index"))}}},[t._v("查看全部")]),t._v(" "),0==t.hasOrder&&t.ableList.length>0?a("el-table",{ref:"orderTable",staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.ableList,fixed:"","max-height":"350px"},on:{"row-click":function(e){return t.$router.push("/order")}}},[a("el-table-column",{attrs:{prop:"order_no","show-overflow-tooltip":"",label:"广告订单"}}),t._v(" "),a("el-table-column",{attrs:{prop:"title",label:"推文标题","show-overflow-tooltip":"",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{prop:"int_page_percent",width:"180",align:"center",label:"公众号"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"selectTable-name clearfix"},[a("div",{staticClass:"icon"},[e.row.head_img?a("img",{attrs:{src:e.row.head_img,alt:"微信公众号头像"}}):a("img",{staticStyle:{background:"#eee"},attrs:{alt:""}})]),t._v(" "),a("div",{staticClass:"content"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.row.nickname,placement:"top-start"}},[a("strong",[t._v(t._s(e.row.nickname))])])],1)])]}}],null,!1,1603344129)}),t._v(" "),a("el-table-column",{attrs:{prop:"address",align:"center",label:"位置"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.position?"多图文第"+e.row.position+"篇":0))])]}}],null,!1,968884155)}),t._v(" "),a("el-table-column",{attrs:{prop:"serving_time",align:"center","show-overflow-tooltip":"",label:"推送时间"}}),t._v(" "),a("el-table-column",{attrs:{prop:"address",align:"center",width:"80",label:"广告费用"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"#111","font-size":"12px","font-weight":"bold"}},[t._v(t._s(e.row.sale_price?e.row.sale_price:"-"))])]}}],null,!1,3003585161)}),t._v(" "),a("el-table-column",{attrs:{prop:"address",align:"center",width:"80",label:"状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(-1==e.row.enable?"审核拒绝":0==e.row.enable?"已取消":1==e.row.enable?"待审核":2==e.row.enable?"待结算":3==e.row.enable?"待发布":4==e.row.enable?"已发布":"已完成"))])]}}],null,!1,1067194864)})],1):t._e(),t._v(" "),1==t.hasOrder&&t.ableListCPA.length>0?a("el-table",{ref:"orderTable",staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.ableListCPA,fixed:"","max-height":"350px"},on:{"row-click":function(e){return t.$router.push("/cpaAdvert/index")}}},[a("el-table-column",{attrs:{prop:"created_date",align:"center","show-overflow-tooltip":"",label:"创建时间"}}),t._v(" "),a("el-table-column",{attrs:{prop:"campaign_name",label:"计划名称","show-overflow-tooltip":"",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"投放日期"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.serving_begin_date?e.row.serving_begin_date:"-")+"\n "),a("br"),t._v("\n "+t._s(e.row.serving_end_date?e.row.serving_end_date:"-")+"\n ")]}}],null,!1,4139518677)}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"预算金额(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.budget_price?e.row.budget_price:"-")+"\n ")]}}],null,!1,2063322357)}),t._v(" "),a("el-table-column",{attrs:{prop:"unit_price",align:"center",label:"获粉单价(元)"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"结算金额(元)"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.settlement_amount?e.row.settlement_amount:"-")+"\n ")]}}],null,!1,2088195253)}),t._v(" "),a("el-table-column",{attrs:{prop:"add_fans_count",align:"center",label:"导粉数"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.add_fans_count?e.row.add_fans_count:"-")+"\n ")]}}],null,!1,1845479509)}),t._v(" "),a("el-table-column",{attrs:{prop:"status",align:"center",label:"计划状态"}})],1):t._e(),t._v(" "),0==t.ableList.length&&0==t.hasOrder||0==t.ableListCPA.length&&1==t.hasOrder?a("div",{staticClass:"nullBox"},[a("img",{attrs:{src:i("3qAc"),alt:""}}),t._v(" "),a("div",{staticClass:"cardTitle"},[t._v("您还没有成功投放任何广告")]),t._v(" "),a("div",{staticClass:"null"},[t._v("赶紧进行广告预约,查看热门公众号带来的流量")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.$router.push("/"+(0==t.hasOrder?"index":"cpaAdvert/setting"))}}},[t._v("立即预约")])],1):t._e()],1)]),t._v(" "),a("div",{staticClass:"rightCard"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadOrder,expression:"loadOrder"}],staticClass:"boxer"},[a("div",{staticClass:"cardTitle rightTitle"},[t._v("待处理订单\n "),a("el-select",{staticStyle:{width:"80px","vertical-align":"middle","margin-left":"10px"},attrs:{size:"mini",placeholder:"请选择"},model:{value:t.ingOrder,callback:function(e){t.ingOrder=e},expression:"ingOrder"}},t._l(t.typeList,function(t,e){return a("el-option",{key:e,attrs:{label:t,value:e}})}),1)],1),t._v(" "),a("div",{staticClass:"rightText",staticStyle:{"margin-top":"-36px"},on:{click:function(e){t.$router.push("/"+(0==t.ingOrder?"order":"cpaAdvert/index"))}}},[t._v("全部")]),t._v(" "),0==t.ingOrder&&t.noList.length>0?a("ul",{staticClass:"list",staticStyle:{"min-height":"300px"}},t._l(t.noList,function(e){return a("li",{staticClass:"topInfo",on:{click:function(e){t.$router.push("/"+(0==t.ingOrder?"order":"cpaAdvert/index"))}}},[a("img",{staticClass:"icon",attrs:{src:e.head_img,alt:""}}),t._v(" "),a("div",{staticClass:"wxInfo"},[a("div",{staticClass:"name",staticStyle:{display:"inline-block",width:"60%"}},[t._v(t._s(e.nickname))]),t._v(" "),a("div",{staticClass:"status"},[t._v(t._s(-1==e.enable?"审核拒绝":0==e.enable?"已取消":1==e.enable?"待审核":2==e.enable?"待结算":3==e.enable?"待发布":4==e.enable?"已完成":"已关闭"))]),t._v(" "),a("div",{staticClass:"desc"},[t._v(t._s(e.principal_name))])])])}),0):t._e(),t._v(" "),1==t.ingOrder&&t.noListCPA.length>0?a("ul",{staticClass:"list",staticStyle:{"min-height":"300px"}},t._l(t.noListCPA,function(e){return a("li",{staticClass:"topInfo",staticStyle:{"margin-bottom":"0"},on:{click:function(e){return t.$router.push("/cpaAdvert/index")}}},[a("div",{staticClass:"wxInfo"},[a("div",{staticClass:"name",staticStyle:{display:"inline-block",width:"60%"}},[t._v(t._s(e.campaign_name))]),t._v(" "),a("div",{staticClass:"status"},[t._v(t._s(e.status))]),t._v(" "),a("div",{staticClass:"desc"},[t._v(t._s(e.serving_begin_date)+"/"+t._s(e.serving_end_date))])])])}),0):t._e(),t._v(" "),0==t.noList.length&&0==t.ingOrder||0==t.noListCPA.length&&1==t.ingOrder?a("div",{staticClass:"nullBox"},[a("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:i("z3Om"),alt:""}}),t._v(" "),a("div",{staticClass:"null"},[t._v("暂无订单")])]):t._e()])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"cardTitle"},[this._v("优质公众号投放\n "),e("span",{staticClass:"topTip"},[this._v("按粉丝数量收费的投放形式")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"step done"},[e("div",{staticClass:"num"},[this._v("1")]),this._v(" "),e("div",{staticClass:"introduce"},[this._v("审核")]),this._v(" "),e("div",{staticClass:"title"},[this._v("创建投放计划")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"step doing"},[e("div",{staticClass:"num"},[this._v("2")]),this._v(" "),e("div",{staticClass:"introduce"},[this._v("媒体主接单")]),this._v(" "),e("div",{staticClass:"title"},[this._v("确认开始投放")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"step"},[e("div",{staticClass:"num"},[this._v("4")]),this._v(" "),e("div",{staticClass:"title"},[this._v("完成投放")])])}]};var Q=i("VU/8")(Y,G,!1,function(t){i("Xqdi"),i("S4SI")},"data-v-b5a7d198",null).exports,K=i("fZjL"),X=i.n(K),Z={props:["isCollapse"],data:function(){return{loadArt:!1,checkIndex:!1,showAgree:!1,agree:[],positionList:[],is_sale:["1"],loadWx:!1,position:1,ad_serving:.5,estimated_price_min:"",estimated_price_max:"",infoObj:{estimated_price_min:"",estimated_price_max:""},keyword:"",page:1,page_size:20,pages:1,total:1,fans_min:"",fans_max:"",int_page_percent:"",service_type:["0","2"],serving_time:this.getDay(0,!1),new_serving_time:this.getDay(0,!1)+" 20:00:00",tableData:[],pickerOptions:{},checkList:[]}},created:function(){this.init(1),this.getInfo()},methods:{toUrl:function(){-1!=this.service_type.indexOf("0")&&(0!=this.checkList.length?this.$router.push("/pushSetting"):this.$message({message:"请选择公众号",type:"error"}))},init:function(t){var e=this;if(this.tableData=[],!this.serving_time)return this.$message({message:"投放日期不能为空",type:"error"}),void(this.serving_time=this.getDay(0,!1));this.loadWx=!0,this.page=t,this.$axios.post(this.URL.BASEURL+this.URL.account,{account_name:this.keyword,serving_time:this.serving_time,service_type:this.service_type.join(","),int_page_percent:this.int_page_percent,fans_min:1e4*this.fans_min,fans_max:1e4*this.fans_max,is_sale:Number(this.is_sale.join(",")),ad_type:1,page:this.page,page_size:this.page_size}).then(function(t){t=t.data;if(e.loadWx=!1,t&&0==t.errno){var i=t.rst.data;e.tableData=i,e.total=t.rst.pageInfo.total,e.pages=t.rst.pageInfo.pages,e.page_size=t.rst.pageInfo.size}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadWx=!1})},handleCurrentChange:function(t){this.init(t)},cancel:function(t){var e=this;this.$confirm("是否取消选择该公众号?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.cancelOrder(t)}).catch(function(){e.$message({type:"info",message:"已取消删除"})})},cancelOrder:function(t){var e=this;this.loadArt=!0,this.$axios.get(this.URL.BASEURL+this.URL.delSelected,{params:{app_id:t.app_id}}).then(function(t){t=t.data;if(e.loadArt=!1,t&&0==t.errno){t.rst.data;e.$message({type:"success",message:"删除成功!"}),e.init(1),e.getInfo()}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadArt=!1})},addOrder:function(){var t=this;0!=this.positionList.length?(this.loadArt=!0,this.$axios.post(this.URL.BASEURL+this.URL.accountSelected,{app_id:this.infoObj.app_id,serving_time:this.new_serving_time,position:this.position,estimated_price_min:this.infoObj.estimated_price_min,estimated_price_max:this.infoObj.estimated_price_max,ad_serving:this.ad_serving.toString()}).then(function(e){e=e.data;if(t.loadArt=!1,e&&0==e.errno){e.rst.data;t.checkIndex=!1,t.$message({message:"添加公众号成功",type:"success"}),t.getInfo(),t.init(1)}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadArt=!1})):this.$message({message:"当天该公众号暂无投放位置,请重新选择",type:"warning"})},getInfo:function(){var t=this;this.$axios.post(this.URL.BASEURL+this.URL.cptOrder).then(function(e){e=e.data;if(t.loadArt=!1,e&&0==e.errno){var i=e.rst?e.rst:[];t.checkList=i}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadArt=!1})},changeIndex:function(t){var e=this;this.ad_serving=.5,this.infoObj=t,this.checkIndex=!0,this.loadArt=!0,this.$axios.post(this.URL.BASEURL+this.URL.position,{app_id:t.app_id,serving_time:this.new_serving_time.split(" ")[0]}).then(function(t){t=t.data;if(e.loadArt=!1,t&&0==t.errno){var i=t.rst.data;e.positionList=i,e.position=X()(e.positionList)[0]}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadArt=!1})}},watch:{}},tt={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"select boxer"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadWx,expression:"loadWx"}]},[a("div",{staticClass:"selectBox"},[a("label",{staticStyle:{"margin-right":"16px",color:"#111"}},[t._v("公众号选择")]),t._v(" "),a("el-input",{staticClass:"select-input selectFilter-select",attrs:{placeholder:"请输入公众号",size:"small",name:"selectName","suffix-icon":"el-icon-search"},on:{blur:function(e){return t.init(1)}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),t._v(" "),a("label",{staticStyle:{"margin-left":"70px","margin-right":"16px",color:"#111"}},[t._v("投放日期")]),t._v(" "),a("el-date-picker",{staticClass:"selectFilter-select",attrs:{size:"small",type:"date",clearable:!1,"picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd"},on:{change:function(e){return t.init(1)}},model:{value:t.serving_time,callback:function(e){t.serving_time=e},expression:"serving_time"}}),t._v(" "),a("div",{staticClass:"other"},[a("label",{staticStyle:{color:"#111"}},[t._v("筛选")]),t._v(" "),a("label",[t._v("粉丝量")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.fans_min,expression:"fans_min"}],staticClass:"items-input",attrs:{type:"text",placeholder:"不限"},domProps:{value:t.fans_min},on:{input:function(e){e.target.composing||(t.fans_min=e.target.value)}}}),t._v(" "),a("span",{staticClass:"unit"},[t._v("万")]),t._v(" "),a("span",{staticClass:"line"}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.fans_max,expression:"fans_max"}],staticClass:"items-input",attrs:{type:"text",placeholder:"不限"},domProps:{value:t.fans_max},on:{input:function(e){e.target.composing||(t.fans_max=e.target.value)}}}),t._v(" "),a("span",{staticClass:"unit"},[t._v("万")]),t._v(" "),a("button",{staticClass:"button",on:{click:function(e){return t.init(1)}}},[t._v("确定")]),t._v(" "),a("label",[t._v("阅读率高于")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.int_page_percent,expression:"int_page_percent"}],staticClass:"items-input items-append",attrs:{type:"text",placeholder:"不限"},domProps:{value:t.int_page_percent},on:{change:function(e){return t.init(1)},input:function(e){e.target.composing||(t.int_page_percent=e.target.value)}}}),a("span",{staticClass:"unit"},[t._v("%以上")]),t._v(" "),a("el-checkbox-group",{staticStyle:{float:"right","margin-left":"30px"},on:{change:function(e){return t.init(1)}},model:{value:t.is_sale,callback:function(e){t.is_sale=e},expression:"is_sale"}},[a("el-checkbox",{key:1,attrs:{label:"1"}},[t._v("只看可售")])],1),t._v(" "),a("el-checkbox-group",{staticStyle:{float:"right"},on:{change:function(e){return t.init(1)}},model:{value:t.service_type,callback:function(e){t.service_type=e},expression:"service_type"}},[a("el-checkbox",{key:0,attrs:{label:"0"}},[t._v("订阅号")]),t._v(" "),a("el-checkbox",{key:2,attrs:{label:"2"}},[t._v("服务号")])],1)],1)],1),t._v(" "),a("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData,fixed:""}},[a("template",{slot:"empty"},[a("img",{staticClass:"pic",attrs:{src:i("z3Om"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])]),t._v(" "),a("el-table-column",{attrs:{prop:"name",label:"公众号名称",width:"350"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tooltip",{attrs:{placement:"top",disabled:!e.row.qr_code}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("img",{staticClass:"qrCode",attrs:{src:e.row.qr_code,alt:"微信公众号二维码"}})]),t._v(" "),a("div",{staticClass:"selectTable-name clearfix"},[a("div",{staticClass:"icon"},[e.row.head_img?a("img",{attrs:{src:e.row.head_img,alt:"微信公众号头像"}}):a("img",{staticStyle:{background:"#eee"},attrs:{src:i("urTc"),alt:""}})]),t._v(" "),a("div",{staticClass:"content"},[a("strong",[t._v(t._s(e.row.name?e.row.name:"-"))]),a("span",{staticClass:"wx-service-type",class:{active:2==e.row.service_type}},[t._v(t._s(2!=e.row.service_type?"订阅号":"服务号"))]),t._v(" "),a("p",[t._v(t._s(e.row.principal_name?e.row.principal_name:"-"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"fans",label:"粉丝数",align:"center",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.row.fans||0==e.row.fans?e.row.fans:"-")+"\n ")]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"int_page_percent",align:"center",label:"阅读率"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"flex"},[a("div",{staticClass:"twiceBox"},[a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("头条")]),t._v(" "),a("span",{staticClass:"count"},[t._v(t._s(e.row.first?e.row.first:"-"))])]),t._v(" "),a("div",{staticClass:"twiceItem"},[a("span",{staticClass:"name"},[t._v("其他")]),t._v(" "),a("span",{staticClass:"count"},[t._v(t._s(e.row.second?e.row.second:"-"))])])])])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"address",align:"center",label:"刊例价"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"rgb(17, 17, 17)","font-size":"12px","font-weight":"bold"}},[t._v(t._s(e.row.estimated_price_min||0==e.row.estimated_price_min?"¥"+e.row.estimated_price_min:"-")+"-"+t._s(e.row.estimated_price_max||0==e.row.estimated_price_max?"¥"+e.row.estimated_price_max:"-"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"address",align:"center",label:"最近文章"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",{staticStyle:{color:"#4589FF","font-size":"15px"}},[t._v(t._s(e.row.count||0==e.row.count?e.row.count:"-"))])]}}])},[a("template",{slot:"header"},[t._v("\n 最近文章"),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"近7日公众号推送文章数量",placement:"top-start"}},[a("i",{staticClass:"el-icon-info"})])],1)],2),t._v(" "),a("el-table-column",{attrs:{prop:"address",align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[0==e.row.is_selected?a("button",{staticClass:"button",on:{click:function(i){return t.changeIndex(e.row)}}},[t._v("选择位置")]):a("button",{staticClass:"button",staticStyle:{background:"#fff",border:"1px solid #dcdfe6",color:"#606266"},on:{click:function(i){return t.cancel(e.row)}}},[t._v("取消选择")])]}}])})],2),t._v(" "),t.tableData.length>0?a("div",{staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条记录")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}),t._v(" "),a("span")],1):t._e(),t._v(" "),a("div",{staticClass:"checkBox",style:{left:t.isCollapse?"40px":"190px"}},[a("div",{staticClass:"checkTip"},[t._v("\n 已选公众号"),a("span",{staticStyle:{color:"#4589FF"}},[t._v(t._s(t.checkList.length))]),t._v("个\n "),a("el-popover",{attrs:{placement:"top",width:"269"}},[a("div",{staticClass:"tool"},[a("p",{staticClass:"tool-head"},[t._v("已选公众号"),a("span",{staticStyle:{color:"#4589FF"}},[t._v(t._s(t.checkList.length))]),t._v("个 \n ")]),t._v(" "),a("div",{staticClass:"wxList"},t._l(t.checkList,function(e){return a("div",{staticClass:"wxItem"},[a("img",{staticClass:"icon",attrs:{src:e.head_img,alt:""}}),t._v(" "),a("div",{staticClass:"content"},[a("strong",[t._v(t._s(e.nickname))]),t._v(" "),a("p",[t._v("多图文第"+t._s(e.position)+"条 ")])])])}),0)]),t._v(" "),a("el-button",{staticStyle:{padding:"0",border:"none"},attrs:{slot:"reference"},slot:"reference"},[a("img",{staticClass:"show",attrs:{src:i("gQKk"),alt:""}})])],1)],1),t._v(" "),a("div",{staticClass:"checkNotice"},[a("el-checkbox-group",{staticStyle:{display:"inline-block","margin-right":"30px"},model:{value:t.service_type,callback:function(e){t.service_type=e},expression:"service_type"}},[a("el-checkbox",{key:0,attrs:{label:"0"}},[t._v("已经阅读并同意"),a("span",{staticStyle:{color:"#4589ff"},on:{click:function(e){t.showAgree=!0}}},[t._v("《信息发布服务协议》")])])],1),t._v(" "),a("button",{class:["button",-1==this.service_type.indexOf("0")?"normal":""],style:{cursor:-1==this.service_type.indexOf("0")?"not-allowed":"pointer"},on:{click:t.toUrl}},[t._v("下一步")])],1)])],1),t._v(" "),a("my-dialog",{attrs:{visible:t.showAgree,width:"50%",minWidth:"500px"},on:{"update:visible":function(e){t.showAgree=e}}},[a("div",{staticClass:"toast"},[a("h3",[t._v("注册协议")]),t._v(" "),a("div",{staticClass:"toastMain"},[a("span",{staticClass:"title"},[t._v("【审慎阅读】")]),t._v(" "),a("p",[t._v("您在申请注册流程中点击同意前,应当认真阅读以下协议。")]),a("div",{staticClass:"under"},[t._v("请您务必审慎阅读、充分理解协议中相关条款内容,其中包括:")]),t._v(" "),a("div",{staticClass:"under"},[t._v("1、与您约定免除或限制责任的条款;")]),t._v(" "),a("div",{staticClass:"under"},[t._v("2、与您约定管辖的条款;")]),t._v(" "),a("div",{staticClass:"under"},[t._v("3、其他以粗体下划线标识的重要条款。")]),t._v(" "),a("div",{staticClass:"under"},[t._v("如您对协议有任何疑问,可向平台客服咨询。")]),t._v(" "),a("span",{staticClass:"title"},[t._v("【特别提示】")]),t._v(" "),a("p",[t._v("当您按照注册页面提示填写信息、阅读并同意协议且完成全部注册程序后,即表示您已充分阅读、理解并接受协议的全部内容。")]),a("div",{staticClass:"under",staticStyle:{"margin-bottom":"9px"}},[t._v("阅读协议的过程中,如果您不同意相关协议或其中任何条款约定,您应立即停止注册程序。")]),t._v(" "),a("div",{staticClass:"under a"},[t._v("法律声明与隐私政策")]),t._v(" "),a("div",{staticClass:"under a"},[t._v("用户服务协议")]),t._v(" "),a("div",{staticClass:"under a"},[t._v("信息发布服务协议")])]),t._v(" "),a("div",{staticClass:"toastBtn"},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.showAgree=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:function(e){t.showAgree=!1,t.agree=["0"]}}},[t._v("确定")])],1)])]),t._v(" "),a("my-dialog",{attrs:{visible:t.checkIndex,width:"50%",minWidth:"500px"},on:{"update:visible":function(e){t.checkIndex=e}}},[a("h3",[t._v("公众号选择")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadArt,expression:"loadArt"}],staticClass:"toastMain"},[a("label",{staticStyle:{"margin-top":"20px"}},[t._v("投放日期")]),t._v(" "),a("el-date-picker",{staticClass:"selectFilter-select",attrs:{size:"small",type:"datetime","picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd HH:mm:ss"},on:{change:function(e){return t.changeIndex(t.infoObj)}},model:{value:t.new_serving_time,callback:function(e){t.new_serving_time=e},expression:"new_serving_time"}}),t._v(" "),a("label",{staticStyle:{display:"block",padding:"28px 0 12px"}},[t._v("投放位置")]),t._v(" "),a("ul",[t._l(t.positionList,function(e,i){return a("li",{class:t.position==i&&"active",on:{click:function(e){t.position=i}}},[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),0==t.positionList.length?a("div",{staticClass:"null"},[t._v("暂无投放位置")]):t._e()],2),t._v(" "),a("label",{staticStyle:{margin:"24px 0 28px"}},[t._v("留存天数\n "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"文章发布后的留存天数,过期后文章将会被删除",placement:"top-start"}},[a("i",{staticClass:"el-icon-info"})])],1),t._v(" "),a("div",{staticClass:"time"},[a("span",{staticClass:"item",class:.5==t.ad_serving&&"active",on:{click:function(e){t.ad_serving=.5}}},[t._v("0.5天")]),t._v(" "),a("span",{staticClass:"item",class:1==t.ad_serving&&"active",on:{click:function(e){t.ad_serving=1}}},[t._v("1天")]),t._v(" "),a("span",{staticClass:"item",class:3==t.ad_serving&&"active",on:{click:function(e){t.ad_serving=3}}},[t._v("3天")]),t._v(" "),a("span",{staticClass:"item",class:7==t.ad_serving&&"active",on:{click:function(e){t.ad_serving=7}}},[t._v("7天")]),t._v(" "),a("span",{staticClass:"notice"},[t._v("按审核结果确定留存天数")])]),t._v(" "),a("br"),t._v(" "),a("label",{staticStyle:{margin:"24px 0 28px"}},[t._v("金额")]),t._v(" "),a("div",{staticClass:"price"},[a("span",{staticClass:"text"},[t._v("¥"+t._s(t.infoObj.estimated_price_min)+" — ¥"+t._s(t.infoObj.estimated_price_max))]),t._v(" "),a("div",{staticClass:"notice"},[t._v("最终金额已审核后为准")])]),t._v(" "),a("div",{staticClass:"toastBtn"},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.checkIndex=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:t.addOrder}},[t._v("确定")])],1)],1)])],1)},staticRenderFns:[]};var et=i("VU/8")(Z,tt,!1,function(t){i("GJkO"),i("64o1")},"data-v-9df5c62a",null).exports,it={props:["isCollapse"],data:function(){return{showResult:!1,reason:"",payPaw:"",order_no:"",isApply:!1,loadApply:!1,applyError:!1,payError:"",whyError:!1,app_name:"",status:null,statusList:[{value:null,label:"全部"},{value:-1,label:"审核失败"},{value:0,label:"已取消"},{value:1,label:"待审核"},{value:2,label:"待支付"},{value:3,label:"待发布"},{value:4,label:"已发布"},{value:5,label:"已完成"},{value:6,label:"已发布未支付"}],checkList:[],checkPrice:0,loadWx:!1,title:"",page:1,page_size:20,pages:1,total:1,list:[],allPrice:"",pickerOptions:{disabledDate:function(t){return t.getTime()0?a("div",{staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条记录")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}),t._v(" "),a("span")],1):t._e()],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.isApply,width:"410px"},on:{"update:visible":function(e){t.isApply=e}}},[a("h3",[t._v("结算")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain"},[a("div",{staticClass:"inputItem"},[a("label",[t._v("结算金额")]),t._v(" "),a("div",{staticClass:"count"},[a("span",[t._v(t._s(t.allPrice?t.allPrice:0))]),t._v("\n 元\n ")])]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",[t._v("支付密码")]),t._v(" "),a("div",{staticClass:"rightInput"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.payPaw,expression:"payPaw"}],attrs:{type:"password",autocomplete:"off",placeholder:"请输入支付密码"},domProps:{value:t.payPaw},on:{input:function(e){e.target.composing||(t.payPaw=e.target.value)}}}),t._v(" "),t.pay_password?t._e():a("div",{staticClass:"tipText"},[t._v("\n 还未设置支付密码?"),a("span",{staticClass:"blur",on:{click:function(e){return t.$router.push("/person?type=setPay")}}},[t._v("立即设置")])]),t._v(" "),a("div",{staticStyle:{color:"#DC2F2F","font-size":"11px","margin-top":"8px"}},[t._v("注:结算完成不可编辑修改文案内容")])])])]),t._v(" "),a("div",{staticClass:"toastBtn"},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.payPaw="",t.isApply=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:t.payOrder}},[t._v("确定")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.applyError,width:"410px"},on:{"update:visible":function(e){t.applyError=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain",staticStyle:{"text-align":"center"}},[a("img",{staticClass:"error",attrs:{src:i("SzOh"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("结算失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 账户余额不足,请先进行"),a("span",{staticClass:"blur",on:{click:function(e){return t.rechange()}}},[t._v("充值")])])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.applyError=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:function(e){t.applyError=!1,t.rechange()}}},[t._v("确定")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.whyError,width:"410px"},on:{"update:visible":function(e){t.whyError=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain",staticStyle:{"text-align":"center"}},[a("img",{staticClass:"error",attrs:{src:i("1lES"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("结算失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 原因:"+t._s(t.payError)+"\n ")])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.whyError=!1}}},[t._v("关闭")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.showResult,width:"410px"},on:{"update:visible":function(e){t.showResult=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain",staticStyle:{"text-align":"center"}},[a("img",{staticClass:"error",attrs:{src:i("1lES"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("审核失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 原因:"+t._s(t.reason?JSON.parse(t.reason)[JSON.parse(t.reason).length-1].remark:"")+"\n ")])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.showResult=!1}}},[t._v("关闭")])],1)])],1)},staticRenderFns:[]};var st=i("VU/8")(it,at,!1,function(t){i("Pqu9"),i("ioSu")},"data-v-84d8646e",null).exports,nt=i("mvHQ"),ot=i.n(nt),rt=i("bOdI"),lt=i.n(rt),ct={props:["data","mediaUrl"],name:"AddArticle",components:{},data:function(){var t;return{countTimer1:null,timer:null,id:"editor",editor:null,msg:"从这里开始写正文",myConfig:(t={zIndex:1,imageScaleEnabled:!0,toolbars:[["undo","redo","|","fontsize","|","blockquote","horizontal","|","removeformat","formatmatch","|","source","link","unlink","emotion"],["bold","italic","underline","forecolor","backcolor","|","indent","justifyleft","justifyright","justifycenter","justifyjustify","|","rowspacingtop","rowspacingbottom","lineheight","|","insertorderedlist","insertunorderedlist","|","imagenone","imageleft","imageright","imagecenter"]],UEDITOR_HOME_URL:"./static/UEditor/",initialFrameWidth:650,initialFrameHeight:450},lt()(t,"initialFrameWidth","100%"),lt()(t,"enableAutoSave",!0),t)}},mounted:function(){this.init()},methods:{init:function(){var t=this;this.editor=window.UE.getEditor("editor",this.myConfig),this.editor.addListener("ready",function(){if(t.data){var e=t.data.replace("","");e=e.replace("",""),t.editor.setContent(e)}}),this.editor.addListener("contentChange",function(){t.msg=t.editor.getContent()})},getUEContent:function(){return this.editor.getContent()}},watch:{mediaUrl:function(){this.editor.execCommand("inserthtml",this.mediaUrl),this.$emit("edit",this.msg)},data:function(){var t=this;if(this.data!=this.msg){var e="";this.data&&(e=this.data.replace("",""),e=e.replace("","")),this.msg=e,this.editor&&this.editor.ready(function(){t.editor.setContent(t.msg)})}},msg:function(){this.msg!=this.data&&this.$emit("edit",this.msg)}},destroyed:function(){this.editor&&this.editor.destroy()}},dt={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"ueditor"},[e("script",{attrs:{id:this.id,type:"text/plain"}})])},staticRenderFns:[]};var pt=i("VU/8")(ct,dt,!1,function(t){i("dyVV")},null,null).exports,ut={components:{ImgCutter:i("iuf3").a},data:function(){return{panel:!1,loadCut:!0,imgUrl:"",target:""}},mounted:function(){},methods:{closeBox:function(){this.panel=!1},getBase64Image:function(t,e){var i=this,a=new Image;a.src=t,a.crossOrigin="*",a.onload=function(){var t=i.drawBase64Image(a);i.loadCut=!1,i.url=t,i.forIe9()}},uploadImg:function(t,e){var i=this,a=t.target.files[0].name.split(".")[1].toLowerCase();if("png"===a||"jpg"===a||"jpeg"===a){if(t.target&&t.target.files&&t.target.files[0]&&t.target.files[0].size>2097152)return void this.$Message.error("请上传2M以下图片");(new FormData).append("file",t.target.files[0]);var s=new FileReader;s.readAsDataURL(t.target.files[0]),s.onload=function(t){i.panel=!0,i.target=t.target.result}}else this.$Message.error("请上传正确格式的图片")},drawBase64Image:function(t){var e=document.createElement("canvas");return e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0,t.width,t.height),e.toDataURL("image/png")},forIe9:function(t){this.valueIndex=t,this.$refs.imgCutterModal0.handleOpen({name:"img",src:this.url,width:400,height:400})},cutDown:function(t){var e=t.dataURL;this.panel=!1,this.$emit("closeBox",e)},addMaterial:function(t){var e=this;this.loadCut=!0,this.$axios.post(this.URL.BASEURL+this.URL.addMaterial,{appId:this.appId,file:t,type:"image",file_type:this.target.substring(this.target.lastIndexOf(".")+1,this.target.length),file_name:this.getUuid()+"."+this.target.substring(this.target.lastIndexOf(".")+1,this.target.length),context:this.context}).then(function(t){e.loadCut=!1,(t=t.data)&&0==t.errno?(e.$message({message:"上传成功",type:"success"}),t.rst.url=t.rst.url.replace("http://weixiaomeng.oss-cn-beijing.aliyuncs.com/","http://liewu.kuxuan-inc.com/oss_image/"),e.$emit("closeBox",t)):e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadCut=!1})},getUuid:function(){for(var t=[],e=0;e<36;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-";var i=t.join("");return this.$cookieStore.setCookie("uuid",i),i}},watch:{panel:function(){this.loadCut=!1,this.panel&&(this.url=this.target,this.getBase64Image(this.url))}}},ht={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[this.panel?e("div",{attrs:{id:"imgBox"}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:this.loadCut,expression:"loadCut"}],staticClass:"container"},[e("ImgCutter",{ref:"imgCutterModal0",attrs:{isModal:!1,crossOrigin:!0,crossOriginHeader:"anonymous",boxWidth:460,boxHeight:210,cutWidth:100,cutHeight:100,sizeChange:!0,moveAble:!0,originalGraph:!0},on:{closeBox:this.closeBox,cutDown:this.cutDown}})],1)]):this._e()])},staticRenderFns:[]};var mt=i("VU/8")(ut,ht,!1,function(t){i("5yYk"),i("+2uD")},"data-v-27630e69",null).exports,vt={props:["checkToast","activeTag","type","showToast"],data:function(){return{artUrl:"",keyword:"",showCheck:!1,loadingShow:!1,checkList:[],listArr:[],page:1,page_size:20,total:"",loadArt:!1}},methods:{change:function(t,e){this.listArr.map(function(t,e){t.isCheck=!1}),this.$set(this.checkList,0,t.article_id)},handleCurrentChange:function(t){"wxArt"!=this.activeTag&&this.getMater(t)},getMater:function(t){var e=this;this.page=t,this.listArr=[],this.loadingShow=!0,this.$axios.post(this.URL.BASEURL+this.URL.history,{keyword:this.keyword,appId:this.appId,type:this.activeTag,page:this.page,page_size:this.page_size}).then(function(t){e.loadingShow=!1,(t=t.data)&&0==t.errno?(e.total=t.rst.pageInfo.total,e.page_size=Number(t.rst.pageInfo.size),e.listArr=t.rst.data,e.showUpload=!0):e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loadingShow=!1,e.loadingCanvas=!1})},addIng:function(){var t=this;this.checkList.forEach(function(e){t.listArr.forEach(function(i){e==i.article_id&&(t.$emit("close"),t.$emit("getDetail",i))})})}},watch:{showToast:function(){this.loadArt=!1,this.showToast&&(this.artUrl="")},checkToast:function(){this.showCheck=this.checkToast,this.getMater(1)},checkList:function(){if(this.checkList.length>1){var t=this.checkList[this.checkList.length-1];this.checkList=[],this.checkList.push(t)}}}},gt={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"showMater"},[a("my-dialog",{attrs:{visible:t.showCheck,width:"wxArt"!=t.activeTag?"1000px":"55%"},on:{"update:visible":function(e){t.showCheck=e},close:function(e){return t.$emit("close")}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadingShow,expression:"loadingShow"}]},[a("div",{staticClass:"toast"},[a("h3",[t._v("选择素材"),a("h4",[t._v("微信图文消息")])]),t._v(" "),a("div",{staticClass:"toastMain"},[a("div",{staticClass:"inputBox"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],staticStyle:{width:"230px","border-top-right-radius":"0","border-bottom-right-radius":"0"},attrs:{type:"text"},domProps:{value:t.keyword},on:{input:function(e){e.target.composing||(t.keyword=e.target.value)}}}),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.getMater(1)}}},[t._v("搜索")])],1),t._v(" "),a("div",{staticStyle:{height:"400px","overflow-y":"scroll"}},[a("div",{staticClass:"wxList wxContent"},t._l(t.listArr,function(e,s){return a("div",{key:"checkWx"+s,class:["wxItem",e.length>1?"moreItem":"",e.article_id==t.checkList[0]?"active":""],on:{click:function(i){return t.change(e,s)}}},[a("div",{staticClass:"mainInfo"},[a("div",[a("div",{staticClass:"infoImg"},[a("span",{staticClass:"topTitle"},[t._v(t._s(e.title))]),t._v(" "),a("div",{staticStyle:{height:"120px",overflow:"hidden",position:"relative"}},[e.thumb_url?a("el-image",{staticClass:"icon",attrs:{src:e.thumb_url,alt:"",fit:"cover"}}):a("img",{staticClass:"icon",attrs:{src:i("NMrH"),alt:""}})],1)]),t._v(" "),a("div",{staticClass:"btmInfo"})])])])}),0),t._v(" "),t.listArr.length>0?a("div",{staticClass:"bottom"},[a("div"),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}),t._v(" "),a("div")],1):t._e(),t._v(" "),t.loadingShow||0!=t.listArr.length?t._e():a("div",{staticClass:"nullBox"},[a("img",{attrs:{src:i("3qAc"),alt:""}}),t._v(" "),a("div",{staticClass:"null"},[t._v("没有搜索到结果")])])])]),t._v(" "),t.listArr.length>0?a("div",{staticClass:"toastBtn"},[a("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.$emit("close")}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.addIng}},[t._v("确定")])],1):t._e()])])]),t._v(" "),a("my-dialog",{attrs:{visible:t.showToast,width:"404px",minWidth:"231px"},on:{"update:visible":function(e){t.showToast=e},close:function(e){return t.$emit("close")}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadArt,expression:"loadArt"}],staticClass:"toast"},[a("h3",[t._v("导入"),a("h4",[t._v("文章")])]),t._v(" "),a("div",{staticClass:"toastMain"},[a("div",{staticClass:"inputItem",staticStyle:{"text-align":"center"}},[a("label",{attrs:{for:"article"}},[t._v("文章地址")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.artUrl,expression:"artUrl"}],staticStyle:{"margin-left":"10px"},attrs:{type:"text",id:"article",placeholder:"请输入文章url地址"},domProps:{value:t.artUrl},on:{input:function(e){e.target.composing||(t.artUrl=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"toastBtn"},[a("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.$emit("close")}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){t.loadArt=!0,t.$emit("addart",t.artUrl)}}},[t._v("确定")])],1)])])],1)},staticRenderFns:[]};var _t=i("VU/8")(vt,gt,!1,function(t){i("UtTM"),i("4CrT")},"data-v-22a7b754",null).exports,ft={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topBread"},[i("span",{staticClass:"gray",style:{color:t.onePath?"#000":"#999",cursor:t.onePath?"pointer":"auto"},on:{click:function(e){return t.toPath(t.onePath)}}},[t._v(t._s(t.one))]),t._v(" "),t.two?i("span",{staticClass:"black",on:{click:function(e){return t.toPath(t.twoPath)}}},[t._v("  >  "+t._s(t.two))]):t._e(),t._v(" "),t.three?i("span",{staticClass:"black",on:{click:function(e){return t.toPath(t.threePath)}}},[t._v("  >  "+t._s(t.three))]):t._e(),t._v(" "),t.four?i("span",{staticClass:"black"},[t._v("  >  "+t._s(t.four))]):t._e()])},staticRenderFns:[]};var wt=i("VU/8")({props:["one","two","three","onePath","twoPath","four","threePath"],methods:{toPath:function(t){this.$router.push(t)}}},ft,!1,function(t){i("9OyB")},"data-v-12849496",null).exports,yt={props:["isCollapse"],components:{ueditor:pt,cutInto:mt,showMater:_t,topBread:wt},data:function(){return{imgObj:{},mediaUrl:"",allPriceMin:0,allPriceMax:0,allFan:0,order:"",thumb_type:1,loadSetting:!1,artContent:{},showToast:!1,activeTag:"art",checkToast:!1,text:"",new_serving_time:this.getDay(0,!1)+" 20:00:00",position:1,ad_serving:.5,checkList:[],infoObj:{},estimated_price_min:"",estimated_price_max:"",positionList:[],loadArt:!1,checkIndex:!1,isFixed:!1,imgEle:0,pickerOptions:{disabledDate:function(t){return t.getTime()"):this.$message({message:t.err,type:"warning"})},beforeUpload:function(t){this.imgObj.name=t.name},edit:function(t){this.$set(this.artContent,"content",t)},getInfo:function(t){var e=this;this.loadSetting=!0,this.$axios.post(this.URL.BASEURL+this.URL.orderDetail,{order_no:this.order}).then(function(t){if(e.loadSetting=!1,(t=t.data)&&0==t.errno){var i=t.rst.data;e.checkList.push(t.rst.data),e.allFan=i.fans?i.fans:0,e.position=i.position,e.allPriceMin=i.estimated_price_min?i.estimated_price_min:0,e.allPriceMin=i.estimated_price_max?i.estimated_price_max:0,e.new_serving_time=i.serving_time,e.artContent={title:i.title,content:i.content,cover:i.thumb_url,digest:i.digest,content_url:i.content_url,preview_account:i.preview_account},e.infoObj=i}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadSetting=!1})},addart:function(t){var e=this;this.$axios.post(this.URL.BASEURL+this.URL.getArticle,{url:t}).then(function(t){if(e.loadSetting=!1,(t=t.data)&&0==t.errno){e.showToast=!1,e.artContent=t.rst.data,t.rst.data.content=t.rst.data.content.replace(/data-src/g,"src");var i=/()/,a=t.rst.data.content.match(i);(a=t.rst.data.content.trim("").split("0?"warning":"success",message:i.success_times+"个订单已结算成功,"+i.fail_times+"个订单结算失败"}),t.init(1)}else"1213"==e.errno?t.applyError=!0:(t.payError=e.err,t.whyError=!0)}).catch(function(e){console.log(e),t.loadApply=!1})},init:function(t){var e=this;this.page=t,this.list=[],this.loadIndex=!0,this.$axios.post(this.URL.BASEURL+this.URL.cpaList,{page:t,page_size:this.page_size,to_fans:this.to_fans,created_begin_date:this.timeRange&&this.timeRange.length>0?this.timeRange[0]:"",created_end_date:this.timeRange&&this.timeRange.length>0?this.timeRange[1]:"",status_code:this.plan,campaign_name:this.keyword}).then(function(t){t=t.data;if(e.loadIndex=!1,t&&0==t.errno){var i=t.rst;e.list=i.data,e.total=i.pageInfo.total,e.pages=t.rst.pageInfo.pages,e.page_size=i.pageInfo.size}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadIndex=!1})},cancel:function(t){var e=this;this.loadIndex=!0,this.order_id=t,this.$axios.post(this.URL.BASEURL+this.URL.cpaCancel,{campaign_id:t}).then(function(t){t=t.data;if(e.loadIndex=!1,t&&0==t.errno){t.rst;e.$message.success("订单取消成功"),e.init(1)}else e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadIndex=!1})},getAttr:function(){var t=this;this.loadIndex=!0,this.$axios.get(this.URL.BASEURL+this.URL.cpaAttr).then(function(e){e=e.data;if(t.loadIndex=!1,e&&0==e.errno){var i=e.rst.attr_data;t.to_fansList=i.to_fans,t.to_fansList.unshift({option_key:null,option_value:"全部"}),t.planList=i.status,t.planList.unshift({option_key:null,option_value:"全部"})}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadIndex=!1})},down:function(){var t=document.createElement("a");t.href="http://lh-ad.kuxuan-inc.com/temp.xlsx",t.download="模板.xlsx",document.body.appendChild(t),t.click(),document.body.removeChild(t)},submitFail:function(){this.$message.error("上传失败")},submitSuccess:function(t){var e=this;this.$axios.post(this.URL.BASEURL+this.URL.cpasupplementLink,{campaign_id:this.infoObj.campaign_id,sale_link_file_url:t.rst.url}).then(function(t){t=t.data;if(e.loadUrl=!1,t&&0==t.errno&&t.rst.success){t.rst.attr_data;e.addUrl=!1,e.$message.success("上传成功"),e.init(1)}else e.fileList=[],e.$message({message:t.err,type:"warning"})}).catch(function(t){console.log(t),e.loadIndex=!1})},beforeUpload:function(t){this.loadUrl=!0,this.paramsdata.campaign_id=this.infoObj.campaign_id;var e;return(e=".xls"===t.type||-1!=t.name.indexOf(".xls")||-1!=t.name.indexOf(".csv"))||(this.loadUrl=!1,this.$message.error("上传格式暂不支持,请重新上传!")),e}},watch:{editFlag:function(){var t=this;this.editFlag&&(this.pickerOptions={disabledDate:function(e){var i;return i=new Date(t.editObj.serving_begin_date).getTime()<(new Date).getTime()?(new Date).getTime():new Date(t.editObj.serving_begin_date),e.getTime()0?a("div",{staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条记录")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}),t._v(" "),a("span")],1):t._e(),t._v(" "),a("my-dialog",{attrs:{visible:t.showResult,width:"410px"},on:{"update:visible":function(e){t.showResult=e}}},[a("div",{staticClass:"toastMain",staticStyle:{"text-align":"center"}},[a("img",{staticClass:"error",attrs:{src:i("1lES"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("审核失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 原因:"+t._s(t.reason)+"\n ")])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.showResult=!1}}},[t._v("关闭")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.addUrl,width:"410px"},on:{"update:visible":function(e){t.addUrl=e}}},[a("h3",[t._v("补充链接")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadUrl,expression:"loadUrl"}],staticClass:"toastMain addUpload",staticStyle:{padding:"5px 30px 30px"}},[a("div",{staticClass:"inputItem"},[a("label",[t._v("计划名:")]),t._v(" "),a("span",[t._v(t._s(t.infoObj.campaign_name))])]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",[t._v("上传补充链接表:")]),t._v(" "),a("div",{staticStyle:{display:"inline-block"}},[a("img",{staticClass:"down",attrs:{src:i("pNWR"),alt:""},on:{click:t.down}}),t._v(" "),a("i",{staticClass:"el-icon-document"}),t._v(" "),a("span",{staticStyle:{"font-size":"14px","margin-right":"30px"}},[t._v("模板.xlsx")])]),t._v(" "),a("el-upload",{ref:"upload",staticClass:"upload-el",attrs:{action:t.URL.BASEURL+t.URL.upload_link_file,limit:1,"before-upload":t.beforeUpload,"on-success":t.submitSuccess,"on-error":t.submitFail,"file-list":t.fileList}},[a("el-button",{staticStyle:{display:"inline-block"},attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("上传")])],1)],1)])]),t._v(" "),a("my-dialog",{attrs:{visible:t.isApply,width:"410px"},on:{"update:visible":function(e){t.isApply=e}}},[a("h3",[t._v("结算")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain apply",staticStyle:{padding:"5px 30px 30px"}},[a("div",{staticClass:"inputItem"},[a("label",[t._v("结算金额")]),t._v(" "),a("div",{staticClass:"count"},[a("span",[t._v(t._s(t.price?t.price:0))]),t._v("\n 元\n ")])]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",[t._v("支付密码")]),t._v(" "),a("div",{staticClass:"rightInput"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.payPaw,expression:"payPaw"}],attrs:{type:"password",autocomplete:"off",placeholder:"请输入支付密码"},domProps:{value:t.payPaw},on:{input:function(e){e.target.composing||(t.payPaw=e.target.value)}}}),t._v(" "),a("div",{staticClass:"tipText",staticStyle:{color:"#DC2F2F"}},[t._v("请先完成导粉数编辑,再进行结算")]),t._v(" "),t.pay_password?t._e():a("div",{staticClass:"tipText"},[t._v("\n 还未设置支付密码?"),a("span",{staticClass:"blur",on:{click:function(e){return t.$router.push("/person?type=setPay")}}},[t._v("立即设置")])])])])]),t._v(" "),a("div",{staticClass:"toastBtn"},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.payPaw="",t.isApply=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:t.payOrder}},[t._v("确定")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.applyError,width:"410px"},on:{"update:visible":function(e){t.applyError=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain apply",staticStyle:{"text-align":"center",padding:"5px 30px 30px"}},[a("img",{staticClass:"error",attrs:{src:i("SzOh"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("结算失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 账户余额不足,请先进行"),a("span",{staticClass:"blur",on:{click:function(e){return t.rechange()}}},[t._v("充值")])])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.applyError=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:function(e){t.applyError=!1,t.rechange()}}},[t._v("确定")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.whyError,width:"410px"},on:{"update:visible":function(e){t.whyError=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain apply",staticStyle:{"text-align":"center",padding:"5px 30px 30px"}},[a("img",{staticClass:"error",attrs:{src:i("1lES"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("结算失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 原因:"+t._s(t.payError)+"\n ")])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.whyError=!1}}},[t._v("关闭")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.editFlag,width:"450px"},on:{"update:visible":function(e){t.editFlag=e}}},[a("h3",[t._v("计划修改")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadEdit,expression:"loadEdit"}],staticClass:"toastMain apply",staticStyle:{"text-align":"center",padding:"5px 30px 30px"}},[a("div",{staticClass:"inputItem"},[a("label",[t._v("推广预算:")]),t._v(" "),a("div",{staticClass:"count"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.budget_price,expression:"budget_price"}],staticStyle:{width:"100px"},attrs:{type:"text"},domProps:{value:t.budget_price},on:{input:function(e){e.target.composing||(t.budget_price=e.target.value)}}}),t._v("\n 元\n ")])]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",[t._v("投放时长:")]),t._v(" "),a("div",{staticClass:"count"},[a("span",[t._v(t._s(t.editObj.serving_begin_date))]),t._v("\n    -   \n "),a("el-date-picker",{staticClass:"selectFilter-select",staticStyle:{width:"150px!important"},attrs:{size:"small",type:"date",clearable:!1,"picker-options":t.pickerOptions,"value-format":"yyyy-MM-dd",format:"yyyy-MM-dd"},model:{value:t.serving_end_date,callback:function(e){t.serving_end_date=e},expression:"serving_end_date"}})],1)])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small",type:"primary"},on:{click:t.editAttr}},[t._v("修改")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.editFlag=!1}}},[t._v("关闭")])],1)])],1)},staticRenderFns:[]};var Rt=i("VU/8")(Lt,Ut,!1,function(t){i("x2I8"),i("yFv1")},"data-v-2831183e",null).exports,Pt={components:{topBread:wt},data:function(){return{loadSet:!1,keyword:"",serving_time:"",pickerOptions:{disabledDate:function(t){return t.getTime()"):this.$message({message:t.err,type:"warning"})},beforeUpload:function(t){this.imgObj.name=t.name},closeBox:function(t){this.$set(this.artContent,"cover",t),this.thumb_type=2},getDetail:function(t){this.artContent={content:t.content,content_url:t.content_source_url,cover:t.thumb_url,title:t.title,digest:t.digest},this.thumb_type=1},getInfo:function(){var t=this;this.loadIndex=!0,this.$axios.get(this.URL.BASEURL+this.URL.cpaInfo,{params:{campaign_id:Number(this.campaign_id)}}).then(function(e){e=e.data;if(t.loadIndex=!1,e&&0==e.errno){var i=e.rst;t.artContent=i,t.artContent.cover=t.artContent.thumb_url}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadIndex=!1})},addart:function(t){var e=this;this.$axios.post(this.URL.BASEURL+this.URL.getArticle,{url:t}).then(function(t){if(e.loadSetting=!1,(t=t.data)&&0==t.errno){e.showToast=!1,e.artContent=t.rst.data,t.rst.data.content=t.rst.data.content.replace(/data-src/g,"src");var i=/()/,a=t.rst.data.content.match(i);(a=t.rst.data.content.trim("").split("0&&"已完成"!=t.infoObj.status?a("div",{staticClass:"upload"},[a("label",{staticStyle:{width:"auto"}},[t._v("批量导入导粉数:")]),t._v(" "),a("div",{staticStyle:{display:"inline-block"}},[a("img",{staticClass:"down",attrs:{src:i("pNWR"),alt:""},on:{click:t.down}}),t._v(" "),a("i",{staticClass:"el-icon-document"}),t._v(" "),a("span",{staticStyle:{"font-size":"14px","margin-right":"30px"}},[t._v("模板.xlsx")])]),t._v(" "),a("el-upload",{ref:"upload",staticClass:"upload-el",attrs:{action:t.URL.BASEURL+t.URL.fansDataImport,"before-upload":t.beforeUpload,"on-success":t.submitSuccess,"on-error":t.submitFail,name:"excel_file",data:t.formObj,"file-list":t.formObj.fileList}},[a("el-button",{staticStyle:{display:"inline-block"},attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v("上传")])],1)],1):t._e()],1)]),t._v(" "),a("input",{staticStyle:{position:"absolute",top:"-99999px"},attrs:{id:"copyText",type:"text"}}),t._v(" "),a("el-table",{staticClass:"table",staticStyle:{width:"100%"},attrs:{data:t.list,fixed:""}},[a("template",{slot:"empty"},[a("img",{staticClass:"pic",attrs:{src:i("z3Om"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])]),t._v(" "),a("el-table-column",{attrs:{prop:"name",width:"250",fixed:"",label:"公众号名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"tableBox clearfix"},[e.row.head_img?a("img",{staticClass:"icon",attrs:{src:e.row.head_img,alt:"微信公众号头像"}}):a("img",{staticClass:"icon",staticStyle:{background:"#eee"},attrs:{src:i("urTc"),alt:""}}),t._v(" "),a("div",{staticClass:"content"},[a("strong",[t._v(t._s(e.row.account_name?e.row.account_name:"-"))]),a("span",{staticClass:"type",class:{active:2==e.row.service_type}},[t._v(t._s(2!=e.row.service_type?"订阅号":"服务号"))]),t._v(" "),a("el-tooltip",{staticClass:"strong",attrs:{effect:"dark",disabled:!e.row.principal_name,content:e.row.principal_name,placement:"top-start"}},[a("p",[t._v(t._s(e.row.principal_name?e.row.principal_name:"-"))])])],1)])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"unit_price",align:"center",label:"获粉单价(元)"}}),t._v(" "),a("el-table-column",{attrs:{prop:"target_incr",align:"center",label:"实际导粉数"}}),t._v(" "),a("el-table-column",{attrs:{prop:"order_cost",align:"center",label:"实际支出(元)"}}),t._v(" "),a("el-table-column",{attrs:{prop:"status_desc",align:"center",label:"状态"}}),t._v(" "),a("el-table-column",{attrs:{prop:"link_url",align:"center","show-overflow-tooltip":"",label:"关联链接"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",width:"240",fixed:"right",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return["结算完成"!=e.row.status_desc?a("button",{staticClass:"button",on:{click:function(i){t.getFan(e.row.order_id),t.editFlag=!0}}},[t._v("编辑导粉数")]):t._e(),t._v(" "),a("button",{staticClass:"button",on:{click:function(i){return t.copy(e.row.link_url)}}},[t._v("复制链接")]),t._v(" "),"结算中"==e.row.status_desc?a("button",{staticClass:"button",on:{click:function(i){t.id=e.row.order_id,t.getPrice()}}},[t._v("结算")]):t._e()]}}])})],2),t._v(" "),t.list.length>0?a("div",{staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条记录")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}}),t._v(" "),a("span")],1):t._e(),t._v(" "),a("my-dialog",{attrs:{visible:t.editFlag,width:"450px"},on:{"update:visible":function(e){t.editFlag=e}}},[a("div",{staticClass:"toast"},[a("h3",[t._v("实际导粉数编辑")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadFan,expression:"loadFan"}],staticClass:"toastMain",staticStyle:{"padding-top":"30px"}},[a("el-table",{staticClass:"fanList",attrs:{border:"",data:t.fanList,fixed:"","max-height":"300"}},[a("el-table-column",{attrs:{prop:"date",align:"center",label:"时间"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"实际导粉数"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?a("input",{directives:[{name:"model",rawName:"v-model",value:e.row.number,expression:"scope.row.number"}],class:"input"+e.$index,staticStyle:{display:"inline-block",width:"30px","text-align":"center",border:"1px solid #dadada"},attrs:{"scope.row.autofocus":"",type:"text"},domProps:{value:e.row.number},on:{input:function(i){i.target.composing||t.$set(e.row,"number",i.target.value)}}}):a("span",[t._v(t._s(e.row.number||"0"==e.row.number?e.row.number:"-"))]),t._v(" "),a("i",{staticClass:"el-icon-edit-outline",on:{click:function(i){return t.change(e.$index)}}})]}}])})],1)],1),t._v(" "),a("div",{staticClass:"toastBtn"},[a("div",[a("el-button",{attrs:{size:"small"},on:{click:function(e){t.editFlag=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.editFan}},[t._v("保存")])],1)])])]),t._v(" "),a("my-dialog",{attrs:{visible:t.isApply,width:"410px"},on:{"update:visible":function(e){t.isApply=e}}},[a("h3",[t._v("结算")]),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain"},[a("div",{staticClass:"inputItem"},[a("label",[t._v("结算金额")]),t._v(" "),a("div",{staticClass:"count"},[a("span",[t._v(t._s(t.price?t.price:0))]),t._v("\n 元\n ")])]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",[t._v("支付密码")]),t._v(" "),a("div",{staticClass:"rightInput"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.payPaw,expression:"payPaw"}],attrs:{type:"password",autocomplete:"off",placeholder:"请输入支付密码"},domProps:{value:t.payPaw},on:{input:function(e){e.target.composing||(t.payPaw=e.target.value)}}}),t._v(" "),t.pay_password?t._e():a("div",{staticClass:"tipText"},[t._v("\n 还未设置支付密码?"),a("span",{staticClass:"blur",on:{click:function(e){return t.$router.push("/person?type=setPay")}}},[t._v("立即设置")])]),t._v(" "),a("div",{staticStyle:{color:"#DC2F2F","font-size":"11px","margin-top":"8px"}},[t._v("注:支付完成不可编辑修改文案内容")])])])]),t._v(" "),a("div",{staticClass:"toastBtn"},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.payPaw="",t.isApply=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:t.payOrder}},[t._v("确定")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.applyError,width:"410px"},on:{"update:visible":function(e){t.applyError=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain",staticStyle:{"text-align":"center"}},[a("img",{staticClass:"error",attrs:{src:i("SzOh"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("结算失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 账户余额不足,请先进行"),a("span",{staticClass:"blur",on:{click:function(e){return t.rechange()}}},[t._v("充值")])])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.applyError=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{staticStyle:{width:"88px"},attrs:{type:"primary",size:"small"},on:{click:function(e){t.applyError=!1,t.rechange()}}},[t._v("确定")])],1)]),t._v(" "),a("my-dialog",{attrs:{visible:t.whyError,width:"410px"},on:{"update:visible":function(e){t.whyError=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadApply,expression:"loadApply"}],staticClass:"toastMain",staticStyle:{"text-align":"center"}},[a("img",{staticClass:"error",attrs:{src:i("1lES"),alt:""}}),t._v(" "),a("div",{staticClass:"h3"},[t._v("结算失败")]),t._v(" "),a("div",{staticClass:"tipText"},[t._v("\n 原因:"+t._s(t.payError)+"\n ")])]),t._v(" "),a("div",{staticClass:"toastBtn",staticStyle:{"padding-top":"0"}},[a("el-button",{staticStyle:{width:"88px"},attrs:{size:"small"},on:{click:function(e){t.whyError=!1}}},[t._v("关闭")])],1)])],1)],1)},staticRenderFns:[]};var Ft=i("VU/8")($t,zt,!1,function(t){i("W9JE"),i("GX0M")},"data-v-371445eb",null).exports,Nt={data:function(){return{list:[],infoObj:{},order:"",loadCommit:!1}},components:{topBread:wt},created:function(){this.order=this.$route.query.order,this.getInfo()},methods:{getInfo:function(){var t=this;this.loadCommit=!0,this.$axios.get(this.URL.BASEURL+this.URL.cpaInfo,{params:{campaign_id:Number(this.order)}}).then(function(e){e=e.data;if(t.loadCommit=!1,e&&0==e.errno){var i=e.rst?e.rst:[];t.infoObj=i}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadCommit=!1})}}},Dt={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{"margin-top":"0",overflow:"hidden",height:"calc(100vh - 80px)"}},[i("topBread",{attrs:{one:"CPA广告投放",two:"CPA广告计划",three:"CPA计划审核",twoPath:"/cpaAdvert/index"}}),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadCommit,expression:"loadCommit"}],staticClass:"commit"},[i("div",{staticClass:"boxer"},[i("div",{staticClass:"cardTitle",staticStyle:{"text-align":"left"}},[t._v("CPA广告计划")]),t._v(" "),t._m(0),t._v(" "),i("div",{staticClass:"ul"},[i("div",{staticClass:"item"},[i("span",{staticClass:"content"},[t._v("CPA类型:派单CPA")]),t._v(" "),i("span",{staticClass:"content"},[t._v("计划名称:"+t._s(t.infoObj.campaign_name))]),t._v(" "),i("span",{staticClass:"content"},[t._v("投放日期:"+t._s(t.infoObj.serving_begin_date)+"—"+t._s(t.infoObj.serving_end_date))])]),t._v(" "),i("div",{staticClass:"item"},[i("span",{staticClass:"content"},[t._v("男女比例:"+t._s(t.infoObj.to_fans_desc))]),t._v(" "),i("span",{staticClass:"content"},[t._v("获粉单价:"+t._s(t.infoObj.unit_price)+"元")]),t._v(" "),i("span",{staticClass:"content"},[t._v("推广预算:"+t._s(t.infoObj.budget_price)+"元")])])]),t._v(" "),i("div",{staticClass:"btnList"},[i("button",{staticClass:"normal button",staticStyle:{"margin-right":"10px"},on:{click:function(e){return t.$router.push("/cpaAdvert/index")}}},[t._v("完成")]),t._v(" "),i("button",{staticClass:"button",on:{click:function(e){return t.$router.push("/cpaAdvert/setting")}}},[t._v("继续下单")])])])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"status"},[e("img",{attrs:{src:i("g3vq"),alt:""}}),this._v(" "),e("p",[this._v("提交成功,等待审核")])])}]};var Wt=i("VU/8")(Nt,Dt,!1,function(t){i("IIrg")},"data-v-45eaf340",null).exports;n.default.use(u.a);var Vt=[{path:"/",component:E,hidden:!0,redirect:"home"},{path:"/login",name:"login",component:v,hidden:!0,meta:{title:"猎悟-广告主登陆"}},{path:"/register",name:"register",component:f,hidden:!0,meta:{title:"猎悟-广告主注册"}},{path:"/perfect",name:"perfect",component:I,hidden:!0,meta:{title:"猎悟-广告主平台"}},{path:"/home",component:E,hidden:!1,children:[{path:"/home",name:"home",component:Q,meta:{title:"首页",name:"home",icon:"md-home"}}]},{path:"/selected",component:E,meta:{title:"CPT广告投放",icon:"md-contacts"},children:[{path:"/index",name:"location",component:et,meta:{title:"公众号下单",desc:"步骤一:选择位置"},hidden:!1},{path:"/order",name:"order",component:st,meta:{title:"公众号订单",desc:"公众号订单"},hidden:!1},{path:"/pushSetting",name:"pushSetting",component:bt,meta:{title:"公众号下单",desc:"步骤二:推广设置",three:!0},hidden:!0},{path:"/commit",name:"commit",component:It,meta:{title:"公众号下单",desc:"提交审核",three:!0},hidden:!0},{path:"/orderInfo",name:"orderInfo",component:Bt,meta:{title:"公众号下单",desc:"订单详情",three:!0},hidden:!0}]},{path:"/cpa",component:E,meta:{title:"CPA广告投放",icon:"ios-film"},children:[{path:"/cpaAdvert/index",name:"cpaIndex",component:Rt,meta:{title:"CPA广告计划",desc:"CPA广告计划"},hidden:!1},{path:"/cpaAdvert/setting",name:"cpaSetting",component:Tt,meta:{title:"CPA广告计划",desc:"CPA计划设置",three:!0},hidden:!0},{path:"/cpaAdvert/textSetting",name:"cpaTextSetting",component:jt,meta:{title:"CPA广告计划",desc:"CPA文案设置",three:!0},hidden:!0},{path:"/cpaAdvert/orderInfo",name:"cpaorderInfo",component:Ft,meta:{title:"CPA广告计划",desc:"CPA广告详情",three:!0},hidden:!0},{path:"/cpaAdvert/commit",name:"cpacommit",component:Wt,meta:{title:"CPA广告计划",desc:"CPA广告计划审核",three:!0},hidden:!0}]},{path:"/own",component:E,hidden:!1,meta:{title:"个人中心",icon:"md-person"},children:[{path:"/person",name:"person",component:$,meta:{title:"个人中心"},hidden:!0},{path:"/rechanrge",name:"rechanrge",component:N,meta:{title:"充值"},hidden:!0},{path:"/remit",name:"remit",component:V,meta:{title:"提交汇款"},hidden:!0}]},{path:"/pay",component:E,hidden:!1,meta:{title:"支出明细"},children:[{path:"/detailed",name:"detailed",component:J,meta:{title:"支出明细",icon:"ios-paper"},hidden:!0}]}],qt=new u.a({mode:"hash",scrollBehavior:function(){return{y:0}},routes:Vt});function Ht(t){new RegExp("(^| )"+t+"=([^;]*)(;|$)");return!!window.localStorage.getItem(t)&&window.localStorage.getItem(t)}function Jt(){window.localStorage.clear()}n.default.use(p.a,r.a);r.a.interceptors.request.use(function(t){return t},function(t){return s.a.reject(t)}),r.a.defaults.timeout=15e4,r.a.defaults.retry=26,r.a.defaults.retryDelay=5e3,r.a.interceptors.response.use(function(t){return t.data?("1011"==t.data.errno&&(B.Message.closeAll(),Jt(),-1==window.location.href.indexOf("register")&&-1==window.location.href.indexOf("login")&&(qt.push("/login"),location.reload())),t):s.a.reject(t)},function(t){if(-1!=t.toString().indexOf("timeout")&&Object(B.MessageBox)({message:"请求超时,请稍后再试",duration:3e3}),t&&t.response){switch(t.response.status){case 400:t.message="请求错误";break;case 401:t.message="未授权,请登录";break;case 403:t.message="拒绝访问";break;case 404:t.message="请求地址出错404";break;case 405:t.message="请求不被允许,请检查接口调用方式";break;case 408:t.message="请求超时";break;case 500:case 501:case 502:case 503:case 504:t.message="服务器开个小差,请稍后再试";break;case 505:t.message="HTTP版本不受支持"}Object(B.MessageBox)({message:t.message,duration:3e3})}return s.a.reject(t)}),n.default.prototype.$axios=r.a,n.default.prototype.URL=c;var Yt={name:"App",provide:function(){return{reload:this.reload}},data:function(){return{isRouterAlive:!0}},created:function(){},methods:{reload:function(){this.isRouterAlive=!1,this.$nextTick(function(){this.isRouterAlive=!0})}},watch:{$route:function(){if("manage"==this.$route.name)for(var t=document.getElementsByTagName("meta"),e=0;e"})},NMrH:function(t,e,i){t.exports=i.p+"static/img/post.4060756.png"},NWFg:function(t,e){},Pqu9:function(t,e){},RBJf:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABKCAMAAAArDjJDAAAAhFBMVEUAAAAfjvsgjvsfj/sgjvsgj/sgj/sjkP8nl/8uov8gj/ogjvofj/sgj/sfjvsgj/sgkPwgjvsgkPshkPoikPwgkPsml/8ql/8fjvr////5/P632/1LpPs+nvoslfrw9/6z2P2x2P19vfx4u/wnkvrq9f7i8P7h7/7f7/7O5v6DwPyCwPzarFzRAAAAGHRSTlMA7vn1yJBlJBMF39K9ubOql4x3bFM5GwyYQ7r2AAABpUlEQVRYw6TUB27DMBAEwCOp3ruXVlxSnIL8/38JYMOCDbGJ84DF3WFJ0knHqK3yjHHOsrxqozGlTeKuFHgiyi4mR0kfQCHoE7I3hQIaIpxsJ2o4DHhjNVnEYIFF5mMHsBTEpDUwWGMDaYRwEqobWcNRrejsroCzYrc6U4ENirW5amxSay/uefsBmw1PzWTYjD12NYCH4OHdwUtEdwmDF7b8Ew08NXQzcXjik6FS7uVKBFQO8+U0H2Amrtfq1Ukn+W//DrPe0KmzvHr9sOtWDKWLvPl+gUlMRB2U5N3+DQYdEZW6qMX5CK2SKBV2UfJLv6RIaYQ+ynrJkSJj1GI+at906xAlPzVLtlS5RMn9L1Qqyg1R1kvmlDlGyR9F9TNirlFS8SQZceeoGav4Xyt2cAIADAJBsBTxkU/6L9AOlINpIJBgvNuFR8ELwmeHw5CO6F9G1H0c+J3hkoGrzy1kGBN7eFUSXi5Sr6B/QdBf9aOrOqgfpBTBquYKJKy1rmw7BIBg4nDJQZxDSwi8DsOdHGDKwokUp3eYdHIqDAs6rw29zISKdQC9wZLReyanpwAAAABJRU5ErkJggg=="},RNtg:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhQAAABMCAMAAAAC5t5kAAABPlBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Pz8/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Nzc0JsVsdvmstyXofwG0jwnEOtF8Ms10hwW8pxnYSt2IQtWEbvGolxHMVuWUyzH6l5cQYu2dBy4U6xH3R8uJX05S97NRMzotFx4Uxv3Zd15nt+/Sv6Mtv2aOS4rmO27SOTrXBAAAASXRSTlMA+t4Ewa2Gp4+02nVKT6P4VL1tky9aD8YrBvweQRS5f0fMg14YOBzs6NKKc3AgC/Bn1QEj4bGYez3kM2NRJvSbf2HJnghGz+B4mRRmvwAAD3hJREFUeNrs22tP21Ycx/F/4lw9iAMkIfdByB3iQEIgBEi4lfKbxiatDxBT1a7S2u79v4L52PHl+BInlEGr5SNaHcvlATlfHR/bhXz0Mv3sqDasjbL9TI+W/vfqO9ctCSapdb1Tp6X/r/6FCDfiRZ9eh6BYLlavR0hvwttmWqBvl+1UqzIpOqPR6Jz8bQJYo6XXkTsVMZt4mqNvFQAQIUUUQGjOKMK09CpWgvAXXHmVKCK09ArqYcwnXKdFlRKJxPXet0QxoqWXl+xiXt0kLagNRXruKCLxePyOi2JCU7W4okpLLyC3gUVs5GgO8lahR0xpDCAozB1FCECcSJAzqqt8WxZIswNFn5b+e5lNLGYzQ/5Kt+gOdjtEFSj2aaEoEAAvIDGBZRQvpN7Colp1mkNtAKCc7gI4uVk0Clf5ZRQvo3OIxR12aB6rJ9DsEkXEt00FFGM2kAAE2KDssrPcJN7y8vGiSiKeQizRPKrbYBoyUQIerpZRfGfkbTzNtkzzyHShqBCRcKMKAGizQRRAsN/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ta38BSXI+5uadvXCwuRVjBZJkUHoOcCO3HtT2kFD/IidAeKUUETWBSeI0OTPP1dqYUt18tHVdMiv8OUQCC+68faMYefNK27oFAEJkU/yG/Ow0zk+J/5I9N2O4uxbPYmCAiMEoxZ0yKRfD+0g6uUki+MVSAcSmGY1IsgvcXgWHVxz/M45eLWqIUDSMVK8WWuHbD4wvLPakU2xA27vi/QgxHPL4E5ZNKUTYqjSu4QIwZeHax2ieVAsWggKeUbtcRww0vL2sdhsBLTMqQgiq6mFOKogRrjXwhGOeiiDEbjy6AHwaDMiWFQW5OKVDqMA4AmUQaMZbGizWYj7Uy+jvIe9tpETGWSsQHs/FFEGOVEI8FcEc4ZqfqysFvboEzW5s8YqwirdcC2CG8ZuvOrzLlglqNg0m8qhbKiLHyyHuXm41ap9bYvNyTEWMl+AniD7ijwfy7vgAAAABJRU5ErkJggg=="},S4SI:function(t,e){},Soun:function(t,e){},SzOh:function(t,e,i){t.exports=i.p+"static/img/error.bbb738b.png"},TAmI:function(t,e){},Tw9S:function(t,e){},UPly:function(t,e){},UtTM:function(t,e){},Viya:function(t,e){},W9JE:function(t,e){},WCqQ:function(t,e){},Xqdi:function(t,e){},XvQC:function(t,e,i){t.exports=i.p+"static/img/loginText.6ab1479.png"},YyoC:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAMAAAAshD+zAAABa1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8lxHIdvmwbvWoNs14PtF8jwnEQtWEJsFoKsVwMsl0StmIev20Yu2chwW8gwG4nxXQsyXkiwXAuynoWuWYqx3cpxnYwy3wavGkTt2MVuGQyzH0zzX8UuGSP3LRExoTH79uX4bs1zoCa476d5cA/w4BU0pKU3rhd15mf5sJY1JVPzo1HyIZKyomD2a1CzIWi6MQ+yIH7//2A16qm6cfq+vK57NLV9OX0/fiu58pE0Ym/8Ndr2aHP8uCL47Z93q1fzZXh+Owou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1QEYf5qzJ23VykS5r76ckGD7T3/zvYH+7u5fepoEoCsBnYjuJYzsJCU7sxHmnSZuWBHR3iCL+Ao8FqtgCKXSHKv4+C4Nc1Fad8fPan7y58sbHGj9mda4u34Q3Nor4dw6PcI6OSDQ/FO4ht5LZSEurReP6XXj90QWHc+jf/AilcJ+PJGeIp8xI0s9vr6McstTD3d6QBMkGlKZOso5XHy5VoqiHe/tLoSokwNM8UnD8ffPpfXwf6X/f7578cv3jK8kb+JCwoVKaQka7RSVkQI5H5dOxq1tjJtwKF9CZqG51oFHRltXwgatuXadwoea0REWrJlQ5pfnaGVDnnlApdH3E4AkqAX2CWDTib+AgJpO4q1u4o1ofhNoeCYyIM3GOJPoGMbZAMs01sWUiqVOuG3OxQHL9HXFUO0cqZsRPfY+UzImbgYXUTGvEiu4gRRes/qK7E6RqNSA2DB8pmzwnHoSJDJgstkAdF5lwO1Q4w0ZGbIMUlWJJ8lia95ZkhZamYSNjfkNQIQZT5MAaUv5E4CMfWotyNrSQG/sgKEetBXK16lJudjbytuhQLtYrFKCv6ZS5zQpFmZ5RlsTWQpGWXcqKGPdQtIs1ZaH2sg0OrEOdUqabE3DR1IaUntpoD16cZ2fpJDM0Hwz1wnzJktlgq61t6xSTHnhNMNd3zU1LOdhYc1AWPS1Y1yVzbWZLPq9GaW1vHhivTugRreH2xcJl+faQZ/f2S82cNYLdeDQaH4LGbD71Vk4TmfsDBMRocsjtgLIAAAAASUVORK5CYII="},ZbH3:function(t,e){},dvbt:function(t,e){},dyVV:function(t,e){},fz4r:function(t,e){},g3vq:function(t,e,i){t.exports=i.p+"static/img/audit.b7cc370.png"},gQKk:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiBAMAAADIaRbxAAAAJFBMVEUAAABnZ2dmZmZnZ2dnZ2dnZ2dmZmZmZmZpaWltbW1qampmZmYweKfUAAAAC3RSTlMA8+PMsJBwUDMcDILxggIAAABMSURBVCjPYxgIUI4uwKW0AE2EdXcAmkj37h1oIta7N6MKsO3evTsBRWQiUEQSRcQbKLKFgf4A03ZMF2L6AuFTPKGBCDHMUMUMefoDAO0aHTlXUmz3AAAAAElFTkSuQmCC"},gvIv:function(t,e){},hUfp:function(t,e){},iHGK:function(t,e,i){"use strict";var a=i("Dd8w"),s=i.n(a),n=i("pFYg"),o=i.n(n),r=i("JXpH"),l=i.n(r),c={name:"ImgCutter",props:{crossOrigin:{type:Boolean,default:!1,required:!1},crossOriginHeader:{type:String,default:"*",required:!1},label:{type:String,default:"选择图片",required:!1},isModal:{type:Boolean,default:!0,required:!1},lockScroll:{type:Boolean,default:!0,required:!1},showChooseBtn:{type:Boolean,default:!0,required:!1},boxWidth:{type:Number,default:800,required:!1},boxHeight:{type:Number,default:400,required:!1},cutWidth:{type:Number,default:200,required:!1},cutHeight:{type:Number,default:200,required:!1},rate:{type:String,default:null,required:!1},tool:{type:Boolean,default:!0,required:!1},toolBgc:{type:String,default:"#fff",required:!1},sizeChange:{type:Boolean,default:!0,required:!1},originalGraph:{type:Boolean,default:!1,required:!1},moveAble:{type:Boolean,default:!0,required:!1},CuttingOriginal:{type:Boolean,default:!1,required:!1},WatermarkText:{type:String,default:"",required:!1},WatermarkTextFont:{type:String,default:"12px Sans-serif",required:!1},WatermarkTextColor:{type:String,default:"#fff",required:!1},WatermarkTextX:{type:Number,default:.95,required:!1},WatermarkTextY:{type:Number,default:.95,required:!1},smallToUpload:{type:Boolean,default:!1,required:!1},saveCutPosition:{type:Boolean,default:!1,required:!1},scaleAble:{type:Boolean,default:!0,required:!1},DoNotDisplayCopyright:{type:Boolean,default:!1,required:!1}},model:["label","boxWidth","boxHeight","rate","tool","DoNotDisplayCopyright"],data:function(){return{version:"",visible:!1,fileName:"",cutImageObj:null,onPrintImgTimmer:null,toolBoxPosition:{x:0,y:0},drawImg:{img:null,sx:0,sy:0,swidth:0,sheight:0,x:0,y:0,width:0,height:0},toolBox:{disable:!0,width:this.boxWidth/2,height:this.boxHeight/2,x:0,y:0,boxMove:{start:{x:0,y:0},moveTo:{x:0,y:0}}},dropImg:{active:!1,pageX:0,pageY:0,params:{}},rotateImg:{angle:0},rotateControl:{active:!1,start:{x:0,y:0},position:100},scaleImg:{rate:0,params:{}},controlBox:{disable:!0,btnName:"",start:{x:0,y:0,width:0,height:0}},selectBox:!1,selectBoxColor:"rgba(0,0,0,0.6)",isFlipHorizontal:!1,isFlipVertically:!1}},mounted:function(){var t=this;this.version=l.a.version,!1===this.isModal&&(this.visible=!0,this.$nextTick(function(){t.$refs.toolBox.onmousewheel=t.scaleImgWheel,t.$refs.toolBox.addEventListener("DOMMouseScroll",t.scaleImgWheel)}))},methods:{handleOpen:function(t){var e=this,i=this,a=function(t){if(i.$refs.toolBox.onmousewheel=e.scaleImgWheel,i.$refs.toolBox.addEventListener("DOMMouseScroll",e.scaleImgWheel),!0===i.isModal){!0===i.lockScroll&&(document.body.style.overflowY="hidden");var a=i.$refs.dialogMainModalRef.offsetHeight+200,s=window.innerHeight,n=i.$refs.mask;n.style.overflowY=a>s?"scroll":"hidden"}t&&"function"==typeof t&&t()};if(t&&"object"==(void 0===t?"undefined":o()(t))&&t.src){if(!t.name)throw new Error("传入参数必须包含:src,name");var s=new Image;!0===this.crossOrigin&&(s.crossOrigin=this.crossOriginHeader),s.name=t.name,s.style.position="fixed",s.style.top=-5e3,s.style.opacity=0,s.onerror=function(t){console.error("图片加载失败"),i.$emit("error",{event:t,msg:"图片加载失败"}),i.clearCutImageObj()},s.onload=function(){if(!0!==s.complete)throw new Error("图片加载失败");i.visible=!0,i.$nextTick(function(){a(function(){i.importImgToCanv(s)})})},s.src=t.src,this.cutImageObj=s,document.body.appendChild(s),this.$emit("onChooseImg",t)}else i.visible=!0,i.$nextTick(function(){a()})},handleClose:function(){var t=this;this.$emit("closeBox"),this.clearAll(),!0===this.isModal&&(!0===this.lockScroll&&(document.body.style.overflowY="scroll"),this.$nextTick(function(){t.visible=!1}))},chooseImg:function(){this.$refs.inputFile.click()},importImgToCanv:function(t){this.fileName=t.name;var e=t.height,i=t.width,a=this.boxWidth,n=this.boxHeight,o=void 0,r=s()({},this.drawImg);r.img=t,this.scaleImg.rate=i/e,ethis.boxWidth?this.boxWidth:this.cutWidth,this.toolBox.height=this.cutHeight>this.boxHeight?this.boxHeight:this.cutHeight),(0===this.toolBox.x&&0===this.toolBox.y||!1===this.saveCutPosition)&&(this.toolBox.x=this.boxWidth/2-this.toolBox.width/2,this.toolBox.y=this.boxHeight/2-this.toolBox.height/2),this.drawControlBox(this.toolBox.width,this.toolBox.height,this.toolBox.x,this.toolBox.y)},isSupportFileApi:function(){return!!(window.File&&window.FileList&&window.FileReader&&window.Blob&&-1===navigator.userAgent.indexOf("Edge")&&-1===navigator.userAgent.indexOf("MSIE")&&-1===navigator.userAgent.indexOf("Trident"))},dataURLtoFile:function(t,e){for(var i=t.split(","),a=i[0].match(/:(.*?);/)[1],s=atob(i[1]),n=s.length,o=new Uint8Array(n);n--;)o[n]=s.charCodeAt(n);return this.isSupportFileApi()?new File([o],e,{type:a}):"不支持File对象"},clearAll:function(){var t=this.$refs.canvas;t.getContext("2d").clearRect(0,0,t.width,t.height);var e=this.$refs.canvasSelectBox;e.getContext("2d").clearRect(0,0,e.width,e.height);var i=this.drawImg.sx,a=this.drawImg.sy;this.drawImg={img:null,sx:i,sy:a,swidth:0,sheight:0,x:0,y:0,width:0,height:0},this.isFlipHorizontal=!1,this.isFlipVertically=!1,this.$refs.inputFile.value="",this.rotateImg.angle=0,this.drawImg.img=null,this.turnReset(),this.clearCutImageObj(),this.$emit("onClearAll")},clearCutImageObj:function(){null!==this.cutImageObj&&void 0!==this.cutImageObj&&("function"==typeof this.cutImageObj.remove?this.cutImageObj.remove():this.cutImageObj.removeNode()),this.cutImageObj=null},drawControlBox:function(t,e,i,a){var s=this;t>this.boxWidth&&(t=this.boxWidth),e>this.boxHeight&&(e=this.boxHeight),i<0&&(i=0),a<0&&(a=0);var n=this.$refs.toolBoxControl,o=this.$refs.canvasSelectBox,r=o.getContext("2d");r.fillStyle=this.selectBoxColor,r.clearRect(0,0,o.width,o.height),r.fillRect(0,0,o.width,o.height);var l=void 0,c=void 0;if(this.rate&&""!==this.rate){var d=this.rate.split(":")[0]/this.rate.split(":")[1];d>=1?(l=t,c=t/d):(l=e*d,c=e)}else l=t,c=e;this.toolBox.width=l,this.toolBox.height=c,n.style.width=Math.abs(l)+"px",n.style.height=Math.abs(c)+"px",this.toolBox.boxMove.moveTo.x=i,this.toolBox.boxMove.moveTo.y=a,l<0&&(i+=l),c<0&&(a+=c),i+this.toolBox.width>this.boxWidth&&(i=this.boxWidth-this.toolBox.width),i<0&&(i=0),a+this.toolBox.height>this.boxHeight&&(a=this.boxHeight-this.toolBox.height),a<0&&(a=0),this.toolBoxPosition.x=i,this.toolBoxPosition.y=a,n.style.left=i+"px",n.style.top=a+"px",r.clearRect(i,a,Math.abs(l),Math.abs(c)),this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout(function(){s.cropPicture(!0)},100)},resetToolBox:function(){this.toolBox.width<0&&(this.toolBox.boxMove.moveTo.x=this.toolBox.x-this.toolBox.width),this.toolBox.height<0&&(this.toolBox.boxMove.moveTo.y=this.toolBox.y-this.toolBox.height),this.toolBox.width=Math.abs(this.toolBox.width),this.toolBox.height=Math.abs(this.toolBox.height)},toolBoxMouseDown:function(t){var e=this.$refs.toolBoxControl;this.toolBox.x=parseInt(e.style.left.split("px")[0]),this.toolBox.y=parseInt(e.style.top.split("px")[0]),this.toolBox.disable=!1,this.dropImg.active=!1,this.toolBox.boxMove.start={x:t.pageX,y:t.pageY}},toolBoxMouseMove:function(t){if(this.dropImg.active&&this.dropImgMove(t),!1===this.toolBox.disable&&!0===this.moveAble){var e=t.pageX-this.toolBox.boxMove.start.x,i=t.pageY-this.toolBox.boxMove.start.y,a=this.toolBox.x+e,s=this.toolBox.y+i;this.drawControlBox(this.toolBox.width,this.toolBox.height,a,s)}},toolBoxMouseLeave:function(){var t=this;this.toolBox.disable=!0,this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout(function(){t.cropPicture(!0)},100),this.resetToolBox()},toolBoxMouseUp:function(t){this.toolBox.x=parseInt(this.toolBoxPosition.x),this.toolBox.y=parseInt(this.toolBoxPosition.y),this.toolBox.disable=!0,this.dropImg.active=!1,this.resetToolBox()},printImg:function(){var t=this;if(this.drawImg.img){var e=this.$refs.canvas,i=e.getContext("2d");i.font="18px bold 黑体",i.fillStyle="#ff0",i.textAlign="center",i.textBaseline="middle",i.save(),i.clearRect(0,0,e.width,e.height),i.translate(this.drawImg.x+this.drawImg.width/2,this.drawImg.y+this.drawImg.height/2),i.rotate(this.rotateImg.angle*Math.PI/180),i.translate(-(this.drawImg.x+this.drawImg.width/2),-(this.drawImg.y+this.drawImg.height/2)),i.translate(this.drawImg.x,this.drawImg.y),i.scale(this.isFlipHorizontal?-1:1,this.isFlipVertically?-1:1),i.drawImage(this.drawImg.img,this.drawImg.sx,this.drawImg.sy,this.drawImg.swidth,this.drawImg.sheight,this.isFlipHorizontal?-this.drawImg.width:0,this.isFlipVertically?-this.drawImg.height:0,this.drawImg.width,this.drawImg.height),i.translate(-this.drawImg.x,this.drawImg.y),i.restore(),this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout(function(){t.cropPicture(!0)},100)}},dropImgOn:function(t){this.dropImg.active=!0,this.dropImg.params=s()({},this.drawImg),this.dropImg.pageX=t.pageX,this.dropImg.pageY=t.pageY},dropImgOff:function(){var t=this;this.dropImg.active=!1,this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout(function(){t.cropPicture(!0)},100)},dropImgMove:function(t){if(this.dropImg.active&&this.drawImg.img){var e=s()({},this.drawImg);e.x=this.dropImg.params.x-(this.dropImg.pageX-t.pageX),e.y=this.dropImg.params.y-(this.dropImg.pageY-t.pageY),this.$set(this,"drawImg",e),this.printImg(),t.stopPropagation()}},scaleReset:function(){this.drawImg.width=this.drawImg.swidth,this.drawImg.height=this.drawImg.sheight,this.printImg()},scaleImgWheel:function(t){var e=this;if(this.drawImg.img&&!0===this.scaleAble){var i=void 0,a=t||window.event;a.wheelDelta?i=-a.wheelDelta/40:a.detail&&(i=a.detail);this.drawImg.x=this.drawImg.width-9*i>50?this.drawImg.x+3*i:this.drawImg.x,this.drawImg.y=this.drawImg.width-9*i>50?this.drawImg.y+3*i:this.drawImg.y,this.drawImg.width=this.drawImg.width-9*i>50?this.drawImg.width-9*i:50,this.drawImg.height=this.drawImg.width/this.scaleImg.rate,this.printImg(),this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout(function(){e.cropPicture(!0)},100)}return t.preventDefault(),t.returnValue=!1,!1},flipHorizontal:function(){this.drawImg.img&&(0==this.isFlipHorizontal?this.isFlipHorizontal=!0:this.isFlipHorizontal=!1,this.printImg())},flipVertically:function(){this.drawImg.img&&(0==this.isFlipVertically?this.isFlipVertically=!0:this.isFlipVertically=!1,this.printImg())},turnImg:function(t){var e=this.rotateImg.angle+t;e>=-180&&e<=180&&(this.rotateImg.angle=e,this.rotateControl.position=e/180*100+100,this.printImg("rotate"))},turnReset:function(){this.rotateImg.angle=0,this.rotateControl.position=100,this.printImg("rotate")},controlBtnMouseDown:function(t,e){this.controlBox.disable=!1,this.controlBox.btnName=e,this.controlBox.start.x=t.clientX,this.controlBox.start.y=t.clientY,this.controlBox.start.width=this.toolBox.width,this.controlBox.start.height=this.toolBox.height,t.stopPropagation()},controlBtnMouseUp:function(t){this.controlBox.disable=!0,this.dropImgOff(),this.resetToolBox(),this.toolBoxMouseUp(),t.stopPropagation()},controlBtnMouseMove:function(t){if(!1===this.controlBox.disable){var e=t.clientX-this.controlBox.start.x,i=t.clientY-this.controlBox.start.y,a=void 0,s=void 0;"leftUp"==this.controlBox.btnName&&(a=this.toolBox.x+e,s=this.toolBox.y+i,this.toolBox.width=this.controlBox.start.width-e,this.toolBox.height=this.controlBox.start.height-i),"rightUp"==this.controlBox.btnName&&(a=this.toolBox.x,s=this.toolBox.y+i,this.toolBox.width=this.controlBox.start.width+e,this.toolBox.height=this.controlBox.start.height-i),"rightDown"==this.controlBox.btnName&&(a=this.toolBox.x,s=this.toolBox.y,this.toolBox.width=this.controlBox.start.width+e,this.toolBox.height=this.controlBox.start.height+i),"leftDown"==this.controlBox.btnName&&(a=this.toolBox.x+e,s=this.toolBox.y,this.toolBox.width=this.controlBox.start.width-e,this.toolBox.height=this.controlBox.start.height+i),"topCenter"==this.controlBox.btnName&&(a=this.toolBox.x,s=this.toolBox.y+i,this.toolBox.width=this.controlBox.start.width,this.toolBox.height=this.controlBox.start.height-i),"downCenter"==this.controlBox.btnName&&(a=this.toolBox.x,s=this.toolBox.y,this.toolBox.width=this.controlBox.start.width,this.toolBox.height=this.controlBox.start.height+i),"leftCenter"==this.controlBox.btnName&&(a=this.toolBox.x+e,s=this.toolBox.y,this.toolBox.width=this.controlBox.start.width-e,this.toolBox.height=this.controlBox.start.height),"rightCenter"==this.controlBox.btnName&&(a=this.toolBox.x,s=this.toolBox.y,this.toolBox.width=this.controlBox.start.width+e,this.toolBox.height=this.controlBox.start.height),this.drawControlBox(this.toolBox.width,this.toolBox.height,a,s)}t.stopPropagation()},cropPicture:function(t){var e=this;if(this.drawImg.img){var i=this.$refs.canvas;if(this.WatermarkText&&!t){var a=i.getContext("2d");a.font=this.WatermarkTextFont,a.fillStyle=this.WatermarkTextColor,a.textAlign="right",a.textBaseline="bottom",a.fillText(this.WatermarkText,this.toolBox.x+this.toolBox.width*this.WatermarkTextX,this.toolBox.y+this.toolBox.height*this.WatermarkTextY)}var s=new Image;!0===this.crossOrigin&&(s.crossOrigin=this.crossOriginHeader),s.src=i.toDataURL(),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(t,e,a){window.atob?setTimeout(function(){for(var s=atob(i.toDataURL(e,a).split(",")[1]),n=s.length,o=new Uint8Array(n),r=0;r=e.rate.split(":")[1]?o.drawImage(s,m.x,m.y,m.width,m.width*v,0,0,m.width,m.width*v):o.drawImage(s,m.x,m.y,m.width,m.width/v,0,0,m.width,m.width/v)}else o.drawImage(s,m.x,m.y,m.width,m.height,0,0,m.width,m.height)}n.toBlob(function(i){t?e.$emit("onPrintImg",{fileName:e.fileName,blob:i,file:e.dataURLtoFile(n.toDataURL(),e.fileName),dataURL:n.toDataURL()}):(e.handleClose(),e.$emit("cutDown",{fileName:e.fileName,blob:i,file:e.dataURLtoFile(n.toDataURL(),e.fileName),dataURL:n.toDataURL()}))},"image/jpeg",.95)}},200)}}else{var n=document.createElement("canvas");n.width=e.toolBox.width,n.height=e.toolBox.height;var o=n.getContext("2d"),r=e.toolBox;if(e.rate){var l=e.rate.split(":")[0]/e.rate.split(":")[1];o.drawImage(s,r.x,r.y,r.width,r.width*l,0,0,r.width,r.width*l)}else o.drawImage(s,r.x,r.y,r.width,r.height,0,0,r.width,r.height);t?e.$emit("onPrintImg",{fileName:e.fileName,dataURL:n.toDataURL()}):(e.handleClose(),e.$emit("cutDown",{fileName:e.fileName,dataURL:n.toDataURL()}))}})}else t||(console.warn("No picture selected"),e.$emit("error",{err:1,msg:"No picture selected"}))},scrollBarControlMove:function(t){if(this.rotateControl.active){var e=t.pageX-this.rotateControl.start.x,i=this.rotateControl.start.position+e;i<=0&&(i=0),i>=200&&(i=200),this.rotateControl.position=i,this.rotateImg.angle=(i-100)/100*180,this.printImg()}},scrollBarControlOn:function(t){this.rotateControl.active=!0,this.rotateControl.start.x=t.pageX,this.rotateControl.start.y=t.pageY,this.rotateControl.start.position=this.rotateControl.position},scrollBarControlOff:function(){this.rotateControl.active=!1}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[!0===t.showChooseBtn&&!0===t.isModal?i("div",{on:{click:t.handleOpen}},[t._t("openImgCutter"),t._v(" "),t._t("open")],2):t._e(),t._v(" "),t.$slots.openImgCutter||t.$slots.open||!0!==t.isModal?t._e():i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.handleOpen}},[t._v(t._s(t.label))]),t._v(" "),i("transition",{attrs:{name:"fade"}},[t.visible?i("div",{ref:"mask",class:!0===t.isModal?"mask vue-img-cutter":""},[t.visible?i("div",{class:!0===t.isModal?"dialogBoxModal":"dialogBox"},[i("transition",{attrs:{name:"fade","enter-class":"fade-in-enter","enter-active-class":"fade-in-active","leave-class":"fade-out-enter","leave-active-class":"fade-out-active"}},[i("div",{ref:"dialogMainModalRef",class:!0===t.isModal?"dialogMainModal":"dialogMain",style:"width:"+(!0===t.isModal?t.boxWidth+32:t.boxWidth)+"px"},[i("div",{staticClass:"toolMain"},[!0===t.isModal?i("div",{staticClass:"tool-title"},[t._v("\n 图片裁剪\n "),i("span",{staticClass:"closeIcon",on:{click:t.handleClose}},[t._v("×")])]):t._e(),t._v(" "),i("div",{ref:"toolBox",staticClass:"toolBox",style:"height:"+t.boxHeight+"px;width:"+t.boxWidth+"px",on:{mousemove:t.controlBtnMouseMove,mouseup:t.controlBtnMouseUp,mouseleave:t.controlBtnMouseUp}},[i("div",{directives:[{name:"show",rawName:"v-show",value:!t.drawImg.img&&!0===t.showChooseBtn,expression:"!drawImg.img && showChooseBtn===true"}],staticClass:"tips"},[i("div",{staticClass:"btn btn-warning btn-xs",on:{click:t.chooseImg}},[t._v(t._s(t.label))])]),t._v(" "),1==t.tool?i("div",{directives:[{name:"show",rawName:"v-show",value:this.drawImg.img&&!0!==t.dropImg.active&&1==t.controlBox.disable&&1==t.toolBox.disable,expression:"this.drawImg.img && dropImg.active!==true && controlBox.disable==true && toolBox.disable==true"}],staticClass:"dockMain",style:"background:"+this.toolBgc,on:{mouseenter:t.dropImgOff}},[t.rate?i("div",{staticClass:"dockBtn"},[t._t("ratio",[t._v("\n Ratio:\n ")]),t._v("\n "+t._s(t.rate)+"\n ")],2):t._e(),t._v(" "),i("div",{staticClass:"dockBtn",on:{click:t.scaleReset}},[t._t("scaleReset",[t._v("\n Scale:\n ")]),t._v("\n "+t._s(t.drawImg.swidth>0?(t.drawImg.width/t.drawImg.swidth).toFixed(2):"-")+"\n ")],2),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"dockBtn",on:{click:function(e){return t.turnImg(-90)}}},[t._t("turnLeft",[t._v("\n ↳\n ")])],2):t._e(),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"dockBtn",on:{click:function(e){return t.turnImg(90)}}},[t._t("turnRight",[t._v("\n ↲\n ")])],2):t._e(),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"dockBtn",on:{click:function(e){return t.turnReset()}}},[t._t("reset",[t._v("\n ↻\n ")])],2):t._e(),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"dockBtnScrollBar"},[i("div",{ref:"dockBtnScrollControl",staticClass:"scrollBarControl",style:"left:"+t.rotateControl.position+"px",on:{mousemove:t.scrollBarControlMove,mousedown:t.scrollBarControlOn,mouseleave:t.scrollBarControlOff,mouseup:t.scrollBarControlOff}}),t._v(" "),1==t.rotateControl.active?i("div",{staticClass:"scrollBarText",style:"left:"+t.rotateControl.position+"px"},[t._v("\n "+t._s(t.rotateImg.angle.toFixed(0)+"°")+"\n ")]):t._e()]):t._e(),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"dockBtn",on:{click:t.flipHorizontal}},[t._t("flipHorizontal",[t._v("\n ⇆\n ")])],2):t._e(),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"dockBtn",on:{click:t.flipVertically}},[t._t("turnRight",[t._v("\n ⇅\n ")])],2):t._e()]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:null!=t.drawImg.img,expression:"drawImg.img!=null"}],ref:"toolBoxControl",staticClass:"toolBoxControl",on:{mousedown:t.toolBoxMouseDown,mouseup:t.toolBoxMouseUp,mousemove:t.toolBoxMouseMove,mouseleave:t.toolBoxMouseLeave}},[i("div",{staticClass:"toolBoxControlBox"},[i("div",{staticClass:"controlBox"},[i("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineTop"}),t._v(" "),i("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineBottom"}),t._v(" "),i("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineLeft"}),t._v(" "),i("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineRight"}),t._v(" "),!1===t.originalGraph?i("div",{staticClass:"selectArea"},[t._v("\n 宽:"+t._s(t.toolBox.width)+" 高:"+t._s(t.toolBox.height)+"\n (x:"+t._s(t.toolBoxPosition.x)+",y:"+t._s(t.toolBoxPosition.y)+")\n ")]):t._e(),t._v(" "),!0===t.originalGraph?i("div",{staticClass:"selectArea"},[t._v("\n 宽:"+t._s((t.toolBox.width/(t.drawImg.width/t.drawImg.swidth)).toFixed(0))+" 高:"+t._s((t.toolBox.height/(t.drawImg.width/t.drawImg.swidth)).toFixed(0))+"\n (x:"+t._s(t.toolBoxPosition.x)+",y:"+t._s(t.toolBoxPosition.y)+")\n ")]):t._e(),t._v(" "),!0===t.sizeChange?i("div",{staticClass:"leftUp controlBtn",attrs:{"data-name":"leftUp"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"leftUp")}}}):t._e(),t._v(" "),!0===t.sizeChange?i("div",{staticClass:"leftDown controlBtn",attrs:{"data-name":"leftDown"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"leftDown")}}}):t._e(),t._v(" "),!0===t.sizeChange?i("div",{staticClass:"rightUp controlBtn",attrs:{"data-name":"rightUp"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"rightUp")}}}):t._e(),t._v(" "),!0===t.sizeChange?i("div",{staticClass:"rightDown controlBtn",attrs:{"data-name":"rightDown"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"rightDown")}}}):t._e(),t._v(" "),!0===t.sizeChange&&!t.rate&&this.toolBox.width>20?i("div",{staticClass:"topCenter controlBtn",attrs:{"data-name":"topCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"topCenter")}}}):t._e(),t._v(" "),!0===t.sizeChange&&!t.rate&&this.toolBox.width>20?i("div",{staticClass:"downCenter controlBtn",attrs:{"data-name":"downCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"downCenter")}}}):t._e(),t._v(" "),!0===t.sizeChange&&!t.rate&&this.toolBox.height>20?i("div",{staticClass:"leftCenter controlBtn",attrs:{"data-name":"leftCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"leftCenter")}}}):t._e(),t._v(" "),!0===t.sizeChange&&!t.rate&&this.toolBox.height>20?i("div",{staticClass:"rightCenter controlBtn",attrs:{"data-name":"rightCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"rightCenter")}}}):t._e()]),t._v(" "),i("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-1"}),t._v(" "),i("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-2"}),t._v(" "),i("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-3"}),t._v(" "),i("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-4"})])]),t._v(" "),i("div",{staticClass:"copyright"},[t.DoNotDisplayCopyright?t._e():i("a",{attrs:{target:"_blank",href:"https://github.com/acccccccb/vue-img-cutter",rel:"nofollow"}},[t._v("vue-img-cutter "+t._s(t.version))])]),t._v(" "),i("canvas",{ref:"canvasSelectBox",staticClass:"canvasSelectBox",attrs:{width:t.boxWidth,height:t.boxHeight},on:{mousedown:t.dropImgOn,mouseup:t.dropImgOff,mousemove:t.dropImgMove}}),t._v(" "),i("canvas",{ref:"canvas",staticClass:"canvas",attrs:{width:t.boxWidth,height:t.boxHeight}})])]),t._v(" "),i("div",{staticClass:"i-dialog-footer"},[i("input",{ref:"inputFile",staticStyle:{width:"1px",height:"1px",border:"none",opacity:"0"},attrs:{type:"file",accept:"image/gif, image/jpeg ,image/png"},on:{change:t.putImgToCanv}}),t._v(" "),i("span",{on:{click:t.chooseImg}},[t._t("choose",[!0===t.showChooseBtn?i("div",{staticClass:"btn btn-primary btn-primary-plain"},[t._v(t._s(t.label))]):t._e()])],2),t._v(" "),i("div",{staticClass:"btn-group fr"},[i("span",{on:{click:t.handleClose}},[t._t("cancel",[i("button",{staticClass:"btn btn-default",attrs:{type:"button"}},[t._v("取消")])])],2),t._v(" "),i("span",{on:{click:function(e){return t.cropPicture(!1)}}},[t._t("confirm",[i("button",{staticClass:"btn btn-primary",staticStyle:{"margin-left":"15px"},attrs:{type:"button",disabled:!t.drawImg.img}},[t._v("确定")])])],2)])])])]),t._v(" "),i("div",{staticStyle:{clear:"both"}})],1):t._e()]):t._e()])],1)},staticRenderFns:[]};var p=i("VU/8")(c,d,!1,function(t){i("ZbH3")},"data-v-65b98701",null);e.a=p.exports},ioSu:function(t,e){},pNWR:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAR9JREFUOBFjYMAPuoDST9FwGT4tLPgkgXKCQCyFpoYfjY/CZULhYXL+YQoxYBODKyNkIFwhsQy6G/gHi8t+YxGDCyFHiiFQ1AyIfwAxyKC/QKwKxOjAAiiQAcSMUAk2IL0XiK9A+XBKGsg6BcT/ScSHgOrFgBgrEAWKHgNiYg0FGQZKWniBJFD2DBATMvQ0UI04XpOQJGWB7ItAjMvQy0A5kBqSgBJQ9XUgRjf0NlAMW2QRZbg6UNUdJEMfAdm6ROnEo0gHKPcEiN8CsSkedSRJmQBV2xCjA5Q424AYFLPdQHwNiMkBoMSeDsQPQDklEogVgBiU0rmAmBzgA9SUAMRXQZpBrkKPSXL5Z5iAhrGDTKUSYAN5eR8Qg5IGNcBtAF/MYo6lSvx6AAAAAElFTkSuQmCC"},tvR6:function(t,e){},urTc:function(t,e,i){t.exports=i.p+"static/img/wxIcon.922f509.png"},uuSr:function(t,e){},vLY0:function(t,e){},x2I8:function(t,e){},yFv1:function(t,e){},yWAu:function(t,e){},ynuQ:function(t,e){},z3Om:function(t,e,i){t.exports=i.p+"static/img/nullTable.45978e9.png"}},["NHnr"]);