角色与用户问题修复

uat
wangxiaoshuang 2025-02-24 15:35:33 +08:00
parent 2575e27d22
commit 05c75c32cf
2 changed files with 20 additions and 16 deletions

View File

@ -146,6 +146,7 @@
<!-- 具名slot -->
<slot v-if="item.type === 'Custom'" :name="item.slot" />
</el-form-item>
<div style="display: inline-block;width: fit-content;">
<el-form-item v-for="item in searchHandle" :key="item.label">
<slot v-if="item.slot" :name="item.slot" />
<el-button
@ -157,6 +158,7 @@
>{{ item.label }}</el-button
>
</el-form-item>
</div>
</el-form>
</div>
</template>
@ -174,11 +176,11 @@ export default {
},
labelWidth: {
type: String,
default: "",
default: '',
},
size: {
type: String,
default: "mini",
default: 'mini',
},
searchForm: {
type: Array,
@ -196,10 +198,10 @@ export default {
methods: {
handleClick(emitKey) {
// emit
this.$emit(`${emitKey}`);
this.$emit(`${emitKey}`)
},
},
};
}
</script>
<style lang="scss">
.base-search-form {

View File

@ -96,7 +96,9 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-tag :type="!scope.row.IsEnable ? 'info' : ''">
{{ $fd('IsEnable', scope.row.IsEnable) }}
</el-tag>
</template>
</el-table-column>
<el-table-column