@@ -18,7 +18,7 @@ | |||
" | |||
> | |||
<template #search> | |||
<el-select clearable filterable v-model="searchForm.agencyId" style="width: 200px" placeholder="请输入渠道编号"> | |||
<el-select clearable filterable v-model="searchForm.agencyId" style="width: 200px" placeholder="请选择渠道名称"> | |||
<el-option v-for="item in agencyAllList" :key="item.value" :label="item.label" :value="item.value" /> | |||
</el-select> | |||
<el-input |
@@ -9,7 +9,7 @@ | |||
getList() | |||
}"> | |||
<template #search> | |||
<el-select clearable filterable v-model="searchForm.agencyId" style="width: 200px" placeholder="请输入渠道编号"> | |||
<el-select clearable filterable v-model="searchForm.agencyId" style="width: 200px" placeholder="请选择渠道名称"> | |||
<el-option v-for="item in agencyAllList" :key="item.value" :label="item.label" :value="item.value" /> | |||
</el-select> | |||
<el-input maxlength="60" v-trim clearable v-model="searchForm.orderNo" style="width: 200px" |
@@ -6,6 +6,9 @@ | |||
@submit="submit" @handleInfo="handleInfo" @add="add" @handleChangeRecord="handleChangeRecord" | |||
@handleChangeInfo="handleChangeInfo" @handleChangeInfoAudit="handleChangeInfo"> | |||
<template #search> | |||
<el-select clearable filterable v-model="searchForm.agencyId" style="width: 200px" placeholder="请选择渠道名称"> | |||
<el-option v-for="item in agencyAllList" :key="item.value" :label="item.label" :value="item.value" /> | |||
</el-select> | |||
<el-input maxlength="60" v-trim clearable v-model="searchForm.releaseId" style="width: 200px" | |||
placeholder="请输入产品编号" /> | |||
<el-input maxlength="60" v-trim clearable v-model="searchForm.promoteName" style="width: 200px" | |||
@@ -97,6 +100,7 @@ const PAY_TYPE = computed(() => { | |||
}) | |||
//查询参数 | |||
const searchForm = ref({ | |||
agencyId:'', | |||
releaseId:'', | |||
promoteName: '', | |||
status: '', | |||
@@ -291,6 +295,7 @@ function handleCurrentChange(val: number) { | |||
// 搜索重置 | |||
function refreshLeft() { | |||
searchForm.value = { | |||
agencyId:'', | |||
releaseId:'', | |||
promoteName: '', | |||
status: '', | |||
@@ -400,11 +405,26 @@ function handleAfterFeeRef() { | |||
// }) | |||
// } | |||
//获取列表 | |||
const agencyAllList: any = ref([]) | |||
function getAgencyAll() { | |||
BaseService.postN('/userw/agency/queryAgencyqueryAll').then((res: any) => { | |||
if (res && res.code === 0) { | |||
//数据渲染 | |||
//data为 | |||
let data = res.data || [] | |||
agencyAllList.value = data.map(item => ({ | |||
label: item.name, | |||
value: item.agencyId, | |||
})) | |||
} | |||
}) | |||
} | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
getAgencyAll() | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |
@@ -15,6 +15,9 @@ | |||
} | |||
"> | |||
<template #search> | |||
<el-select clearable filterable v-model="searchForm.agencyId" style="width: 200px" placeholder="请选择渠道名称"> | |||
<el-option v-for="item in agencyAllList" :key="item.value" :label="item.label" :value="item.value" /> | |||
</el-select> | |||
<el-input maxlength="60" v-trim clearable v-model="searchForm.releaseId" style="width: 200px" | |||
placeholder="请输入产品编号" /> | |||
<el-input maxlength="60" v-trim clearable v-model="searchForm.productName" style="width: 200px" | |||
@@ -639,6 +642,7 @@ onActivated(() => { | |||
//查询参数 | |||
const searchForm = ref({ | |||
agencyId:'', | |||
releaseId:'', | |||
productName: '', | |||
status: '', | |||
@@ -733,6 +737,7 @@ function handleCurrentChange(val: number) { | |||
// 搜索重置 | |||
function refreshLeft() { | |||
searchForm.value = { | |||
agencyId:'', | |||
releaseId:'', | |||
productName: '', | |||
status: '', | |||
@@ -915,11 +920,26 @@ function handleChangeReason(b) { | |||
} | |||
}) | |||
} | |||
const agencyAllList: any = ref([]) | |||
function getAgencyAll() { | |||
BaseService.postN('/userw/agency/queryAgencyqueryAll').then((res: any) => { | |||
if (res && res.code === 0) { | |||
//数据渲染 | |||
//data为 | |||
let data = res.data || [] | |||
agencyAllList.value = data.map(item => ({ | |||
label: item.name, | |||
value: item.agencyId, | |||
})) | |||
} | |||
}) | |||
} | |||
function getList() { | |||
if(!IsPermission(route, 'QUERY_BASE')){ | |||
ElMessage.error('您没有权限,请联系管理员!') | |||
return | |||
} | |||
getAgencyAll() | |||
crudRef.value.tableLoding = true | |||
let params: any = { | |||
pageNo: field.value.paging.currentPage, |