-
+
{
tempOpt.id = uuidv4();
- tempOpt.option = `${tempOpt.option}[关联自${temp.title}]`;
+ tempOpt.optionStr = `${tempOpt.option}[关联自${temp.title}]`;
return tempOpt;
});
if (temp.type === 0) {
@@ -952,7 +952,7 @@ function util(store, copyQuesInfo) {
return ids
? options
?.filter((opt) => ids.includes(opt.id))
- .map((opt) => opt.option)
+ .map((opt) => opt.optionStr)
.join(",")
: "";
};
diff --git a/src/views/planetDesign/Logical/fragment/CheckBox.vue b/src/views/planetDesign/Logical/fragment/CheckBox.vue
index e83f984a..bef121e4 100644
--- a/src/views/planetDesign/Logical/fragment/CheckBox.vue
+++ b/src/views/planetDesign/Logical/fragment/CheckBox.vue
@@ -32,7 +32,7 @@
:key="opt.id"
:value="opt.id"
>
-
+
选项
-
+
{{ copyChild.is_select ? "被选中" : "未被选中" }}
@@ -136,7 +136,7 @@ export default {
context.emit("update:child", copyChild.value);
context.emit("changes");
};
-
+
const changeHandleGroup = () => {
copyChild.value.option_index = copyChild.value.group_index;
context.emit("update:child", copyChild.value);
diff --git a/src/views/planetDesign/Logical/fragment/Classify.vue b/src/views/planetDesign/Logical/fragment/Classify.vue
index 9c826abb..3bdbf989 100644
--- a/src/views/planetDesign/Logical/fragment/Classify.vue
+++ b/src/views/planetDesign/Logical/fragment/Classify.vue
@@ -17,7 +17,7 @@
:key="opt.id"
:value="opt.id"
>
-
+
-
+
-
+
{{ copyChild.operator }}
-
+
diff --git a/src/views/planetDesign/Logical/fragment/FileUpload.vue b/src/views/planetDesign/Logical/fragment/FileUpload.vue
index 321ac78a..0af605aa 100644
--- a/src/views/planetDesign/Logical/fragment/FileUpload.vue
+++ b/src/views/planetDesign/Logical/fragment/FileUpload.vue
@@ -38,7 +38,7 @@
-
+
{{ copyChild.is_select ? "被选中" : "未被选中" }}
@@ -77,7 +77,7 @@ export default {
var getCascaderOptions = (cascade) => {
return cascade.map(o => {
var res = {
- label: o.option,
+ label: o.optionStr,
value: o.option_index,
};
var children = o.cascade && getCascaderOptions(o.cascade);
diff --git a/src/views/planetDesign/Logical/fragment/HotArea.vue b/src/views/planetDesign/Logical/fragment/HotArea.vue
index f7f395c7..3a2aa31e 100644
--- a/src/views/planetDesign/Logical/fragment/HotArea.vue
+++ b/src/views/planetDesign/Logical/fragment/HotArea.vue
@@ -25,13 +25,13 @@
:key="opt.id"
:value="opt.id"
>
-
+
{{ copyChild.operator }}
-
+
@@ -71,7 +71,7 @@ export default {
const filterOptionHandle = (value, option, optionList) => {
let result = false;
const curOpt = optionList.find((opt) => opt.id === option.key);
- if (curOpt.option.includes(value)) {
+ if (curOpt.optionStr.includes(value)) {
result = true;
}
return result;
diff --git a/src/views/planetDesign/Logical/fragment/LogicList.vue b/src/views/planetDesign/Logical/fragment/LogicList.vue
index e6ad4d40..e850338c 100644
--- a/src/views/planetDesign/Logical/fragment/LogicList.vue
+++ b/src/views/planetDesign/Logical/fragment/LogicList.vue
@@ -117,14 +117,14 @@
:value="ques.question_index"
>
跳到
@@ -145,7 +145,7 @@
v-for="ques in data.afterQuesList"
:key="ques.id"
:value="ques.question_index"
- >{{ ques.title }}{{ ques.stem }}{{ ques.title }}{{ ques.stemStr }}
@@ -160,7 +160,7 @@
data.afterQuesList.find(
(val) =>
val.question_index === item.skip_question_index
- )?.stem
+ )?.stemStr
}}
@@ -183,14 +183,14 @@
:value="ques.question_index"
>
@@ -223,7 +223,7 @@
>
@@ -238,7 +238,7 @@
}${
hasLogicQuesList.find(
(val) => val.question_index === child.question_index
- )?.stem || ''
+ )?.stemStr || ''
}`
"
>