This commit is contained in:
qsh
2024-06-19 11:56:00 +08:00
parent 2017baaf03
commit ea7fae45e3
8 changed files with 312 additions and 17 deletions

View File

@@ -29,6 +29,8 @@
<el-date-picker
v-model="searchForm.dealDate"
type="daterange"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
range-separator="-"
start-placeholder="登记日期"
end-placeholder="登记日期"
@@ -48,6 +50,8 @@
<el-date-picker
v-model="searchForm.applyTime"
type="daterange"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
range-separator="-"
start-placeholder="申请日期"
end-placeholder="申请日期"
@@ -94,7 +98,7 @@
text
v-if="row.state == 1"
v-hasPermi="['clue:order:after-sale-audit']"
@click="handleAudit(row.id)"
@click="handleAudit(row)"
>
审核
</el-button>
@@ -107,6 +111,7 @@
:total="total"
@pagination="getList"
/>
<DialogAfterSaleAudit ref="afterSaleAuditDialog" @success="getList" />
</div>
</template>
@@ -115,6 +120,10 @@ import * as AfterSaleApi from '@/api/clue/afterSale'
import { getSimpleUserList as getUserOption } from '@/api/system/user'
import { useUserStore } from '@/store/modules/user'
import DialogAfterSaleAudit from './DialogAfterSaleAudit.vue'
const afterSaleAuditDialog = ref()
const userStore = useUserStore()
const message = useMessage() // 消息弹窗
@@ -168,8 +177,8 @@ async function getList() {
}
}
function batchAudit() {
console.log(123)
function batchAudit(row) {
afterSaleAuditDialog.value.open(row)
}
function handleDetail(id) {
@@ -188,8 +197,8 @@ async function handleCancel(id) {
console.log(err)
}
}
function handleAudit(id) {
console.log(id)
function handleAudit(row) {
afterSaleAuditDialog.value.open(row)
}
function getOptions() {