(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26c1f276","chunk-802b7894","chunk-3ed8f654","chunk-15ee3ff2"],{1:function(e,t){},"10bb":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const s={searchMenuSpan:0,columnBtn:!1,border:!1,selection:!1,index:!1,indexLabel:"序号",stripe:!1,menuAlign:"center",menuWidth:180,align:"center",refreshBtn:!1,searchSize:"mini",addBtn:!1,editBtn:!1,delBtn:!1,viewBtn:!1,menu:!1,props:{label:"label",value:"value"},column:[{label:"层级",prop:"userLevel"},{label:"用户名",prop:"userName"},{label:"UID",prop:"uid"},{label:"账户类型",prop:"accountType",type:"select",dicData:[{label:"账号",value:""},{label:"正式账号",value:"MEMBER"},{label:"演示账号",value:"GUEST"},{label:"试用账号",value:"TEST"}]},{label:"基础认证",prop:"realNameAuthority",type:"select",dicData:[{label:"已验证",value:!0},{label:"未验证",value:!1}]}]}},"20ca":function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const s=(e,t)=>{let a,s=t||300;return function(){let t=arguments;a&&clearTimeout(a);let r=!a;a=setTimeout(()=>{a=null},s),r&&e.apply(this,t)}}},2511:function(e,t,a){},"464e":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:e.dataForm.id?"修改":"新增","close-on-click-modal":!1,visible:e.visible},on:{"update:visible":function(t){e.visible=t}}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,rules:e.dataRule,"label-width":"80px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:"角色名称",prop:"roleName"}},[a("el-input",{attrs:{placeholder:"角色名称"},model:{value:e.dataForm.roleName,callback:function(t){e.$set(e.dataForm,"roleName",t)},expression:"dataForm.roleName"}})],1),a("el-form-item",{attrs:{label:"备注",prop:"remark"}},[a("el-input",{attrs:{placeholder:"备注"},model:{value:e.dataForm.remark,callback:function(t){e.$set(e.dataForm,"remark",t)},expression:"dataForm.remark"}})],1),a("el-form-item",{attrs:{size:"mini",label:"授权"}},[a("el-tree",{ref:"menuListTree",attrs:{data:e.menuList,props:e.menuListTreeProps,"node-key":"menuId","show-checkbox":""}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.dataFormSubmit()}}},[e._v("确定")])],1)],1)},r=[],i=a("ed08"),o=a("20ca"),l={data(){return{visible:!1,menuList:[],menuListTreeProps:{label:"name",children:"children"},dataForm:{id:0,roleName:"",remark:""},dataRule:{roleName:[{required:!0,message:"角色名称不能为空",trigger:"blur"},{pattern:/\s\S+|S+\s|\S/,message:"请输入正确的角色名称",trigger:"blur"}],remark:[{required:!1,pattern:/\s\S+|S+\s|\S/,message:"输入格式有误",trigger:"blur"}]},tempKey:-666666}},methods:{init(e){this.dataForm.id=e||0,this.$http({url:this.$http.adornUrl("/sys/menu/table"),method:"get",params:this.$http.adornParams()}).then(({data:e})=>{this.menuList=Object(i["e"])(e,"menuId","parentId")}).then(()=>{this.visible=!0,this.$nextTick(()=>{this.$refs["dataForm"].resetFields(),this.$refs.menuListTree.setCheckedKeys([])})}).then(()=>{this.dataForm.id&&this.$http({url:this.$http.adornUrl("/sys/role/info/"+this.dataForm.id),method:"get",params:this.$http.adornParams()}).then(({data:e})=>{this.dataForm.roleName=e.roleName,this.dataForm.remark=e.remark;var t=e.menuIdList.indexOf(this.tempKey);-1!==t&&e.menuIdList.splice(t,e.menuIdList.length-t),this.$refs.menuListTree.setCheckedKeys(e.menuIdList)})})},dataFormSubmit:Object(o["a"])((function(){this.$refs["dataForm"].validate(e=>{e&&this.$http({url:this.$http.adornUrl("/sys/role"),method:this.dataForm.id?"put":"post",data:this.$http.adornData({roleId:this.dataForm.id||void 0,roleName:this.dataForm.roleName,remark:this.dataForm.remark,menuIdList:[].concat(this.$refs.menuListTree.getCheckedKeys(),[this.tempKey],this.$refs.menuListTree.getHalfCheckedKeys())})}).then(({data:e})=>{this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.visible=!1,this.$emit("refreshDataList")}})})})}))}},n=l,d=a("2877"),c=Object(d["a"])(n,s,r,!1,null,null,null);t["default"]=c.exports},"55b20":function(e,t,a){},6020:function(e,t,a){"use strict";a("99b8")},"90c5":function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var s=a("3452"),r=a.n(s);const i="-mall4j-password";function o(e){const t=Date.now(),a=r.a.enc.Utf8.parse(i),s=r.a.enc.Utf8.parse(t+e),o=r.a.AES.encrypt(s,a,{mode:r.a.mode.ECB,padding:r.a.pad.Pkcs7});return o.toString()}},"99b8":function(e,t,a){},bc53:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mod-role"},[a("avue-crud",{ref:"crud",attrs:{page:e.page,data:e.dataList,option:e.tableOption,"cell-class-name":e.addClasscolor},on:{"update:page":function(t){e.page=t},"search-change":e.searchChange,"selection-change":e.selectionChange,"on-load":e.getDataList},scopedSlots:e._u([{key:"nth",fn:function(t){return[a("span",{staticClass:"seachButton",on:{click:function(a){return e.searchBtn(t.row)}}},[e._v("点击查看")])]}},{key:"user_name",fn:function(t){return[a("span",{staticClass:"seachButton",on:{click:function(a){return e.searchName(t.row)}}},[e._v(e._s(t.row.user_name))])]}},{key:"menu",fn:function(t){return[e.isAuth("sys:role:update")&&1*t.row.state==0?a("el-button",{attrs:{type:"primary",icon:"el-icon-edit",size:"small"},on:{click:function(a){return a.stopPropagation(),e.deleteHandle(t.row.order_no)}}},[e._v("处理")]):e._e()]}}])}),e.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:e.getDataList}}):e._e(),e.appealmoremsgVisible?a("appealmoremsg",{ref:"moremsgUpdate",on:{refreshDataList:e.getDataList}}):e._e(),e.parametersFlag?a("parameters",{ref:"parameters"}):e._e()],1)},r=[];const i={searchMenuSpan:6,columnBtn:!1,border:!0,selection:!1,index:!1,indexLabel:"序号",stripe:!0,menuAlign:"center",searchSpan:7,searchLabelWidth:190,searchMenuSpan:11,menuWidth:150,align:"center",refreshBtn:!0,searchSize:"mini",addBtn:!1,editBtn:!1,delBtn:!1,viewBtn:!1,menu:!0,props:{label:"label",value:"value"},column:[{label:"用户名、用户UID",prop:"userCode",search:!0,hide:!0},{label:"用户名",prop:"user_name",slot:!0},{label:"用户UID",prop:"user_code",search:!1},{label:"账户类型",prop:"role_name",search:!0,type:"select",dicData:[{label:"所有账号",value:""},{label:"正式账号",value:"MEMBER"},{label:"演示账号",value:"GUEST"},{label:"试用账号",value:"TEST"}]},{label:"承兑商类型",prop:"c2c_user_type",type:"select",search:!0,dicData:[{label:"所有承兑商类型",value:""},{label:"后台承兑商",value:1},{label:"用户承兑商",value:2}]},{label:"承兑商昵称、承兑商UID",prop:"c2cUserCode",search:!0,hide:!0},{label:"承兑商用户名、用户UID",prop:"c2cUserPartyCode",search:!0,hide:!0},{label:"订单号",prop:"orderNo",search:!0,hide:!0},{label:"承兑商UID",prop:"c2c_user_code"},{label:"承兑商用户名",prop:"c2c_user_party_name"},{label:"关联订单号",prop:"order_no"},{label:"申诉详情",prop:"nth",slot:!0},{label:"申诉状态",prop:"state",type:"select",search:!0,dicData:[{label:"全部",value:""},{label:"已提交",value:"0"},{label:"已处理",value:"1"}]},{label:"创建时间",prop:"create_time"},{label:"更新时间",prop:"update_time"}]};var o=a("464e"),l=a("f20b"),n=a("fc76"),d={data(){return{dataForm:{},dataList:[],dataListLoading:!1,appealmoremsgVisible:!1,parametersFlag:!1,dataListSelections:[],addOrUpdateVisible:!1,tableOption:i,page:{total:0,currentPage:1,pageSize:10}}},components:{AddOrUpdate:o["default"],appealmoremsg:n["default"],parameters:l["default"]},methods:{getDataList(e,t,a){this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("/c2cAppeal/list"),method:"post",data:this.$http.adornData(Object.assign({current:null==e?this.page.currentPage:e.currentPage,size:null==e?this.page.pageSize:e.pageSize},t))}).then(({data:e})=>{this.dataList=e.data.records,this.page.total=e.data.total,this.dataListLoading=!1,a&&a()})},addClasscolor({column:e,row:t}){return"role_name"===e.property&&"MEMBER"==t.role_name||"state"===e.property&&1*t.state==1?"green":"role_name"===e.property&&"GUEST"==t.role_name||"state"===e.property&&1*t.state==0?"yellow":""},searchChange(e,t){this.getDataList(this.page,e,t)},selectionChange(e){this.dataListSelections=e},addOrUpdateHandle(e){this.addOrUpdateVisible=!0,this.$nextTick(()=>{this.$refs.addOrUpdate.init(e)})},searchBtn(e){this.appealmoremsgVisible=!0,this.$nextTick(()=>{this.$refs.moremsgUpdate.init(e)})},searchName(e){this.parametersFlag=!0,this.$nextTick(()=>{this.$refs.parameters.init(e)})},deleteHandle(e){this.$confirm("是否确认[审核通过]操作?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.$http({url:this.$http.adornUrl("/c2cAppeal/handled"),method:"post",data:this.$http.adornData({orderNo:e})}).then(({data:e})=>{0==e.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.getDataList()}}):this.$message({message:e.msg,type:"error",duration:1500,onClose:()=>{}})})}).catch(()=>{})}}},c=d,p=a("2877"),u=Object(p["a"])(c,s,r,!1,null,null,null);t["default"]=u.exports},bd69:function(e,t,a){"use strict";a("55b20")},e02b:function(e,t,a){"use strict";a("2511")},f20b:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{title:"推荐网络","close-on-click-modal":!1,visible:e.visible,width:"1200px"},on:{"update:visible":function(t){e.visible=t},close:e.handClose}},[a("div",{staticClass:"mod-subscribe-general"},[a("avue-crud",{ref:"crud",attrs:{page:e.page,data:e.dataList,option:e.tableOption_1,"cell-class-name":e.addClasscolor},on:{"update:page":function(t){e.page=t},"search-change":e.searchChange,"selection-change":e.selectionChange}})],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("关闭")])],1)])},r=[],i=a("10bb"),o=a("20ca"),l={data(){return{stock:"",visible:!1,dialogFormVisible:!0,paramsDelet:!1,parameters:!1,formLabelWidth:"120px",type:"",menuList:[],options:[],menuListTreeProps:{label:"name",children:"children"},options:[],optionsTwo:[{label:"机器人刷单",value:1},{label:"第三方数据采集",value:2}],row:"",dataForm:{symbol:""},dataRule:{},tableOption_1:i["a"],page:{total:0,currentPage:1,pageSize:10},dataList:[],data:{}}},created(){},components:{},methods:{init(e){this.data={...e},this.userInfo(),this.visible=!0},handClose(){this.tableOption={}},addClasscolor({column:e,row:t}){return"accountType"===e.property&&"MEMBER"==t.accountType?"green":"accountType"===e.property&&"GUEST"==t.accountType?"yellow":""},changeVal(e){this.$forceUpdate()},dataFormSubmit:Object(o["a"])((function(){})),searchChange(e,t){this.getDataList(this.page,e,t)},userInfo(e){this.dataListLoading=!0;let t=this.data.user_code||this.data.usercode;this.$http({url:this.$http.adornUrl("/user/"+t),method:"get",params:this.$http.adornParams(!1)}).then(({data:t})=>{0==t.code?this.dataList=t.data:this.$message({type:"info",message:t,msg:msg}),e&&e()})},selectionChange(e){this.dataListSelections=e},handleAvatarSuccess(e,t){this.dataForm.imageUrl=URL.createObjectURL(t.raw),this.dataForm.imgUrl=e.data.path,console.log(this.dataForm.imageUrl)},beforeAvatarUpload(e){const t=e.size/1024/1024<10;return t||this.$message.error("上传图片大小不能超过 10MB!"),t},getDataList(e,t,a){this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("/normal/adminContractManageAction!/listPara.action"),method:"get",params:this.$http.adornParams(Object.assign({symbol:this.dataForm.symbol,current:null==e?this.page.currentPage:e.currentPage,size:null==e?this.page.pageSize:e.pageSize},t))}).then(({data:e})=>{0==e.code?(console.log("data => "+e),this.dataList=e.data.records,this.page.total=e.data.total):this.$message({message:e.msg,type:"error",duration:1e3,onClose:()=>{}}),this.dataListLoading=!1,a&&a()})},addOrUpdateHandle(e,t){this.parameters=!0,this.$nextTick(()=>{this.$refs.parameters.init(e,t)})},deleteHandle(e){this.paramsDelet=!0,this.$nextTick(()=>{this.$refs.paramsDelet.init(e)})},Add(e){this.$prompt("输入杠杆倍数","新增杠杆",{confirmButtonText:"确定",cancelButtonText:"取消"}).then(({value:t})=>{this.$http({url:this.$http.adornUrl("/normal/adminItemLeverageAction!/add.action"),method:"post",data:this.$http.adornData(Object.assign({lever_rate:t}))}).then(({data:e})=>{0==e.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.getDataList()}}):this.$message({message:e.msg,type:"error",duration:1500,onClose:()=>{}})}),e&&e()}).catch(e=>{console.log("error = "+e),this.$message({type:"info",message:"取消输入"})})}}},n=l,d=(a("bd69"),a("6020"),a("2877")),c=Object(d["a"])(n,s,r,!1,null,"3b1cfe50",null);t["default"]=c.exports},fc76:function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{staticClass:"transport-dialog",attrs:{title:"详细信息","close-on-click-modal":!1,visible:e.visible,width:"800px"},on:{"update:visible":function(t){e.visible=t},close:e.handClose}},[a("el-form",{ref:"dataForm",attrs:{model:e.dataForm,rules:e.dataRule,"label-width":"140px"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:"申述理由",prop:""}},[a("el-input",{attrs:{disabled:"",placeholder:"申述理由"},model:{value:e.dataForm.reason,callback:function(t){e.$set(e.dataForm,"reason",t)},expression:"dataForm.reason"}})],1),a("el-form-item",{attrs:{label:"申诉描述",prop:""}},[a("el-input",{attrs:{disabled:"",placeholder:"申诉描述"},model:{value:e.dataForm.description,callback:function(t){e.$set(e.dataForm,"description",t)},expression:"dataForm.description"}})],1),a("el-form-item",{attrs:{label:"申诉凭证",prop:""}},[a("img",{attrs:{src:e.dataForm.img,alt:"",width:"200",height:"200"}})]),a("el-form-item",{attrs:{label:"联系人",prop:""}},[a("el-input",{attrs:{disabled:"",placeholder:"联系人"},model:{value:e.dataForm.name,callback:function(t){e.$set(e.dataForm,"name",t)},expression:"dataForm.name"}})],1),a("el-form-item",{attrs:{label:"联系电话",prop:""}},[a("el-input",{attrs:{disabled:"",placeholder:"联系电话"},model:{value:e.dataForm.phone,callback:function(t){e.$set(e.dataForm,"phone",t)},expression:"dataForm.phone"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.visible=!1}}},[e._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.visible=!1}}},[e._v("确定")])],1)],1)},r=[],i=a("20ca"),o=a("90c5"),l={data(){return{hasFreeCondition:0,visible:!1,addOrUpdateVisible:!1,dataForm:{id:""},page:{total:0,currentPage:1,pageSize:10},dataRule:{login_safeword:[{required:!0,message:"资金密码不能为空",trigger:"blur"}]}}},methods:{init(e){console.log(e),this.dataForm=e,this.visible=!0,this.$nextTick(()=>{})},handClose(){this.$data.dataForm=JSON.parse(JSON.stringify(this.$options.data().dataForm)),this.$nextTick(()=>{this.$refs["dataForm"].clearValidate()})},dataFormSubmit:Object(i["a"])((function(){this.$refs["dataForm"].validate(e=>{if(e){const e=new FormData,t={...this.dataForm};for(let a in t)"login_safeword"==a&&(console.log(t[a]),t[a]=Object(o["a"])(t[a])),e.append(a,t[a]);this.$http({url:this.$http.adornUrl("/c2cAdvert/backAllDeposit"),method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}}).then(e=>{0==e.data.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.visible=!1,this.$emit("refreshDataList")}}):this.$message({message:e.data.msg,type:"error",duration:1500,onClose:()=>{}})}).catch(e=>{})}})}))}},n=l,d=(a("e02b"),a("2877")),c=Object(d["a"])(n,s,r,!1,null,"ad70586e",null);t["default"]=c.exports}}]);
|