|
@@ -12,6 +12,9 @@
|
|
|
</span>
|
|
|
{{ actInfo.name }}
|
|
|
</p>
|
|
|
+ <div class="btn-box">
|
|
|
+ <Button type="warning" size="small">删除</Button>
|
|
|
+ </div>
|
|
|
<!-- <div class="btn-box">
|
|
|
<Steps :current="2" size="small">
|
|
|
<Step title="报名"></Step>
|
|
@@ -37,10 +40,13 @@
|
|
|
<p>承办:
|
|
|
<span v-for="(item, index) in actInfo.cb" :key="index" style="margin-right: 10px;">{{ item }}</span>
|
|
|
</p>
|
|
|
- <p v-if="actInfo.scope === 'area' && isArea">学校:
|
|
|
- <span>
|
|
|
+ <p v-if="actInfo.scope != 'school' && isArea">学校:
|
|
|
+ <span v-if="actInfo.invitedSchools.length">
|
|
|
<span v-for="item in actInfo.invitedSchools" :key="item.id" style="margin-right: 10px;">{{ item.name }}</span>
|
|
|
</span>
|
|
|
+ <span v-else>
|
|
|
+ 所有学校
|
|
|
+ </span>
|
|
|
</p>
|
|
|
<p v-else-if="actInfo.scope === 'school'">
|
|
|
老师:
|
|
@@ -131,61 +137,63 @@
|
|
|
</Table>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="data-box">
|
|
|
- <div class="module-title">评审管理</div>
|
|
|
- <div class="module-data">
|
|
|
- <div class="tab-header">
|
|
|
- <Button @click="processShow = true">添加评审专家</Button>
|
|
|
- <Button style="margin-left: 20px;" @click="workPro = true">自动分配评审作品</Button>
|
|
|
- <Button style="float: right;" @click="ruleDrawer = true">评审规则</Button>
|
|
|
- </div>
|
|
|
- <Table :columns="processColumns" :data="processList">
|
|
|
- <template #process="{}">
|
|
|
- <Progress :percent="25" :stroke-width="10" />
|
|
|
- </template>
|
|
|
- <template #actions="{row, index}">
|
|
|
- <Button type="error" size="small" @click="deleteApplica(row, index, 'process')">删除</Button>
|
|
|
- </template>
|
|
|
- </Table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="data-box">
|
|
|
- <div class="module-title">成绩统计</div>
|
|
|
- <div class="module-data">
|
|
|
- <div class="tab-header">
|
|
|
- <div v-show="!awardsing">
|
|
|
- <Button @click="setAwards()">设置奖项</Button>
|
|
|
- <Button @click="openAch()" style="margin-left: 20px;">公示成绩</Button>
|
|
|
- </div>
|
|
|
- <div v-show="awardsing">
|
|
|
- <Button @click="awardsShow = true">批量设置</Button>
|
|
|
- <Button @click="awardTypes()" style="margin-left: 20px;">取消</Button>
|
|
|
+ <template v-if="actInfo.scope === 'area' && isArea">
|
|
|
+ <div class="data-box">
|
|
|
+ <div class="module-title">评审管理</div>
|
|
|
+ <div class="module-data">
|
|
|
+ <div class="tab-header">
|
|
|
+ <Button @click="processShow = true">添加评审专家</Button>
|
|
|
+ <Button style="margin-left: 20px;" @click="workPro = true">自动分配评审作品</Button>
|
|
|
+ <Button style="float: right;" @click="ruleDrawer = true">评审规则</Button>
|
|
|
</div>
|
|
|
+ <Table :columns="processColumns" :data="processList">
|
|
|
+ <template #process="{}">
|
|
|
+ <Progress :percent="25" :stroke-width="10" />
|
|
|
+ </template>
|
|
|
+ <template #actions="{row, index}">
|
|
|
+ <Button type="error" size="small" @click="deleteApplica(row, index, 'process')">删除</Button>
|
|
|
+ </template>
|
|
|
+ </Table>
|
|
|
</div>
|
|
|
- <Table :columns="scoreColumns" :data="scoreList" height="600">
|
|
|
- <template #score1="{row}">
|
|
|
- <div v-show="!row.edit">
|
|
|
- <span>{{ row.score1 }}</span>
|
|
|
- <Icon type="md-nutrition" @click="row.edit = true" />
|
|
|
- </div>
|
|
|
- <div v-show="row.edit">
|
|
|
- <InputNumber :min="0" v-model="row.score1" />
|
|
|
- <Icon type="md-checkmark-circle" @click="row.edit = false" />
|
|
|
- <Icon type="md-close-circle" @click="row.edit = false" />
|
|
|
+ </div>
|
|
|
+ <div class="data-box">
|
|
|
+ <div class="module-title">成绩统计</div>
|
|
|
+ <div class="module-data">
|
|
|
+ <div class="tab-header">
|
|
|
+ <div v-show="!awardsing">
|
|
|
+ <Button @click="setAwards()">设置奖项</Button>
|
|
|
+ <Button @click="openAch()" style="margin-left: 20px;">公示成绩</Button>
|
|
|
</div>
|
|
|
- </template>
|
|
|
- <template #awards="{row}">
|
|
|
- <span v-if="!awardsing">{{ row.awards ? row.awards : '-' }}</span>
|
|
|
- <div v-else>
|
|
|
- <Select v-model="row.awards" style="width:200px" :transfer="true">
|
|
|
- <Option v-for="item in awardsList" :value="item.value" :key="item.value">{{ item.label }}</Option>
|
|
|
- </Select>
|
|
|
- <Icon type="md-add-circle" @click="addAward = true" />
|
|
|
+ <div v-show="awardsing">
|
|
|
+ <Button @click="awardsShow = true">批量设置</Button>
|
|
|
+ <Button @click="awardTypes()" style="margin-left: 20px;">取消</Button>
|
|
|
</div>
|
|
|
- </template>
|
|
|
- </Table>
|
|
|
+ </div>
|
|
|
+ <Table :columns="scoreColumns" :data="scoreList" height="600">
|
|
|
+ <template #score1="{row}">
|
|
|
+ <div v-show="!row.edit">
|
|
|
+ <span>{{ row.score1 }}</span>
|
|
|
+ <Icon type="md-nutrition" @click="row.edit = true" />
|
|
|
+ </div>
|
|
|
+ <div v-show="row.edit">
|
|
|
+ <InputNumber :min="0" v-model="row.score1" />
|
|
|
+ <Icon type="md-checkmark-circle" @click="row.edit = false" />
|
|
|
+ <Icon type="md-close-circle" @click="row.edit = false" />
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template #awards="{row}">
|
|
|
+ <span v-if="!awardsing">{{ row.awards ? row.awards : '-' }}</span>
|
|
|
+ <div v-else>
|
|
|
+ <Select v-model="row.awards" style="width:200px" :transfer="true">
|
|
|
+ <Option v-for="item in awardsList" :value="item.value" :key="item.value">{{ item.label }}</Option>
|
|
|
+ </Select>
|
|
|
+ <Icon type="md-add-circle" @click="addAward = true" />
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </Table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</vuescroll>
|
|
|
</TabPane>
|
|
@@ -589,11 +597,11 @@ export default {
|
|
|
this.sasData.sas = this.$store.state.user.userProfile.areas.find(item => {
|
|
|
return item.areaId === this.actInfo.owner
|
|
|
}).sas
|
|
|
+ this.getInviteTea()
|
|
|
} else {
|
|
|
this.sasData.sas = this.$store.state.user.schoolProfile.blob_sas
|
|
|
}
|
|
|
this.getActInfo()
|
|
|
- this.getInviteTea()
|
|
|
},
|
|
|
computed: {
|
|
|
actInfo() {
|
|
@@ -728,9 +736,11 @@ export default {
|
|
|
}
|
|
|
.btn-box {
|
|
|
position: absolute;
|
|
|
- top: 12px;
|
|
|
+ /* top: 12px;
|
|
|
right: 5px;
|
|
|
- width: 320px;
|
|
|
+ width: 320px; */
|
|
|
+ top: 0;
|
|
|
+ right: 20px;
|
|
|
}
|
|
|
}
|
|
|
|