|
@@ -663,12 +663,14 @@ export default {
|
|
|
if (res.data.code == '0') {
|
|
|
const data = res.data.data;
|
|
|
let text = '';
|
|
|
- if (data.unMatchList.length > 0) {
|
|
|
- data.unMatchList.forEach(it => {
|
|
|
+ if (data.unMatchList.length > 0 || data.disableList.length > 0 ) {
|
|
|
+ let arr = data.unMatchList.concat(data.disableList)
|
|
|
+ console.log(arr)
|
|
|
+ arr.forEach(it => {
|
|
|
text += it.conceptLibName + '\n';
|
|
|
});
|
|
|
this.$message({
|
|
|
- message: '列表中存在非标准术语',
|
|
|
+ message: '列表中存在非标准术语或禁用术语',
|
|
|
type: 'error'
|
|
|
});
|
|
|
}
|