添加数据日志,港口、品种、公司资质证书、LNG气源地调试

This commit is contained in:
2025-10-27 16:30:22 +08:00
parent 231ba89c53
commit 1e4c82f206
11 changed files with 1518 additions and 1569 deletions

View File

@ -20,6 +20,7 @@
</template>
</BasicTable>
<CurrencyModal @register="registerModal" @success="handleSuccess" />
<DataLog :logId="logId" :logPath="logPath" v-model:visible="modalVisible" />
</PageWrapper>
</template>
<script lang="ts" setup>
@ -43,7 +44,10 @@
import Icon from '/@/components/Icon/index';
import useEventBus from '/@/hooks/event/useEventBus';
import { cloneDeep } from 'lodash-es';
import { DataLog } from '/@/components/pcitc';
const modalVisible = ref(false);
const logId = ref('');
const logPath = ref('/mdm/currency/datalog');
const { bus, CREATE_FLOW, FLOW_PROCESSED, FORM_LIST_MODIFIED } = useEventBus();
const { notification } = useMessage();
@ -293,7 +297,10 @@
function handleView(record: Recordable) {
dbClickRow(record);
}
function handleDatalog() {}
function handleDatalog(record: Recordable) {
modalVisible.value = true;
logId.value = record.id;
}
onMounted(() => {
if (schemaIdComputedRef.value) {