|
|
@ -121,7 +121,7 @@ |
|
|
|
:label="item.label" |
|
|
|
:label="item.label" |
|
|
|
min-width="120px" |
|
|
|
min-width="120px" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<el-table-column label="操作" width="200px" fixed="right"> |
|
|
|
<el-table-column label="操作" width="240px" fixed="right"> |
|
|
|
<template #default="scope"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-button |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
type="primary" |
|
|
@ -158,12 +158,22 @@ |
|
|
|
class="mr-10px" |
|
|
|
class="mr-10px" |
|
|
|
link |
|
|
|
link |
|
|
|
style="padding: 0; margin-left: 0" |
|
|
|
style="padding: 0; margin-left: 0" |
|
|
|
v-if="scope.row.isPayoff == '未结清'" |
|
|
|
v-if="scope.row.isPayoff == false" |
|
|
|
v-hasPermi="['clue:order:return']" |
|
|
|
v-hasPermi="['clue:order:return']" |
|
|
|
@click="feeBack(scope.row)" |
|
|
|
@click="feeBack(scope.row)" |
|
|
|
> |
|
|
|
> |
|
|
|
回款 |
|
|
|
回款 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
class="mr-10px" |
|
|
|
|
|
|
|
link |
|
|
|
|
|
|
|
style="padding: 0; margin-left: 0" |
|
|
|
|
|
|
|
v-hasPermi="['clue:pool:enroll']" |
|
|
|
|
|
|
|
@click="cancelDeal(scope.row)" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
取消登记 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</SSTable> |
|
|
|
</SSTable> |
|
|
@ -191,6 +201,7 @@ import { removeNullField } from '@/utils' |
|
|
|
import { useAppStore } from '@/store/modules/app' |
|
|
|
import { useAppStore } from '@/store/modules/app' |
|
|
|
|
|
|
|
|
|
|
|
const appStore = useAppStore() |
|
|
|
const appStore = useAppStore() |
|
|
|
|
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
|
|
|
|
|
|
|
|
const allSchemas = ref({}) |
|
|
|
const allSchemas = ref({}) |
|
|
|
|
|
|
|
|
|
|
@ -297,6 +308,21 @@ function feeBack(row) { |
|
|
|
feedbackDialog.value.open(row.signId) |
|
|
|
feedbackDialog.value.open(row.signId) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 取消登记 |
|
|
|
|
|
|
|
async function cancelDeal(row) { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
// 二次确认 |
|
|
|
|
|
|
|
await message.confirm('是否确认取消登记该线索?') |
|
|
|
|
|
|
|
// 发起删除 |
|
|
|
|
|
|
|
await SignApi.cancelDeal(row.signId) |
|
|
|
|
|
|
|
message.success('取消登记成功!') |
|
|
|
|
|
|
|
// 刷新列表 |
|
|
|
|
|
|
|
await getTableList() |
|
|
|
|
|
|
|
} catch (err) { |
|
|
|
|
|
|
|
console.log(err) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function changeSchool() { |
|
|
|
function changeSchool() { |
|
|
|
searchForm.value.signPlace = undefined |
|
|
|
searchForm.value.signPlace = undefined |
|
|
|
searchForm.value.signClass = undefined |
|
|
|
searchForm.value.signClass = undefined |
|
|
|