feat: IMS用户话单支持号码查询

This commit is contained in:
TsMask
2024-05-17 18:00:56 +08:00
parent b40e798090
commit 7a0298a419

View File

@@ -37,6 +37,8 @@ let queryParams = reactive({
neType: 'IMS', neType: 'IMS',
neId: '001', neId: '001',
recordType: 'MOC', recordType: 'MOC',
callerParty: '',
calledParty: '',
sortField: 'timestamp', sortField: 'timestamp',
sortOrder: 'desc', sortOrder: 'desc',
/**当前页数 */ /**当前页数 */
@@ -50,6 +52,8 @@ function fnQueryReset() {
recordTypes.value = ['MOC']; recordTypes.value = ['MOC'];
queryParams = Object.assign(queryParams, { queryParams = Object.assign(queryParams, {
recordType: 'MOC', recordType: 'MOC',
callerParty: '',
calledParty: '',
pageNum: 1, pageNum: 1,
pageSize: 20, pageSize: 20,
}); });
@@ -411,14 +415,14 @@ onBeforeUnmount(() => {
<!-- 表格搜索栏 --> <!-- 表格搜索栏 -->
<a-form :model="queryParams" name="queryParams" layout="horizontal"> <a-form :model="queryParams" name="queryParams" layout="horizontal">
<a-row :gutter="16"> <a-row :gutter="16">
<a-col :lg="12" :md="12" :xs="24"> <a-col :lg="8" :md="12" :xs="24">
<a-form-item <a-form-item
:label="t('views.dashboard.cdr.recordType')" :label="t('views.dashboard.cdr.recordType')"
name="recordType " name="recordType "
> >
<a-select <a-select
v-model:value="recordTypes" v-model:value="recordTypes"
mode="tags" mode="multiple"
:options=" :options="
['MOC', 'MTC', 'MOSM', 'MTSM'].map(v => ({ value: v })) ['MOC', 'MTC', 'MOSM', 'MTSM'].map(v => ({ value: v }))
" "
@@ -427,7 +431,31 @@ onBeforeUnmount(() => {
></a-select> ></a-select>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6" :md="12" :xs="24"> <a-col :lg="4" :md="12" :xs="24">
<a-form-item
:label="t('views.dashboard.cdr.called')"
name="calledParty "
>
<a-input
v-model:value="queryParams.calledParty"
allow-clear
:placeholder="t('common.inputPlease')"
></a-input>
</a-form-item>
</a-col>
<a-col :lg="4" :md="12" :xs="24">
<a-form-item
:label="t('views.dashboard.cdr.caller')"
name="callerParty "
>
<a-input
v-model:value="queryParams.callerParty"
allow-clear
:placeholder="t('common.inputPlease')"
></a-input>
</a-form-item>
</a-col>
<a-col :lg="4" :md="12" :xs="24">
<a-form-item> <a-form-item>
<a-space :size="8"> <a-space :size="8">
<a-button type="primary" @click.prevent="fnGetList(1)"> <a-button type="primary" @click.prevent="fnGetList(1)">