|
@@ -319,10 +319,16 @@ export default {
|
|
|
return this.isHasTag(item, this.selectLeftTagsList);
|
|
|
},
|
|
|
searchTagList() {
|
|
|
+ let ids = []
|
|
|
+ this.rows.map((it, x) => {
|
|
|
+ if (it.subQuestion) {
|
|
|
+ ids=ids.concat(it.subQuestion.split(','))
|
|
|
+ }
|
|
|
+ });
|
|
|
let param = {
|
|
|
tagName: this.searchVal.trim(),
|
|
|
type: this.ascription,
|
|
|
- notIds: [],
|
|
|
+ notIds: ids,
|
|
|
notControlType: ['8'], //组合填写单或非诊疗情况模版不能添加图片上传
|
|
|
sexType: this.sexType,
|
|
|
tagType: ["1"] //qaType=2:组合填写单,qaType=3模板
|
|
@@ -412,6 +418,13 @@ export default {
|
|
|
if (this.rows[i].exclusionCon&&this.rows[i].exclusionCon === 1) {
|
|
|
this.rows[i].exclusionCon = 0;
|
|
|
this.rows[i].subQuestion = '';
|
|
|
+ this.rows.map((it, x) => {
|
|
|
+ if (x === i) {
|
|
|
+ this.selectLeftTagsList = [];
|
|
|
+ it.subQuestion = '';
|
|
|
+ }
|
|
|
+ });
|
|
|
+ this.searchTagList()
|
|
|
return;
|
|
|
}
|
|
|
this.rows.map((it, x) => {
|
|
@@ -425,7 +438,7 @@ export default {
|
|
|
it.subQuestion = ids.join(',');
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+ this.searchTagList()
|
|
|
},
|
|
|
handleExclu() {
|
|
|
const i = this.focusOn;
|