批处理创建模型形状部分增加校验类型是否匹配

This commit is contained in:
446052889@qq.com 2022-11-09 15:57:11 +08:00
parent 703a9a427d
commit adc3a056c2

View File

@ -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>条';
}