(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8dcb7e44","chunk-5eba0e5e","chunk-06665366"],{"0e5c":function(t,e,a){},1275:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"请输入驳回原因","close-on-click-modal":!1,visible:t.visible},on:{"update:visible":function(e){t.visible=e}}},[a("el-form",{ref:"dataForm",attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"0px"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("el-form-item",{attrs:{label:""}},[a("el-input",{attrs:{type:"textarea",placeholder:"驳回原因",maxlength:"500",autosize:{minRows:8,maxRows:8},"show-word-limit":""},model:{value:t.dataForm.content,callback:function(e){t.$set(t.dataForm,"content",e)},expression:"dataForm.content"}})],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v("取消")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v("确定")])],1)],1)},r=[],i=(a("ed08"),a("20ca")),o={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(t){this.$refs["dataForm"]&&(this.$refs["dataForm"].clearValidate(),this.$refs["dataForm"].resetFields()),this.dataForm={},this.dataForm.id=t||0,this.visible=!0},dataFormSubmit:Object(i["a"])((function(){this.$refs["dataForm"].validate(t=>{t&&this.$http({url:this.$http.adornUrl("/examine"),method:"post",data:this.$http.adornData({content:this.dataForm.content,id:this.dataForm.id,type:2})}).then(({data:t})=>{0==t.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.visible=!1,this.$emit("refreshDataList")}}):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{this.visible=!1}})})})})),getDataList(){this.$http({url:this.$http.adornUrl("/list"),method:"post",data:this.$http.adornData({current:this.page.currentPage,size:this.page.pageSize,rolename:this.dataForm.rolename,userCode:this.dataForm.userCode,userId:this.dataForm.userId,startTime:this.dataForm.startTime,endTime:this.dataForm.endTime})}).then(({data:t})=>{0==t.code?(this.dataList=t.data.records,this.page.total=t.data.total,this.dataListLoading=!1):this.$message({message:t.msg,type:"error"})})}}},l=o,d=a("2877"),n=Object(d["a"])(l,s,r,!1,null,null,null);e["default"]=n.exports},"20ca":function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));const s=(t,e)=>{let a,s=e||300;return function(){let e=arguments;a&&clearTimeout(a);let r=!a;a=setTimeout(()=>{a=null},s),r&&t.apply(this,e)}}},"75eb":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mod-role"},[a("avue-crud",{ref:"crud",attrs:{page:t.page,data:t.sortedDataList,option:t.tableOption,"cell-class-name":t.addClasscolor},on:{"update:page":function(e){t.page=e},"search-change":t.searchChange,"selection-change":t.selectionChange,"on-load":t.getDataList,"refresh-change":t.getDataList},scopedSlots:t._u([{key:"userName",fn:function(e){return[a("span",{staticClass:"speacButton",on:{click:function(a){return t.searchName(e.row)}}},[t._v(t._s(e.row.userName))])]}},{key:"recomUserName",fn:function(e){return[a("span",{staticClass:"speacButton",on:{click:function(a){return t.searchName(e.row)}}},[t._v(t._s(e.row.recomUserName))])]}},{key:"menu",fn:function(e){return[2!==e.row.status?a("el-button",{attrs:{type:"primary",icon:"el-icon-edit",size:"small"},on:{click:function(a){return a.stopPropagation(),t.addOrUpdateHandle(e.row.uuid)}}},[t._v("审核通过")]):t._e(),2!==e.row.status?a("el-button",{attrs:{type:"danger",icon:"el-icon-delete",size:"small"},on:{click:function(a){return a.stopPropagation(),t.deleteHandle(e.row.uuid)}}},[t._v("驳回")]):t._e()]}}])},[a("template",{slot:"menuLeft"},[a("avue-tabs",{attrs:{option:t.option},on:{change:t.handleChange}}),"tab1"===t.type.prop||"tab2"===t.type.prop||"tab3"===t.type.prop||"tab4"===t.type.prop?a("span"):t._e()],1)],2),t.addOrUpdateVisible?a("add-or-update",{ref:"addOrUpdate",on:{refreshDataList:t.getDataList}}):t._e(),t.parametersFlag?a("parameters",{ref:"parameters"}):t._e()],1)},r=[];const i={searchMenuSpan:6,columnBtn:!1,border:!0,selection:!1,index:!1,indexLabel:"序号",stripe:!0,menuAlign:"center",menuWidth:220,searchLabelWidth:120,align:"center",refreshBtn:!0,searchSize:"mini",addBtn:!1,editBtn:!1,delBtn:!1,viewBtn:!1,menu:!0,selection:!1,props:{label:"label",value:"value"},column:[{label:"用户名(查看)",prop:"userName",search:!0},{label:"UID",prop:"userCode",search:!1},{label:"推荐人",prop:"recomUserName"},{label:"证件号码",prop:"idNumber",search:!0},{label:"账户类型",prop:"roleName",search:!0,type:"select",dicData:[{label:"所有账号",value:""},{label:"正式账号",value:"MEMBER"},{label:"演示账号",value:"GUEST"},{label:"试用账号",value:"TEST"}]},{label:"实名姓名",prop:"name"},{label:"绑定手机",prop:"userMobile"},{label:"绑定邮箱",prop:"userMail"},{label:"认证状态",prop:"status",type:"select",dicData:[{label:"已申请未审核",value:0},{label:"审核中",value:1},{label:"审核通过",value:2},{label:"未通过",value:3}]},{label:"客户提交时间",prop:"createTime",type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss"},{label:"审核操作时间",prop:"operationTime",type:"datetime",format:"yyyy-MM-dd HH:mm:ss",valueFormat:"yyyy-MM-dd HH:mm:ss"},{label:"原因",prop:"msg"}]};var o=a("1275"),l=a("f255"),d={data(){return{parametersFlag:!1,activeName:"1",dataList:[],dataList2:[],dataListLoading:!1,dataListSelections:[],searchParams:{},addOrUpdateVisible:!1,tableOption:i,status:"",type:{},option:{column:[{label:"全部",prop:""},{label:"待审核",prop:"1"},{label:"审核通过",prop:"2"},{label:"未通过",prop:"3"}]},page:{total:0,currentPage:1,pageSize:10},dataForm:{roleName:""}}},components:{AddOrUpdate:o["default"],parameters:l["default"]},computed:{sortedDataList(){const t=[...this.dataList],e=t.filter(t=>2!==t.status),a=t.filter(t=>2===t.status);return[...e,...a]}},created(){this.type=this.option.column[0]},mounted(){this.$bus.$on("updateOfBasics",t=>{this.getDataList()})},beforeDestroy(){this.$bus.$off("updateOfBasics")},methods:{getDataList(t,e){const a={current:null==t?this.page.currentPage:t.currentPage,size:null==t?this.page.pageSize:t.pageSize,...this.searchParams};this.dataListLoading=!0,this.$http({url:this.$http.adornUrl("/list"),method:"post",data:this.$http.adornData(Object.assign({status:this.status,current:null==t?this.page.currentPage:t.currentPage,size:null==t?this.page.pageSize:t.pageSize},a))}).then(({data:t})=>{0==t.code?(this.dataList=t.data.records,this.page.total=t.data.total,this.dataListLoading=!1,this.getList()):this.$message({message:t.msg,type:"error"}),e&&e()})},addClasscolor({column:t,row:e}){return"roleName"===t.property&&"MEMBER"==e.roleName||"status"===t.property&&2==e.status?"green":"roleName"===t.property&&"GUEST"==e.roleName?"yellow":"status"===t.property&&3==e.status?"red":void 0},searchChange(t,e){this.page.currentPage=1,this.searchParams=t,this.getDataList(this.page,e)},selectionChange(t){this.dataListSelections=t},addOrUpdateHandle(t){this.$confirm("提示:您确认要审核通过吗?","是否确认审核通过",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{this.$http({url:this.$http.adornUrl("/examine"),method:"post",data:this.$http.adornData({content:"",id:t,type:1})}).then(({data:t})=>{0==t.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.getDataList()}}):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{}})})}).catch(()=>{})},deleteHandle(t){this.addOrUpdateVisible=!0,this.$nextTick(()=>{this.$refs.addOrUpdate.init(t)})},handleChange(t,e,a){this.type=t,this.status=t.prop,this.getDataList(this.page,e,a)},handleClick(t,e){this.getList()},getList(){let t=(t,e)=>{let a=t.userName.indexOf(this.dataForm.userName)>=0||t.userCode.indexOf(this.dataForm.userName)>=0,s=t.status==e||-1==e,r=!this.dataForm.userName||this.dataForm.userName&&a,i=!this.dataForm.idNumber||this.dataForm.idNumber&&t.idNumber==this.dataForm.idNumber,o=!this.dataForm.roleName||this.dataForm.roleName&&t.roleName==this.dataForm.roleName;return s&&r&&i&&o};switch(this.activeName){case"1":this.dataList2=this.dataList.filter(e=>t(e,-1));break;case"2":this.dataList2=this.dataList.filter(e=>t(e,1));break;case"3":this.dataList2=this.dataList.filter(e=>t(e,2));break;case"4":this.dataList2=this.dataList.filter(e=>t(e,3));break}},searchName(t){this.parametersFlag=!0,this.$nextTick(()=>{this.$refs.parameters.init(t)})}}},n=d,m=(a("a33c"),a("2877")),c=Object(m["a"])(n,s,r,!1,null,"dd9e6f94",null);e["default"]=c.exports},a33c:function(t,e,a){"use strict";a("c7dc")},c7dc:function(t,e,a){},f255:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{title:"","close-on-click-modal":!1,visible:t.visible,width:"600px"},on:{"update:visible":function(e){t.visible=e},close:t.handClose}},[a("el-form",{ref:"dataForm",staticStyle:{width:"auto"},attrs:{model:t.dataForm,rules:t.dataRule,"label-width":"120px","label-position":"top",size:"mini"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.dataFormSubmit()}}},[a("span",[t._v("详细信息")]),a("el-divider"),a("el-form-item",{staticStyle:{width:"auto"},attrs:{label:"实名姓名",prop:"userName"}},[a("el-input",{staticStyle:{width:"510px"},attrs:{placeholder:"",disabled:""},model:{value:t.dataForm.userName,callback:function(e){t.$set(t.dataForm,"userName",e)},expression:"dataForm.userName"}})],1),a("el-form-item",{staticStyle:{width:"auto"},attrs:{label:"证件名称",prop:"idName"}},[a("el-input",{staticStyle:{width:"510px"},attrs:{placeholder:"",disabled:""},model:{value:t.dataForm.idName,callback:function(e){t.$set(t.dataForm,"idName",e)},expression:"dataForm.idName"}})],1),a("el-form-item",{staticStyle:{width:"auto"},attrs:{label:"证件号码",prop:"idNumber"}},[a("el-input",{staticStyle:{width:"510px"},attrs:{placeholder:"",disabled:""},model:{value:t.dataForm.idNumber,callback:function(e){t.$set(t.dataForm,"idNumber",e)},expression:"dataForm.idNumber"}})],1),a("el-form-item",{staticStyle:{width:"auto"},attrs:{label:"国籍",prop:"nationality"}},[a("el-input",{staticStyle:{width:"510px"},attrs:{placeholder:"",disabled:""},model:{value:t.dataForm.nationality,callback:function(e){t.$set(t.dataForm,"nationality",e)},expression:"dataForm.nationality"}})],1),a("span",[t._v("证件照")]),a("el-divider"),a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"证件正面照",prop:"methodImg"}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.$http.adornUrl("/api/uploadFile"),headers:{Authorization:t.$cookie.get("Authorization")},"show-file-list":!1,"on-success":t.handleAvatarSuccess0,"before-upload":t.beforeAvatarUpload0}},[t.idFrontImg?a("img",{staticClass:"avatar",attrs:{src:t.idFrontImg}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"证件背面照",prop:"methodImg"}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.$http.adornUrl("/api/uploadFile"),headers:{Authorization:t.$cookie.get("Authorization")},"show-file-list":!1,"on-success":t.handleAvatarSuccess1,"before-upload":t.beforeAvatarUpload1}},[t.idBackImg?a("img",{staticClass:"avatar",attrs:{src:t.idBackImg}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"手持正面照",prop:"methodImg"}},[a("el-upload",{staticClass:"avatar-uploader",attrs:{action:t.$http.adornUrl("/api/uploadFile"),headers:{Authorization:t.$cookie.get("Authorization")},"show-file-list":!1,"on-success":t.handleAvatarSuccess2,"before-upload":t.beforeAvatarUpload2}},[t.handheldPhoto?a("img",{staticClass:"avatar",attrs:{src:t.handheldPhoto}}):a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})])],1)],1)],1)],1),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(e){t.visible=!1}}},[t._v("关闭")]),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.dataFormSubmit()}}},[t._v("确定")])],1)],1)},r=[],i=a("20ca"),o={data(){return{idFrontImg1:"",idBackImg1:"",handheldPhoto1:"",idFrontImg:"",idBackImg:"",handheldPhoto:"",visible:!1,dialogFormVisible:!0,formLabelWidth:"120px",menuList:[],menuListTreeProps:{label:"name",children:"children"},options:[],row:"",dataForm:{id:"",idCode:"",projectName:"",issuePrice:"",currency:"usdt",expectedLaunchTime:"",subscriptionEndTime:"",subscriptionStartTime:"",publishTime:"",minQuantity:"",maxQuantity:"",whitePagerAddress:"",relatedStockName:[]},fixstork:[],stocks:[],dataRule:{relatedStockName:[{required:!0,message:"成分股不能为空",trigger:"blur"}],projectName:[{required:!0,message:"不能为空",trigger:"blur"}],turnover:[{required:!0,message:"成交量不能为空",trigger:"blur"}],initPrice:[{required:!0,message:"初始化价格不能为空",trigger:"blur"}],minProfitLoss:[{required:!0,message:"最小变动单位的盈亏金额不能为空",trigger:"blur"}],minUnit:[{required:!0,message:"最小变动单位不能为空",trigger:"blur"}],fee:[{required:!0,message:"每张手续费不能为空",trigger:"blur"}],amount:[{required:!0,message:"每张金额不能为空",trigger:"blur"}]}}},methods:{init(t){let e=t.uuid;this.dataForm={},this.visible=!0,this.getDesc(e)},handClose(){this.$data.dataForm=JSON.parse(JSON.stringify(this.$options.data().dataForm)),this.$nextTick(()=>{this.$refs["dataForm"].clearValidate()})},changeVal(t){this.$forceUpdate()},dataFormSubmit:Object(i["a"])((function(){this.UpdateProjectBreed()})),handleAvatarSuccess0(t,e){0==t.code?(this.dataForm.idFrontImg=URL.createObjectURL(e.raw),this.dataForm.imgUrl=t.data.path,this.idFrontImg=this.dataForm.idFrontImg,this.idFrontImg1=this.dataForm.imgUrl):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{}})},beforeAvatarUpload0(t){const e=t.size/1024/1024<10;return e||this.$message.error("上传图片大小不能超过 10MB!"),e},handleAvatarSuccess1(t,e){0==t.code?(this.dataForm.idBackImg=URL.createObjectURL(e.raw),this.dataForm.imgUrl=t.data.path,this.idBackImg=this.dataForm.idBackImg||"",this.idBackImg1=this.dataForm.imgUrl):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{}})},beforeAvatarUpload1(t){const e=t.size/1024/1024<10;return e||this.$message.error("上传图片大小不能超过 10MB!"),e},handleAvatarSuccess2(t,e){0==t.code?(this.dataForm.handheldPhoto=URL.createObjectURL(e.raw),this.dataForm.imgUrl=t.data.path,this.handheldPhoto=this.dataForm.handheldPhoto||"",this.handheldPhoto1=this.dataForm.imgUrl):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{}})},beforeAvatarUpload2(t){const e=t.size/1024/1024<10;return e||this.$message.error("上传图片大小不能超过 10MB!"),e},UpdateProjectBreed(){this.$refs["dataForm"].validate(t=>{t&&this.$http({url:this.$http.adornUrl("/edit"),method:"put",data:this.$http.adornData({uuid:this.dataForm.uuid,idFrontImg:this.idFrontImg1,idBackImg:this.idBackImg1,handheldPhoto:this.handheldPhoto1})}).then(({data:t})=>{0==t.code?this.$message({message:"操作成功",type:"success",duration:1500,onClose:()=>{this.dialogFormVisible=!1,this.visible=!1,this.$emit("refreshDataList")}}):this.$message({message:t.msg,type:"error",duration:1500,onClose:()=>{this.dialogFormVisible=!1,this.visible=!1}})})})},getDesc(t){this.$http({url:this.$http.adornUrl("/getById/"+t),method:"get"}).then(({data:t})=>{0==t.code?(this.dataForm=t.data,this.idFrontImg=this.dataForm.idFrontImg||"",this.idBackImg=this.dataForm.idBackImg||"",this.handheldPhoto=this.dataForm.handheldPhoto||""):this.$message({message:t.msg,type:"error",duration:1500})})}}},l=o,d=(a("f463"),a("2877")),n=Object(d["a"])(l,s,r,!1,null,"4e4b889d",null);e["default"]=n.exports},f463:function(t,e,a){"use strict";a("0e5c")}}]);