mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 13:26:45 +08:00
fix:修改课程管理/课程审核创建时间问题
This commit is contained in:
@@ -3161,7 +3161,7 @@ const columns1 = [
|
|||||||
key: "9",
|
key: "9",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({text}) => {
|
customRender: ({text}) => {
|
||||||
return text ? getdateToTime(text * 1000) : "-";
|
return text ? text : "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -3916,6 +3916,7 @@ export default defineComponent({
|
|||||||
beginTime: startTime,
|
beginTime: startTime,
|
||||||
});
|
});
|
||||||
const {rows, total} = res.data.data;
|
const {rows, total} = res.data.data;
|
||||||
|
console.log(res.data.data)
|
||||||
state.tableDataTotal1 = total;
|
state.tableDataTotal1 = total;
|
||||||
const datas = traverseArr(
|
const datas = traverseArr(
|
||||||
rows,
|
rows,
|
||||||
|
|||||||
@@ -65,7 +65,6 @@
|
|||||||
import { reactive, toRefs, onMounted } from "vue";
|
import { reactive, toRefs, onMounted } from "vue";
|
||||||
import { courseListView } from "../../api/indexAudit";
|
import { courseListView } from "../../api/indexAudit";
|
||||||
import * as api1 from "@/api/index1";
|
import * as api1 from "@/api/index1";
|
||||||
import { toDate } from "../../api/method";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "CoursereViewed",
|
name: "CoursereViewed",
|
||||||
@@ -123,7 +122,7 @@ export default {
|
|||||||
key: "time",
|
key: "time",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (time) => {
|
customRender: (time) => {
|
||||||
return <div style="color:#387DF7">{toDate(time.record.time, "Y-M-D h:m")}</div>;
|
return <div style="color:#387DF7">{time.record.time}</div>;
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -318,7 +318,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs, onMounted, ref } from "vue";
|
import { reactive, toRefs, onMounted, ref } from "vue";
|
||||||
import { list, courseAuditView, courseDetail } from "../../api/indexAudit";
|
import { list, courseAuditView, courseDetail } from "../../api/indexAudit";
|
||||||
import { toDate } from "../../api/method";
|
|
||||||
import { message } from "ant-design-vue";
|
import { message } from "ant-design-vue";
|
||||||
import { Editor } from "@wangeditor/editor-for-vue";
|
import { Editor } from "@wangeditor/editor-for-vue";
|
||||||
import { iframeUrl } from "../../api/method";
|
import { iframeUrl } from "../../api/method";
|
||||||
@@ -585,7 +584,7 @@ export default {
|
|||||||
: "-",
|
: "-",
|
||||||
change: "-",
|
change: "-",
|
||||||
creater: item.createName,
|
creater: item.createName,
|
||||||
time: toDate(item.createTime, "Y-M-D h:m"),
|
time: item.createTime,
|
||||||
createrId: item.createId,
|
createrId: item.createId,
|
||||||
offId: item.offcourseId,
|
offId: item.offcourseId,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user