|
|
@ -8,7 +8,7 @@ |
|
|
|
<el-input v-model="searchForm.name" placeholder="线索名称" clearable /> |
|
|
|
<el-input v-model="searchForm.name" placeholder="线索名称" clearable /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="searchForm.state" placeholder="审核状态" clearable> |
|
|
|
<el-select v-model="searchForm.state" placeholder="审核状态" clearable style="width: 120px"> |
|
|
|
<el-option label="待审核" :value="1" /> |
|
|
|
<el-option label="待审核" :value="1" /> |
|
|
|
<el-option label="已撤销" :value="2" /> |
|
|
|
<el-option label="已撤销" :value="2" /> |
|
|
|
<el-option label="已通过" :value="3" /> |
|
|
|
<el-option label="已通过" :value="3" /> |
|
|
@ -16,7 +16,13 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="appStore.getAppInfo?.instanceType == 1"> |
|
|
|
<el-form-item v-if="appStore.getAppInfo?.instanceType == 1"> |
|
|
|
<el-select v-model="searchForm.receiver" placeholder="接待人" clearable filterable> |
|
|
|
<el-select |
|
|
|
|
|
|
|
v-model="searchForm.receiver" |
|
|
|
|
|
|
|
placeholder="接待人" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
style="width: 120px" |
|
|
|
|
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in allUserOptions" |
|
|
|
v-for="item in allUserOptions" |
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
@ -26,7 +32,13 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-else-if="appStore.getAppInfo?.instanceType == 2"> |
|
|
|
<el-form-item v-else-if="appStore.getAppInfo?.instanceType == 2"> |
|
|
|
<el-select v-model="searchForm.convertPeople" placeholder="转化人" clearable filterable> |
|
|
|
<el-select |
|
|
|
|
|
|
|
v-model="searchForm.convertPeople" |
|
|
|
|
|
|
|
placeholder="转化人" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
style="width: 120px" |
|
|
|
|
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in allUserOptions" |
|
|
|
v-for="item in allUserOptions" |
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
@ -36,7 +48,13 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="searchForm.signUser" placeholder="登记人" clearable filterable> |
|
|
|
<el-select |
|
|
|
|
|
|
|
v-model="searchForm.signUser" |
|
|
|
|
|
|
|
placeholder="登记人" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
style="width: 120px" |
|
|
|
|
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in userOptions" |
|
|
|
v-for="item in userOptions" |
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
@ -54,10 +72,17 @@ |
|
|
|
range-separator="-" |
|
|
|
range-separator="-" |
|
|
|
start-placeholder="成交日期" |
|
|
|
start-placeholder="成交日期" |
|
|
|
end-placeholder="成交日期" |
|
|
|
end-placeholder="成交日期" |
|
|
|
|
|
|
|
style="width: 240px" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="searchForm.applyUser" placeholder="申请人" clearable filterable> |
|
|
|
<el-select |
|
|
|
|
|
|
|
v-model="searchForm.applyUser" |
|
|
|
|
|
|
|
placeholder="申请人" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
style="width: 120px" |
|
|
|
|
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in userOptions" |
|
|
|
v-for="item in userOptions" |
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
@ -75,12 +100,27 @@ |
|
|
|
range-separator="-" |
|
|
|
range-separator="-" |
|
|
|
start-placeholder="申请日期" |
|
|
|
start-placeholder="申请日期" |
|
|
|
end-placeholder="申请日期" |
|
|
|
end-placeholder="申请日期" |
|
|
|
|
|
|
|
style="width: 240px" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button @click="handleSearch">查询</el-button> |
|
|
|
<el-date-picker |
|
|
|
<el-button @click="handleReset">重置</el-button> |
|
|
|
v-model="searchForm.checkTime" |
|
|
|
<el-button @click="batchAudit">批量审核</el-button> |
|
|
|
type="daterange" |
|
|
|
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
|
|
|
|
range-separator="-" |
|
|
|
|
|
|
|
start-placeholder="审核日期" |
|
|
|
|
|
|
|
end-placeholder="审核日期" |
|
|
|
|
|
|
|
style="width: 240px" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
|
|
|
|
<el-button @click="handleSearch" v-hasPermi="['clue:order:return-search']">查询</el-button> |
|
|
|
|
|
|
|
<el-button @click="handleReset" v-hasPermi="['clue:order:return-reset']">重置</el-button> |
|
|
|
|
|
|
|
<el-button @click="batchAudit" v-hasPermi="['clue:order:return-batch-audit']"> |
|
|
|
|
|
|
|
批量审核 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
@ -169,14 +209,27 @@ |
|
|
|
<el-table-column prop="applyUserName" label="申请人" min-width="90" /> |
|
|
|
<el-table-column prop="applyUserName" label="申请人" min-width="90" /> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
|
prop="applyTime" |
|
|
|
prop="applyTime" |
|
|
|
label="申请时间" |
|
|
|
label="审核人" |
|
|
|
|
|
|
|
min-width="120px" |
|
|
|
|
|
|
|
:formatter="dateFormatter" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<el-table-column prop="checkUser" label="审核人" min-width="90" /> |
|
|
|
|
|
|
|
<el-table-column |
|
|
|
|
|
|
|
prop="checkTime" |
|
|
|
|
|
|
|
label="审核时间" |
|
|
|
min-width="120px" |
|
|
|
min-width="120px" |
|
|
|
:formatter="dateFormatter" |
|
|
|
:formatter="dateFormatter" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<el-table-column prop="stateName" label="审核状态" fixed="right" min-width="90" /> |
|
|
|
<el-table-column prop="stateName" label="审核状态" fixed="right" min-width="90" /> |
|
|
|
<el-table-column label="操作" width="220px" fixed="right"> |
|
|
|
<el-table-column label="操作" width="220px" fixed="right"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<template #default="{ row }"> |
|
|
|
<el-button type="primary" style="padding: 0" text @click="handleDetail(row)"> |
|
|
|
<el-button |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
style="padding: 0" |
|
|
|
|
|
|
|
text |
|
|
|
|
|
|
|
v-hasPermi="['clue:order:return-detail']" |
|
|
|
|
|
|
|
@click="handleDetail(row)" |
|
|
|
|
|
|
|
> |
|
|
|
详情 |
|
|
|
详情 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button |
|
|
|
<el-button |
|
|
@ -254,6 +307,7 @@ const searchForm = ref({ |
|
|
|
signUser: undefined, |
|
|
|
signUser: undefined, |
|
|
|
applyTime: [], |
|
|
|
applyTime: [], |
|
|
|
applyUser: undefined, |
|
|
|
applyUser: undefined, |
|
|
|
|
|
|
|
checkTime: [], |
|
|
|
pageNo: 1, |
|
|
|
pageNo: 1, |
|
|
|
pageSize: 20 |
|
|
|
pageSize: 20 |
|
|
|
}) |
|
|
|
}) |
|
|
@ -280,6 +334,7 @@ function handleReset() { |
|
|
|
signUser: undefined, |
|
|
|
signUser: undefined, |
|
|
|
applyTime: [], |
|
|
|
applyTime: [], |
|
|
|
applyUser: undefined, |
|
|
|
applyUser: undefined, |
|
|
|
|
|
|
|
checkTime: [], |
|
|
|
pageNo: 1, |
|
|
|
pageNo: 1, |
|
|
|
pageSize: 20 |
|
|
|
pageSize: 20 |
|
|
|
} |
|
|
|
} |
|
|
@ -354,7 +409,7 @@ function getSummaries(param) { |
|
|
|
} else if (column.property == 'personProfit') { |
|
|
|
} else if (column.property == 'personProfit') { |
|
|
|
sums[index] = totalInfo.value.totalPersonProfit |
|
|
|
sums[index] = totalInfo.value.totalPersonProfit |
|
|
|
} else if (column.property == 'companyProfit') { |
|
|
|
} else if (column.property == 'companyProfit') { |
|
|
|
sums[index] = totalInfo.value.totalPersonProfit |
|
|
|
sums[index] = totalInfo.value.totalCompanyProfit |
|
|
|
} else if (column.property == 'signPrice') { |
|
|
|
} else if (column.property == 'signPrice') { |
|
|
|
sums[index] = totalInfo.value.totalSignPrice |
|
|
|
sums[index] = totalInfo.value.totalSignPrice |
|
|
|
} else { |
|
|
|
} else { |
|
|
|