|
|
|
@ -25,7 +25,11 @@ |
|
|
|
|
<div class="annual">{{ ndbs.annualid }}年度</div> |
|
|
|
|
<div class="title-box"> |
|
|
|
|
<div class="text">{{ ndbs.name }}</div> |
|
|
|
|
<img style="width: 35px;" src="../../assets/images/编组.png" alt="" /> |
|
|
|
|
<img |
|
|
|
|
style="width: 35px" |
|
|
|
|
src="../../assets/images/编组.png" |
|
|
|
|
alt="" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="right"> |
|
|
|
@ -90,7 +94,11 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="选择题目" prop="topicid"> |
|
|
|
|
<el-select v-model="ruleForm.topicid" placeholder="请选择题目" :disabled="isDisable"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="ruleForm.topicid" |
|
|
|
|
placeholder="请选择题目" |
|
|
|
|
:disabled="isDisable" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in options" |
|
|
|
|
:key="item.value" |
|
|
|
@ -168,9 +176,16 @@ |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
<div class="bottom"> |
|
|
|
|
<el-button class="btn" @click="() => router.back()">{{ isDisable ? '返回' : isEdit ? '取消修改' : '取消报名' }}</el-button> |
|
|
|
|
<el-button class="btn cyan" :loading="subLoading" @click="submit" v-if=!isDisable> |
|
|
|
|
{{ isEdit ? '确认修改' : '确认报名' }} |
|
|
|
|
<el-button class="btn" @click="() => router.back()"> |
|
|
|
|
{{ isDisable ? '返回' : isEdit ? '取消修改' : '取消报名' }} |
|
|
|
|
</el-button> |
|
|
|
|
<el-button |
|
|
|
|
class="btn cyan" |
|
|
|
|
:loading="subLoading" |
|
|
|
|
@click="submit" |
|
|
|
|
v-if="!isDisable" |
|
|
|
|
> |
|
|
|
|
{{ isEdit ? '确认修改' : '确认报名' }} |
|
|
|
|
</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -217,8 +232,8 @@ const ndbsXm = ref<any>({}) |
|
|
|
|
|
|
|
|
|
const subLoading = ref(false) |
|
|
|
|
async function submit() { |
|
|
|
|
console.log(ruleForm, 'ruleForm'); |
|
|
|
|
|
|
|
|
|
console.log(ruleForm, 'ruleForm') |
|
|
|
|
|
|
|
|
|
if (!ruleForm.topicid) return ElMessage.warning('请选择题目') |
|
|
|
|
upData.value.teamManagementList[0].realname = info.value.realname |
|
|
|
|
upData.value.teamManagementList[0].userId = info.value.id |
|
|
|
@ -258,7 +273,7 @@ const ruleForm = reactive<any>({ |
|
|
|
|
entryFormat: '个人', |
|
|
|
|
id: route.query.id, |
|
|
|
|
topicid: '', |
|
|
|
|
objName:route.query.objName |
|
|
|
|
objName: route.query.objName, |
|
|
|
|
}) |
|
|
|
|
const options = ref([]) |
|
|
|
|
if (route.query.edit) { |
|
|
|
@ -355,6 +370,7 @@ getTopicListApi() |
|
|
|
|
font-size: 20px; |
|
|
|
|
color: #666666; |
|
|
|
|
line-height: 23px; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -445,6 +461,11 @@ getTopicListApi() |
|
|
|
|
font-size: 32px; |
|
|
|
|
color: #ffffff; |
|
|
|
|
line-height: 39px; |
|
|
|
|
display: -webkit-box; |
|
|
|
|
-webkit-box-orient: vertical; |
|
|
|
|
-webkit-line-clamp: 3; /* 限制显示的行数 */ |
|
|
|
|
overflow: hidden; |
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|