属性库

This commit is contained in:
wang-liang0615 2023-08-15 19:26:49 +08:00
parent 2471af867a
commit 348a34d862
1 changed files with 200 additions and 201 deletions
cmdb-ui/src/modules/cmdb/views/ci_types

View File

@ -72,13 +72,13 @@
/> />
</template> </template>
</a-modal> </a-modal>
</template> </template>
<script> <script>
import { searchAttributes } from '../../api/CITypeAttr' import { searchAttributes } from '../../api/CITypeAttr'
import AttributeCard from './attributeCard.vue' import AttributeCard from './attributeCard.vue'
export default { export default {
name: 'AttributeStore', name: 'AttrbuteStore',
components: { AttributeCard }, components: { AttributeCard },
data() { data() {
return { return {
@ -137,20 +137,20 @@
} }
}, },
}, },
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.attrbute-store-wrapper { .attrbute-store-wrapper {
.attrbute-store-col { .attrbute-store-col {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
} }
</style> </style>
<style lang="less"> <style lang="less">
.attrbute-store-wrapper { .attrbute-store-wrapper {
.ant-modal-body { .ant-modal-body {
height: 70vh; height: 70vh;
overflow: auto; overflow: auto;
@ -160,13 +160,13 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
} }
</style> </style>
<style lang="less"> <style lang="less">
@import '~@/style/static.less'; @import '~@/style/static.less';
.attrbute-store-search { .attrbute-store-search {
width: 300px; width: 300px;
display: inline-block; display: inline-block;
margin-right: 60px; margin-right: 60px;
@ -208,6 +208,5 @@
} }
} }
} }
} }
</style> </style>