管道气

This commit is contained in:
‘huanghaiixia’
2025-10-24 17:24:12 +08:00
parent d882d9b5b6
commit 19cc342e6f
10 changed files with 865 additions and 331 deletions

View File

@ -21,13 +21,17 @@
</template>
</BasicTable>
<ExpenseNameModal @register="registerModal" @success="handleSuccess" />
<DataLog :logId="logId" :logPath="logPath" v-model:visible="modalVisible"/>
</PageWrapper>
</template>
<script lang="ts" setup>
import { ref, computed, onMounted, onUnmounted, createVNode,
} from 'vue';
} from 'vue';
const modalVisible = ref(false);
const logId = ref('')
const logPath = ref('/mdm/expenseName/datalog');
import { DataLog } from '/@/components/pcitc';
import { Modal } from 'ant-design-vue';
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
import { BasicTable, useTable, TableAction, ActionItem } from '/@/components/Table';
@ -131,8 +135,9 @@
function onSelectChange(rowKeys: string[]) {
selectedKeys.value = rowKeys;
}
function handleDatalog () {
function handleDatalog (record: Recordable) {
modalVisible.value = true
logId.value = record.id
}
function dbClickRow(record) {
if (!actionButtonConfig?.value.some(element => element.code == 'view')) {