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