添加用户执行历史展示
This commit is contained in:
parent
44372acdef
commit
07d379eae1
@ -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 {
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user