|
@@ -468,7 +468,7 @@ export default {
|
|
|
let isDiagFlag = positionArr.some(item => item === 3);
|
|
|
// console.log(isVisFlag, 'isVisFlag');
|
|
|
if (
|
|
|
- (this.showType == 3 || this.showType == 4 || this.showType == 5) &&
|
|
|
+ (this.showType == 3 || this.showType == 4 || this.showType == 5 || this.showType == 6) &&
|
|
|
isVisFlag
|
|
|
) {
|
|
|
//若医学术语为检验/检查,且内容类型选择了注意事项,此时“注意事项标题”是必填项
|
|
@@ -479,6 +479,7 @@ export default {
|
|
|
trigger: 'change'
|
|
|
});
|
|
|
this.$refs.groups.validateField('titleChange');
|
|
|
+ this.$refs.groups.validateField('selectedTerm');
|
|
|
this.rules.titleChange = this.rules.titleChange.slice(0, 1);
|
|
|
|
|
|
if (this.form.titleChange.trim() !== '') {
|
|
@@ -501,6 +502,7 @@ export default {
|
|
|
trigger: 'change'
|
|
|
});
|
|
|
this.$refs.groups.validateField('titleChange');
|
|
|
+ this.$refs.groups.validateField('selectedTerm');
|
|
|
this.rules.titleChange = this.rules.titleChange.slice(0, 1);
|
|
|
|
|
|
if (this.form.titleChange.trim() !== '') {
|