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