spass导出不支持题目行文本格式

This commit is contained in:
Bella
2023-10-13 16:13:19 +08:00
parent 3f2e6519cc
commit fddb57523a
3 changed files with 7 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -71,7 +71,7 @@
</a-form-item> </a-form-item>
<a-form-item ref="header_column_type" label="题目行格式" @change="changeHeaderColumnType" > <a-form-item ref="header_column_type" label="题目行格式" @change="changeHeaderColumnType" >
<a-radio-group v-model:value="formState.header_column_type" class="custom-radio-group"> <a-radio-group v-model:value="formState.header_column_type" class="custom-radio-group">
<a-radio class="custom-radio" value="0">文本</a-radio> <a-radio class="custom-radio" value="0" :disabled="formState.type === '3'">文本</a-radio>
<a-radio class="custom-radio" value="1">序号</a-radio> <a-radio class="custom-radio" value="1">序号</a-radio>
</a-radio-group> </a-radio-group>
<!-- <a-select class="custom-select" v-model:value="formState.header_column_type" placeholder="请选择">--> <!-- <a-select class="custom-select" v-model:value="formState.header_column_type" placeholder="请选择">-->
@@ -894,6 +894,10 @@ const changeType = (e) => {
message.warning('CSV文件由于格式限制不支持导出代码与文本对照表如有需要请下载Excel文件') message.warning('CSV文件由于格式限制不支持导出代码与文本对照表如有需要请下载Excel文件')
} }
} }
if (e.target.value ==3)
{
formState.header_column_type = '1'
}
// if (e == 3) { // if (e == 3) {
// formState.column_type = null // formState.column_type = null
// formState.header_column_type = null // formState.header_column_type = null

View File

@@ -1007,11 +1007,13 @@ export default defineComponent({
}); });
}; };
const changeallnumber = () => { const changeallnumber = () => {
if (actDetailform.value.rate > 100) { if (actDetailform.value.rate > 100) {
message.error("概率总和不能大于100"); message.error("概率总和不能大于100");
actDetailform.value.rate='' actDetailform.value.rate=''
} }
}; };
//获取活动详情 //获取活动详情
const actDetail = async () => { const actDetail = async () => {
spinning.value = true; spinning.value = true;