f
This commit is contained in:
@@ -18,6 +18,27 @@
|
||||
<el-option label="已通过" value="approved" />
|
||||
<el-option label="已拒绝" value="rejected" />
|
||||
</el-select>
|
||||
<el-input
|
||||
v-model="filterCompanyName"
|
||||
placeholder="企业名称"
|
||||
clearable
|
||||
style="width: 180px"
|
||||
@keyup.enter="loadList"
|
||||
/>
|
||||
<el-input
|
||||
v-model="filterLegalPersonPhone"
|
||||
placeholder="法人手机号"
|
||||
clearable
|
||||
style="width: 140px"
|
||||
@keyup.enter="loadList"
|
||||
/>
|
||||
<el-input
|
||||
v-model="filterLegalPersonName"
|
||||
placeholder="法人姓名"
|
||||
clearable
|
||||
style="width: 120px"
|
||||
@keyup.enter="loadList"
|
||||
/>
|
||||
<el-button type="primary" @click="loadList">查询</el-button>
|
||||
</div>
|
||||
|
||||
@@ -194,6 +215,9 @@ const total = ref(0)
|
||||
const page = ref(1)
|
||||
const pageSize = ref(10)
|
||||
const filterStatus = ref('')
|
||||
const filterCompanyName = ref('')
|
||||
const filterLegalPersonPhone = ref('')
|
||||
const filterLegalPersonName = ref('')
|
||||
|
||||
const drawerVisible = ref(false)
|
||||
const detail = ref(null)
|
||||
@@ -285,7 +309,10 @@ async function loadList() {
|
||||
const res = await certificationApi.adminListSubmitRecords({
|
||||
page: page.value,
|
||||
page_size: pageSize.value,
|
||||
manual_review_status: filterStatus.value || undefined
|
||||
manual_review_status: filterStatus.value || undefined,
|
||||
company_name: filterCompanyName.value || undefined,
|
||||
legal_person_phone: filterLegalPersonPhone.value || undefined,
|
||||
legal_person_name: filterLegalPersonName.value || undefined
|
||||
})
|
||||
const data = res?.data
|
||||
list.value = data?.items ?? []
|
||||
|
||||
Reference in New Issue
Block a user