|
@@ -1,4 +1,4 @@
|
|
|
-// 身份审核
|
|
|
+// 司机身份审核
|
|
|
<template>
|
|
|
<div class="center">
|
|
|
<div class="center_css">
|
|
@@ -20,45 +20,48 @@
|
|
|
<el-col>
|
|
|
<div class="search_btn">
|
|
|
<div :class="search == '' ? 'search' : 'searchNo'" class="search_item"
|
|
|
- @click="searchBtn('')">
|
|
|
+ @click="searchBtn('')">
|
|
|
全部
|
|
|
</div>
|
|
|
<div :class="search == 1 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(1)">
|
|
|
待审核
|
|
|
</div>
|
|
|
- <div :class="search == 2 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(2)">
|
|
|
+ <div :class="search == 3 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(3)">
|
|
|
已通过
|
|
|
</div>
|
|
|
- <div :class="search == 3 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(3)">
|
|
|
+ <div :class="search == 2 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(2)">
|
|
|
已驳回
|
|
|
</div>
|
|
|
+ <!-- <div :class="search == 6 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(6)">
|
|
|
+ 已过期
|
|
|
+ </div> -->
|
|
|
+ <!-- <div :class="search == 7 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(7)">
|
|
|
+ 未认证
|
|
|
+ </div> -->
|
|
|
+ <!-- <div :class="search == 8 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(8)">
|
|
|
+ 已注销
|
|
|
+ </div> -->
|
|
|
<div :class="search == 4 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(4)">
|
|
|
- 已完成
|
|
|
- </div>
|
|
|
- <div :class="search == 5 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(5)">
|
|
|
- 已终止
|
|
|
+ 已禁用
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<el-table :data="tableData" style="width: 98%; margin: 0 auto; border-radius: 10px" height="55.8vh" border>
|
|
|
- <!-- <el-table-column type="index" label="序号" width="50">
|
|
|
- <template scope="scope">
|
|
|
- <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
|
|
|
- <span v-else>{{ scope.$index + 1 }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column> -->
|
|
|
- <el-table-column prop="reexType" label="司机姓名">
|
|
|
+ <el-table-column prop="driverName" label="司机姓名" min-width="130">
|
|
|
<template slot-scope="scope">
|
|
|
<div style="position: relative;">
|
|
|
- <el-avatar :size="20" :src="scope.row.circleUrl" style="margin: 0 10px 0 -25px;"></el-avatar>
|
|
|
- <span style="position: absolute;display: inline-block;">{{scope.row.reexType}}</span>
|
|
|
+ <el-avatar :size="20"
|
|
|
+ :src="scope.row.avatarUrl"
|
|
|
+ style="margin: 0 10px 0 -25px;">
|
|
|
+ </el-avatar>
|
|
|
+ <span style="position: absolute;display: inline-block;">{{scope.row.driverName}}</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="purpose" label="账号"></el-table-column>
|
|
|
- <el-table-column prop="amountMoney" label="身份证号"></el-table-column>
|
|
|
+ <el-table-column prop="driverPhone" label="账号" min-width="110"></el-table-column>
|
|
|
+ <el-table-column prop="numberCard" label="身份证号" min-width="165"></el-table-column>
|
|
|
<el-table-column prop="amountMoney" label="承运次数"></el-table-column>
|
|
|
<el-table-column prop="amountMoney" label="评分" min-width="170">
|
|
|
<template slot-scope="scope">
|
|
@@ -66,39 +69,47 @@
|
|
|
score-template="{value}"></el-rate>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="amountMoney" label="累计支付运费(元)" min-width="128"></el-table-column>
|
|
|
+ <el-table-column prop="amountMoney" label="累计支付运费(元)" min-width="130"></el-table-column>
|
|
|
<el-table-column label="车辆">
|
|
|
- <span @click="carLook" class="btn_css">查看</span>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span @click="carLook(scope.row)" class="btn_css">查看</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="payee" label="账户">
|
|
|
- <span @click="account" class="btn_css">查看</span>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span @click="account(scope.row)" class="btn_css">查看</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="paymentDate" label="附件">
|
|
|
- <span class="btn_css" @click="fujianLook">查看</span>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span class="btn_css btn_css1" @click="fujianLook(scope.row)">查看</span>
|
|
|
<el-tooltip placement="top">
|
|
|
<div slot="content">身份证已过有效期 <br />驾驶证已过有效期</div>
|
|
|
<span style="margin-top:10px"></span>
|
|
|
- <img src="../../../public/img/wenhao.png" alt="" >
|
|
|
+ <img src="../../../public/img/wenhao.png" alt="" class="ask_css">
|
|
|
</el-tooltip>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="amountMoney" label="注册日期"></el-table-column>
|
|
|
- <el-table-column prop="status" label="状态"></el-table-column>
|
|
|
- <el-table-column label="操作" min-width="350">
|
|
|
+ <el-table-column prop="createDate" label="注册日期" min-width="100"></el-table-column>
|
|
|
+ <el-table-column prop="authenticationStatus" label="状态"></el-table-column>
|
|
|
+ <el-table-column label="操作" min-width="300">
|
|
|
<template slot-scope="scope">
|
|
|
- <span class="btn_css" @click="adopt(scope.row)">通过</span>
|
|
|
+ <el-link target="_blank" @click="adopt(scope.row)" type="primary" :underline="false" :disabled="scope.row.authenticationStatus != '审核中'">通过</el-link>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
- <span class="btn_css" @click="reject(scope.row)">驳回</span>
|
|
|
+ <el-link target="_blank" @click="reject(scope.row)" type="primary" :underline="false" :disabled="scope.row.authenticationStatus != '审核中'">驳回</el-link>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
- <span class="btn_css">消息</span>
|
|
|
+ <el-link target="_blank" @click="newInfo(scope.row)" type="primary" :underline="false" :disabled="scope.row.authenticationStatus == '审核中'">消息</el-link>
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
<el-dropdown>
|
|
|
<span class="btn_css">•••</span>
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item>禁用</el-dropdown-item>
|
|
|
- <el-dropdown-item>启用</el-dropdown-item>
|
|
|
+ <el-dropdown-item :disabled="scope.row.authenticationStatus == '禁用' && scope.row.authenticationStatus != '审核中'"><span @click="switchChange(scope.row,'1')">禁用</span>
|
|
|
+ </el-dropdown-item>
|
|
|
+ <el-dropdown-item :disabled="scope.row.authenticationStatus != '禁用' && scope.row.authenticationStatus != '审核中'"><span @click="switchChange(scope.row,'2')">启用</span>
|
|
|
+ </el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
-
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -108,68 +119,102 @@
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="deptBudgetTotal">
|
|
|
</el-pagination>
|
|
|
<el-dialog title="车辆信息" :visible.sync="carInfo" width="500px" :before-close="carClose">
|
|
|
- <div class="car_css" v-for="item in 5">
|
|
|
- <img src="../../../public/img/yonghu.jpg" class="car_item" />
|
|
|
- <div>
|
|
|
- <span>辽H12345 通过</span>
|
|
|
+ <span class="tips">注:车辆信息不在本页面审核,仅供查看</span>
|
|
|
+ <div class="car_css" v-for="(item,index) in carSee" :key="index">
|
|
|
+ <img :src="item.addressUrl" class="car_item" />
|
|
|
+ <div class="status_css" v-if="item.status == '审核中'" style="color: #2F53EB; background: #CFDBFE ;">
|
|
|
+ {{item.status}}</div>
|
|
|
+ <div class="status_css" v-else-if="item.status == '已通过'" style="color: #3AC602; background: #EEFAEA;">
|
|
|
+ {{item.status}}</div>
|
|
|
+ <div class="status_css" v-else style="color: #F53F3F; background: #FFEFF0 ;">{{item.status}}</div>
|
|
|
+ <div class="carno_css">
|
|
|
+ {{item.carNumber}}
|
|
|
</div>
|
|
|
+ <div class="carborder_css"></div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="账户信息" :visible.sync="userInfo" width="500px" :before-close="userClose">
|
|
|
- <div class="user" v-for="item in 2">
|
|
|
- <div class="user_id">
|
|
|
- <div class="id_css">12121212121212121212</div>
|
|
|
- <div class="name_css">张三</div>
|
|
|
- </div>
|
|
|
- <div>中国银行-鲅鱼圈支行</div>
|
|
|
- <img src="../../../public/img/yonghu.jpg" class="user_item" />
|
|
|
+ <div class="user" v-for="(item,index) in paySee" :key="index">
|
|
|
+ <div class="name_css">{{item.payeeName}}</div>
|
|
|
+ <div class="id_css">{{item.bankCard}}</div>
|
|
|
+ <div class="pay_name">{{item.bankDepositBranch}}</div>
|
|
|
+ <img :src="item.payeeAddressUrl" class="user_item" />
|
|
|
+ <div class="border_css"></div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="附件" :visible.sync="fujianInfo" width="500px" :before-close="fujianClose">
|
|
|
- <!-- <div class="user" v-for="item in 2">
|
|
|
-
|
|
|
- </div> -->
|
|
|
+ <el-dialog title="附件" :visible.sync="fujianInfo" width="830px" :before-close="fujianClose">
|
|
|
+ <div class="file">
|
|
|
+ <div class="fujian_css" >
|
|
|
+ <div class="fujian_item" :class="count == 1 ? 'file_btn':''" @click="btnChange(1)">身份证</div>
|
|
|
+ <div class="fujian_item" :class="count == 2 ? 'file_btn':''" @click="btnChange(2)">驾驶证</div>
|
|
|
+ <div class="fujian_item" :class="count == 3 ? 'file_btn':''" @click="btnChange(3)">行驶证</div>
|
|
|
+ <div class="fujian_item" :class="count == 4 ? 'file_btn':''" @click="btnChange(4)">从业资格证</div>
|
|
|
+ <div class="fujian_item" :class="count == 5 ? 'file_btn':''" @click="btnChange(5)">挂车行驶证</div>
|
|
|
+ <div class="fujian_item" :class="count == 6 ? 'file_btn':''" @click="btnChange(6)">运营证</div>
|
|
|
+ <div class="fujian_item" :class="count == 7 ? 'file_btn':''" @click="btnChange(7)">挂车运营证</div>
|
|
|
+ </div>
|
|
|
+ <div class="file_img">
|
|
|
+ <img :src="img[index]" class="img_css">
|
|
|
+ </div>
|
|
|
+ <div class="btn">
|
|
|
+ <el-button style="margin-right: 120px;" @click="index = 0" :disabled="count == 4 || count == 6 || count == 7">身份证人像面</el-button>
|
|
|
+ <el-button @click="index = 1" :disabled="count == 4 || count == 6 || count == 7">身份证国徽面</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="驳回认证" :visible.sync="rejectInfo" width="400px" :before-close="rejectClose">
|
|
|
<div>
|
|
|
<div><span class="sign">*</span>选择驳回原因</div>
|
|
|
<div class="form_css">
|
|
|
<el-form ref="form" :model="form" label-width="80px">
|
|
|
- <el-checkbox-group v-model="form.checkList">
|
|
|
- <el-checkbox label="证件照片不清晰"></el-checkbox>
|
|
|
- <el-checkbox label="证件照片上传错误"></el-checkbox>
|
|
|
- <el-checkbox label="身份信息填写错误"></el-checkbox>
|
|
|
- <el-checkbox label="证件信息填写错误"></el-checkbox>
|
|
|
- <el-checkbox label="其他"></el-checkbox>
|
|
|
+ <el-checkbox-group v-model="checkList">
|
|
|
+ <el-checkbox label="证件照片不清晰" value="1"></el-checkbox>
|
|
|
+ <el-checkbox label="证件照片上传错误" value="2"></el-checkbox>
|
|
|
+ <el-checkbox label="身份信息填写错误" value="3"></el-checkbox>
|
|
|
+ <el-checkbox label="证件信息填写错误" value="4"></el-checkbox>
|
|
|
+ <el-checkbox label="其他" value="5"></el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
<div style="margin: 20px 0;">驳回原因描述(选填)</div>
|
|
|
- <el-input type="textarea" :rows="3" resize="none" placeholder="输入驳回原因,5-50个字" maxlength="50" v-model="form.textarea"></el-input>
|
|
|
- <div class="form_btn">
|
|
|
- <el-button @click="rejectClose">取消</el-button>
|
|
|
- <el-button @click="submit" type="primary">确定</el-button>
|
|
|
- </div>
|
|
|
-
|
|
|
+ <el-input type="textarea" :rows="3" resize="none" placeholder="输入驳回原因,1-100个字"
|
|
|
+ v-model="form.rejectReasonDescription" maxlength="100"></el-input>
|
|
|
+ <div class="form_btn">
|
|
|
+ <el-button @click="rejectClose">取消</el-button>
|
|
|
+ <el-button @click="submit" type="primary">确定</el-button>
|
|
|
+ </div>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- //消息 -->
|
|
|
+ <el-dialog title="发送信息" :visible.sync="sendInfo" width="400px" :before-close="sendInfoClose">
|
|
|
+ <div class="Info_css">
|
|
|
+ <div class="Info_title">标题</div>
|
|
|
+ <div class="Info_item">
|
|
|
+ <el-input placeholder="输入消息标题,不超过4-20个字。" v-model="Info.newsTitle" maxlength="20"></el-input>
|
|
|
+ </div>
|
|
|
+ <div class="Info_title">内容</div>
|
|
|
+ <div class="Info_item">
|
|
|
+ <el-input type="textarea" :rows="3" resize="none" placeholder="消息内容10-100字" maxlength="100"
|
|
|
+ v-model="Info.newsContent"></el-input>
|
|
|
+ </div>
|
|
|
+ <div class="Info_btn">
|
|
|
+ <el-button @click="sendInfoClose">取消</el-button>
|
|
|
+ <el-button @click="submitInfo" type="primary">确定</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
+ import {
|
|
|
+ getList,
|
|
|
+ toExamine,
|
|
|
+ postNews
|
|
|
+ } from '@/api/driverManagement'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- tableData: [{
|
|
|
- reexType: "王某",
|
|
|
- count: 5,
|
|
|
- circleUrl:'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png'
|
|
|
- },
|
|
|
- {
|
|
|
- reexType: "",
|
|
|
- count: 4.5,
|
|
|
- circleUrl:'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png'
|
|
|
- },
|
|
|
- ],
|
|
|
+ tableData: [],
|
|
|
//分页
|
|
|
searchkeyWord: "",
|
|
|
currentPage: 1,
|
|
@@ -181,29 +226,173 @@
|
|
|
disabled: false,
|
|
|
carInfo: false,
|
|
|
userInfo: false,
|
|
|
- fujianInfo:false,
|
|
|
- rejectInfo:false,
|
|
|
- form:{
|
|
|
- checkList:[],
|
|
|
- textarea:"",
|
|
|
+ fujianInfo: false,
|
|
|
+ rejectInfo: false,
|
|
|
+ form: {
|
|
|
+ id: "",
|
|
|
+ rejectReasonDescription: "",
|
|
|
},
|
|
|
+ checkList:[],
|
|
|
+ carSee: [],
|
|
|
+ paySee: [],
|
|
|
+ sendInfo: false,
|
|
|
+ Info: {},
|
|
|
+ file:{},
|
|
|
+ img:[],
|
|
|
+ index:'0',
|
|
|
+ count:'1',
|
|
|
};
|
|
|
},
|
|
|
+
|
|
|
+ mounted() {
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
methods: {
|
|
|
- getList() {},
|
|
|
- account() {
|
|
|
+ getList() {
|
|
|
+ this.loading = true
|
|
|
+ let _obj = {}
|
|
|
+ _obj.currentPage = this.currentPage
|
|
|
+ _obj.pageSize = this.pageSize
|
|
|
+ _obj.searchKeyWord = this.searchkeyWord
|
|
|
+ _obj.searchType = this.search
|
|
|
+ getList(_obj).then(response => {
|
|
|
+ this.tableData = response.data.records
|
|
|
+ this.deptBudgetTotal = response.data.total
|
|
|
+ this.listLoading = false
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ },
|
|
|
+ btnChange(num){
|
|
|
+ this.count = num
|
|
|
+ if(num == 1){
|
|
|
+ this.img[0] = this.file.cardAddressUrl
|
|
|
+ this.img[1] = this.file.cardBackAddressUrl
|
|
|
+ }else if(num == 2){
|
|
|
+ this.img[0] = this.file.driverLicenseHomePage
|
|
|
+ this.img[1] = this.file. driverLicenseBackPage
|
|
|
+ }else if(num == 3){
|
|
|
+ this.img[0] = this.file.drivingLicenseHomePage
|
|
|
+ this.img[1] = this.file.drivingLicenseBackPage
|
|
|
+ }else if(num == 4){
|
|
|
+ this.index = 0
|
|
|
+ this.img[0] = this.file.qualificationCertificate
|
|
|
+ }else if(num == 5){
|
|
|
+ this.img[0] = this.file.trailerLicenseHomePage
|
|
|
+ this.img[1] = this.file.trailerLicenseBackPage
|
|
|
+ }else if(num == 6){
|
|
|
+ this.index = 0
|
|
|
+ this.img[0] = this.file.operationCertificate
|
|
|
+ }else if(num == 7){
|
|
|
+ this.index = 0
|
|
|
+ this.img[0] = this.file.trailerOperationCertificate
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ newInfo(row) {
|
|
|
+ this.Info.newsTypeKey = 1
|
|
|
+ this.Info.newsType = "系统消息"
|
|
|
+ this.Info.crtCommonId = JSON.parse(localStorage.getItem('UserInfo')).userId
|
|
|
+ this.Info.reCommonId = row.commonId
|
|
|
+ this.Info.bussId = row.id
|
|
|
+ this.sendInfo = true
|
|
|
+ },
|
|
|
+ sendInfoClose() {
|
|
|
+ this.Info = {}
|
|
|
+ this.sendInfo = false
|
|
|
+ },
|
|
|
+ submitInfo() {
|
|
|
+ if(!this.Info.newsTitle){
|
|
|
+ this.$message.error("标题不能为空")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!this.Info.newsContent){
|
|
|
+ this.$message.error("消息内容不能为空")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.Info.newsTitle.length < 4 || this.Info.newsTitle.length > 20){
|
|
|
+ this.$message.error("标题字数应在4-20之间")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(this.Info.newsContent.length < 10 || this.Info.newsContent.length > 100){
|
|
|
+ this.$message.error("消息内容字数应在10-100之间")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.listLoading = true
|
|
|
+ postNews(this.Info).then(response => {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '发送成功!',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ this.sendInfoClose()
|
|
|
+ this.listLoading = false
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ },
|
|
|
+ switchChange(row, num) {
|
|
|
+ var _examine = {}
|
|
|
+ _examine.id = row.id
|
|
|
+ let title
|
|
|
+ if (num == 1) {
|
|
|
+ _examine.flag = 3
|
|
|
+ title = "禁用后客户将无法使用所有功能,是否确定禁用?"
|
|
|
+ } else if (num == 2) {
|
|
|
+ title = "确定重新启用该用户?"
|
|
|
+ _examine.flag = 4
|
|
|
+ }
|
|
|
+ this.$confirm(title, '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.listLoading = true
|
|
|
+ toExamine(_examine).then(response => {
|
|
|
+ if (num == 1) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '禁用成功!',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ } else if (num == 2) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '启用成功!',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.getList()
|
|
|
+ this.listLoading = false
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
+ account(row) {
|
|
|
+ this.paySee = row.driverPayeeInfoList
|
|
|
this.userInfo = true;
|
|
|
},
|
|
|
- fujianLook(){
|
|
|
+ fujianLook(row) {
|
|
|
+ this.file = row
|
|
|
+ this.index = 0
|
|
|
+ this.img[0] = this.file.cardAddressUrl
|
|
|
+ this.img[1] = this.file.cardBackAddressUrl
|
|
|
this.fujianInfo = true
|
|
|
},
|
|
|
userClose() {
|
|
|
this.userInfo = false;
|
|
|
},
|
|
|
- fujianClose(){
|
|
|
+ fujianClose() {
|
|
|
+ this.count = 1
|
|
|
this.fujianInfo = false
|
|
|
},
|
|
|
- carLook() {
|
|
|
+ carLook(row) {
|
|
|
+ this.carSee = row.driverCarInfoList
|
|
|
this.carInfo = true;
|
|
|
},
|
|
|
carClose() {
|
|
@@ -217,38 +406,76 @@
|
|
|
this.getList();
|
|
|
},
|
|
|
adopt(row) {
|
|
|
- this.$confirm('确定通过辽H12345的审核?', '提示', {
|
|
|
+ this.$confirm('确定通过身份审核?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
- .then(() => {
|
|
|
+ .then(() => {
|
|
|
+ this.listLoading = true
|
|
|
+ var _examine = {}
|
|
|
+ _examine.id = row.id
|
|
|
+ _examine.flag = 1
|
|
|
+ toExamine(_examine).then(response => {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '通过成功!',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ this.rejectInfo = false
|
|
|
+ this.getList()
|
|
|
+ this.listLoading = false
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
- submit(){
|
|
|
- //驳回提交
|
|
|
- this.form = {}
|
|
|
- this.form.checkList=[]
|
|
|
+ submit() {
|
|
|
+ if (this.checkList.length == 0) {
|
|
|
+ this.$message.error("请选择驳回原因")
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.listLoading = true
|
|
|
+ this.form.rejectReason = this.checkList.toString()
|
|
|
+ // delete this.form.checkList
|
|
|
+ toExamine(this.form).then(response => {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '驳回成功!',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ this.checkList = []
|
|
|
+ this.form = {}
|
|
|
+ this.rejectInfo = false
|
|
|
+ this.getList()
|
|
|
+ this.listLoading = false
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
},
|
|
|
reject(row) {
|
|
|
+ this.form.id = row.id
|
|
|
+ this.form.flag = 2
|
|
|
this.rejectInfo = true
|
|
|
},
|
|
|
rejectClose() {
|
|
|
+ this.checkList = []
|
|
|
this.form = {}
|
|
|
- this.form.checkList=[]
|
|
|
this.rejectInfo = false
|
|
|
},
|
|
|
- onChange() {
|
|
|
- this.$refs.upload
|
|
|
- .handleSaveBill()
|
|
|
- .then(async (response) => {
|
|
|
- this.formData.addressUrl = response;
|
|
|
- })
|
|
|
- .catch((res) => {
|
|
|
- EventBus.$emit("error", (JSON.parse(res) || {}).message);
|
|
|
- this.$refs.upload.clearFiles();
|
|
|
- });
|
|
|
- },
|
|
|
+ // onChange() {
|
|
|
+ // this.$refs.upload
|
|
|
+ // .handleSaveBill()
|
|
|
+ // .then(async (response) => {
|
|
|
+ // this.formData.addressUrl = response;
|
|
|
+ // })
|
|
|
+ // .catch((res) => {
|
|
|
+ // EventBus.$emit("error", (JSON.parse(res) || {}).message);
|
|
|
+ // this.$refs.upload.clearFiles();
|
|
|
+ // });
|
|
|
+ // },
|
|
|
handleSizeChange(val) {
|
|
|
console.log(`每页 ${val} 条`);
|
|
|
this.pageSize = val;
|
|
@@ -284,7 +511,7 @@
|
|
|
width: 112px;
|
|
|
height: 40px;
|
|
|
background: #f7f8f9;
|
|
|
- cursor:pointer
|
|
|
+ cursor: pointer
|
|
|
}
|
|
|
|
|
|
.searchNo {
|
|
@@ -298,6 +525,11 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .ask_css {
|
|
|
+ position: absolute;
|
|
|
+ margin: 3px 0 0 10px;
|
|
|
+ }
|
|
|
+
|
|
|
.center_css {
|
|
|
background: #ffffff;
|
|
|
border-radius: 1px;
|
|
@@ -351,35 +583,79 @@
|
|
|
width: 50%;
|
|
|
display: inline-block;
|
|
|
text-align: center;
|
|
|
- margin-top: 20px;
|
|
|
+ margin-top: 30px;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ .status_css {
|
|
|
+ background: #3AC602;
|
|
|
+ width: 50px;
|
|
|
+ height: 17px;
|
|
|
+ position: absolute;
|
|
|
+ top: 0px;
|
|
|
+ right: 15px;
|
|
|
+ border-radius: 3px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .carno_css {
|
|
|
+ padding: 1px 5px;
|
|
|
+ background-color: #F5F6F7;
|
|
|
+ color: #666666;
|
|
|
+ border-radius: 12px;
|
|
|
+ text-align: center;
|
|
|
+ width: 100px;
|
|
|
+ margin: 10px auto 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .carborder_css {
|
|
|
+ border: 1px solid #F0F1F2;
|
|
|
+ margin: 15px auto 0;
|
|
|
+ width: 90%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .tips {
|
|
|
+ color: #999999;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.car_item {
|
|
|
- width: 100px;
|
|
|
- height: 100px;
|
|
|
+ width: 200px;
|
|
|
+ height: 160px;
|
|
|
+ border-radius: 5px;
|
|
|
}
|
|
|
|
|
|
.user {
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
- .user_id {
|
|
|
- display: flex;
|
|
|
- height: 30px;
|
|
|
+ .id_css {
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
- .name_css,
|
|
|
- .id_css {
|
|
|
- width: 50%;
|
|
|
+ .id_css,
|
|
|
+ .name_css {
|
|
|
+ margin: 5px 0;
|
|
|
+ color: #0D0D0D;
|
|
|
+ }
|
|
|
+
|
|
|
+ .pay_name {
|
|
|
+ color: #9D9D9D;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.name_css {
|
|
|
- text-align: right;
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.user_item {
|
|
|
+ margin: 25px 0;
|
|
|
width: 450px;
|
|
|
height: 300px;
|
|
|
}
|
|
|
+
|
|
|
+ .border_css {
|
|
|
+ width: 100%;
|
|
|
+ border: 1px solid #F0F1F2;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
::v-deep .el-table--border .el-table__header th {
|
|
@@ -387,32 +663,96 @@
|
|
|
}
|
|
|
|
|
|
.btn_css {
|
|
|
- color: #2f53eb;
|
|
|
- cursor:pointer
|
|
|
+ color: #409EFF;
|
|
|
+ cursor: pointer
|
|
|
}
|
|
|
+
|
|
|
+ .btn_css1 {
|
|
|
+ margin-left: -20px;
|
|
|
+ }
|
|
|
+
|
|
|
.sign {
|
|
|
font-size: 14px;
|
|
|
color: red;
|
|
|
}
|
|
|
+
|
|
|
.form_css {
|
|
|
width: 100%;
|
|
|
margin: 20px auto 20px;
|
|
|
- ::v-deep .el-checkbox{
|
|
|
+
|
|
|
+ ::v-deep .el-checkbox {
|
|
|
width: 40%;
|
|
|
height: 30px;
|
|
|
}
|
|
|
+
|
|
|
// ::v-deep .el-dialog__body{
|
|
|
// padding: 10px 20px;
|
|
|
// }
|
|
|
- ::v-deep .el-dialog__title{
|
|
|
+ ::v-deep .el-dialog__title {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
- ::v-deep .el-textarea__inner{
|
|
|
+
|
|
|
+ ::v-deep .el-textarea__inner {
|
|
|
background: #F0F1F2;
|
|
|
}
|
|
|
- .form_btn{
|
|
|
+
|
|
|
+ .form_btn {
|
|
|
+ text-align: right;
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ //发送信息
|
|
|
+ .Info_css {
|
|
|
+ .Info_title {
|
|
|
+ color: #323233;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .Info_item {
|
|
|
+ margin: 20px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .Info_btn {
|
|
|
text-align: right;
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
}
|
|
|
+ //附件
|
|
|
+ .file{
|
|
|
+ .fujian_css{
|
|
|
+ width: 631px;
|
|
|
+ display: flex;
|
|
|
+ margin: 0 auto;
|
|
|
+ text-align: center;
|
|
|
+ line-height:32px;
|
|
|
+ border: 1px solid #F0F1F2;
|
|
|
+ border-right: 0px;
|
|
|
+ border-radius: 2px 0px 0px 2px;
|
|
|
+ .fujian_item{
|
|
|
+ cursor:pointer;
|
|
|
+ width: 90px;
|
|
|
+ height: 32px;
|
|
|
+ border-right: 1px solid #F0F1F2;
|
|
|
+ }
|
|
|
+ .file_btn{
|
|
|
+ color: #2F53EB ;
|
|
|
+ background-color: #CFDBFE;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .file_img{
|
|
|
+ width: 525px;
|
|
|
+ height: 332px;
|
|
|
+ margin: 20px auto;
|
|
|
+ }
|
|
|
+ .img_css{
|
|
|
+ width: 525px;
|
|
|
+ height: 332px;
|
|
|
+ }
|
|
|
+ .btn{
|
|
|
+ width: 400px;
|
|
|
+ margin: 0 auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
</style>
|