添加用户执行历史展示

This commit is contained in:
likun 2025-05-19 18:26:41 +08:00
parent 44372acdef
commit 07d379eae1
2 changed files with 8 additions and 6 deletions

View File

@ -10,10 +10,11 @@ const props = defineProps({
})
let disableConditionInput1 = true
if (props.disableConditionInput) {
disableConditionInput1 = props.disableConditionInput
if (props.disableConditionInput === false) {
disableConditionInput1 = false
}
console.log("禁止搜索框:", disableConditionInput1)
// console.log("", disableConditionInput1)
// console.log("", props.disableConditionInput)
const isAdminCharacter = userStore().userInfo.character === 'admin'
const hasListPermit = ref(isAdminCharacter)
@ -171,14 +172,13 @@ const handlePaginationCurChange = (val) => {
.app-content1 {
height: calc(100vh - 500px);
height: calc(100vh - 300px);
display: flex;
.table-content {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
overflow: auto;
.table {

View File

@ -2,10 +2,12 @@
import tableHistory from "@/components/user/history.vue";
const flag = false
</script>
<template>
<component :is="tableHistory" disableConditionInput="false"></component>
<component :is="tableHistory" :disableConditionInput="flag"></component>
</template>
<style scoped>