diff --git a/src/views/information/realInfo/index.vue b/src/views/information/realInfo/index.vue index 1446a06..62b5965 100644 --- a/src/views/information/realInfo/index.vue +++ b/src/views/information/realInfo/index.vue @@ -36,7 +36,7 @@ - + - - + + + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + @@ -343,16 +292,9 @@ width="180" /> - @@ -389,7 +331,7 @@ - + @@ -451,7 +393,6 @@ import { getaccountStatus, getsalletStatus, getattestation, - getYesnouploadsList, getorderStatus, memberRealInfo } from '@/api/member' @@ -497,12 +438,6 @@ export default { checked: true, prop: 'pkSettleGrade' }, - { - id: 42, - text: '真实奖衔', - checked: true, - prop: 'pkAwards' - }, { id: 33, text: '性别', @@ -538,67 +473,8 @@ export default { text: '证件(反面)', checked: true, prop: 'idCardBack' - }, - { - id: 9, - text: '省', - checked: true, - prop: 'provinceName' - }, - { - id: 10, - text: '市', - checked: true, - prop: 'cityName' - }, - { - id: 11, - text: '区/县', - checked: true, - prop: 'countyName' - }, - { - id: 12, - text: '详细地址', - checked: true, - prop: 'address' - }, - { - id: 13, - text: '银行名称', - checked: true, - prop: 'bankName' - }, - { - id: 14, - text: '支行名称', - checked: true, - prop: 'subBankName' - }, - { - id: 15, - text: '开户姓名', - checked: true, - prop: 'accountName' - }, - { - id: 16, - text: '预留电话', - checked: true, - prop: 'reservedPhone' - }, - { - id: 17, - text: '银行卡号', - checked: true, - prop: 'cardNumber' - }, - { - id: 18, - text: '邮箱地址', - checked: true, - prop: 'email' } + ], moren: 'RealInfo', topList: [ @@ -642,6 +518,7 @@ export default { tattestation: [], // 实名认证 是否认证 yesnouploadsList: [], // 营业执照 是否上传 orderStatusList: [], // 订单状态 + agentGradeList: [], // 代理等级 directPushNumber: '', // 修改直推次数 sexList: [], @@ -664,19 +541,6 @@ export default { this.getSexs() this.getCardTypes() this.getAllArea() - // this.getvertexValue(); - // this.getmemberTeamList(); - // this.getRegistration(); - // this.getaccountStatus(); - // this.getsalletStatus(); - // this.getattestation(); - // this.getYesnouploadsList(); - // this.getorderStatus(); - // 初始化表头 - // this.checkLabels = JSON.parse( - // JSON.stringify(Object.keys(this.tableData[0])) - // ); - // this.colums = JSON.parse(JSON.stringify(Object.keys(this.tableData[0]))); }, mounted() { this.getUserRole() @@ -705,16 +569,21 @@ export default { this.queryParams.pkCounty = value[2] }, changeTime3(val) { - this.queryParams.startCertificationTime = val[0] - this.queryParams.endCertificationTime = val[1] + if (val) { + this.queryParams.startCertificationTime = val[0] + this.queryParams.endCertificationTime = val[1] + } else { + this.queryParams.startCertificationTime = null + this.queryParams.endCertificationTime = null + } }, changeTime1(val) { - this.queryParams.startCreationTime = val[0] - this.queryParams.endCreationTime = val[1] + this.queryParams.startCreationTime = val ? val[0] : null + this.queryParams.endCreationTime = val ? val[1] : null }, changeTime2(val) { - this.queryParams.startPayTime = val[0] - this.queryParams.endPayTime = val[1] + this.queryParams.startPayTime = val ? val[0] : null + this.queryParams.endPayTime = val ? val[1] : null }, // 性别 getSexs() { @@ -772,12 +641,7 @@ export default { this.orderStatusList = res.data }) }, - // 营业执照-是否上传 - getYesnouploadsList() { - getYesnouploadsList().then((res) => { - this.yesnouploadsList = res.data - }) - }, + // 认证下拉选 getattestation() { getattestation().then((res) => { diff --git a/src/views/selfService/register/index.vue b/src/views/selfService/register/index.vue index b1fe0e0..50c4a45 100644 --- a/src/views/selfService/register/index.vue +++ b/src/views/selfService/register/index.vue @@ -6,180 +6,240 @@ --> - + - - + + - - + + - - + + - - + + - - + + - + - - + - - + - + - - + - - + - - + + - - + + - {{ '返回' }} + {{ '返回' }} - + - + - + - + - + - + - - + + - + - - {{ '搜索' }} - {{ '重置' }} + + {{ '搜索' }} + {{ '重置' }} @@ -200,105 +260,113 @@ - - - - - - + + + + + + - {{scope.row.changeMemberName}} - - - - - {{scope.row.changePhone}} + {{ scope.row.changeMemberName }} - - - - - {{ scope.row.approveStatusVal }} - - - {{ scope.row.approveStatusVal }} - - - - - + align="center" + prop="changePhone" + :label="'变更后联系方式'" + > - {{scope.row.approveTime || scope.row.creationTime}} + {{ scope.row.changePhone }} - + - - - {{ '查看' }} - - - {{ '同意' }} - - - {{ '驳回' }} - - + + + + {{ scope.row.approveStatusVal }} + + + {{ scope.row.approveStatusVal }} + + + + + + + {{ scope.row.approveTime || scope.row.creationTime }} + + + + + + + {{ '查看' }} + + @@ -306,28 +374,38 @@ - - + + - + - {{ '取消' }} - {{ '确认' }} + {{ '取消' }} + {{ '确认' }} @@ -339,7 +417,7 @@ import * as api from '@/api/giftGoods.js' import { DomicileDetails, domicileReject, - getDomicileChangeList, + getDomicileChangeList } from '@/api/settle' import { getApproveStatus } from '@/api/financial' import { Message } from 'element-ui' @@ -350,7 +428,7 @@ export default { name: 'Bzpz', components: { topBar, - Editor, + Editor }, filters: { isAgree(val) { @@ -359,7 +437,7 @@ export default { } else { return '禁止' } - }, + } }, data() { return { @@ -374,29 +452,29 @@ export default { // 查询参数 queryParams: { pageNum: 1, - pageSize: 50, + pageSize: 50 }, addOrEdit: '', total: 0, dialogVisible: false, tableData: [], - loading:false, + loading: false, moren: 'Register', topList: [ { name: '户籍变更', - path: 'Register', - }, + path: 'Register' + } ], form: { - name: '', + name: '' }, rules: { name: [ - { required: true, message: '请输入规格类型', trigger: 'blur' }, - ], + { required: true, message: '请输入规格类型', trigger: 'blur' } + ] }, - actStatus: [], + actStatus: [] } }, mounted() { @@ -427,7 +505,7 @@ export default { if (this.relContent.length == 0) { this.$message({ message: '请输入驳回信息', - type: 'warning', + type: 'warning' }) return false } @@ -436,7 +514,7 @@ export default { if (res.code == 200) { this.$message({ message: res.msg, - type: 'success', + type: 'success' }) this.isShow = false this.relContent = '' @@ -479,21 +557,21 @@ export default { this.$confirm('是否驳回该申请?', '警告', { confirmButtonText: '确定', cancelButtonText: '取消', - type: 'warning', + type: 'warning' }).then((_) => { domicileReject({ - pkId: id || this.$refs.multipleTable.selection[0].pkId, + pkId: id || this.$refs.multipleTable.selection[0].pkId }).then((res) => { if (res.code == '200') { Message({ message: res.msg, - type: 'success', + type: 'success' }) this.getDataList() } else { Message({ message: res.msg, - type: 'error', + type: 'error' }) } }) @@ -501,7 +579,7 @@ export default { } else if (this.$refs.multipleTable.selection[0].approveStatus == 3) { Message({ message: '用户申请户籍变更已被驳回,请勿重复申请', - type: 'warning', + type: 'warning' }) } } @@ -514,7 +592,7 @@ export default { } else { Message({ message: res.msg, - type: 'error', + type: 'error' }) } }) @@ -530,15 +608,15 @@ export default { path: 'hjbgQc', query: { data: JSON.stringify([ - item || this.$refs.multipleTable.selection[0], + item || this.$refs.multipleTable.selection[0] ]), - approvalBusiness: 132, - }, + approvalBusiness: 132 + } }) } else if (this.$refs.multipleTable.selection[0].approveStatus == 3) { Message({ message: '用户申请户籍变更已被驳回,请勿重复申请', - type: 'warning', + type: 'warning' }) } } @@ -548,8 +626,8 @@ export default { path: 'hjbgQc', query: { data: JSON.stringify([item]), - approvalBusiness: 132, - }, + approvalBusiness: 132 + } }) }, getData() { @@ -581,9 +659,9 @@ export default { path: 'addGiftGoodsInfo', query: { pkId: id, - type: index, + type: index // functionType:this.select.functionType - }, + } }) }, // 删除 @@ -591,7 +669,7 @@ export default { this.$confirm('确认删除?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', - type: 'warning', + type: 'warning' }).then(() => { api.activityRemove(id).then((res) => { this.getDataList() @@ -611,7 +689,7 @@ export default { if (res.code == 200) { this.$message({ message: res.msg, - type: 'success', + type: 'success' }) this.dialogVisible = false // 充值数据 @@ -632,7 +710,7 @@ export default { }, openDig() { this.$router.push({ - path: 'addGiftGoodsInfo', + path: 'addGiftGoodsInfo' }) }, getDataList() { @@ -644,11 +722,11 @@ export default { getDomicileChangeList(this.select).then((res) => { this.loading = false this.tableData = res.rows - const regex = new RegExp('{ - if(item.rejectMsg){ - item.rejectMsg= item.rejectMsg.replace(regex, ` { + if (item.rejectMsg) { + item.rejectMsg = item.rejectMsg.replace(regex, ` { @@ -676,8 +754,8 @@ export default { return 'success-row' } return '' - }, - }, + } + } }