mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
格式化时间。
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
</div>
|
||||
<div class="export-dialog-right">
|
||||
<p>累计导出{{exportPreData.length}}条</p>
|
||||
<p style="margin-top:10px">导出时间:{{formatDate(new Date())}}</p>
|
||||
<p style="margin-top:10px">导出时间:{{formatDateShort(new Date())}}</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -176,7 +176,7 @@ import interactBar from '@/components/Portal/interactBar.vue';
|
||||
import FileUpload from '@/components/NoteUpload/index.vue';
|
||||
import AuthorImg from '@/components/Portal/authorImg.vue';
|
||||
import { mapGetters } from 'vuex';
|
||||
import {formatDate} from '@/utils/tools.js';
|
||||
import {formatDate,formatDateShort} from '@/utils/tools.js';
|
||||
import apiUser from "@/api/system/user.js";
|
||||
import htmlToPdf from '@/utils/htmlToPdf'
|
||||
export default {
|
||||
@@ -188,6 +188,7 @@ export default {
|
||||
return{
|
||||
userData:{},
|
||||
formatDate,
|
||||
formatDateShort,
|
||||
noteFile:{
|
||||
contentType:null,
|
||||
type:2,
|
||||
@@ -254,9 +255,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
routerTo(item) {
|
||||
// console.log(item.courseId)
|
||||
if(item.courseId) {
|
||||
this.$router.push('/course/studyindex?id='+item.courseId);
|
||||
this.$router.push('/course/studyindex?id+'+item.courseId);
|
||||
}
|
||||
},
|
||||
exportCommand(e) {
|
||||
|
||||
Reference in New Issue
Block a user