From 00ca206f99eaa2de83e696ccd0301ac009db08ae Mon Sep 17 00:00:00 2001 From: LiuZH Date: Wed, 20 May 2020 21:52:10 +0800 Subject: [PATCH] change start date to course --- backend/run.sh | 8 ++++---- backend/vue2-forntend/src/views/Eventlist/index.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/run.sh b/backend/run.sh index 1adc640..64b7c42 100755 --- a/backend/run.sh +++ b/backend/run.sh @@ -1,6 +1,6 @@ -./halt.sh +#./halt.sh pkill -9 python -systemctl start nginx.service +#systemctl start nginx.service rm -rf vue2-forntend/dist cd vue2-forntend && cnpm run build:prod && cd .. rm -rf static @@ -8,5 +8,5 @@ rm -rf static python manage.py makemigrations python manage.py collectstatic python manage.py migrate -# nohup python manage.py runserver 0.0.0.0:8000 & -uwsgi --ini uwsgi.ini +nohup python manage.py runserver 0.0.0.0:8000 & +#uwsgi --ini uwsgi.ini diff --git a/backend/vue2-forntend/src/views/Eventlist/index.vue b/backend/vue2-forntend/src/views/Eventlist/index.vue index 53ccfe1..36a9392 100644 --- a/backend/vue2-forntend/src/views/Eventlist/index.vue +++ b/backend/vue2-forntend/src/views/Eventlist/index.vue @@ -197,8 +197,8 @@ @@ -233,7 +233,7 @@ export default { value: 'title', sortable: false, }, - { text: '发布时间', value: 'create_time' }, + { text: '关联课程', value: 'course_name' }, { text: '截止日期', value: 'ddl_time' }, { text: '事项类型', value: 'category' }, // { text: '完成状态', value: 'is_finished' }, -- Gitee