baigl #208
|
@ -140,7 +140,7 @@ const getClassWorkList = () => {
|
||||||
edustage: userStore.edustage,// 学段
|
edustage: userStore.edustage,// 学段
|
||||||
edusubject: userStore.edusubject,//学科
|
edusubject: userStore.edusubject,//学科
|
||||||
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
||||||
orderby: 'uniquekey DESC',
|
orderby: 'concat(deaddate,uniquekey) DESC',
|
||||||
pageSize: 100
|
pageSize: 100
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
for (var i = 0; i < response.rows.length; i++) {
|
for (var i = 0; i < response.rows.length; i++) {
|
||||||
|
@ -214,7 +214,7 @@ const getStudentClassWorkData = () => {
|
||||||
edusubject: userStore.edusubject,//学科
|
edusubject: userStore.edusubject,//学科
|
||||||
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
||||||
status: '1', // 作业状态:1-已发布
|
status: '1', // 作业状态:1-已发布
|
||||||
orderby: "uniquekey DESC",
|
orderby: "concat(deaddate,uniquekey) DESC",
|
||||||
pageSize: 1000
|
pageSize: 1000
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
for (var t = 0; t < classWorkList.value.length; t++) {
|
for (var t = 0; t < classWorkList.value.length; t++) {
|
||||||
|
@ -371,7 +371,7 @@ const getStudentVisible = async () => {
|
||||||
edusubject: userStore.edusubject,//学科
|
edusubject: userStore.edusubject,//学科
|
||||||
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
deaddate: tabActive.value === '进行中'? getTomorrow() : EndDate.value,// 进行中:明天,已结束:选择的日期
|
||||||
status: '1', // 作业状态:1-已发布
|
status: '1', // 作业状态:1-已发布
|
||||||
orderby: 'uniquekey DESC',
|
orderby: 'concat(deaddate,uniquekey) DESC',
|
||||||
pageSize: 100
|
pageSize: 100
|
||||||
})
|
})
|
||||||
const curWorkList = response.rows
|
const curWorkList = response.rows
|
||||||
|
|
|
@ -317,102 +317,102 @@
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- 批改评价与评语 -->
|
<!-- 批改评价与评语 -->
|
||||||
<div class="tacher_conten_foot">
|
<div class="tacher_conten_foot">
|
||||||
<el-row style="padding: 1% 4%; border: 2px dotted">
|
<el-row style="padding: 1% 4%; border: 2px dotted">
|
||||||
<el-col :span="24" style="display: flex; flex-direction: column">
|
<el-col :span="24" style="display: flex; flex-direction: column">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<div style="display: flex; margin: 10px auto">
|
<div style="display: flex; margin: 10px auto">
|
||||||
<span style="display: flex; align-items: center">
|
<span style="display: flex; align-items: center">
|
||||||
<span v-if="dialogProps.studentObj.worktype == '习题训练'">
|
<span v-if="dialogProps.studentObj.worktype == '习题训练'">
|
||||||
<span>得分: </span>
|
<span>得分: </span>
|
||||||
<span style="margin: 0; color: red">{{
|
<span style="margin: 0; color: red">{{
|
||||||
classWorkFormScore.teacherRating.reduce((a, b) => a + b.score, 0).toFixed(2)
|
classWorkFormScore.teacherRating.reduce((a, b) => a + b.score, 0).toFixed(2)
|
||||||
}}</span>
|
}}</span>
|
||||||
<span>分</span>
|
<span>分</span>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<span>得分: </span>
|
<span>得分: </span>
|
||||||
<span v-if="classWorkFormScore.teacherRating.length > 0">
|
<span v-if="classWorkFormScore.teacherRating.length > 0">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="classWorkFormScore.teacherRating[0].score"
|
v-model="classWorkFormScore.teacherRating[0].score"
|
||||||
:controls="false"
|
:controls="false"
|
||||||
type="number"
|
type="number"
|
||||||
:min="0"
|
:min="0"
|
||||||
:max="classWorkFormScore.teacherRating[0].maxScore"
|
:max="classWorkFormScore.teacherRating[0].maxScore"
|
||||||
size="small"
|
size="small"
|
||||||
style="width: 60px"
|
style="width: 60px"
|
||||||
@change="handleChange"
|
@change="handleChange"
|
||||||
></el-input-number>
|
></el-input-number>
|
||||||
|
</span>
|
||||||
|
<span>分</span>
|
||||||
</span>
|
</span>
|
||||||
<span>分</span>
|
|
||||||
</span>
|
</span>
|
||||||
</span>
|
<div class="score-container">
|
||||||
<div class="score-container">
|
<div
|
||||||
<div
|
v-for="(score, index) in teacherRatingList"
|
||||||
v-for="(score, index) in teacherRatingList"
|
:key="index"
|
||||||
:key="index"
|
:class="[
|
||||||
:class="[
|
'score-circle',
|
||||||
'score-circle',
|
{ active: classWorkFormScore.rating == score.ratingKey }
|
||||||
{ active: classWorkFormScore.rating == score.ratingKey }
|
]"
|
||||||
]"
|
@click="selectScore(score)"
|
||||||
@click="selectScore(score)"
|
>
|
||||||
>
|
{{ score.ratingValue }}
|
||||||
{{ score.ratingValue }}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</el-col>
|
||||||
</el-col>
|
<el-col :span="10" style="display: flex; align-items: center">
|
||||||
<el-col :span="10" style="display: flex; align-items: center">
|
<el-select
|
||||||
<el-select
|
v-model="value"
|
||||||
v-model="value"
|
placeholder="常用评语"
|
||||||
placeholder="常用评语"
|
style="width: 240px"
|
||||||
style="width: 240px"
|
@change="onSelectOption"
|
||||||
@change="onSelectOption"
|
>
|
||||||
>
|
<el-option
|
||||||
<el-option
|
v-for="item in cities"
|
||||||
v-for="item in cities"
|
:key="item.value"
|
||||||
:key="item.value"
|
:label="item.label"
|
||||||
:label="item.label"
|
:value="item.value"
|
||||||
:value="item.value"
|
/>
|
||||||
/>
|
<template #footer>
|
||||||
<template #footer>
|
<el-button v-if="!isAdding" text bg size="small" @click="onAddOption">
|
||||||
<el-button v-if="!isAdding" text bg size="small" @click="onAddOption">
|
新增常用语
|
||||||
新增常用语
|
</el-button>
|
||||||
</el-button>
|
<template v-else>
|
||||||
<template v-else>
|
<el-input
|
||||||
<el-input
|
v-model="optionName"
|
||||||
v-model="optionName"
|
class="option-input"
|
||||||
class="option-input"
|
placeholder="输入新的常用语"
|
||||||
placeholder="输入新的常用语"
|
size="small"
|
||||||
size="small"
|
/>
|
||||||
/>
|
<el-button type="primary" size="small" @click="onConfirm"> 确定 </el-button>
|
||||||
<el-button type="primary" size="small" @click="onConfirm"> 确定 </el-button>
|
<el-button size="small" @click="clear">取消</el-button>
|
||||||
<el-button size="small" @click="clear">取消</el-button>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</el-select>
|
||||||
</el-select>
|
</el-col>
|
||||||
</el-col>
|
</el-row>
|
||||||
</el-row>
|
</el-col>
|
||||||
</el-col>
|
<el-col :span="24" style="display: flex; flex-direction: column">
|
||||||
<el-col :span="24" style="display: flex; flex-direction: column">
|
<el-form-item label="评语说明">
|
||||||
<el-form-item label="评语说明">
|
<el-col :span="15" style="padding: 0px">
|
||||||
<el-col :span="15" style="padding: 0px">
|
<el-input
|
||||||
<el-input
|
v-model="classWorkFormScore.teacherremark"
|
||||||
v-model="classWorkFormScore.teacherremark"
|
type="textarea"
|
||||||
type="textarea"
|
rows="1"
|
||||||
rows="3"
|
placeholder="请输入评语说明"
|
||||||
placeholder="请输入评语说明"
|
/>
|
||||||
/>
|
</el-col>
|
||||||
</el-col>
|
</el-form-item>
|
||||||
</el-form-item>
|
</el-col>
|
||||||
</el-col>
|
</el-row>
|
||||||
</el-row>
|
<div style="margin: 10px">
|
||||||
<div style="margin: 10px">
|
<el-button type="primary" @click="onClassWorkFormScoreSave">批阅确认</el-button>
|
||||||
<el-button type="primary" @click="onClassWorkFormScoreSave">批阅确认</el-button>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -110,12 +110,14 @@ const menuList = [{
|
||||||
{
|
{
|
||||||
name: '作业设计',
|
name: '作业设计',
|
||||||
icon: 'icon-jiaoxuefansi',
|
icon: 'icon-jiaoxuefansi',
|
||||||
disabled: true
|
isOuter: true,
|
||||||
|
path: '/teaching/classtaskassign?titleName=作业布置&&openDialog=newClassTask'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '作业布置',
|
name: '作业布置',
|
||||||
icon: 'icon-xiezuo1',
|
icon: 'icon-xiezuo1',
|
||||||
disabled: true
|
isOuter: true,
|
||||||
|
path: '/teaching/classtaskassign?titleName=作业布置'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '作业批改',
|
name: '作业批改',
|
||||||
|
@ -161,6 +163,13 @@ const clickMenu = ({isOuter, path, disabled}) =>{
|
||||||
// 弹窗
|
// 弹窗
|
||||||
if(isOuter){
|
if(isOuter){
|
||||||
let configObj = outLink().getBaseData()
|
let configObj = outLink().getBaseData()
|
||||||
|
console.log(configObj,'????????????????????????????')
|
||||||
|
//----- 测试使用
|
||||||
|
configObj.fullPath = 'https://192.168.2.120:7860/'
|
||||||
|
configObj.data.domain = '192.168.2.120'
|
||||||
|
configObj.data.url = 'http://192.168.2.120:7860/'
|
||||||
|
console.log(configObj,'?????测试地址???????????????????????')
|
||||||
|
//-------
|
||||||
let fullPath = configObj.fullPath + path
|
let fullPath = configObj.fullPath + path
|
||||||
fullPath = fullPath.replaceAll('//', '/')
|
fullPath = fullPath.replaceAll('//', '/')
|
||||||
// 通知主进程
|
// 通知主进程
|
||||||
|
|
Loading…
Reference in New Issue