|
@@ -2076,6 +2076,7 @@ export default {
|
|
node.focus();
|
|
node.focus();
|
|
node.blur();
|
|
node.blur();
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
|
+ const dynamicWordPackIds = [];
|
|
let finallyLenList = this.handleJudgeExec(this.examinForm.getFieldsValue()[field]);
|
|
let finallyLenList = this.handleJudgeExec(this.examinForm.getFieldsValue()[field]);
|
|
const inputDefaultLen = this.examinForm.getFieldsValue()[field].length;
|
|
const inputDefaultLen = this.examinForm.getFieldsValue()[field].length;
|
|
let tagsLen = finallyLenList.length * 4;
|
|
let tagsLen = finallyLenList.length * 4;
|
|
@@ -2085,6 +2086,7 @@ export default {
|
|
finallyLenList.forEach(val => {
|
|
finallyLenList.forEach(val => {
|
|
if (item.name === val) {
|
|
if (item.name === val) {
|
|
tagsSureLen += item.maxWordLen;
|
|
tagsSureLen += item.maxWordLen;
|
|
|
|
+ dynamicWordPackIds.push(item.creativeWordId);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
@@ -2096,6 +2098,7 @@ export default {
|
|
if (item.id === formId) {
|
|
if (item.id === formId) {
|
|
item.lenSize = resultSelectSize;
|
|
item.lenSize = resultSelectSize;
|
|
item.value = this.examinForm.getFieldsValue()[field];
|
|
item.value = this.examinForm.getFieldsValue()[field];
|
|
|
|
+ item.wordPackId = dynamicWordPackIds;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
@@ -2150,7 +2153,7 @@ export default {
|
|
let changeSlogan = this.defaultFormList;
|
|
let changeSlogan = this.defaultFormList;
|
|
changeSlogan.forEach(item => {
|
|
changeSlogan.forEach(item => {
|
|
item.title = item.value;
|
|
item.title = item.value;
|
|
- item.creative_word_ids = [];
|
|
|
|
|
|
+ item.creative_word_ids = item.wordPackId;
|
|
});
|
|
});
|
|
let params = {
|
|
let params = {
|
|
ids: this.modalShowBatchList.map(item => item.id) || [],
|
|
ids: this.modalShowBatchList.map(item => item.id) || [],
|
|
@@ -2293,6 +2296,7 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
|
+ const dynamicWordPackIds = [];
|
|
let finallyLenList = this.handleJudgeExec(this.examinForm.getFieldsValue()[field]);
|
|
let finallyLenList = this.handleJudgeExec(this.examinForm.getFieldsValue()[field]);
|
|
const inputDefaultLen = this.defaultFormList.filter(item => item.id === formId)[0].value.length;
|
|
const inputDefaultLen = this.defaultFormList.filter(item => item.id === formId)[0].value.length;
|
|
let tagsLen = finallyLenList.length * 4;
|
|
let tagsLen = finallyLenList.length * 4;
|
|
@@ -2302,6 +2306,7 @@ export default {
|
|
finallyLenList.forEach(val => {
|
|
finallyLenList.forEach(val => {
|
|
if (item.name === val) {
|
|
if (item.name === val) {
|
|
tagsSureLen += item.maxWordLen;
|
|
tagsSureLen += item.maxWordLen;
|
|
|
|
+ dynamicWordPackIds.push(item.creativeWordId);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
@@ -2312,6 +2317,7 @@ export default {
|
|
this.defaultFormList.forEach(item => {
|
|
this.defaultFormList.forEach(item => {
|
|
if (item.id === formId) {
|
|
if (item.id === formId) {
|
|
item.lenSize = resultSelectSize;
|
|
item.lenSize = resultSelectSize;
|
|
|
|
+ item.wordPackId = dynamicWordPackIds;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.titleFiledResult = changeFiled;
|
|
this.titleFiledResult = changeFiled;
|
|
@@ -2469,7 +2475,7 @@ export default {
|
|
let changeSlogan = this.defaultFormList;
|
|
let changeSlogan = this.defaultFormList;
|
|
changeSlogan.forEach(item => {
|
|
changeSlogan.forEach(item => {
|
|
item.title = item.value;
|
|
item.title = item.value;
|
|
- item.creative_word_ids = [];
|
|
|
|
|
|
+ item.creative_word_ids = item.wordPackId;
|
|
});
|
|
});
|
|
let params = {
|
|
let params = {
|
|
id: this.currentPageOnlyList.id,
|
|
id: this.currentPageOnlyList.id,
|