增加限制
This commit is contained in:
@@ -426,7 +426,6 @@ function fnGetList(pageNum?: number) {
|
||||
) {
|
||||
queryParams.startTime = queryRangePicker.value[0].valueOf();
|
||||
queryParams.endTime = queryRangePicker.value[1].valueOf();
|
||||
console.log(queryRangePicker.value[0].valueOf());
|
||||
} else {
|
||||
queryParams.startTime = undefined;
|
||||
queryParams.endTime = undefined;
|
||||
@@ -569,7 +568,6 @@ function fnModalVisibleByEdit(record: Record<string, any>) {
|
||||
modalState.title = t('common.viewText') + t('views.dashboard.cdr.msd');
|
||||
modalState.openByView = true;
|
||||
modalState.from = Object.assign(modalState.from, record.cdrJSON.msdData);
|
||||
console.log(record, modalState.from);
|
||||
// if (!record || !record.cdrJSON) return;
|
||||
// const cdrJSON = record.cdrJSON;
|
||||
// Modal.info({
|
||||
@@ -857,7 +855,9 @@ onBeforeUnmount(() => {
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'msdData'">
|
||||
<a-button type="link" @click.prevent="fnModalVisibleByEdit(record)">
|
||||
<a-button type="link" @click.prevent="fnModalVisibleByEdit(record)"
|
||||
:disabled="!record.cdrJSON.msdData"
|
||||
>
|
||||
<template #icon><InfoCircleOutlined /></template>
|
||||
</a-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user