veops / cmdb

CMDB: configuration and management of IT resources
https://veops.cn/cmdb
GNU Affero General Public License v3.0
1.44k stars 370 forks source link

[Feature]: 模型属性添加时增加中文枚举字段 #492

Closed lxyqwer closed 1 month ago

lxyqwer commented 5 months ago

Contact Details

No response

feature is related to UI or API aspects?

No response

What is your advice?

在录入cmdb时候我可能录入的是一个int,但int是有意义的,例如1代表运行,2代表关机,在模型增加属性的时候可以有枚举输入框

Version

newest

lxyqwer commented 5 months ago

这个样在第三方系统调用的时候,就可以拉模型的这个字段读取中文解析

pycook commented 1 month ago

https://github.com/veops/cmdb/releases/tag/v2.4.11