@@ -607,15 +610,11 @@ function handleXshpkg(record) {
console.log('👨👧👦', record);
}
-//预览互评算法
-function handleHpsf(){
- // openByUrl({url:'/downPath/ylhpsf.pdf',target: '_blank',fileName:'算法说明.pdf'})
- // window.open(pdfUrl.value, '_blank');
- // window.open(require('../../../downPath/ylhpsf.pdf'), '_blank');
- window.open(baseApiUrl+'/temp/ylhpsf.pdf');
+function handleEndTime(record) {
+ console.log('👽', record);
+ zyInfo.value.xshpkssj = record;
}
-
//获取查重结果
function handleViewInfo(record) {
defHttp.get({ url: '/zyCcjg/zyCcjg/ccjglist', params: { zyStuId: record.id } }).then((res) => {
@@ -717,20 +716,18 @@ function yulanFile(record) {
}
//驳回
function handleBohui(record: Recordable) {
-
-
createConfirm({
- iconType: 'warning',
- title: '驳回',
- content: '您确定驳回此作业吗,驳回后需要学生重新提交?',
- okText: '确认',
- cancelText: '取消',
- onOk: () => {
- defHttp.post({ url: '/zyInfoStudent/zyInfoStudent/editBohui', params: { id: record.id } }).then((res) => {
- handleSuccess();
- });
- },
- });
+ iconType: 'warning',
+ title: '驳回',
+ content: '您确定驳回此作业吗,驳回后需要学生重新提交?',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ defHttp.post({ url: '/zyInfoStudent/zyInfoStudent/editBohui', params: { id: record.id } }).then((res) => {
+ handleSuccess();
+ });
+ },
+ });
}
//填写评分
function handleScore(record: Recordable) {
@@ -834,6 +831,7 @@ async function batchHandleFabu() {
const validatorRules = {
title: [{ required: true, message: '请输入作业名称!' }],
endTime: [{ required: true, message: '请输入结束时间!' }],
+ pfbz: [{ required: true, message: '请输入评分标准!' }],
};
const { resetFields, validate, validateInfos } = useForm(zyInfo, validatorRules, { immediate: true });
const labelCol = reactive({
@@ -857,10 +855,10 @@ const wrapperCol3 = reactive({
sm: { span: 20 },
});
const labelCol4 = reactive({
- sm: { span: 8 },
+ sm: { span: 10 },
});
const wrapperCol4 = reactive({
- sm: { span: 14 },
+ sm: { span: 12 },
});
//作业要求切换
function handleZyyqShow(type) {
@@ -1242,9 +1240,23 @@ function handleAdd() {
* 编辑事件
*/
function handleEdit(record, type) {
+ console.log('👩🎓1111111', record);
+ if (!record.sturead) {
+ record.sturead = '1';
+ }
+ if (!record.xshpkg) {
+ record.xshpkg = '1';
+ }
+ if (!record.sfzzcj) {
+ record.sfzzcj = '1';
+ }
+ if (!record.xssfck) {
+ record.xssfck = '1';
+ }
+ console.log('💂♀️2222222', record);
editDisabled.value = type;
- console.log('👨👨👧👧', editDisabled);
zyInfo.value = record;
+ console.log('😔3333333', zyInfo.value);
dataKhnr.value = [];
var kcnr = zyInfo.value.kcnr;
if (kcnr) {
@@ -1269,7 +1281,7 @@ function handleDetail(record: Recordable) {
registerDetialModal.value.edit(record);
}
-//查看作业信息
+//批阅作业信息
function handleZyxx(record, type) {
if (type == '1') {
if (!record.wtjnum || record.wtjnum == '0') {
@@ -1291,6 +1303,11 @@ function handleZyxx(record, type) {
createMessage.error('当前人数为0,不能进行查询');
return;
}
+ } else if (type == '4') {
+ if (!record.dpynum || record.dpynum == '0') {
+ createMessage.error('当前人数为0,不能进行查询');
+ return;
+ }
}
zyInfo.value = record;
@@ -1450,7 +1467,7 @@ onMounted(() => {
min-height: 200px;
}
.sznrClass {
- line-height: 126px;
+ line-height: 40px;
text-align: center;
}
.ant-card {
diff --git a/src/views/zy/zyInfo/components/ZyInfoDetailForm.vue b/src/views/zy/zyInfo/components/ZyInfoDetailForm.vue
index 40ee3dd..160dbd0 100644
--- a/src/views/zy/zyInfo/components/ZyInfoDetailForm.vue
+++ b/src/views/zy/zyInfo/components/ZyInfoDetailForm.vue
@@ -4,12 +4,12 @@
-
-
-
基本信息
+
+
+
基本信息
- {{formData.title}}
+ {{ formData.title }}
@@ -19,67 +19,61 @@
- {{formData.endTime}}
+ {{ formData.endTime }}
- {{formData.startTime}}
+ {{ formData.startTime }}
-
+
-
+
+ {{ lastString(formData.filePath) }}
下载
-
+
-
+
-
- 查重设置
-
-
-
-
- %
-
-
-
- 维普
-
-
维普资源库查重:中文科技期刊数据库、硕博学位论文库、高校特色论文库、互联网数据资源/互联网文档资源
-
学校作业库查重:历届学生提供的作业库内查重
-
本次作业查重:本次学生提交的作业间查重
-
- AIGC
-
-
AIGC查重:检测作业是否部分或全部由AI模型生成
-
-
+
+ 查重设置
+
+
+
+
+ %
+
-
-
-
+
+ 维普
+
+
维普资源库查重:中文科技期刊数据库、硕博学位论文库、高校特色论文库、互联网数据资源/互联网文档资源
+
学校作业库查重:历届学生提供的作业库内查重
+
本次作业查重:本次学生提交的作业间查重
+
+ AIGC
+
+
AIGC查重:检测作业是否部分或全部由AI模型生成
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/zy/zyInfo/components/ZyInfoPfbzModal.vue b/src/views/zy/zyInfo/components/ZyInfoPfbzModal.vue
new file mode 100644
index 0000000..e2a06e2
--- /dev/null
+++ b/src/views/zy/zyInfo/components/ZyInfoPfbzModal.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts b/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts
index 781cf7e..0fc7bbf 100644
--- a/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts
+++ b/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts
@@ -87,7 +87,7 @@ export const newcolumns: BasicColumn[] = [
sorter: true,
},
{
- title: '学生评分',
+ title: '互评分数',
align: "center",
dataIndex: 'xshpfs',
sorter: true,
diff --git a/src/views/zy/zyInfoStudentHp/ZyInfoStudentHpList.vue b/src/views/zy/zyInfoStudentHp/ZyInfoStudentHpList.vue
index 89ab47d..3385d7f 100644
--- a/src/views/zy/zyInfoStudentHp/ZyInfoStudentHpList.vue
+++ b/src/views/zy/zyInfoStudentHp/ZyInfoStudentHpList.vue
@@ -5,7 +5,7 @@