添加用户执行历史展示
This commit is contained in:
parent
44372acdef
commit
07d379eae1
@ -10,10 +10,11 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
|
|
||||||
let disableConditionInput1 = true
|
let disableConditionInput1 = true
|
||||||
if (props.disableConditionInput) {
|
if (props.disableConditionInput === false) {
|
||||||
disableConditionInput1 = props.disableConditionInput
|
disableConditionInput1 = false
|
||||||
}
|
}
|
||||||
console.log("禁止搜索框:", disableConditionInput1)
|
// console.log("禁止搜索框:", disableConditionInput1)
|
||||||
|
// console.log("禁止搜索框:", props.disableConditionInput)
|
||||||
const isAdminCharacter = userStore().userInfo.character === 'admin'
|
const isAdminCharacter = userStore().userInfo.character === 'admin'
|
||||||
|
|
||||||
const hasListPermit = ref(isAdminCharacter)
|
const hasListPermit = ref(isAdminCharacter)
|
||||||
@ -171,14 +172,13 @@ const handlePaginationCurChange = (val) => {
|
|||||||
|
|
||||||
|
|
||||||
.app-content1 {
|
.app-content1 {
|
||||||
height: calc(100vh - 500px);
|
height: calc(100vh - 300px);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.table-content {
|
.table-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.table {
|
.table {
|
||||||
|
@ -2,10 +2,12 @@
|
|||||||
|
|
||||||
import tableHistory from "@/components/user/history.vue";
|
import tableHistory from "@/components/user/history.vue";
|
||||||
|
|
||||||
|
const flag = false
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<component :is="tableHistory" disableConditionInput="false"></component>
|
<component :is="tableHistory" :disableConditionInput="flag"></component>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user