fix: 更新cdr/ue时间强制转换数值类型
This commit is contained in:
@@ -79,8 +79,8 @@ function fnQueryReset() {
|
|||||||
eventType: '',
|
eventType: '',
|
||||||
imsi: '',
|
imsi: '',
|
||||||
tenantName: '',
|
tenantName: '',
|
||||||
startTime: '',
|
startTime: 0,
|
||||||
endTime: '',
|
endTime: 0,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
});
|
});
|
||||||
@@ -338,7 +338,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.ue.exportTip'),
|
content: t('views.dashboard.ue.exportTip'),
|
||||||
@@ -348,6 +348,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportAMFDataUE(querys)
|
exportAMFDataUE(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -426,7 +426,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
@@ -436,6 +436,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportIMSDataCDR(querys)
|
exportIMSDataCDR(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -77,8 +77,8 @@ function fnQueryReset() {
|
|||||||
eventType: '',
|
eventType: '',
|
||||||
imsi: '',
|
imsi: '',
|
||||||
tenantName: '',
|
tenantName: '',
|
||||||
startTime: '',
|
startTime: 0,
|
||||||
endTime: '',
|
endTime: 0,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
});
|
});
|
||||||
@@ -332,7 +332,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.ue.exportTip'),
|
content: t('views.dashboard.ue.exportTip'),
|
||||||
@@ -342,6 +342,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportMMEDataUE(querys)
|
exportMMEDataUE(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
@@ -372,6 +372,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportSGWCDataCDR(querys)
|
exportSGWCDataCDR(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
@@ -418,6 +418,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportSMFDataCDR(querys)
|
exportSMFDataCDR(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -371,7 +371,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
@@ -381,6 +381,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportSMSCDataCDR(querys)
|
exportSMSCDataCDR(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -51,9 +51,9 @@ let queryParams = reactive({
|
|||||||
sortField: 'timestamp',
|
sortField: 'timestamp',
|
||||||
sortOrder: 'desc',
|
sortOrder: 'desc',
|
||||||
/**开始时间 */
|
/**开始时间 */
|
||||||
startTime: '',
|
startTime: 0,
|
||||||
/**结束时间 */
|
/**结束时间 */
|
||||||
endTime: '',
|
endTime: 0,
|
||||||
/**当前页数 */
|
/**当前页数 */
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
/**每页条数 */
|
/**每页条数 */
|
||||||
@@ -262,8 +262,8 @@ function fnGetList(pageNum?: number) {
|
|||||||
if (!queryRangePicker.value) {
|
if (!queryRangePicker.value) {
|
||||||
queryRangePicker.value = ['', ''];
|
queryRangePicker.value = ['', ''];
|
||||||
}
|
}
|
||||||
queryParams.startTime = queryRangePicker.value[0];
|
queryParams.startTime = Number(queryRangePicker.value[0]);
|
||||||
queryParams.endTime = queryRangePicker.value[1];
|
queryParams.endTime = Number(queryRangePicker.value[1]);
|
||||||
listAMFDataUE(toRaw(queryParams)).then(res => {
|
listAMFDataUE(toRaw(queryParams)).then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
|
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
|
||||||
// 取消勾选
|
// 取消勾选
|
||||||
@@ -300,7 +300,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.ue.exportTip'),
|
content: t('views.dashboard.ue.exportTip'),
|
||||||
@@ -310,6 +310,8 @@ function fnExportList() {
|
|||||||
const querys = toRaw(queryParams);
|
const querys = toRaw(queryParams);
|
||||||
querys.pageNum = 1;
|
querys.pageNum = 1;
|
||||||
querys.pageSize = tablePagination.total;
|
querys.pageSize = tablePagination.total;
|
||||||
|
querys.startTime = Number(querys.startTime);
|
||||||
|
querys.endTime = Number(querys.endTime);
|
||||||
exportAMFDataUE(querys)
|
exportAMFDataUE(querys)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
|
|||||||
@@ -301,7 +301,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.ue.exportTip'),
|
content: t('views.dashboard.ue.exportTip'),
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
|
|||||||
@@ -37,9 +37,9 @@ let queryParams = reactive({
|
|||||||
sortField: 'timestamp',
|
sortField: 'timestamp',
|
||||||
sortOrder: 'desc',
|
sortOrder: 'desc',
|
||||||
/**开始时间 */
|
/**开始时间 */
|
||||||
startTime: '',
|
startTime: 0,
|
||||||
/**结束时间 */
|
/**结束时间 */
|
||||||
endTime: '',
|
endTime: 0,
|
||||||
/**当前页数 */
|
/**当前页数 */
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
/**每页条数 */
|
/**每页条数 */
|
||||||
@@ -53,8 +53,8 @@ function fnQueryReset() {
|
|||||||
recordType: '',
|
recordType: '',
|
||||||
callerParty: '',
|
callerParty: '',
|
||||||
calledParty: '',
|
calledParty: '',
|
||||||
startTime: '',
|
startTime: 0,
|
||||||
endTime: '',
|
endTime: 0,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
});
|
});
|
||||||
@@ -233,8 +233,8 @@ function fnGetList(pageNum?: number) {
|
|||||||
if (!queryRangePicker.value) {
|
if (!queryRangePicker.value) {
|
||||||
queryRangePicker.value = ['', ''];
|
queryRangePicker.value = ['', ''];
|
||||||
}
|
}
|
||||||
queryParams.startTime = queryRangePicker.value[0];
|
queryParams.startTime = Number(queryRangePicker.value[0]);
|
||||||
queryParams.endTime = queryRangePicker.value[1];
|
queryParams.endTime = Number(queryRangePicker.value[1]);
|
||||||
listSMSCDataCDR(toRaw(queryParams)).then(res => {
|
listSMSCDataCDR(toRaw(queryParams)).then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
|
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.rows)) {
|
||||||
// 取消勾选
|
// 取消勾选
|
||||||
@@ -271,7 +271,7 @@ function fnGetList(pageNum?: number) {
|
|||||||
|
|
||||||
/**列表导出 */
|
/**列表导出 */
|
||||||
function fnExportList() {
|
function fnExportList() {
|
||||||
if (modalState.confirmLoading) return;
|
if (modalState.confirmLoading || tablePagination.total === 0) return;
|
||||||
Modal.confirm({
|
Modal.confirm({
|
||||||
title: t('common.tipTitle'),
|
title: t('common.tipTitle'),
|
||||||
content: t('views.dashboard.cdr.exportTip'),
|
content: t('views.dashboard.cdr.exportTip'),
|
||||||
|
|||||||
Reference in New Issue
Block a user