mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
改bug
This commit is contained in:
@@ -422,7 +422,7 @@ import AddHomework from "@/components/drawers/CommonHomework.vue";
|
||||
import AddTest from "@/components/drawers/CommonTest.vue";
|
||||
import NameInput from "@/components/project/NameInput";
|
||||
import AssessmentList from "@/components/drawers/AssessmentList.vue";
|
||||
import {COURSE_PLAN_EDIT, COURSE_PLAN_PAGE, DEL_PLAN, EXAM_DETAIL, WORK_DETAIL} from "@/api/apis";
|
||||
import {COURSE_PLAN_EDIT, COURSE_PLAN_PAGE, DEL_PLAN, EXAM_DETAIL, WORK_DETAIL,PROJECT_DETAIL_MODIFY} from "@/api/apis";
|
||||
import dayjs from "dayjs";
|
||||
import BaseTable from "@/components/common/BaseTable";
|
||||
import {request,useRowsPageNoInit} from "@/api/request";
|
||||
@@ -430,6 +430,8 @@ import dialog from "@/utils/dialog";
|
||||
import {useResetRef} from "@/utils/useCommon";
|
||||
import { validateName } from "@/api/index1";
|
||||
import moment from 'moment';
|
||||
import * as api from "../../api/indexTaskadd";
|
||||
import {useRoute} from "vue-router";
|
||||
const props = defineProps({
|
||||
type: Number,
|
||||
});
|
||||
@@ -650,8 +652,8 @@ function timeChange(timeStr) {
|
||||
dateTime.value[0]=date.$y+'-'+month+'-'+day+' '+date.$H+':'+date.$m
|
||||
}
|
||||
function onBlurStart(){
|
||||
onFocusStart()
|
||||
console.log(dateTime.value[0],'dateTime')
|
||||
|
||||
|
||||
}
|
||||
function onFocusStart(){
|
||||
if(!dateTime.value[0]){
|
||||
@@ -704,9 +706,14 @@ const closeDrawer = () => {
|
||||
draftTaskId: params.value.draftTaskId,
|
||||
});
|
||||
};
|
||||
|
||||
function confirm() {
|
||||
const route = useRoute();
|
||||
const projectInfo = ref({});
|
||||
const confirm = async()=>{
|
||||
closeDrawer();
|
||||
await api.getDraftTask({projectId: route.query.projectId}).then((res) => {
|
||||
projectInfo.value = res.data.data
|
||||
});
|
||||
request(PROJECT_DETAIL_MODIFY, { ...projectInfo.value });
|
||||
}
|
||||
|
||||
const createNewCourse = () => {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<div style="font-size: 14px;">
|
||||
<img src="../../../assets/images/courseManage/persion.png" style="width:16px;height:16px;">
|
||||
{{ item.teacher }}
|
||||
{{ item.offteachers.map(item => item.teacherName).join(',') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -460,7 +460,6 @@ const qrcodeVisibleSign = () => {
|
||||
});
|
||||
};
|
||||
const qrcodeAssement = () =>{
|
||||
console.log(data,'data')
|
||||
qrCode({
|
||||
title: "【评估】二维码",
|
||||
courseName: props.courseName + '项目',
|
||||
|
||||
Reference in New Issue
Block a user