fix: 更新cdr/ue时间强制转换数值类型
This commit is contained in:
@@ -79,8 +79,8 @@ function fnQueryReset() {
|
||||
eventType: '',
|
||||
imsi: '',
|
||||
tenantName: '',
|
||||
startTime: '',
|
||||
endTime: '',
|
||||
startTime: 0,
|
||||
endTime: 0,
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
});
|
||||
@@ -338,7 +338,7 @@ function fnGetList(pageNum?: number) {
|
||||
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
if (modalState.confirmLoading) return;
|
||||
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.dashboard.ue.exportTip'),
|
||||
@@ -348,6 +348,8 @@ function fnExportList() {
|
||||
const querys = toRaw(queryParams);
|
||||
querys.pageNum = 1;
|
||||
querys.pageSize = tablePagination.total;
|
||||
querys.startTime = Number(querys.startTime);
|
||||
querys.endTime = Number(querys.endTime);
|
||||
exportAMFDataUE(querys)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
@@ -426,7 +426,7 @@ function fnGetList(pageNum?: number) {
|
||||
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
if (modalState.confirmLoading) return;
|
||||
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.dashboard.cdr.exportTip'),
|
||||
@@ -436,6 +436,8 @@ function fnExportList() {
|
||||
const querys = toRaw(queryParams);
|
||||
querys.pageNum = 1;
|
||||
querys.pageSize = tablePagination.total;
|
||||
querys.startTime = Number(querys.startTime);
|
||||
querys.endTime = Number(querys.endTime);
|
||||
exportIMSDataCDR(querys)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
@@ -77,8 +77,8 @@ function fnQueryReset() {
|
||||
eventType: '',
|
||||
imsi: '',
|
||||
tenantName: '',
|
||||
startTime: '',
|
||||
endTime: '',
|
||||
startTime: 0,
|
||||
endTime: 0,
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
});
|
||||
@@ -332,7 +332,7 @@ function fnGetList(pageNum?: number) {
|
||||
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
if (modalState.confirmLoading) return;
|
||||
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.dashboard.ue.exportTip'),
|
||||
@@ -342,6 +342,8 @@ function fnExportList() {
|
||||
const querys = toRaw(queryParams);
|
||||
querys.pageNum = 1;
|
||||
querys.pageSize = tablePagination.total;
|
||||
querys.startTime = Number(querys.startTime);
|
||||
querys.endTime = Number(querys.endTime);
|
||||
exportMMEDataUE(querys)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
@@ -362,7 +362,7 @@ function fnGetList(pageNum?: number) {
|
||||
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
if (modalState.confirmLoading) return;
|
||||
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.dashboard.cdr.exportTip'),
|
||||
@@ -372,6 +372,8 @@ function fnExportList() {
|
||||
const querys = toRaw(queryParams);
|
||||
querys.pageNum = 1;
|
||||
querys.pageSize = tablePagination.total;
|
||||
querys.startTime = Number(querys.startTime);
|
||||
querys.endTime = Number(querys.endTime);
|
||||
exportSGWCDataCDR(querys)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
@@ -408,7 +408,7 @@ function fnGetList(pageNum?: number) {
|
||||
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
if (modalState.confirmLoading) return;
|
||||
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.dashboard.cdr.exportTip'),
|
||||
@@ -418,6 +418,8 @@ function fnExportList() {
|
||||
const querys = toRaw(queryParams);
|
||||
querys.pageNum = 1;
|
||||
querys.pageSize = tablePagination.total;
|
||||
querys.startTime = Number(querys.startTime);
|
||||
querys.endTime = Number(querys.endTime);
|
||||
exportSMFDataCDR(querys)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
@@ -371,7 +371,7 @@ function fnGetList(pageNum?: number) {
|
||||
|
||||
/**列表导出 */
|
||||
function fnExportList() {
|
||||
if (modalState.confirmLoading) return;
|
||||
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||
Modal.confirm({
|
||||
title: t('common.tipTitle'),
|
||||
content: t('views.dashboard.cdr.exportTip'),
|
||||
@@ -381,6 +381,8 @@ function fnExportList() {
|
||||
const querys = toRaw(queryParams);
|
||||
querys.pageNum = 1;
|
||||
querys.pageSize = tablePagination.total;
|
||||
querys.startTime = Number(querys.startTime);
|
||||
querys.endTime = Number(querys.endTime);
|
||||
exportSMSCDataCDR(querys)
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user