Compare commits
No commits in common. "f1f27f405bb5ec50f33a40c4ff829018a9da7472" and "f7aaaf7900c1e4a111a3d8f436f96206fe57e7d8" have entirely different histories.
f1f27f405b
...
f7aaaf7900
|
@ -423,7 +423,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div style="font-size: 12px;color:#666;padding: 0 15px 0;text-align: right">
|
<div style="font-size: 12px;color:#666;padding: 0 15px 0;text-align: right">
|
||||||
<i class="el-icon-info" />{{ [1, 2, 3, 4].includes(form.CustomCalculateMark) ? $t('trials:readingUnit:qsList:message:msg1') : $t('trials:readingUnit:qsList:message:msg2') }}
|
<i class="el-icon-info" />{{ [1, 2, 3, 4].includes(form.CustomCalculateMark) ? '请选择同级问题!' : '请选择表格问题下的子问题!' }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
|
@ -453,7 +453,7 @@
|
||||||
:label="$t('trials:readingUnit:qsList:title:typeValue')"
|
:label="$t('trials:readingUnit:qsList:title:typeValue')"
|
||||||
prop="TypeValue"
|
prop="TypeValue"
|
||||||
:rules="[
|
:rules="[
|
||||||
{required: form.Type !== 'number', message: this.$t('common:ruleMessage:specify'), trigger: ['blur', 'change']},
|
{required: form.Type !== 'number', trigger: ['blur', 'change']},
|
||||||
{validator: validateTypeVal, trigger: ['blur', 'change']},
|
{validator: validateTypeVal, trigger: ['blur', 'change']},
|
||||||
{max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200`}]"
|
{max: 200, message: `${this.$t('common:ruleMessage:maxLength')} 200`}]"
|
||||||
>
|
>
|
||||||
|
@ -976,11 +976,10 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
this.form.ClassifyAlgorithms = JSON.stringify(this.ClassifyAlgorithmsList)
|
|
||||||
this.$refs.tableQsForm.validate(valid => {
|
this.$refs.tableQsForm.validate(valid => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
this.form.ClassifyAlgorithms = JSON.stringify(this.ClassifyAlgorithmsList)
|
||||||
if(this.form.QuestionName && this.$i18n.locale === 'zh'){
|
if(this.form.QuestionName && this.$i18n.locale === 'zh'){
|
||||||
this.form.QuestionEnName = this.form.QuestionName;
|
this.form.QuestionEnName = this.form.QuestionName;
|
||||||
}else if(this.form.QuestionEnName && this.$i18n.locale === 'en'){
|
}else if(this.form.QuestionEnName && this.$i18n.locale === 'en'){
|
||||||
|
|
Loading…
Reference in New Issue