【逻辑&富文本图片】编辑逻辑后富文本图片失效
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
@change="selectHandleOpt"
|
@change="selectHandleOpt"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
@change="selectHandleOpt"
|
@change="selectHandleOpt"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
@change="selectHandleOpt"
|
@change="selectHandleOpt"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
@change="selectHandleOpt"
|
@change="selectHandleOpt"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
@change="selectHandleOpt"
|
@change="selectHandleOpt"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
@change="selectHandleRow"
|
@change="selectHandleRow"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.rowOptionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.rowOptionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
@change="selectHandleCol"
|
@change="selectHandleCol"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.colOptionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.colOptionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
@change="selectHandleRow"
|
@change="selectHandleRow"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.rowOptionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.rowOptionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -299,7 +299,7 @@
|
|||||||
@change="selectHandleCol"
|
@change="selectHandleCol"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.colOptionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.colOptionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -326,7 +326,7 @@
|
|||||||
@change="selectHandleClassifyRow"
|
@change="selectHandleClassifyRow"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.optionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -353,7 +353,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -380,7 +380,7 @@
|
|||||||
@change="selectHandleRow"
|
@change="selectHandleRow"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.rowOptionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.rowOptionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -404,7 +404,7 @@
|
|||||||
@change="selectHandleCol"
|
@change="selectHandleCol"
|
||||||
>
|
>
|
||||||
<a-select-option v-for="opt in copyQuesInfo.colOptionsList" :key="opt.id" :value="opt.id">
|
<a-select-option v-for="opt in copyQuesInfo.colOptionsList" :key="opt.id" :value="opt.id">
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -553,7 +553,7 @@
|
|||||||
)
|
)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div
|
<div
|
||||||
@@ -930,7 +930,7 @@ function util(store, copyQuesInfo) {
|
|||||||
func(newQues, temp, ass);
|
func(newQues, temp, ass);
|
||||||
temp.relatedList = JSON.parse(JSON.stringify(temp.relatedList)).map((tempOpt) => {
|
temp.relatedList = JSON.parse(JSON.stringify(temp.relatedList)).map((tempOpt) => {
|
||||||
tempOpt.id = uuidv4();
|
tempOpt.id = uuidv4();
|
||||||
tempOpt.option = `${tempOpt.option}[关联自${temp.title}]`;
|
tempOpt.optionStr = `${tempOpt.option}[关联自${temp.title}]`;
|
||||||
return tempOpt;
|
return tempOpt;
|
||||||
});
|
});
|
||||||
if (temp.type === 0) {
|
if (temp.type === 0) {
|
||||||
@@ -952,7 +952,7 @@ function util(store, copyQuesInfo) {
|
|||||||
return ids
|
return ids
|
||||||
? options
|
? options
|
||||||
?.filter((opt) => ids.includes(opt.id))
|
?.filter((opt) => ids.includes(opt.id))
|
||||||
.map((opt) => opt.option)
|
.map((opt) => opt.optionStr)
|
||||||
.join(",")
|
.join(",")
|
||||||
: "";
|
: "";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" style="max-width: 100px;">选项</div>
|
<div class="logical-select" style="max-width: 100px;">选项</div>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select">
|
<div class="logical-select">
|
||||||
<div>{{ copyChild.is_select ? "被选中" : "未被选中" }}</div>
|
<div>{{ copyChild.is_select ? "被选中" : "未被选中" }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -136,7 +136,7 @@ export default {
|
|||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
context.emit("changes");
|
context.emit("changes");
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeHandleGroup = () => {
|
const changeHandleGroup = () => {
|
||||||
copyChild.value.option_index = copyChild.value.group_index;
|
copyChild.value.option_index = copyChild.value.group_index;
|
||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -55,16 +55,16 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-usually">
|
<div class="logical-usually">
|
||||||
{{ copyChild.operator }}
|
{{ copyChild.operator }}
|
||||||
</div>
|
</div>
|
||||||
<div class="logical-select" v-html="colOptionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="colOptionInfo?.optionStr || ''"></div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select">
|
<div class="logical-select">
|
||||||
<div>{{ copyChild.is_select ? "被选中" : "未被选中" }}</div>
|
<div>{{ copyChild.is_select ? "被选中" : "未被选中" }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,7 +77,7 @@ export default {
|
|||||||
var getCascaderOptions = (cascade) => {
|
var getCascaderOptions = (cascade) => {
|
||||||
return cascade.map(o => {
|
return cascade.map(o => {
|
||||||
var res = {
|
var res = {
|
||||||
label: o.option,
|
label: o.optionStr,
|
||||||
value: o.option_index,
|
value: o.option_index,
|
||||||
};
|
};
|
||||||
var children = o.cascade && getCascaderOptions(o.cascade);
|
var children = o.cascade && getCascaderOptions(o.cascade);
|
||||||
|
|||||||
@@ -25,13 +25,13 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-usually">{{ copyChild.operator }}</div>
|
<div class="logical-usually">{{ copyChild.operator }}</div>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ export default {
|
|||||||
const filterOptionHandle = (value, option, optionList) => {
|
const filterOptionHandle = (value, option, optionList) => {
|
||||||
let result = false;
|
let result = false;
|
||||||
const curOpt = optionList.find((opt) => opt.id === option.key);
|
const curOpt = optionList.find((opt) => opt.id === option.key);
|
||||||
if (curOpt.option.includes(value)) {
|
if (curOpt.optionStr.includes(value)) {
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -117,14 +117,14 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${data.ques.title}${data.ques.stem}`"
|
v-html="`${data.ques.title}${data.ques.stemStr}`"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="logical-usually">跳到</div>
|
<div class="logical-usually">跳到</div>
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
v-for="ques in data.afterQuesList"
|
v-for="ques in data.afterQuesList"
|
||||||
:key="ques.id"
|
:key="ques.id"
|
||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
>{{ ques.title }}{{ ques.stem }}</a-select-option
|
>{{ ques.title }}{{ ques.stemStr }}</a-select-option
|
||||||
>
|
>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
data.afterQuesList.find(
|
data.afterQuesList.find(
|
||||||
(val) =>
|
(val) =>
|
||||||
val.question_index === item.skip_question_index
|
val.question_index === item.skip_question_index
|
||||||
)?.stem
|
)?.stemStr
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -183,14 +183,14 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${data.ques.title}${data.ques.stem}`"
|
v-html="`${data.ques.title}${data.ques.stemStr}`"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
@@ -238,7 +238,7 @@
|
|||||||
}${
|
}${
|
||||||
hasLogicQuesList.find(
|
hasLogicQuesList.find(
|
||||||
(val) => val.question_index === child.question_index
|
(val) => val.question_index === child.question_index
|
||||||
)?.stem || ''
|
)?.stemStr || ''
|
||||||
}`
|
}`
|
||||||
"
|
"
|
||||||
></div>
|
></div>
|
||||||
@@ -416,14 +416,14 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${data.ques.title}${data.ques.stem}`"
|
v-html="`${data.ques.title}${data.ques.stemStr}`"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="logical-usually">跳到</div>
|
<div class="logical-usually">跳到</div>
|
||||||
@@ -446,7 +446,7 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
@@ -463,7 +463,7 @@
|
|||||||
data.afterQuesList.find(
|
data.afterQuesList.find(
|
||||||
(val) =>
|
(val) =>
|
||||||
val.question_index === item.skip_question_index
|
val.question_index === item.skip_question_index
|
||||||
)?.stem || ''
|
)?.stemStr || ''
|
||||||
}`
|
}`
|
||||||
"
|
"
|
||||||
></div>
|
></div>
|
||||||
@@ -490,14 +490,14 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${data.ques.title}${data.ques.stem}`"
|
v-html="`${data.ques.title}${data.ques.stemStr}`"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -613,14 +613,14 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${data.ques.title}${data.ques.stem}`"
|
v-html="`${data.ques.title}${data.ques.stemStr}`"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="logical-usually">跳到</div>
|
<div class="logical-usually">跳到</div>
|
||||||
@@ -643,7 +643,7 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
@@ -660,7 +660,7 @@
|
|||||||
data.afterQuesList.find(
|
data.afterQuesList.find(
|
||||||
(val) =>
|
(val) =>
|
||||||
val.question_index === item.skip_question_index
|
val.question_index === item.skip_question_index
|
||||||
)?.stem || ''
|
)?.stemStr || ''
|
||||||
}`
|
}`
|
||||||
"
|
"
|
||||||
></div>
|
></div>
|
||||||
@@ -682,14 +682,14 @@
|
|||||||
:value="ques.question_index"
|
:value="ques.question_index"
|
||||||
><div
|
><div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${ques.title}${ques.stem}`"
|
v-html="`${ques.title}${ques.stemStr}`"
|
||||||
></div
|
></div
|
||||||
></a-select-option>
|
></a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<div v-else class="logical-select">
|
<div v-else class="logical-select">
|
||||||
<div
|
<div
|
||||||
class="logical-option"
|
class="logical-option"
|
||||||
v-html="`${data.ques.title}${data.ques.stem}`"
|
v-html="`${data.ques.title}${data.ques.stemStr}`"
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
<AutoFill
|
<AutoFill
|
||||||
@@ -1500,6 +1500,7 @@ function domEventHandle(dataList, allQuesList, questionInfo, saveLogical) {
|
|||||||
question_index: undefined,
|
question_index: undefined,
|
||||||
title: "",
|
title: "",
|
||||||
stem: "",
|
stem: "",
|
||||||
|
stemStr: "",
|
||||||
logic_config: {},
|
logic_config: {},
|
||||||
},
|
},
|
||||||
skipQuesList: getSkipQuesList(questionInfo.value, "", flag === "auto"),
|
skipQuesList: getSkipQuesList(questionInfo.value, "", flag === "auto"),
|
||||||
@@ -1680,6 +1681,7 @@ function domEventHandle(dataList, allQuesList, questionInfo, saveLogical) {
|
|||||||
question_index: undefined,
|
question_index: undefined,
|
||||||
title: "",
|
title: "",
|
||||||
stem: "",
|
stem: "",
|
||||||
|
stemStr: "",
|
||||||
logic_config: {},
|
logic_config: {},
|
||||||
};
|
};
|
||||||
newCopyListObj.id = uuidv4();
|
newCopyListObj.id = uuidv4();
|
||||||
@@ -1737,28 +1739,28 @@ function getOptionListAndConfig(questionIndex, questionList, allQuesList) {
|
|||||||
curQues?.options.filter((opt) => opt.find((x) => x.type === 0))[0] || []
|
curQues?.options.filter((opt) => opt.find((x) => x.type === 0))[0] || []
|
||||||
).map((opt) => {
|
).map((opt) => {
|
||||||
opt.parent_question_index = 0;
|
opt.parent_question_index = 0;
|
||||||
opt.option = nodeHandle(opt.option);
|
opt.optionStr = nodeHandle(opt.option);
|
||||||
return opt;
|
return opt;
|
||||||
});
|
});
|
||||||
const rowOptionsList = (
|
const rowOptionsList = (
|
||||||
curQues?.options.filter((opt) => opt.find((x) => x.type === 1))[0] || []
|
curQues?.options.filter((opt) => opt.find((x) => x.type === 1))[0] || []
|
||||||
).map((opt) => {
|
).map((opt) => {
|
||||||
opt.parent_question_index = 0;
|
opt.parent_question_index = 0;
|
||||||
opt.option = nodeHandle(opt.option);
|
opt.optionStr = nodeHandle(opt.option);
|
||||||
return opt;
|
return opt;
|
||||||
});
|
});
|
||||||
const colOptionsList = (
|
const colOptionsList = (
|
||||||
curQues?.options.filter((opt) => opt.find((x) => x.type === 2))[0] || []
|
curQues?.options.filter((opt) => opt.find((x) => x.type === 2))[0] || []
|
||||||
).map((opt) => {
|
).map((opt) => {
|
||||||
opt.parent_question_index = 0;
|
opt.parent_question_index = 0;
|
||||||
opt.option = nodeHandle(opt.option);
|
opt.optionStr = nodeHandle(opt.option);
|
||||||
return opt;
|
return opt;
|
||||||
});
|
});
|
||||||
const classifyOptionsList = (
|
const classifyOptionsList = (
|
||||||
curQues?.options.filter((opt) => opt.find((x) => x.type === 3))[0] || []
|
curQues?.options.filter((opt) => opt.find((x) => x.type === 3))[0] || []
|
||||||
).map((opt) => {
|
).map((opt) => {
|
||||||
opt.parent_question_index = 0;
|
opt.parent_question_index = 0;
|
||||||
opt.option = nodeHandle(opt.option);
|
opt.optionStr = nodeHandle(opt.option);
|
||||||
return opt;
|
return opt;
|
||||||
});
|
});
|
||||||
const getRelationOption = (info) => {
|
const getRelationOption = (info) => {
|
||||||
@@ -1773,7 +1775,7 @@ function getOptionListAndConfig(questionIndex, questionList, allQuesList) {
|
|||||||
const newOpt = newQues.options
|
const newOpt = newQues.options
|
||||||
.filter((opt) => opt.find((x) => x.type === ass.cite_type))?.[0]?.map((opt) => {
|
.filter((opt) => opt.find((x) => x.type === ass.cite_type))?.[0]?.map((opt) => {
|
||||||
opt.parent_question_index = newQues.question_index;
|
opt.parent_question_index = newQues.question_index;
|
||||||
opt.option = nodeHandle(opt.option);
|
opt.optionStr = nodeHandle(opt.option);
|
||||||
return opt;
|
return opt;
|
||||||
}) || [];
|
}) || [];
|
||||||
tempObj.relatedList.push(...newOpt);
|
tempObj.relatedList.push(...newOpt);
|
||||||
@@ -1794,7 +1796,7 @@ function getOptionListAndConfig(questionIndex, questionList, allQuesList) {
|
|||||||
const newOpt = newQues.options
|
const newOpt = newQues.options
|
||||||
.filter((opt) => opt.find((x) => x.type === ass.cite_type))?.[0]?.map((opt) => {
|
.filter((opt) => opt.find((x) => x.type === ass.cite_type))?.[0]?.map((opt) => {
|
||||||
opt.parent_question_index = newQues.question_index;
|
opt.parent_question_index = newQues.question_index;
|
||||||
opt.option = nodeHandle(opt.option);
|
opt.optionStr = nodeHandle(opt.option);
|
||||||
return opt;
|
return opt;
|
||||||
}) || [];
|
}) || [];
|
||||||
temp.relatedList.push(...newOpt);
|
temp.relatedList.push(...newOpt);
|
||||||
@@ -1802,7 +1804,7 @@ function getOptionListAndConfig(questionIndex, questionList, allQuesList) {
|
|||||||
temp.relatedList = JSON.parse(JSON.stringify(temp.relatedList)).map(
|
temp.relatedList = JSON.parse(JSON.stringify(temp.relatedList)).map(
|
||||||
(tempOpt) => {
|
(tempOpt) => {
|
||||||
tempOpt.id = uuidv4();
|
tempOpt.id = uuidv4();
|
||||||
tempOpt.option = `${tempOpt.option}[关联自${temp.title}]`;
|
tempOpt.optionStr = `${tempOpt.option}[关联自${temp.title}]`;
|
||||||
return tempOpt;
|
return tempOpt;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -1838,7 +1840,7 @@ function getSkipQuesList(questionInfo, info, filterQues) {
|
|||||||
quesList = questionInfo.questions
|
quesList = questionInfo.questions
|
||||||
.filter((x) => x.id && ![6, 18].includes(x.question_type))
|
.filter((x) => x.id && ![6, 18].includes(x.question_type))
|
||||||
.map((ques) => {
|
.map((ques) => {
|
||||||
ques.stem = nodeHandle(ques.stem);
|
ques.stemStr = nodeHandle(ques.stem);
|
||||||
return ques;
|
return ques;
|
||||||
});
|
});
|
||||||
// 如果是自动填写逻辑需要过滤掉指定题型
|
// 如果是自动填写逻辑需要过滤掉指定题型
|
||||||
@@ -1874,7 +1876,7 @@ function getShowQuesList(questionInfo, info, filterQues) {
|
|||||||
quesList = questionInfo.questions
|
quesList = questionInfo.questions
|
||||||
.filter((x) => x.id && ![6, 18].includes(x.question_type))
|
.filter((x) => x.id && ![6, 18].includes(x.question_type))
|
||||||
.map((ques) => {
|
.map((ques) => {
|
||||||
ques.stem = nodeHandle(ques.stem);
|
ques.stemStr = nodeHandle(ques.stem);
|
||||||
return ques;
|
return ques;
|
||||||
});
|
});
|
||||||
// 如果是自动填写逻辑需要过滤掉指定题型
|
// 如果是自动填写逻辑需要过滤掉指定题型
|
||||||
@@ -1911,25 +1913,28 @@ function getQuesOptionListAfter(questionInfo, info) {
|
|||||||
question_index: -1,
|
question_index: -1,
|
||||||
title: "正常完成",
|
title: "正常完成",
|
||||||
stem: "",
|
stem: "",
|
||||||
|
stemStr: "",
|
||||||
});
|
});
|
||||||
afterSkipLogicQuesList.push({
|
afterSkipLogicQuesList.push({
|
||||||
id: -2,
|
id: -2,
|
||||||
question_index: -2,
|
question_index: -2,
|
||||||
title: "提前终止",
|
title: "提前终止",
|
||||||
stem: "",
|
stem: "",
|
||||||
|
stemStr: "",
|
||||||
});
|
});
|
||||||
afterSkipLogicQuesList.push({
|
afterSkipLogicQuesList.push({
|
||||||
id: -3,
|
id: -3,
|
||||||
question_index: -3,
|
question_index: -3,
|
||||||
title: "配额超限",
|
title: "配额超限",
|
||||||
stem: "",
|
stem: "",
|
||||||
|
stemStr: "",
|
||||||
});
|
});
|
||||||
const quesList = questionInfo.questions.filter((x) => x.id);
|
const quesList = questionInfo.questions.filter((x) => x.id);
|
||||||
afterSkipLogicQuesList.push(
|
afterSkipLogicQuesList.push(
|
||||||
...quesList
|
...quesList
|
||||||
.filter((ques) => ques.id !== info.id)
|
.filter((ques) => ques.id !== info.id)
|
||||||
.map((ques) => {
|
.map((ques) => {
|
||||||
ques.stem = nodeHandle(ques.stem);
|
ques.stemStr = nodeHandle(ques.stem);
|
||||||
return ques;
|
return ques;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-if="copyChild.is_option_group">
|
<template v-if="copyChild.is_option_group">
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select" style="max-width: 100px;">分组</div>
|
<div class="logical-select" style="max-width: 100px;">分组</div>
|
||||||
<div class="logical-select" v-html="getGroupName(copyChild.group_index)"></div>
|
<div class="logical-select" v-html="getGroupName(copyChild.group_index)"></div>
|
||||||
<div class="logical-select">
|
<div class="logical-select">
|
||||||
@@ -99,9 +99,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select" style="max-width: 100px;">选项</div>
|
<div class="logical-select" style="max-width: 100px;">选项</div>
|
||||||
<div class="logical-select" v-html="colOptionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="colOptionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select logical-select-none">
|
<div class="logical-select logical-select-none">
|
||||||
<div>{{ copyChild.is_select ? "被选中" : "未被选中" }}</div>
|
<div>{{ copyChild.is_select ? "被选中" : "未被选中" }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -166,7 +166,7 @@ export default {
|
|||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
context.emit("changes");
|
context.emit("changes");
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeHandleGroup = () => {
|
const changeHandleGroup = () => {
|
||||||
copyChild.value.cell_index = copyChild.value.group_index;
|
copyChild.value.cell_index = copyChild.value.group_index;
|
||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<!-- 整数,小数 -->
|
<!-- 整数,小数 -->
|
||||||
@@ -84,8 +84,8 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select" v-html="colOptionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="colOptionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-usually">
|
<div class="logical-usually">
|
||||||
{{ copyChild.operator }}
|
{{ copyChild.operator }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -95,16 +95,16 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-if="copyChild.is_option_group">
|
<template v-if="copyChild.is_option_group">
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select" style="max-width: 100px;">分组</div>
|
<div class="logical-select" style="max-width: 100px;">分组</div>
|
||||||
<div class="logical-usually">{{ copyChild.operator }}</div>
|
<div class="logical-usually">{{ copyChild.operator }}</div>
|
||||||
<div class="logical-select" v-html="getGroupName(copyChild.group_index)"></div>
|
<div class="logical-select" v-html="getGroupName(copyChild.group_index)"></div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select" style="max-width: 100px;">选项</div>
|
<div class="logical-select" style="max-width: 100px;">选项</div>
|
||||||
<div class="logical-usually">{{ copyChild.operator }}</div>
|
<div class="logical-usually">{{ copyChild.operator }}</div>
|
||||||
<div class="logical-select" v-html="colOptionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="colOptionInfo?.optionStr || ''"></div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
@@ -174,13 +174,13 @@ export default {
|
|||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
context.emit("changes");
|
context.emit("changes");
|
||||||
}
|
}
|
||||||
|
|
||||||
const changeHandleGroup = () => {
|
const changeHandleGroup = () => {
|
||||||
copyChild.value.cell_index = copyChild.value.group_index;
|
copyChild.value.cell_index = copyChild.value.group_index;
|
||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
context.emit("changes");
|
context.emit("changes");
|
||||||
};
|
};
|
||||||
|
|
||||||
const getGroupName = (group_index) => {
|
const getGroupName = (group_index) => {
|
||||||
return copyChild.value.config?.cell_option_groups?.option_group.find(x => x.group_index == group_index)?.title
|
return copyChild.value.config?.cell_option_groups?.option_group.find(x => x.group_index == group_index)?.title
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -65,8 +65,8 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-select" v-html="colOptionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="colOptionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-usually">
|
<div class="logical-usually">
|
||||||
{{ copyChild.operator }}
|
{{ copyChild.operator }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export default {
|
|||||||
const filterOptionHandle = (value, option, optionList) => {
|
const filterOptionHandle = (value, option, optionList) => {
|
||||||
let result = false;
|
let result = false;
|
||||||
const curOpt = optionList.find((opt) => opt.id === option.key);
|
const curOpt = optionList.find((opt) => opt.id === option.key);
|
||||||
if (curOpt.option.includes(value)) {
|
if (curOpt.optionStr.includes(value)) {
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" style="max-width: 100px;">选项</div>
|
<div class="logical-select" style="max-width: 100px;">选项</div>
|
||||||
<div class="logical-usually">{{ copyChild.operator }}</div>
|
<div class="logical-usually">{{ copyChild.operator }}</div>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
@@ -131,7 +131,7 @@ export default {
|
|||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
context.emit("changes");
|
context.emit("changes");
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeHandleGroup = () => {
|
const changeHandleGroup = () => {
|
||||||
copyChild.value.option_index = copyChild.value.group_index;
|
copyChild.value.option_index = copyChild.value.group_index;
|
||||||
context.emit("update:child", copyChild.value);
|
context.emit("update:child", copyChild.value);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-usually">
|
<div class="logical-usually">
|
||||||
{{ copyChild.operator }}
|
{{ copyChild.operator }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
:key="opt.id"
|
:key="opt.id"
|
||||||
:value="opt.id"
|
:value="opt.id"
|
||||||
>
|
>
|
||||||
<div class="logical-option" v-html="opt.option"></div>
|
<div class="logical-option" v-html="opt.optionStr"></div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<a-select
|
<a-select
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
</a-select>
|
</a-select>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="logical-select" v-html="optionInfo?.option || ''"></div>
|
<div class="logical-select" v-html="optionInfo?.optionStr || ''"></div>
|
||||||
<div class="logical-usually">
|
<div class="logical-usually">
|
||||||
{{ copyChild.operator }}
|
{{ copyChild.operator }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user