根据条件导出
This commit is contained in:
@@ -517,10 +517,7 @@ function fnExportList(type: string) {
|
|||||||
if (!neId) return;
|
if (!neId) return;
|
||||||
|
|
||||||
const hide = message.loading(t('common.loading'), 0);
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
exportUDMAuth({
|
exportUDMAuth({ ...queryParams, ...{ type } })
|
||||||
neId: neId,
|
|
||||||
type: type,
|
|
||||||
})
|
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success(t('common.msgSuccess', { msg: t('common.export') }), 3);
|
message.success(t('common.msgSuccess', { msg: t('common.export') }), 3);
|
||||||
|
|||||||
@@ -894,13 +894,11 @@ function fnRecordExport(type: string = 'txt') {
|
|||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList(type: string) {
|
function fnExportList(type: string) {
|
||||||
const neId = queryParams.neId;
|
const neId = queryParams.neId;
|
||||||
|
|
||||||
if (!neId) return;
|
if (!neId) return;
|
||||||
const key = 'exportSub';
|
const key = 'exportSub';
|
||||||
message.loading({ content: t('common.loading'), key });
|
message.loading({ content: t('common.loading'), key });
|
||||||
exportUDMSub({
|
exportUDMSub({ ...queryParams, ...{ type } }).then(res => {
|
||||||
neId: neId,
|
|
||||||
type: type,
|
|
||||||
}).then(res => {
|
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.msgSuccess', { msg: t('common.export') }),
|
content: t('common.msgSuccess', { msg: t('common.export') }),
|
||||||
@@ -1104,13 +1102,9 @@ function delBigRow(bigIndex: any) {
|
|||||||
bigRows.value.splice(bigIndex, 1);
|
bigRows.value.splice(bigIndex, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// 初始字典数据
|
// 初始字典数据
|
||||||
Promise.allSettled([
|
Promise.allSettled([listTenant({ parentId: 0 })]).then(resArr => {
|
||||||
listTenant({ parentId: 0 }),
|
|
||||||
]).then(resArr => {
|
|
||||||
if (resArr[0].status === 'fulfilled') {
|
if (resArr[0].status === 'fulfilled') {
|
||||||
var tenantNameData = resArr[0].value;
|
var tenantNameData = resArr[0].value;
|
||||||
if (
|
if (
|
||||||
@@ -1187,12 +1181,12 @@ onMounted(() => {
|
|||||||
v-model:value="queryParams.imsi"
|
v-model:value="queryParams.imsi"
|
||||||
allow-clear
|
allow-clear
|
||||||
:maxlength="15"
|
:maxlength="15"
|
||||||
style="width:70%"
|
style="width: 70%"
|
||||||
:placeholder="t('common.inputPlease')"
|
:placeholder="t('common.inputPlease')"
|
||||||
></a-input>
|
></a-input>
|
||||||
<a-select
|
<a-select
|
||||||
:label="t('views.neUser.sub.imsiMode')"
|
:label="t('views.neUser.sub.imsiMode')"
|
||||||
style="width:30%"
|
style="width: 30%"
|
||||||
v-model:value="queryParams.imsiMatch"
|
v-model:value="queryParams.imsiMatch"
|
||||||
v-show="queryParams.imsi"
|
v-show="queryParams.imsi"
|
||||||
:options="[
|
:options="[
|
||||||
|
|||||||
@@ -945,13 +945,12 @@ function fnRecordExport(type: string = 'txt') {
|
|||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList(type: string) {
|
function fnExportList(type: string) {
|
||||||
const neID = queryParams.neId;
|
const neID = queryParams.neId;
|
||||||
|
const imsi = queryParams.imsi;
|
||||||
|
const msisdn = queryParams.msisdn;
|
||||||
if (!neID) return;
|
if (!neID) return;
|
||||||
const key = 'exportSub';
|
const key = 'exportSub';
|
||||||
message.loading({ content: t('common.loading'), key });
|
message.loading({ content: t('common.loading'), key });
|
||||||
exportUDMSub({
|
exportUDMSub({ ...queryParams, ...{ type } }).then(res => {
|
||||||
neId: neID,
|
|
||||||
type: type,
|
|
||||||
}).then(res => {
|
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.msgSuccess', { msg: t('common.export') }),
|
content: t('common.msgSuccess', { msg: t('common.export') }),
|
||||||
|
|||||||
Reference in New Issue
Block a user