|
@@ -1,6 +1,13 @@
|
|
<template>
|
|
<template>
|
|
<div class="mark-setting-wrap dark-iview-form">
|
|
<div class="mark-setting-wrap dark-iview-form">
|
|
- <vuescroll>
|
|
|
|
|
|
+ <div v-show="!isSetting" class="publish-status-box">
|
|
|
|
+ <Icon type="ios-information-circle-outline" class="tips-icon" />
|
|
|
|
+ <p class="status-text">
|
|
|
|
+ <span style="font-size:16px;color:white">暂未发布阅卷任务</span>
|
|
|
|
+ </p>
|
|
|
|
+ <span class="setting-btn" @click="isSetting = !isSetting">发布任务</span>
|
|
|
|
+ </div>
|
|
|
|
+ <vuescroll v-show="isSetting">
|
|
<!-- 基础设置 -->
|
|
<!-- 基础设置 -->
|
|
<div class="setting-block">
|
|
<div class="setting-block">
|
|
<!-- <p class="block-title">
|
|
<!-- <p class="block-title">
|
|
@@ -26,7 +33,7 @@
|
|
<FormItem label="分配方式" class="setting-item-wrap" prop="mode">
|
|
<FormItem label="分配方式" class="setting-item-wrap" prop="mode">
|
|
<RadioGroup v-model="setting.mode" style="color:white">
|
|
<RadioGroup v-model="setting.mode" style="color:white">
|
|
<Radio label="full">按人分配</Radio>
|
|
<Radio label="full">按人分配</Radio>
|
|
- <Radio label="qu" style="margin-left:20px">按题分配</Radio>
|
|
|
|
|
|
+ <Radio disabled label="qu" style="margin-left:20px">按题分配 (开发中)</Radio>
|
|
</RadioGroup>
|
|
</RadioGroup>
|
|
</FormItem>
|
|
</FormItem>
|
|
</Col>
|
|
</Col>
|
|
@@ -36,8 +43,8 @@
|
|
<!-- <InputNumber :max="2" class="attr-value-wrap" :min="1" v-model="setting.point"></InputNumber> -->
|
|
<!-- <InputNumber :max="2" class="attr-value-wrap" :min="1" v-model="setting.point"></InputNumber> -->
|
|
<RadioGroup v-model="setting.num" style="color:white">
|
|
<RadioGroup v-model="setting.num" style="color:white">
|
|
<Radio :label="1">单评制</Radio>
|
|
<Radio :label="1">单评制</Radio>
|
|
- <Radio :label="2" style="margin-left:20px">双评制</Radio>
|
|
|
|
- <Radio :label="3" style="margin-left:20px">三评制</Radio>
|
|
|
|
|
|
+ <Radio disabled :label="2" style="margin-left:0px">双评制 (开发中)</Radio>
|
|
|
|
+ <Radio disabled :label="3" style="margin-left:0px">三评制 (开发中)</Radio>
|
|
</RadioGroup>
|
|
</RadioGroup>
|
|
</FormItem>
|
|
</FormItem>
|
|
</Col>
|
|
</Col>
|
|
@@ -75,7 +82,7 @@
|
|
{{$t('learnActivity.mark.markRole')}}
|
|
{{$t('learnActivity.mark.markRole')}}
|
|
</p> -->
|
|
</p> -->
|
|
<div class="setting-content" id="teacher-wrap-content">
|
|
<div class="setting-content" id="teacher-wrap-content">
|
|
- <Form ref="teacherSet" :model="subsInfo" label-colon :label-width="100" :rules="ruleValidate">
|
|
|
|
|
|
+ <Form ref="teacherSet" :model="subsInfo" label-colon :label-width="100" :rules="ruleValidate" style="margin-top:15px">
|
|
<Row>
|
|
<Row>
|
|
<Col :md="24" :lg="24" :xl="24" :xxl="24" v-if="setting.isErr">
|
|
<Col :md="24" :lg="24" :xl="24" :xxl="24" v-if="setting.isErr">
|
|
<!-- 异常处理老师 -->
|
|
<!-- 异常处理老师 -->
|
|
@@ -159,6 +166,7 @@ export default {
|
|
data() {
|
|
data() {
|
|
let _this = this
|
|
let _this = this
|
|
return {
|
|
return {
|
|
|
|
+ isSetting: false,
|
|
ruleValidate: {
|
|
ruleValidate: {
|
|
startTime: [
|
|
startTime: [
|
|
{ required: true, type: 'number', message: '请设置阅卷开始时间', trigger: 'blur' }
|
|
{ required: true, type: 'number', message: '请设置阅卷开始时间', trigger: 'blur' }
|
|
@@ -288,7 +296,6 @@ export default {
|
|
align: 'center'
|
|
align: 'center'
|
|
},
|
|
},
|
|
],
|
|
],
|
|
-
|
|
|
|
dateOpt: {
|
|
dateOpt: {
|
|
disabledDate(date) {
|
|
disabledDate(date) {
|
|
return date && date.valueOf() < Date.now() - 86400000
|
|
return date && date.valueOf() < Date.now() - 86400000
|
|
@@ -424,6 +431,7 @@ export default {
|
|
if (res.correct) {
|
|
if (res.correct) {
|
|
this.setting = res.correct
|
|
this.setting = res.correct
|
|
} else {
|
|
} else {
|
|
|
|
+ this.isSetting = false
|
|
if (this.evInfo.subjects) {
|
|
if (this.evInfo.subjects) {
|
|
this.setting.id = this.evInfo.id
|
|
this.setting.id = this.evInfo.id
|
|
this.setting.name = this.evInfo.name
|
|
this.setting.name = this.evInfo.name
|
|
@@ -523,6 +531,49 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style scoped lang="less">
|
|
<style scoped lang="less">
|
|
|
|
+.publish-status-box {
|
|
|
|
+ width: 360px;
|
|
|
|
+ height: 315px;
|
|
|
|
+ background: #37363a;
|
|
|
|
+ margin: 60px auto;
|
|
|
|
+ padding: 20px;
|
|
|
|
+ border-radius: 20px;
|
|
|
|
+ position: relative;
|
|
|
|
+ box-shadow: 0 0px 10px 0px rgb(0 0 0);
|
|
|
|
+
|
|
|
|
+ &:hover {
|
|
|
|
+ // background: #3c3c41;
|
|
|
|
+ }
|
|
|
|
+ .tips-icon {
|
|
|
|
+ display: block;
|
|
|
|
+ margin: auto;
|
|
|
|
+ margin-top: 6%;
|
|
|
|
+ font-size: 80px;
|
|
|
|
+ margin-right: 5px;
|
|
|
|
+ color: #eeeeee;
|
|
|
|
+ }
|
|
|
|
+ .status-text {
|
|
|
|
+ color: #ccc;
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin-top: 40px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ }
|
|
|
|
+ .setting-btn {
|
|
|
|
+ display: block;
|
|
|
|
+ color: white;
|
|
|
|
+ background: #2db7f5;
|
|
|
|
+ width: 120px;
|
|
|
|
+ padding: 4px 0px;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ position: absolute;
|
|
|
|
+ text-align: center;
|
|
|
|
+ bottom: 50px;
|
|
|
|
+ left: 50%;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ margin-left: -60px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ }
|
|
|
|
+}
|
|
.subject-wrap {
|
|
.subject-wrap {
|
|
margin-top: 30px;
|
|
margin-top: 30px;
|
|
color: #a5a5a5;
|
|
color: #a5a5a5;
|