|
@@ -5,10 +5,11 @@
|
|
|
<div class="pane-title-name">{{ $t(`schoolManages.gradSet.grad.title`) }}</div>
|
|
|
<div class="pane-title-icon">
|
|
|
<el-tooltip placement="bottom">
|
|
|
- <template #content>{{ $t(`schoolManages.gradSet.grad.hint1`) }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.grad.hint2`)
|
|
|
- }}<br />{{ $t(`schoolManages.gradSet.grad.hint3`)
|
|
|
-}}<br />{{ $t(`schoolManages.gradSet.grad.hint4`) }}
|
|
|
+ <template #content>
|
|
|
+ {{ $t(`schoolManages.gradSet.grad.hint1`) }}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.grad.hint2`)}}<br />
|
|
|
+ {{ $t(`schoolManages.gradSet.grad.hint3`)}}<br />
|
|
|
+ {{ $t(`schoolManages.gradSet.grad.hint4`) }}
|
|
|
</template>
|
|
|
<div>
|
|
|
<svg class="ordinary-hint" aria-hidden="true">
|
|
@@ -17,7 +18,7 @@
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- <div class="redactbox" @click="amendPhasename">
|
|
|
+ <div class="redactbox" @click="amendPhasename" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="redacticon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji"></use>
|
|
|
</svg>
|
|
@@ -51,11 +52,10 @@
|
|
|
<div class="semesterbox-title-name">{{ $t(`schoolManages.gradSet.semester.title`) }}</div>
|
|
|
<div class="semesterbox-title-icon">
|
|
|
<el-tooltip placement="bottom">
|
|
|
- <template #content>{{ $t(`schoolManages.gradSet.semester.hint1`) }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.semester.hint2`)
|
|
|
- }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.semester.hint3`)
|
|
|
-}}
|
|
|
+ <template #content>
|
|
|
+ {{ $t(`schoolManages.gradSet.semester.hint1`) }}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.semester.hint2`)}}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.semester.hint3`)}}
|
|
|
</template>
|
|
|
<div>
|
|
|
<svg class="ordinary-hint" aria-hidden="true">
|
|
@@ -64,19 +64,17 @@
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- <div class="semesterbox-title-add" @click="semesterCompile('', 'semesterAdd')">
|
|
|
+ <div class="semesterbox-title-add" @click="semesterCompile('', 'semesterAdd')" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-jia-copy"></use>
|
|
|
</svg>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="setting-time">
|
|
|
+ <div class="setting-time" v-if="nowschoolData.period[pathNowphase].semesters.length >1">
|
|
|
<div class="set-item" v-for="(items, index) in nowschoolData.period[pathNowphase].semesters" @mouseenter="semesterCut(items, index)">
|
|
|
<div class="set-time-semester">{{ items.name }}</div>
|
|
|
<div class="set-time-start">
|
|
|
- {{ $t(`schoolManages.gradSet.semester.startTime`) }}<span>{{ items.month }}月</span>/<span>{{
|
|
|
- items.day
|
|
|
- }}日</span>
|
|
|
+ {{ $t(`schoolManages.gradSet.semester.startTime`) }}<span>{{ items.month }}月</span>/<span>{{items.day}}日</span>
|
|
|
</div>
|
|
|
<div class="set-time-period">
|
|
|
{{ $t(`schoolManages.gradSet.semester.duration`) }}:<span>{{ items.totaldays }}</span></div>
|
|
@@ -84,9 +82,9 @@
|
|
|
<span>{{ $t(`schoolManages.gradSet.semester.entrance`) }}</span>
|
|
|
</div>
|
|
|
<div class="set-time-enrollment-star" v-else-if="items.start === 1" @click="enrollment(items.id)">
|
|
|
- <span>{{ $t(`schoolManages.gradSet.semester.setEntrance`) }}</span>
|
|
|
+ <span v-show="!userPower.roles.includes('sales')">{{ $t(`schoolManages.gradSet.semester.setEntrance`) }}</span>
|
|
|
</div>
|
|
|
- <div class="set-time-redact">
|
|
|
+ <div class="set-time-redact" v-show="!userPower.roles.includes('sales')">
|
|
|
<div @click="semesterCompile(items, 'updateSemester', index)">
|
|
|
<svg class="redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji1"></use>
|
|
@@ -140,10 +138,12 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="time-now-state">
|
|
|
- <span>{{ $t(`schoolManages.gradSet.semester.nowstate`) }}:</span><span>{{ timesteps.nowitem.name
|
|
|
- }}</span>
|
|
|
+ <span>{{ $t(`schoolManages.gradSet.semester.nowstate`) }}:</span><span>{{ timesteps.nowitem.name}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="notdata settimg-notdata" v-else>
|
|
|
+ <div class="notdata-title"><span>暂无数据</span></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!--学期设置end-->
|
|
|
<!--年级设置-->
|
|
@@ -151,20 +151,20 @@
|
|
|
<div class="semesterbox-title">
|
|
|
<div class="semesterbox-title-name">{{ $t(`schoolManages.gradSet.gradeAndsubjects.gradeTitle`) }}
|
|
|
</div>
|
|
|
- <div class="semesterbox-title-add" @click="addsemester()">
|
|
|
+ <div class="semesterbox-title-add" @click="addsemester()" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-jia-copy"></use>
|
|
|
</svg>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="class-item-frame">
|
|
|
+ <div class="class-item-frame" v-if="nowschoolData.period[pathNowphase].grades.length !==0">
|
|
|
<div class="class-item" v-for="(item, index) in nowschoolData.period[pathNowphase].grades" :key="index">
|
|
|
<span class="class-item-number">{{ index + 1 }}</span>
|
|
|
<div class="class-item-name" v-if="inputgrade.index !== index">{{ item }}</div>
|
|
|
<div class="class-item-name" v-else-if="inputgrade.index === index">
|
|
|
<el-input v-model="inputgrade.name" @blur="updategrade(index)" :placeholder='$t(`schoolManages.gradSet.gradeAndsubjects.gradeHint`)' />
|
|
|
</div>
|
|
|
- <div class="class-item-icon">
|
|
|
+ <div class="class-item-icon" v-show="!userPower.roles.includes('sales')">
|
|
|
<div @click="inputgrade.name = item, inputgrade.index = index">
|
|
|
<svg class="redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji1"></use>
|
|
@@ -178,6 +178,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="notdata settimg-notdata" v-else>
|
|
|
+ <div class="notdata-title"><span>暂无数据</span></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!--年级设置end-->
|
|
|
<!--学科设置-->
|
|
@@ -190,14 +193,14 @@
|
|
|
<span class="ordinary-subject">{{$t(`schoolManages.gradSet.gradeAndsubjects.subjectType.subject`)}}</span>
|
|
|
<span class="specialty-subject">{{$t(`schoolManages.gradSet.gradeAndsubjects.subjectType.major`)}}</span>
|
|
|
</div> -->
|
|
|
- <div class="semesterbox-title-add" @click="semesterCompile('', 'gradeClass')">
|
|
|
+ <div class="semesterbox-title-add" @click="semesterCompile('', 'gradeClass')" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-jia-copy"></use>
|
|
|
</svg>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="subject-group">
|
|
|
- <div class="subject-group-item" v-for="item in nowschoolData.period[pathNowphase].subjects" :key="item.id">
|
|
|
+ <div class="subject-group" v-if="nowschoolData.period[pathNowphase].subjects.length !==0">
|
|
|
+ <div :class="[userPower.roles.includes('sales') ?'replenish':'','subject-group-item']" v-for="item in nowschoolData.period[pathNowphase].subjects" :key="item.id">
|
|
|
<!-- <span class="subject-type" title="通用" v-show="item.type ===0"></span>
|
|
|
<span class="subject-type-ordinary" title="学科" v-show="item.type ===1"></span>
|
|
|
<span class="subject-type-specialty" title="专业" v-show="item.type ===2"></span> -->
|
|
@@ -205,7 +208,7 @@
|
|
|
<!-- <input autocomplete="off" spellcheck="false" type="text" placeholder="设置学科..." disabled="disabled" class="ivu-input ivu-input-default ivu-input-disabled"> -->
|
|
|
{{ item.name }}
|
|
|
</div>
|
|
|
- <div class="redactbox-icon">
|
|
|
+ <div class="redactbox-icon" v-show="!userPower.roles.includes('sales')">
|
|
|
<div class="redacicon" @click="semesterCompile(item, 'updateSubjects')">
|
|
|
<svg class="subject-redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji1-copy"></use>
|
|
@@ -219,13 +222,16 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="notdata settimg-notdata" v-else>
|
|
|
+ <div class="notdata-title"><span>暂无数据</span></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!--学科设置end-->
|
|
|
<!--班级专业名称/班级类型名称-->
|
|
|
<div class="subjectbox">
|
|
|
<div class="semesterbox-title grade-class">
|
|
|
<div class="semesterbox-title-name">班级专业名称/班级类型名称</div>
|
|
|
- <div class="semesterbox-title-add" @click="addExamtype('gradeClass')">
|
|
|
+ <div class="semesterbox-title-add" @click="addExamtype('gradeClass')" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-jia-copy"></use>
|
|
|
</svg>
|
|
@@ -240,7 +246,7 @@
|
|
|
<div class="exam-type-item-name" v-else-if="gradeClassdata.index === index">
|
|
|
<el-input v-model="gradeClassdata.name" @blur="updateExamupdate(item, 'gradeclass')" placeholder='设置专业...' class="exam-edit-input" />
|
|
|
</div>
|
|
|
- <div class="exam-type-item-icon">
|
|
|
+ <div class="exam-type-item-icon" v-show="!userPower.roles.includes('sales')">
|
|
|
<div class="exam-type-redacicon" @click="gradeClassdata.name = item.name, gradeClassdata.id = item.id, gradeClassdata.index = index">
|
|
|
<svg class="subject-redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji1-copy"></use>
|
|
@@ -264,7 +270,7 @@
|
|
|
<div class="situationbox">
|
|
|
<div class="semesterbox-title">
|
|
|
<div class="semesterbox-title-name">{{ $t(`schoolManages.gradSet.condition.title`) }}</div>
|
|
|
- <div class="semesterbox-title-add" @click="addExamtype()">
|
|
|
+ <div class="semesterbox-title-add" @click="addExamtype()" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-jia-copy"></use>
|
|
|
</svg>
|
|
@@ -274,13 +280,12 @@
|
|
|
<div class="exam-type-title"><span>{{ $t(`schoolManages.gradSet.condition.type`) }}:</span></div>
|
|
|
<div class="exam-type-content">
|
|
|
<div class="exam-type-item" v-for="(item, index) in nowschoolData.period[pathNowphase].analysis.type" :key="index">
|
|
|
- <div class="exam-type-item-name" v-if="examType.index !== index"><span>{{ item.name
|
|
|
- }}</span>
|
|
|
+ <div class="exam-type-item-name" v-if="examType.index !== index"><span>{{ item.name}}</span>
|
|
|
</div>
|
|
|
<div class="exam-type-item-name" v-else-if="examType.index === index">
|
|
|
<el-input v-model="examType.name" @blur="updateExamupdate(item)" :placeholder='$t(`schoolManages.gradSet.condition.typehint`)' class="exam-edit-input" />
|
|
|
</div>
|
|
|
- <div class="exam-type-item-icon">
|
|
|
+ <div class="exam-type-item-icon" v-show="!userPower.roles.includes('sales')">
|
|
|
<div class="exam-type-redacicon" @click="examType.name = item.name, examType.id = item.id, examType.index = index">
|
|
|
<svg class="subject-redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji1-copy"></use>
|
|
@@ -297,13 +302,11 @@
|
|
|
<div class="satisfybox">
|
|
|
<div class="satisfybox-icon">
|
|
|
<el-tooltip placement="right">
|
|
|
- <template #content>{{ $t(`schoolManages.gradSet.condition.enterHint.hint1`) }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.condition.enterHint.hint2`)
|
|
|
- }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.condition.enterHint.hint3`)
|
|
|
-}}<br />{{
|
|
|
- $t(`schoolManages.gradSet.condition.enterHint.hint4`)
|
|
|
-}}
|
|
|
+ <template #content>
|
|
|
+ {{ $t(`schoolManages.gradSet.condition.enterHint.hint1`) }}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.condition.enterHint.hint2`)}}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.condition.enterHint.hint3`)}}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.condition.enterHint.hint4`)}}
|
|
|
</template>
|
|
|
<div>
|
|
|
<svg class="satisfybox-hint" aria-hidden="true">
|
|
@@ -317,7 +320,7 @@
|
|
|
<div class="satisfybox-content">
|
|
|
<el-input-number v-model="justOrsatisfy[0].num" :label="justOrsatisfy[0].num + '%'" @blur="coilAndpass('income')" :min="0" :max="100" size="mini" :disabled="justOrsatisfy[0].disabled" />
|
|
|
</div>
|
|
|
- <div class="satisfybox-modify" @click="justOrsatisfy[0].disabled = false">
|
|
|
+ <div class="satisfybox-modify" @click="justOrsatisfy[0].disabled = false" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="subject-redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-75bianji"></use>
|
|
|
</svg>
|
|
@@ -326,11 +329,10 @@
|
|
|
<div class="passbox">
|
|
|
<div class="pass-icon">
|
|
|
<el-tooltip placement="right">
|
|
|
- <template #content>{{ $t(`schoolManages.gradSet.condition.treadHint.hint1`) }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.condition.treadHint.hint2`)
|
|
|
- }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.condition.treadHint.hint3`)
|
|
|
-}}
|
|
|
+ <template #content>
|
|
|
+ {{ $t(`schoolManages.gradSet.condition.treadHint.hint1`) }}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.condition.treadHint.hint2`)}}<br />
|
|
|
+ {{$t(`schoolManages.gradSet.condition.treadHint.hint3`)}}
|
|
|
</template>
|
|
|
<div>
|
|
|
<svg class="satisfybox-hint" aria-hidden="true">
|
|
@@ -343,7 +345,7 @@
|
|
|
<div class="pass-content">
|
|
|
<el-input-number v-model="justOrsatisfy[1].num" @blur="coilAndpass('touch')" :min="0" :max="100" size="mini" :disabled="justOrsatisfy[1].disabled" />
|
|
|
</div>
|
|
|
- <div class="pass-modify" @click="justOrsatisfy[1].disabled = false">
|
|
|
+ <div class="pass-modify" @click="justOrsatisfy[1].disabled = false" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="subject-redact-icon" aria-hidden="true">
|
|
|
<use xlink:href="#icon-75bianji"></use>
|
|
|
</svg>
|
|
@@ -360,9 +362,7 @@
|
|
|
<div class="semesterbox-title-name settime">{{ $t(`schoolManages.gradSet.timeFrame.title`) }}</div>
|
|
|
<div class="semesterbox-title-icon">
|
|
|
<el-tooltip placement="right">
|
|
|
- <template #content>{{ $t(`schoolManages.gradSet.timeFrame.hint1`) }}<br />{{
|
|
|
- $t(`schoolManages.gradSet.timeFrame.hint2`)
|
|
|
- }}
|
|
|
+ <template #content>{{ $t(`schoolManages.gradSet.timeFrame.hint1`) }}<br />{{$t(`schoolManages.gradSet.timeFrame.hint2`)}}
|
|
|
</template>
|
|
|
<div>
|
|
|
<svg class="ordinary-hint" aria-hidden="true">
|
|
@@ -371,7 +371,7 @@
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- <div class="semesterbox-title-add" @click="semesterCompile('', 'addTimebucket', '')">
|
|
|
+ <div class="semesterbox-title-add" @click="semesterCompile('', 'addTimebucket', '')" v-show="!userPower.roles.includes('sales')">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-jia-copy"></use>
|
|
|
</svg>
|
|
@@ -379,7 +379,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--时段设置-->
|
|
|
- <div class="settimebox">
|
|
|
+ <div class="settimebox" v-if="nowschoolData.period[pathNowphase].timetable.length !==0">
|
|
|
<el-timeline>
|
|
|
<el-timeline-item center v-for="(item, index) in nowschoolData.period[pathNowphase].timetable" :key="index" :icon="item.type === '1' ? 'el-icon-reading' : 'el-icon-alarm-clock'" class="settime-item" :class="{ 'pitch': pathNow == index }" @click="pathNow = index">
|
|
|
<el-card>
|
|
@@ -387,7 +387,7 @@
|
|
|
<div class="settime-time">{{ item.time }}</div>
|
|
|
<div class="settime-name">({{ item.label }})</div>
|
|
|
</el-card>
|
|
|
- <div class="settime-icon">
|
|
|
+ <div class="settime-icon" v-show="!userPower.roles.includes('sales')">
|
|
|
<div @click="semesterCompile(item, 'updateTimebucket', index)">
|
|
|
<svg class="mini-hint" aria-hidden="true">
|
|
|
<use xlink:href="#icon-bianji1"></use>
|
|
@@ -402,6 +402,9 @@
|
|
|
</el-timeline-item>
|
|
|
</el-timeline>
|
|
|
</div>
|
|
|
+ <div class="notdata" v-else>
|
|
|
+ <div class="notdata-title"><span>暂无数据</span></div>
|
|
|
+ </div>
|
|
|
<!--时段设置end-->
|
|
|
</div>
|
|
|
<!--時段設置end-->
|
|
@@ -493,6 +496,7 @@
|
|
|
import { reactive, ref, getCurrentInstance, toRef, watch, nextTick } from 'vue'
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import { useStore } from 'vuex'
|
|
|
+import jwt_decode from 'jwt-decode'
|
|
|
export default {
|
|
|
props: {
|
|
|
schoolData: {
|
|
@@ -504,6 +508,7 @@ export default {
|
|
|
let { proxy } = getCurrentInstance()
|
|
|
// let PowerShow = proxy.$access.inspectPower('batchschool-upd')
|
|
|
const store = useStore()
|
|
|
+ let userPower = jwt_decode(JSON.parse(localStorage.getItem('id_token')))
|
|
|
// const routerInfo = useRouter()
|
|
|
let timesteps = ref({
|
|
|
times: [
|
|
@@ -725,12 +730,16 @@ export default {
|
|
|
if (!data) {
|
|
|
return
|
|
|
}
|
|
|
- if (data.period[pathNowphase.value].semesters.length === 0 || data.period[pathNowphase.value].subjects.length === 0) {
|
|
|
- ElMessage.error('学段管理内数据异常')
|
|
|
- return
|
|
|
- }
|
|
|
let datas = data
|
|
|
//显示学段名称和校区
|
|
|
+ for (let i in datas.period) {
|
|
|
+ let ids = datas.period[i].campusId
|
|
|
+ for (let y in datas.campuses) {
|
|
|
+ datas.campuses[y].id === ids ? (datas.period[i].area = datas.campuses[y].name) : ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ console.log('8888888888888')
|
|
|
+ //显示学段名称和校区
|
|
|
for (let i in datas.period) {
|
|
|
let ids = datas.period[i].campusId
|
|
|
datas.period[i].changed = false
|
|
@@ -738,21 +747,24 @@ export default {
|
|
|
datas.campuses[y].id === ids ? (datas.period[i].area = datas.campuses[y].name) : ''
|
|
|
}
|
|
|
}
|
|
|
+ console.log('9999999999')
|
|
|
//处理学期设置
|
|
|
let phasetime = data.period[pathNowphase.value].semesters
|
|
|
console.log(phasetime, '当前的学期')
|
|
|
let topStart = 0
|
|
|
let downStart = 0
|
|
|
- for (let i in phasetime) {
|
|
|
- phasetime[i].start === 0 ? ((topStart = phasetime[i].month), (phasetime[i].totaldays = 0)) : ((downStart = phasetime[i].month), (phasetime[i].totaldays = 0))
|
|
|
- for (let u in timesteps.value.times) {
|
|
|
- timesteps.value.times[u].id >= topStart && timesteps.value.times[u].id < downStart ? (timesteps.value.times[u].state = true) : ''
|
|
|
- timesteps.value.times[u].id === topStart ? (timesteps.value.times[u].label = true) : ''
|
|
|
- timesteps.value.times[u].id === downStart ? (timesteps.value.times[u - 1].label = true) : ''
|
|
|
+ if (phasetime.length > 1) {
|
|
|
+ for (let i in phasetime) {
|
|
|
+ phasetime[i].start === 0 ? ((topStart = phasetime[i].month), (phasetime[i].totaldays = 0)) : ((downStart = phasetime[i].month), (phasetime[i].totaldays = 0))
|
|
|
+ for (let u in timesteps.value.times) {
|
|
|
+ timesteps.value.times[u].id >= topStart && timesteps.value.times[u].id < downStart ? (timesteps.value.times[u].state = true) : ''
|
|
|
+ timesteps.value.times[u].id === topStart ? (timesteps.value.times[u].label = true) : ''
|
|
|
+ timesteps.value.times[u].id === downStart ? (timesteps.value.times[u - 1].label = true) : ''
|
|
|
+ }
|
|
|
}
|
|
|
+ timesteps.value.nowitem = data.period[pathNowphase.value].semesters[0]
|
|
|
}
|
|
|
- timesteps.value.nowitem = data.period[pathNowphase.value].semesters[0]
|
|
|
- console.log(timesteps.value)
|
|
|
+ console.log(timesteps.value, '查看这里是否执行')
|
|
|
// for (let i in phasetime) {
|
|
|
// phasetime[i].start === 0 ? (phasetime[i].totaldays = proxy.$common.totalDay(topStart, downStart)) : (phasetime[i].totaldays = proxy.$common.totalDay(downStart, topStart))
|
|
|
// }
|
|
@@ -1317,6 +1329,7 @@ export default {
|
|
|
timeZoneList,
|
|
|
semesterSort,
|
|
|
gradeClassdata,
|
|
|
+ userPower
|
|
|
}
|
|
|
},
|
|
|
}
|
|
@@ -2182,6 +2195,12 @@ export default {
|
|
|
.settimebox:hover {
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
+.replenish {
|
|
|
+ padding-right: 25px;
|
|
|
+}
|
|
|
+.settimg-notdata {
|
|
|
+ padding-top: 5%;
|
|
|
+}
|
|
|
</style>
|
|
|
<style>
|
|
|
.pitch .el-card__body {
|