| | |
| | | <div class="remark" v-if="info"> |
| | | <el-button class="bluebtn" icon="el-icon-phone" title="手机号"> {{info.telephone||'未设置' }}</el-button> |
| | | <el-button class="yellowbtn" icon="el-icon-star-on" title="平均评分"> {{info.score||'0' }}分</el-button> |
| | | <el-button class="redbtn" icon="el-icon-coin" title="账号余额(元)"> {{(info.amount||0).toFixed(2)}}元</el-button> |
| | | <el-button class="redbtn" icon="el-icon-coin" title="账号余额(元)"> {{((info.amount||0)/100).toFixed(2)}}元</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="line"> <span class="label">认证资料:</span> <span v-if="!item.imgList || item.imgList.length==0" class="txt">无</span> </div> |
| | | </template> |
| | | <template v-else> |
| | | <div class="line"> <span class="label">身份信息:</span> <span v-if="!item.imgList || item.imgList.length==0" class="txt">无</span> </div> |
| | | <div class="line"> |
| | | <span class="label">接单位置:</span><span class="txt">{{item.location || '' }}</span> |
| | | </div> |
| | | <div class="line"> |
| | | <span class="label">身份信息:</span> <span v-if="!item.imgList || item.imgList.length==0" class="txt">无</span> |
| | | </div> |
| | | </template> |
| | | <div class="line" v-if="item.imgList && item.imgList.length>0"> |
| | | <div v-for="info in item.imgList" style="display: inline-block"> |
| | |
| | | <el-input type="textarea" rows="5" v-model="form.auditRemark" placeholder="请输入认证审核备注" v-trim/> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-button @click="checkDo(2)" type="primary" class="status-red">同意</el-button> |
| | | <el-button @click="checkDo(3)" type="danger" >拒绝</el-button> |
| | | <el-button @click="checkDo(2)" :loading="dealing" type="primary" class="status-red">同意</el-button> |
| | | <el-button @click="checkDo(3)" :loading="dealing" type="danger" >拒绝</el-button> |
| | | </div> |
| | | </div> |
| | | </GlobalWindow> |
| | |
| | | import GlobalWindow from '@/components/common/GlobalWindow' |
| | | import BaseOpera from '@/components/base/BaseOpera' |
| | | import { getById } from '@/api/business/member' |
| | | import { fetchList as renzhengList,audit } from '@/api/business/identityInfo' |
| | | import { fetchList as renzhengList, audit } from '@/api/business/identityInfo' |
| | | export default { |
| | | components: { |
| | | GlobalWindow |
| | |
| | | extends: BaseOpera, |
| | | data () { |
| | | return { |
| | | dealing: false, |
| | | form: { |
| | | id: null, |
| | | auditRemark: null |
| | |
| | | activeTabs: 0, |
| | | type: 0, |
| | | info: {}, |
| | | pageSize: 10, |
| | | page: 1, |
| | | total: 0, |
| | | tableData: {}, |
| | | tableData1: {}, |
| | | tableData2: [], |
| | | page0: 1, |
| | | page1: 1, |
| | | loading: false, |
| | | export0: false, |
| | | searchForm: { |
| | | type: 0, |
| | | startTime: null, |
| | | endTime: null, |
| | | optType: null, |
| | | acceptMemberId: -1, |
| | | releaseMemberId: -1, |
| | | transactionNo: null |
| | | } |
| | | loading: false |
| | | } |
| | | }, |
| | | methods: { |
| | | open (title, row) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.activeTabs = 0 |
| | | this.type = 0 |
| | | this.page0 = 1 |
| | | this.pageSize = 10 |
| | | this.tableData = {} |
| | | this.tableData1 = {} |
| | | this.tableData2 = [] |
| | | this.id = row.id |
| | | this.form.id = this.id |
| | | this.form.auditRemark =null |
| | | this.memberId = row.memberId |
| | | this.searchForm = { |
| | | type: 0, |
| | | startTime: null, |
| | | endTime: null, |
| | | optType: null, |
| | | acceptMemberId: -1, |
| | | releaseMemberId: -1, |
| | | transactionNo: null |
| | | } |
| | | this.getData() |
| | | }, |
| | | getData () { |
| | |
| | | |
| | | }, |
| | | checkDo (status) { |
| | | console.log( this.$refs.formCheck.length) |
| | | console.log(this.$refs.formCheck.length) |
| | | this.$refs.formCheck.validate((valid) => { |
| | | if (!valid) { |
| | | return |
| | | } |
| | | this.$dialog.actionConfirm('您确认【' + (status === 3 ? '拒绝' : '同意') + '】该申请吗?','操作确认') |
| | | this.$dialog.actionConfirm('您确认【' + (status === 3 ? '拒绝' : '同意') + '】该申请吗?', '操作确认') |
| | | .then(() => { |
| | | this.dealing = true |
| | | audit({ |
| | |
| | | auditRemark: this.form.auditRemark |
| | | }) |
| | | .then(res => { |
| | | this.$tip.apiSuccess('处理成功') |
| | | this.$tip.apiSuccess('操作成功') |
| | | this.getData() |
| | | this.isShowProblem = false |
| | | this.$emit('success') |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }) |
| | | .finally(() => { |
| | | this.dealing = false |
| | |
| | | padding: 16px; |
| | | } |
| | | .renzheng{ |
| | | margin: 0px 0px 50px 20px; |
| | | margin: 0px 0px 30px 20px; |
| | | width: calc(100% - 60px); |
| | | .detail{ |
| | | font-size: 14px; |