|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="audit">
|
|
<div class="audit">
|
|
|
- <el-tabs class="demo-tabs" @tab-click="handleClick">
|
|
|
|
|
|
|
+ <el-tabs class="demo-tabs" v-model="activeName" @tab-click="handleClick">
|
|
|
<el-tab-pane name="0">
|
|
<el-tab-pane name="0">
|
|
|
<template #label>
|
|
<template #label>
|
|
|
<el-badge :value="total1">
|
|
<el-badge :value="total1">
|
|
@@ -129,7 +129,7 @@
|
|
|
<el-table-column prop="jyPremium" label="驾意险" width="120"></el-table-column>
|
|
<el-table-column prop="jyPremium" label="驾意险" width="120"></el-table-column>
|
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope, 1)">审核</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, 1, '0')">审核</el-button>
|
|
|
<el-button link type="primary" size="small" @click="handleUpdateToQuestionOrder(scope)">设置疑问订单</el-button>
|
|
<el-button link type="primary" size="small" @click="handleUpdateToQuestionOrder(scope)">设置疑问订单</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -276,7 +276,7 @@
|
|
|
<el-table-column prop="auditTime" label="审核时间" width="120"></el-table-column>
|
|
<el-table-column prop="auditTime" label="审核时间" width="120"></el-table-column>
|
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope, 0)">详情</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, 0,'1')">详情</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -423,7 +423,7 @@
|
|
|
<el-table-column prop="refuse" label="驳回原因" width="120"></el-table-column>
|
|
<el-table-column prop="refuse" label="驳回原因" width="120"></el-table-column>
|
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope, 0)">详情</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, 0,'2')">详情</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -567,7 +567,7 @@
|
|
|
<el-table-column prop="jyPremium" label="驾意险" width="120"></el-table-column>
|
|
<el-table-column prop="jyPremium" label="驾意险" width="120"></el-table-column>
|
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
<el-table-column label="操作" fixed="right" width="200">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope, 0)">详情</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, 0,'3')">详情</el-button>
|
|
|
<el-button link type="primary" size="small" @click="handleCancel(scope)">取消疑问订单</el-button>
|
|
<el-button link type="primary" size="small" @click="handleCancel(scope)">取消疑问订单</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -596,8 +596,7 @@ import { useRouter, useRoute } from 'vue-router'
|
|
|
|
|
|
|
|
const myRouter = useRouter()
|
|
const myRouter = useRouter()
|
|
|
const myRoute = useRoute()
|
|
const myRoute = useRoute()
|
|
|
-
|
|
|
|
|
-let activeName = ref('0')
|
|
|
|
|
|
|
+let activeName = ref(myRoute.query.activeindex as any || '0')
|
|
|
const handleClick = (e) => {
|
|
const handleClick = (e) => {
|
|
|
activeName.value = e.props.name
|
|
activeName.value = e.props.name
|
|
|
pages.value = 1
|
|
pages.value = 1
|
|
@@ -730,12 +729,13 @@ const initList = (type) => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const handleToDetail = (scope, bool) => {
|
|
|
|
|
|
|
+const handleToDetail = (scope, bool,index) => {
|
|
|
myRouter.push({
|
|
myRouter.push({
|
|
|
path: '/finance/auditOrderDetail',
|
|
path: '/finance/auditOrderDetail',
|
|
|
query: {
|
|
query: {
|
|
|
id: scope.row.orderNo,
|
|
id: scope.row.orderNo,
|
|
|
- isShow: bool
|
|
|
|
|
|
|
+ isShow: bool,
|
|
|
|
|
+ activeindex: index
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|