+
@@ -140,6 +136,7 @@ import ykkttkkt from './show/ykkttkkt.vue';
import ykkttkrc from './show/ykkttkrc.vue';
import jrtkkts from './show/jrtkkts.vue';
import jrtktkrc from './show/jrtktkrc.vue';
+ import { useUserStore } from '/@/store/modules/user';
// import { useMessage } from "/@/hooks/web/useMessage";
// const { createConfirm } = useMessage();
@@ -147,6 +144,9 @@ enum Api {
list = '/ktgl/kcKetangbiao/getCountList',
}
+const userStore = useUserStore();
+const sfxx = ref
('0');
+
// interface Data {
// num: Number,//【今日课堂数:总数】
// txktnum: Number,//【今日课堂数:腾讯】
@@ -192,6 +192,14 @@ onMounted(() => {
list({ skrq }).then(res => {
tjData.value = res;
});
+
+ let roleList = userStore?.getLoginInfo?.roleList
+ for(var i=0;i
-
+
{{callText(item)}}
@@ -42,11 +42,12 @@
时间:{{item.startTime}} - {{item.endTime}}
- {{item.score}}分
-
-
-
-
+ 评分:{{item.score?item.score:'未评'}}分
+ 网络查重:{{item.wwtgl?item.wwtgl:'-'}}
+
+
+ 课程内查重:{{item.nwtgl?item.nwtgl:'-'}}
+ Aigc查重:{{item.aigctgl?item.aigctgl:'-'}}
详情
diff --git a/src/views/zy/zyInfo/ZyInfoList.vue b/src/views/zy/zyInfo/ZyInfoList.vue
index a6a3961..63920ee 100644
--- a/src/views/zy/zyInfo/ZyInfoList.vue
+++ b/src/views/zy/zyInfo/ZyInfoList.vue
@@ -240,8 +240,8 @@
queryParam.value.rwbh = rwbh;
queryParam.value.xqxn = xqxn;
// queryParam.value.sflssj = '0';
- queryParam.value.column="startTime";
- queryParam.value.order="asc";
+ queryParam.value.column="endTime";
+ queryParam.value.order="desc";
defHttp.get({ url: '/zyInfo/zyInfo/list', params: queryParam.value }).then(res => {
console.log(`🚀 ~ defHttp.get ~ res:`, res)
total.value = res.total;
diff --git a/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts b/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts
index cebdc99..5ed6e91 100644
--- a/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts
+++ b/src/views/zy/zyInfoStudent/ZyInfoStudent.data.ts
@@ -22,7 +22,8 @@ export const columns: BasicColumn[] = [
{
title: '评分',
align: "center",
- dataIndex: 'score'
+ dataIndex: 'score',
+ width: '80px'
},
// {
// title: '作业附件',
diff --git a/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue b/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue
index e10ae42..ed46a81 100644
--- a/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue
+++ b/src/views/zy/zyInfoStudent/ZyInfoStudentList.vue
@@ -103,6 +103,7 @@
import { getFileAccessHttpUrl } from '/@/utils/common/compUtils';
import ZyInfoStudentScoreModal from '/@/views/zy/zyInfoStudent/components/ZyInfoStudentScoreModal.vue'
import { useGlobSetting } from '/@/hooks/setting';
+ import { defHttp } from '/@/utils/http/axios';
const globSetting = useGlobSetting();
const baseApiUrl = globSetting.domainUrl;
@@ -122,7 +123,7 @@ const baseApiUrl = globSetting.domainUrl;
canResize:false,
useSearchForm: false,
actionColumn: {
- width: 220,
+ width: 320,
// fixed: 'right',
},
beforeFetch: (params) => {
@@ -180,6 +181,12 @@ const baseApiUrl = globSetting.domainUrl;
registerScoreModal.value.disableSubmit = false;
registerScoreModal.value.edit(record);
}
+
+ function handleScoreFabu(record: Recordable){
+ defHttp.post({url:'/zyInfoStudent/zyInfoStudent/editFabu',params:{id:record.id,scoreFabu:'1'}}).then(res =>{
+ handleSuccess()
+ })
+ }
/**
* 详情
@@ -211,7 +218,7 @@ const baseApiUrl = globSetting.domainUrl;
}
function handleDown(record){
- downloadFile(text);
+ downloadFile(record.filePath);
}
/**
@@ -219,7 +226,7 @@ const baseApiUrl = globSetting.domainUrl;
*/
function getTableAction(record) {
if(record.filePath){
- if(record.score){
+ if(record.scoreFabu=='1'){
var list = [
{
label: '详情',
@@ -240,6 +247,10 @@ const baseApiUrl = globSetting.domainUrl;
label: '评分',
onClick: handleScore.bind(null, record),
},
+ {
+ label: '发布评分',
+ onClick: handleScoreFabu.bind(null, record),
+ },
{
label: '详情',
onClick: handleDetail.bind(null, record),
diff --git a/src/views/zy/zyInfoStudent/components/ZyInfoStudentScoreForm.vue b/src/views/zy/zyInfoStudent/components/ZyInfoStudentScoreForm.vue
index 5797352..661fda8 100644
--- a/src/views/zy/zyInfoStudent/components/ZyInfoStudentScoreForm.vue
+++ b/src/views/zy/zyInfoStudent/components/ZyInfoStudentScoreForm.vue
@@ -98,18 +98,25 @@
}
}
}
- await saveOrUpdate(model, isUpdate.value)
- .then((res) => {
- if (res.success) {
- createMessage.success(res.message);
- emit('ok');
- } else {
- createMessage.warning(res.message);
- }
- })
+
+ defHttp.post({url:'/zyInfoStudent/zyInfoStudent/editFabu',params:model}).then(res =>{
+ emit('ok');
+ })
.finally(() => {
confirmLoading.value = false;
});
+ // await saveOrUpdate(model, isUpdate.value)
+ // .then((res) => {
+ // if (res.success) {
+ // createMessage.success(res.message);
+ // emit('ok');
+ // } else {
+ // createMessage.warning(res.message);
+ // }
+ // })
+ // .finally(() => {
+ // confirmLoading.value = false;
+ // });
}
@@ -122,7 +129,7 @@