-
+
-
+ size="mini" />
+
{{ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] }}
-
+ v-else-if="(scope.row.Type === 'input' || scope.row.Type === 'textarea') && !scope.row.IsShowInDicom && ((task.IsBaseLine && scope.row.LimitEdit === 1) || (!task.IsBaseLine && scope.row.LimitEdit === 2) || scope.row.LimitEdit === 0)"
+ v-model="questionForm[scope.row.QuestionId]" size="mini" />
+
{{ questionForm[scope.row.QuestionId] }}
+ size="mini" clearable>
-
+
-
+
{{ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] }}
+ v-else-if="(scope.row.Type === 'select' || scope.row.Type === 'radio') && !scope.row.IsShowInDicom && ((task.IsBaseLine && scope.row.LimitEdit === 1) || (!task.IsBaseLine && scope.row.LimitEdit === 2) || scope.row.LimitEdit === 0)"
+ v-model="questionForm[scope.row.QuestionId]" size="mini" clearable>
-
+
-
+
{{ questionForm[scope.row.QuestionId] }}
{questionId = scope.row.QuestionId}"
- >
- {{ scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit }}
+ @focus="() => { questionId = scope.row.QuestionId }">
+ {{ scope.row.Unit !== 4 ? $fd('ValueUnit',
+ scope.row.Unit) : scope.row.CustomUnit }}
%
-
+
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))? questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]:`${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]} ${scope.row.Unit !== 4 ? $fd('ValueUnit',scope.row.Unit) : scope.row.CustomUnit}` }}
+ {{
+ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))
+ ?
+ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] :
+ `${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}
+ ${scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit}` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId])) ? questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]:`${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]} %` }}
+ {{
+ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))
+ ?
+ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] :
+ `${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}
+ %` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId])) ? questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]:`${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}` }}
+ {{
+ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))
+ ?
+ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] :
+ `${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}`
+ }}
{questionId = scope.row.QuestionId}"
- >
- {{ scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit }}
+ @focus="() => { questionId = scope.row.QuestionId }">
+ {{ scope.row.Unit !== 4 ? $fd('ValueUnit',
+ scope.row.Unit) : scope.row.CustomUnit }}
%
-
+
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId]))? questionForm[scope.row.QuestionId]:`${questionForm[scope.row.QuestionId]} ${scope.row.Unit !== 4 ? $fd('ValueUnit',scope.row.Unit) : scope.row.CustomUnit}` }}
+ {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ?
+ questionForm[scope.row.QuestionId] : `${questionForm[scope.row.QuestionId]} ${scope.row.Unit !== 4
+ ?
+ $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit}` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ? questionForm[scope.row.QuestionId]:`${questionForm[scope.row.QuestionId]} %` }}
+ {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ?
+ questionForm[scope.row.QuestionId] : `${questionForm[scope.row.QuestionId]} %` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ? questionForm[scope.row.QuestionId] : questionForm[scope.row.QuestionId] }}
+ {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ? questionForm[scope.row.QuestionId] :
+ questionForm[scope.row.QuestionId] }}
-