998d2347 by chentao

no message

1 parent 9a864740
......@@ -86,52 +86,31 @@
<el-checkbox-group v-model="showForm.form.type">
<div style="display: flex;align-items: center;">
<el-checkbox label="2D" value="2D" />
<el-select
v-model="showForm.form.twoDimensionalType"
placeholder="请选择上传方式"
size="small"
style="width: 240px;margin-left: 16px;"
>
<el-option
v-for="item in dimensional_type"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
<div style="display: flex;align-items: center;">
<el-checkbox label="3D" value="3D" />
<el-select
v-model="showForm.form.threeDimensionalType"
placeholder="请选择上传方式"
size="small"
style="width: 240px;margin-left: 16px;"
>
<el-option
v-for="item in dimensional_type"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</div>
</el-checkbox-group>
</el-form-item>
<el-form-item v-if="determineStatus('2D')" :label="$t('course.dialogTwoD')" label-width="80">
<template v-if="showForm.form.twoDimensionalType == 0">
<template>
<imageUpload v-model="showForm.form.twoDimensionalOssId" :limit='10' :fileType='["png", "jpg", "jpeg", "ico"]'/>
</template>
<template v-else>
<el-input v-model="showForm.form.twoDimensionalUrl" placeholder="请输入链接URL" />
<template>
<fileUpload v-model="showForm.form.twoDimensionalUrl" :fileType='["ldr"]'/>
</template>
<template>
<fileUpload v-model="showForm.form.twoDimensionalType" :fileType='["json"]'/>
</template>
</el-form-item>
<el-form-item v-if="determineStatus('3D')" :label="$t('course.dialogThreeD')" label-width="80">
<template v-if="showForm.form.threeDimensionalType == 0">
<template>
<imageUpload v-model="showForm.form.threeDimensionalOssId" :limit='10' :fileType='["png", "jpg", "jpeg", "ico"]'/>
</template>
<template v-else>
<el-input v-model="showForm.form.threeDimensionalUrl" placeholder="请输入链接URL" />
<template>
<fileUpload v-model="showForm.form.threeDimensionalUrl" :fileType='["ldr"]'/>
</template>
<template>
<fileUpload v-model="showForm.form.threeDimensionalType" :fileType='["json"]'/>
</template>
</el-form-item>
<el-form-item :label="$t('course.dialogCase')" prop="caseOssId" label-width="80">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!