mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 22:36:45 +08:00
feat:合并
This commit is contained in:
@@ -412,6 +412,10 @@ export default {
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
|
taskCourseID: {
|
||||||
|
type: Number,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
EditFaceId: {
|
EditFaceId: {
|
||||||
// 要编辑的workId
|
// 要编辑的workId
|
||||||
type: Number,
|
type: Number,
|
||||||
@@ -666,6 +670,7 @@ export default {
|
|||||||
//新建或编辑面授
|
//新建或编辑面授
|
||||||
// 新增任务
|
// 新增任务
|
||||||
const updateFaceTeach = () => {
|
const updateFaceTeach = () => {
|
||||||
|
console.log(props)
|
||||||
if (
|
if (
|
||||||
state.courseName == "" ||
|
state.courseName == "" ||
|
||||||
state.chooseCourse == null ||
|
state.chooseCourse == null ||
|
||||||
@@ -695,12 +700,17 @@ export default {
|
|||||||
|
|
||||||
afterStart: state.afterStartValue || 0,
|
afterStart: state.afterStartValue || 0,
|
||||||
beforeStart: state.before || 0,
|
beforeStart: state.before || 0,
|
||||||
beginTime: parseInt(
|
// beginTime: parseInt(
|
||||||
new Date(state.chooseTime[0].$d).getTime() / 1000
|
// new Date(state.chooseTime[0].$d).getTime() / 1000
|
||||||
),
|
// ),
|
||||||
|
// beginTime: dayjs(new Date(state.chooseTime[0]).getTime(), "YYYY-MM-DD HH-mm"),
|
||||||
|
beginTime: dayjs(state.chooseTime[0]).format("YYYY-MM-DD HH:mm"),
|
||||||
|
|
||||||
completeType: type.concat(t),
|
completeType: type.concat(t),
|
||||||
description: state.description,
|
description: state.description,
|
||||||
endTime: parseInt(new Date(state.chooseTime[1].$d).getTime() / 1000),
|
// endTime: parseInt(new Date(state.chooseTime[1].$d).getTime() / 1000),
|
||||||
|
// endTime: dayjs(new Date(state.chooseTime[1]).getTime(), "YYYY-MM-DD HH-mm"),
|
||||||
|
endTime: dayjs(state.chooseTime[1]).format("YYYY-MM-DD HH:mm"),
|
||||||
evalFlag: state.needEval && state.assessmentId > 0 ? 1 : 0,
|
evalFlag: state.needEval && state.assessmentId > 0 ? 1 : 0,
|
||||||
evaluateId: state.assessmentId,
|
evaluateId: state.assessmentId,
|
||||||
homeWorkId: state.EditWorkId,
|
homeWorkId: state.EditWorkId,
|
||||||
@@ -711,7 +721,7 @@ export default {
|
|||||||
testId: state.EditTestId,
|
testId: state.EditTestId,
|
||||||
duration: state.duration,
|
duration: state.duration,
|
||||||
attach:state.attach,
|
attach:state.attach,
|
||||||
id: props.edit ? props.taskIdDraft : null
|
id: props.edit ? props.taskIdDraft : props.taskCourseID
|
||||||
};
|
};
|
||||||
console.log("obj============", obj, "6" + "9");
|
console.log("obj============", obj, "6" + "9");
|
||||||
console.log("222222222");
|
console.log("222222222");
|
||||||
@@ -719,6 +729,7 @@ export default {
|
|||||||
editPlan(obj)
|
editPlan(obj)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
|
console.log('添加成功----》', res)
|
||||||
// message.success(`添加成功`);
|
// message.success(`添加成功`);
|
||||||
await updateTask(res);
|
await updateTask(res);
|
||||||
ctx.emit("changeData", false);
|
ctx.emit("changeData", false);
|
||||||
@@ -744,15 +755,16 @@ export default {
|
|||||||
message.destroy();
|
message.destroy();
|
||||||
return message.warning("请先选中关卡");
|
return message.warning("请先选中关卡");
|
||||||
}
|
}
|
||||||
|
console.log('=====>1111',props.edit , props.taskIdDraft , props.taskCourseID)
|
||||||
let editObj1 = {
|
let editObj1 = {
|
||||||
chapterId: props.isactive,
|
chapterId: props.isactive,
|
||||||
courseId: res.data.data.offcoursePlanId,
|
courseId: res.data.data.id,
|
||||||
name: res.data.data.name,
|
name: res.data.data.name,
|
||||||
duration: res.data.data.duration,
|
duration: res.data.data.duration,
|
||||||
routerId: props.routerId,
|
routerId: props.routerId,
|
||||||
routerTaskId: props.routerTaskId || 0,
|
routerTaskId: props.routerTaskId || 0,
|
||||||
type: 2,
|
type: 2,
|
||||||
id: props.taskIdDraft
|
id: props.edit ? props.taskIdDraft : res.data.data.id
|
||||||
};
|
};
|
||||||
await RouterEditTask(editObj1)
|
await RouterEditTask(editObj1)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@@ -773,7 +785,7 @@ export default {
|
|||||||
projectTaskId: props.projectTaskId || 0,
|
projectTaskId: props.projectTaskId || 0,
|
||||||
stageId: props.chooseStageId || 0,
|
stageId: props.chooseStageId || 0,
|
||||||
type: 2,
|
type: 2,
|
||||||
id: props.taskIdDraft
|
id: props.edit ? props.taskIdDraft : props.taskCourseID
|
||||||
};
|
};
|
||||||
// 新增编辑或新增项目
|
// 新增编辑或新增项目
|
||||||
await ProjectEditTask(editObj)
|
await ProjectEditTask(editObj)
|
||||||
@@ -794,7 +806,7 @@ export default {
|
|||||||
projectTaskId: props.projectTaskId || 0,
|
projectTaskId: props.projectTaskId || 0,
|
||||||
stageId: props.chooseStageId || 0,
|
stageId: props.chooseStageId || 0,
|
||||||
type: 2,
|
type: 2,
|
||||||
id: props.taskIdDraft
|
id: props.edit ? props.taskIdDraft : props.taskCourseID
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
//message.success(`${props.EditFaceId ? "编辑" : "新增"}阶段任务成功` );
|
//message.success(`${props.EditFaceId ? "编辑" : "新增"}阶段任务成功` );
|
||||||
|
|||||||
@@ -743,7 +743,6 @@ export default {
|
|||||||
liveExplain: state.textV1,
|
liveExplain: state.textV1,
|
||||||
liveNotice: state.liveNotice,
|
liveNotice: state.liveNotice,
|
||||||
liveFlag: "",
|
liveFlag: "",
|
||||||
id: props.edit ? Number(props.EditLiveId) : 0,
|
|
||||||
liveLink: state.inputV4,
|
liveLink: state.inputV4,
|
||||||
liveName: state.inputV1,
|
liveName: state.inputV1,
|
||||||
livePlayback: state.switchC1 ? "1" : "0",
|
livePlayback: state.switchC1 ? "1" : "0",
|
||||||
|
|||||||
@@ -274,7 +274,10 @@ export default {
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
|
taskCourseID: {
|
||||||
|
type: Number,
|
||||||
|
default: null,
|
||||||
|
},
|
||||||
projectTaskId: {
|
projectTaskId: {
|
||||||
// 要编辑的projectId
|
// 要编辑的projectId
|
||||||
type: Number,
|
type: Number,
|
||||||
@@ -506,9 +509,9 @@ export default {
|
|||||||
data.map((value) => {
|
data.map((value) => {
|
||||||
if (value.type == 3) {
|
if (value.type == 3) {
|
||||||
let obj = {
|
let obj = {
|
||||||
key: value.projectId,
|
key: value.id,
|
||||||
parentId: value.parentId,
|
parentId: value.parentId,
|
||||||
projectId: value.projectId,
|
projectId: value.id,
|
||||||
name: value.name,
|
name: value.name,
|
||||||
manager: value.manager,
|
manager: value.manager,
|
||||||
time: dayjs(value.createTime).format("YYYY-MM-DD"),
|
time: dayjs(value.createTime).format("YYYY-MM-DD"),
|
||||||
|
|||||||
@@ -454,7 +454,7 @@ export default {
|
|||||||
|
|
||||||
// 导出数据
|
// 导出数据
|
||||||
function exportTaskStu() {
|
function exportTaskStu() {
|
||||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&taskId=${props.datasource.projectTaskId}&taskType=${props.datasource.type}`)
|
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&taskId=${props.datasource.id}&taskType=${props.datasource.type}`)
|
||||||
// window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?pageNo=${state.currentPage}&pageSize=${state.pageSize}¤tStageId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&taskId=${props.datasource.projectTaskId}&status=${state.name}&studentName=${state.projectName}`)
|
// window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?pageNo=${state.currentPage}&pageSize=${state.pageSize}¤tStageId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&taskId=${props.datasource.projectTaskId}&status=${state.name}&studentName=${state.projectName}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1544,7 +1544,7 @@ import { useStore } from "vuex";
|
|||||||
import DropDown from "@/components/common/DropDown";
|
import DropDown from "@/components/common/DropDown";
|
||||||
import { checkPer } from "@/utils/utils";
|
import { checkPer } from "@/utils/utils";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { commonExport } from '@/utils/commonExcel'
|
// import { commonExport } from '@/utils/commonExcel'
|
||||||
|
|
||||||
//列表表格
|
//列表表格
|
||||||
const columns1 = [
|
const columns1 = [
|
||||||
@@ -4052,50 +4052,50 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
endTime = parseInt(new Date(state.projectTime[1].$d).getTime() / 1000);
|
endTime = parseInt(new Date(state.projectTime[1].$d).getTime() / 1000);
|
||||||
}
|
}
|
||||||
|
console.log(startTime,endTime)
|
||||||
|
|
||||||
|
// list({
|
||||||
list({
|
// pageNo: 1,
|
||||||
pageNo: 1,
|
// pageSize: 100000,
|
||||||
pageSize: 100000,
|
// auditStatus: state.auditStatus,
|
||||||
auditStatus: state.auditStatus,
|
// // categoryId: state.categoryId,
|
||||||
// categoryId: state.categoryId,
|
// sysTypeId: state.sysTypeId,
|
||||||
sysTypeId: state.sysTypeId,
|
// projectName: state.projectName,
|
||||||
projectName: state.projectName,
|
// name: state.name,
|
||||||
name: state.name,
|
// createName: state.createName,
|
||||||
createName: state.createName,
|
// endTime: endTime,
|
||||||
endTime: endTime,
|
// beginTime: startTime,
|
||||||
beginTime: startTime,
|
// }).then(res=>{
|
||||||
}).then(res=>{
|
// let list = res.data.data.rows.map(s=>{
|
||||||
let list = res.data.data.rows.map(s=>{
|
// s.contentTxt = findClassFullName(sysTypeOptions.value, s.sysTypeId) || "-";
|
||||||
s.contentTxt = findClassFullName(sysTypeOptions.value, s.sysTypeId) || "-";
|
// s.typeName = '面授'
|
||||||
s.typeName = '面授'
|
// s.publishStatusText = s.publishStatus === 0?'未发布':'已发布'
|
||||||
s.publishStatusText = s.publishStatus === 0?'未发布':'已发布'
|
// s.statusText = s.status === 0?'否':'是'
|
||||||
s.statusText = s.status === 0?'否':'是'
|
// s.auditStatusText = s.auditStatus === 0?'未提交': s.auditStatus === 1?'待审核':s.auditStatus === 2?'已审核':s.auditStatus === -1?"审核未通过":''
|
||||||
s.auditStatusText = s.auditStatus === 0?'未提交': s.auditStatus === 1?'待审核':s.auditStatus === 2?'已审核':s.auditStatus === -1?"审核未通过":''
|
// return s
|
||||||
return s
|
// })
|
||||||
})
|
// console.log(list)
|
||||||
console.log(list)
|
// let heads = [
|
||||||
let heads = [
|
// { header: '名称', key: 'name', width: 18 },
|
||||||
{ header: '名称', key: 'name', width: 18 },
|
// { header: '类型', key: 'typeName', width: 10 },
|
||||||
{ header: '类型', key: 'typeName', width: 10 },
|
// { header: '归属路径图', key: 'routerName', width: 13 },
|
||||||
{ header: '归属路径图', key: 'routerName', width: 13 },
|
// { header: '归属项目', key: 'projectName', width: 13 },
|
||||||
{ header: '归属项目', key: 'projectName', width: 13 },
|
// { header: '内容分类', key: 'contentTxt', width: 20 },
|
||||||
{ header: '内容分类', key: 'contentTxt', width: 20 },
|
// // { header: '一级分类', key: 'firstLevelCategory', width: 10 },
|
||||||
// { header: '一级分类', key: 'firstLevelCategory', width: 10 },
|
// // { header: '二级分类', key: 'secondLevelCategory', width: 10 },
|
||||||
// { header: '二级分类', key: 'secondLevelCategory', width: 10 },
|
// // { header: '三级分类', key: 'thirdLevelCategory', width: 10 },
|
||||||
// { header: '三级分类', key: 'thirdLevelCategory', width: 10 },
|
// { header: '开课次数', key: 'planCnt', width: 10 },
|
||||||
{ header: '开课次数', key: 'planCnt', width: 10 },
|
// { header: '学习人数', key: 'studentCnt', width: 10 },
|
||||||
{ header: '学习人数', key: 'studentCnt', width: 10 },
|
// { header: '评分', key: 'score', width: 10 },
|
||||||
{ header: '评分', key: 'score', width: 10 },
|
// { header: '状态', key: 'auditStatusText', width: 20 },
|
||||||
{ header: '状态', key: 'auditStatusText', width: 20 },
|
// { header: '是否发布', key: 'publishStatusText', width: 10 },
|
||||||
{ header: '是否发布', key: 'publishStatusText', width: 10 },
|
// { header: '创建人', key: 'createName', width: 10 },
|
||||||
{ header: '创建人', key: 'createName', width: 10 },
|
// { header: '创建时间', key: 'createTime', width: 22 },
|
||||||
{ header: '创建时间', key: 'createTime', width: 22 },
|
// { header: '上线时间', key: 'publishTime', width: 22 },
|
||||||
{ header: '上线时间', key: 'publishTime', width: 22 },
|
// { header: '是否停用', key: 'statusText', width: 10 },
|
||||||
{ header: '是否停用', key: 'statusText', width: 10 },
|
// ]
|
||||||
]
|
// commonExport(heads,list,"课程导出")
|
||||||
commonExport(heads,list,"课程导出")
|
// })
|
||||||
})
|
|
||||||
|
|
||||||
// window.open(
|
// window.open(
|
||||||
// `${process.env.VUE_APP_BASE_API}/admin/offcourse/export?pageNo=${
|
// `${process.env.VUE_APP_BASE_API}/admin/offcourse/export?pageNo=${
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
<draggable v-model="level" chosenClass="chosen" ghostClass="ghost" forceFallback="true" group="stage"
|
<draggable v-model="level" chosenClass="chosen" ghostClass="ghost" forceFallback="true" group="stage"
|
||||||
animation="500" @end="changeSort">
|
animation="500" @end="changeSort">
|
||||||
<template #item="{ element }">
|
<template #item="{ element }">
|
||||||
<div class="items" :class="isactive == element.chapterId ? 'active' : ''"
|
<div class="items" :class="isactive == element.id ? 'active' : ''"
|
||||||
@click="changebgc(element.chapterId)">
|
@click="changebgc(element.id)">
|
||||||
<div class="items1">
|
<div class="items1">
|
||||||
<div class="boxs_left">
|
<div class="boxs_left">
|
||||||
<a-popover placement="topLeft" trigger="click">
|
<a-popover placement="topLeft" trigger="click">
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
<div class="imgIcon" @click="showModal(element)"></div>
|
<div class="imgIcon" @click="showModal(element)"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="boxs_right">
|
<div class="boxs_right">
|
||||||
<div class="imgIcon" @click="showDeleteChapter(element.chapterId)"></div>
|
<div class="imgIcon" @click="showDeleteChapter(element.id)"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="items2">
|
<div class="items2">
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
<div class="lin"></div>
|
<div class="lin"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="itcon" @click="showAddface">
|
<div class="itcon" @click="showAddface()">
|
||||||
<div class="img">
|
<div class="img">
|
||||||
<img src="../../assets/images/leveladd/mian.png" />
|
<img src="../../assets/images/leveladd/mian.png" />
|
||||||
</div>
|
</div>
|
||||||
@@ -219,7 +219,7 @@
|
|||||||
<!-- 添加面授 -->
|
<!-- 添加面授 -->
|
||||||
<add-faceteach @changeData="updateTableData" v-model:edit="edit" v-model:isactive="isactive"
|
<add-faceteach @changeData="updateTableData" v-model:edit="edit" v-model:isactive="isactive"
|
||||||
v-model:routerId="routerId" v-model:chooseStageId="chooseStageId" v-model:routerTaskId="routerTaskId"
|
v-model:routerId="routerId" v-model:chooseStageId="chooseStageId" v-model:routerTaskId="routerTaskId"
|
||||||
v-model:addfaceteachVisible="addfaceteachVisible" v-model:EditFaceId="EditFaceId" :isLevel="isLevel" v-model:taskIdDraft="taskIdDraft" v-model:taskCourseID="taskCourseID" />
|
v-model:addfaceteachVisible="addfaceteachVisible" v-model:EditFaceId="EditFaceId" v-model:taskIdDraft="taskIdDraft" v-model:taskCourseID="taskCourseID" :isLevel="isLevel" />
|
||||||
<!-- 添加面授 -->
|
<!-- 添加面授 -->
|
||||||
<div class="lin"></div>
|
<div class="lin"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -555,7 +555,7 @@
|
|||||||
)">
|
)">
|
||||||
编辑
|
编辑
|
||||||
</span>
|
</span>
|
||||||
<span style="color: #4ea6ff; cursor: pointer" @click="showDeleteModal(element.routerTaskId)">
|
<span style="color: #4ea6ff; cursor: pointer" @click="showDeleteModal(element.id)">
|
||||||
删除
|
删除
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1000,6 +1000,7 @@ export default {
|
|||||||
chooseChapterId: null,
|
chooseChapterId: null,
|
||||||
|
|
||||||
updateChapterID: null, //编辑关卡id
|
updateChapterID: null, //编辑关卡id
|
||||||
|
updateID: null, //编辑关卡id
|
||||||
deleteChapterModal: false, //删除关卡弹窗
|
deleteChapterModal: false, //删除关卡弹窗
|
||||||
deleteChapterId: null, //删除关卡id
|
deleteChapterId: null, //删除关卡id
|
||||||
|
|
||||||
@@ -1021,7 +1022,7 @@ export default {
|
|||||||
state.value1 = element.name;
|
state.value1 = element.name;
|
||||||
state.value2 = element.remark;
|
state.value2 = element.remark;
|
||||||
state.updateChapterID = element.chapterId;
|
state.updateChapterID = element.chapterId;
|
||||||
|
state.updateID = element.id;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const closeModal = () => {
|
const closeModal = () => {
|
||||||
@@ -1062,10 +1063,10 @@ export default {
|
|||||||
name: state.value1,
|
name: state.value1,
|
||||||
remark: state.value2,
|
remark: state.value2,
|
||||||
routerId: state.routerId,
|
routerId: state.routerId,
|
||||||
|
id: state.updateID,
|
||||||
chapterId: state.updateChapterID,
|
chapterId: state.updateChapterID,
|
||||||
};
|
};
|
||||||
api
|
api.updateChapter(obj)
|
||||||
.updateChapter(obj)
|
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("修改成功", res);
|
console.log("修改成功", res);
|
||||||
message.success("修改成功");
|
message.success("修改成功");
|
||||||
@@ -1121,7 +1122,7 @@ export default {
|
|||||||
const deleteChapter = () => {
|
const deleteChapter = () => {
|
||||||
console.log("chapterId", state.deleteChapterId);
|
console.log("chapterId", state.deleteChapterId);
|
||||||
let obj = {
|
let obj = {
|
||||||
chapterId: state.deleteChapterId,
|
id: state.deleteChapterId,
|
||||||
};
|
};
|
||||||
api
|
api
|
||||||
.deleteChapter(obj)
|
.deleteChapter(obj)
|
||||||
@@ -1288,22 +1289,16 @@ export default {
|
|||||||
const dataAssignment = (id) => {
|
const dataAssignment = (id) => {
|
||||||
console.log(state.level);
|
console.log(state.level);
|
||||||
for (let i = 0; i < state.level.length; i++) {
|
for (let i = 0; i < state.level.length; i++) {
|
||||||
console.log("state.level[i].chapterId", state.level[i].chapterId, id);
|
if (state.level[i].id == Number(id)) {
|
||||||
if (state.level[i].chapterId == Number(id)) {
|
|
||||||
let array = [];
|
let array = [];
|
||||||
state.chooseProjectList = JSON.stringify(state.level[i].taskList);
|
state.chooseProjectList = JSON.stringify(state.level[i].taskList);
|
||||||
console.log("state.level[i].taskList", state.level[i].taskList);
|
|
||||||
state.level[i].taskList.forEach((element) => {
|
state.level[i].taskList.forEach((element) => {
|
||||||
console.log("element", element);
|
|
||||||
let obj = {
|
let obj = {
|
||||||
id: element.routerTaskId,
|
id: element.id,
|
||||||
key: element.routerTaskId,
|
key: element.routerTaskId,
|
||||||
lei: checkType(element.type),
|
lei: checkType(element.type),
|
||||||
creater: element.name,
|
creater: element.name,
|
||||||
cretime:
|
cretime: element.duration || element.duration === 0 ? element.duration : "-",
|
||||||
element.duration || element.duration == 0
|
|
||||||
? element.duration
|
|
||||||
: "-",
|
|
||||||
checked1: element.flag,
|
checked1: element.flag,
|
||||||
routerTaskId: element.routerTaskId,
|
routerTaskId: element.routerTaskId,
|
||||||
courseId: element.courseId,
|
courseId: element.courseId,
|
||||||
@@ -1313,12 +1308,9 @@ export default {
|
|||||||
chapterId: element.chapterId,
|
chapterId: element.chapterId,
|
||||||
...element
|
...element
|
||||||
};
|
};
|
||||||
// console.log("obj", obj);
|
|
||||||
array.push(obj);
|
array.push(obj);
|
||||||
// console.log("array", array);
|
|
||||||
});
|
});
|
||||||
state.tableData = array;
|
state.tableData = array;
|
||||||
// console.log("tableData", state.tableData);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1672,7 +1672,7 @@ export default {
|
|||||||
}
|
}
|
||||||
function push(record) {
|
function push(record) {
|
||||||
showProjectPub({
|
showProjectPub({
|
||||||
projectId: record.projectId,
|
projectId: record.id,
|
||||||
name: record.name,
|
name: record.name,
|
||||||
time: record.beginTime + "-" + record.endTime,
|
time: record.beginTime + "-" + record.endTime,
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ module.exports = defineConfig({
|
|||||||
publicPath: process.env.VUE_APP_BASE,
|
publicPath: process.env.VUE_APP_BASE,
|
||||||
outputDir: process.env.VUE_APP_OUTPUT_DIR,
|
outputDir: process.env.VUE_APP_OUTPUT_DIR,
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 8080,
|
port: 8070,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/manageApi": {
|
"/manageApi": {
|
||||||
target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
target: 'http:' + process.env.VUE_APP_PROXY_URL,
|
||||||
|
|||||||
Reference in New Issue
Block a user