From 59b1f0e9967902aa10f5e017d5a0bdfd1b60c9ea Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 29 四月 2026 09:42:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
admin/src/views/business/driverVerification.vue | 61 ++++++++++++------------------
1 files changed, 24 insertions(+), 37 deletions(-)
diff --git a/admin/src/views/business/driverVerification.vue b/admin/src/views/business/driverVerification.vue
index 00678e0..27e54e7 100644
--- a/admin/src/views/business/driverVerification.vue
+++ b/admin/src/views/business/driverVerification.vue
@@ -15,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item label="鍒涘缓鏃堕棿" prop="createTime">
- <el-date-picker type="daterange" v-model="searchForm.createTime" clearable value-format="yyyy-MM-dd"
+ <el-date-picker type="daterange" v-model="searchForm.createTime1" clearable value-format="yyyy-MM-dd"
range-separator="-" start-placeholder="寮�濮嬫棩鏈�" end-placeholder="缁撴潫鏃ユ湡" @change="handleDateChange" />
</el-form-item>
<section>
@@ -26,10 +26,10 @@
</el-form>
<template v-slot:table-wrap>
<el-table
- :height="tableHeightNew"
- v-loading="isWorking.search"
- :data="tableData.list"
- stripe
+ :height="tableHeightNew"
+ v-loading="isWorking.search"
+ :data="tableData.list"
+ stripe
>
<el-table-column prop="name" label="鍙告満濮撳悕" min-width="100px"></el-table-column>
<el-table-column label="鎬у埆" min-width="60px">
@@ -46,21 +46,22 @@
<template slot-scope="{row}">
<span style="color: #e6a23c;" v-if="row.auditStatus === 0">寰呭鎵�</span>
<span style="color: #13ce66;" v-else-if="row.auditStatus === 1">瀹℃壒閫氳繃</span>
- <span style="color: #ff4949;" v-else>瀹℃壒椹冲洖</span>
+ <span style="color: #ff4949;" v-else-if="row.auditStatus === 2">瀹℃壒椹冲洖</span>
+ <span style="color: #13ce66;" v-else >瀹℃壒閫氳繃</span>
</template>
</el-table-column>
- <el-table-column label="鐘舵��" min-width="80px">
- <template slot-scope="{row}">
- <el-switch
- @change="handleStatusChange($event, row)"
- v-model="row.status"
- active-color="#13ce66"
- inactive-color="#ff4949"
- :active-value="0"
- :inactive-value="1"
- ></el-switch>
- </template>
- </el-table-column>
+ <!-- <el-table-column label="鐘舵��" min-width="80px">
+ <template slot-scope="{row}">
+ <el-switch
+ @change="handleStatusChange($event, row)"
+ v-model="row.status"
+ active-color="#13ce66"
+ inactive-color="#ff4949"
+ :active-value="0"
+ :inactive-value="1"
+ ></el-switch>
+ </template>
+ </el-table-column>-->
<el-table-column label="鎿嶄綔" min-width="100" fixed="right">
<template slot-scope="{row}">
<el-button type="text" @click="handleDetail(row)">璇︽儏</el-button>
@@ -68,9 +69,9 @@
</el-table-column>
</el-table>
<pagination
- @size-change="handleSizeChange"
- @current-change="handlePageChange"
- :pagination="tableData.pagination"
+ @size-change="handleSizeChange"
+ @current-change="handlePageChange"
+ :pagination="tableData.pagination"
></pagination>
</template>
<OperaDriverApproval ref="operaDriverApproval" @success="handleApprovalSuccess" />
@@ -95,7 +96,7 @@
carNo: '',
auditStatus: '',
sex: '',
- createTime: '',
+ createTime1: '',
startTime: '',
endTime: ''
}
@@ -120,7 +121,7 @@
carNo: '',
status: '',
sex: '',
- createTime: '',
+ createTime1: '',
startTime: '',
endTime: ''
}
@@ -140,20 +141,6 @@
row.status = val === 1 ? 0 : 1
this.$tip.apiFailed(e)
})
- },
- handleExport () {
- this.isWorking.export = true
- exportExcel(this.getTableParams())
- .then(res => {
- this.download(res)
- this.$tip.apiSuccess('瀵煎嚭鎴愬姛')
- })
- .catch(e => {
- this.$tip.apiFailed(e)
- })
- .finally(() => {
- this.isWorking.export = false
- })
}
}
}
--
Gitblit v1.9.3