批处理创建模型形状部分增加校验类型是否匹配
This commit is contained in:
parent
703a9a427d
commit
adc3a056c2
@ -105,6 +105,7 @@ export default {
|
||||
blankCount: 0,
|
||||
errCount: 0,
|
||||
noMatchCount: 0,
|
||||
noMatchTypeCount: 0,
|
||||
noPermCount: 0,
|
||||
moreMatchCount: 0,
|
||||
readonlyCount: 0
|
||||
@ -149,6 +150,8 @@ export default {
|
||||
that.checkResult.errCount = errCount;
|
||||
let noMatchCount = data.noMatchCount;// 校验不匹配数
|
||||
that.checkResult.noMatchCount = noMatchCount;
|
||||
let noMatchTypeCount = data.noMatchTypeCount;// 模型类型与节点类型不匹配
|
||||
that.checkResult.noMatchTypeCount = noMatchTypeCount;
|
||||
let noPermCount = data.noPermCount;// 没有写权限数
|
||||
that.checkResult.noPermCount = noPermCount;
|
||||
let moreMatchCount = data.moreMatchCount;// 匹配大于一个数
|
||||
@ -175,6 +178,9 @@ export default {
|
||||
if (noMatchCount > 0) {
|
||||
result += ',不匹配<span style="color:red;font-weight:bold;">' + noMatchCount + '</span>条';
|
||||
}
|
||||
if (noMatchTypeCount > 0) {
|
||||
result += ',类型不匹配<span style="color:red;font-weight:bold;">' + noMatchTypeCount + '</span>条';
|
||||
}
|
||||
if (noPermCount > 0) {
|
||||
result += ',没权限<span style="color:red;font-weight:bold;">' + noPermCount + '</span>条';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user