...
|
...
|
@@ -220,6 +220,10 @@ layui.define(['table', 'form', 'laydate', 'common', 'sessions', 'laydate', 'admi |
|
|
//当从cmdb同步数据,且没有配置采集协议是,可以调整资源类型
|
|
|
if (bean.recordWay == 'cmdb_sync' && !bean.collProtocol){
|
|
|
$('#slt-res-manage-add-restype').parents('.layui-form-item').removeClass('hide');
|
|
|
//如果有资源类型,则回填 joke add 20230317
|
|
|
if (bean.resType) {
|
|
|
initValue = [bean.resType];
|
|
|
}
|
|
|
}else{
|
|
|
if (bean.resType) {
|
|
|
initValue = [bean.resType];
|
...
|
...
|
|