Commit d5b143af authored by 罗超's avatar 罗超

1

parent 6c4e2919
...@@ -391,6 +391,7 @@ ...@@ -391,6 +391,7 @@
}) })
this.persistent=false this.persistent=false
this.$emit('success') this.$emit('success')
this.$emit('close')
} else { } else {
this.$q.notify({ this.$q.notify({
type: 'negative', type: 'negative',
......
...@@ -200,8 +200,8 @@ import Ueditor from "../../components/editor/UeEditor"; ...@@ -200,8 +200,8 @@ import Ueditor from "../../components/editor/UeEditor";
getDetail(){ getDetail(){
this.apipostDS("/api/Education/GetActivity",{ Id:this.msg.Id},(res)=>{ this.apipostDS("/api/Education/GetActivity",{ Id:this.msg.Id},(res)=>{
if(res.data.resultCode===1){ if(res.data.resultCode===1){
this.msg.Summary=res.data.data.Summary this.msg.Summary=res.data.data.Summary||''
this.setVal(res.data.data.Summary); this.setVal(this.msg.Summary);
} }
}) })
}, },
......
...@@ -177,11 +177,6 @@ ...@@ -177,11 +177,6 @@
row-key="name"> row-key="name">
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">活动列表</div> <div class="col-2 q-table__title">活动列表</div>
<q-space />
<div class="page-option">
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增"
@click="goUrl('/activity/activeDetail',null)" />
</div>
</template> </template>
<template v-slot:body-cell-activeName="props"> <template v-slot:body-cell-activeName="props">
<q-td :props="props"> <q-td :props="props">
...@@ -191,7 +186,6 @@ ...@@ -191,7 +186,6 @@
</div> </div>
{{props.row.ActivityName}} {{props.row.ActivityName}}
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-ActivityTime="props"> <template v-slot:body-cell-ActivityTime="props">
...@@ -208,9 +202,6 @@ ...@@ -208,9 +202,6 @@
<template v-slot:body-cell-AgeAndPeopleNum="props"> <template v-slot:body-cell-AgeAndPeopleNum="props">
<q-td :props="props"> <q-td :props="props">
<div> <div>
<!-- <div>{{props.row.AgeLimit ==1?'不区分年龄':'区分年龄'}}</div>
<div v-if="props.row.AgeLimit==0">范围:{{props.row.StartAge}}岁~{{props.row.EndAge}}</div>-->
<!-- <div>报名人数</div> -->
<div v-if="props.row.Distinguish ==1">总人数:{{props.row.ManNum}}</div> <div v-if="props.row.Distinguish ==1">总人数:{{props.row.ManNum}}</div>
<div v-if="props.row.Distinguish ==0">男性:{{props.row.ManNum}}<span <div v-if="props.row.Distinguish ==0">男性:{{props.row.ManNum}}<span
style="margin-left:10px">女性:{{props.row.WoManNum}}</span> </div> style="margin-left:10px">女性:{{props.row.WoManNum}}</span> </div>
...@@ -225,7 +216,6 @@ ...@@ -225,7 +216,6 @@
<div> <div>
<div v-if="props.row.IsFree==1" style="color:green;">免费</div> <div v-if="props.row.IsFree==1" style="color:green;">免费</div>
<div v-if="props.row.IsFree==2" style="color:red;">现金价格:{{props.row.Price}}</div> <div v-if="props.row.IsFree==2" style="color:red;">现金价格:{{props.row.Price}}</div>
<!-- <div v-if="props.row.IsFree==2" style="color:red;">现金点数:{{props.row.PointNum}}</div> -->
<div>报名取消确认:{{props.row.IsCancelConfirm==1?'是':'否'}}</div> <div>报名取消确认:{{props.row.IsCancelConfirm==1?'是':'否'}}</div>
<div>内部限制:{{props.row.IsCancelConfirm==1?'是':'否'}}</div> <div>内部限制:{{props.row.IsCancelConfirm==1?'是':'否'}}</div>
</div> </div>
...@@ -238,37 +228,13 @@ ...@@ -238,37 +228,13 @@
</div> </div>
</q-td> </q-td>
</template> </template>
<!-- <template v-slot:body-cell-JoinNum="props">
<q-td :props="props">
<div>
{{props.row.JoinNum}} 人
</div>
</q-td>
</template> -->
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<div> <div>
<q-btn flat size="xs" color="accent" style="font-weight:400" label="复制" <q-btn flat size="xs" color="accent" style="font-weight:400" label="报名列表"
@click="goUrl('/activity/copyActive',props.row)" /> @click="goUrl1('/activity/activeSignUpList',props.row)" />
<!-- <q-btn flat size="xs" icon="edit"
color="accent" style="font-weight:400" label="删除" @click="delActive(props.row)" /> -->
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;"> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;">
<q-list> <q-list>
<q-item clickable v-close-popup @click="delActive(props.row)">
<q-item-section>
<q-item-label>删除</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="goUrl1('/activity/activeSignUpList',props.row)">
<q-item-section>
<q-item-label>报名列表</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="goUrl('/activity/payment',props.row)">
<q-item-section>
<q-item-label>活动收支</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="goUrl('/activity/activeDetail',props.row)"> <q-item clickable v-close-popup @click="goUrl('/activity/activeDetail',props.row)">
<q-item-section> <q-item-section>
<q-item-label>活动详情</q-item-label> <q-item-label>活动详情</q-item-label>
......
This diff is collapsed.
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
</template> </template>
</q-table> </q-table>
<StopLesson-form v-if="isShowStopLesson" :setObj="stuObj" @success="reloadPage" @close="closeMenuSaveForm"/> <StopLesson-form v-if="isShowStopLesson" :setObj="stuObj" @success="reloadPage" @close="closeMenuSaveForm"/>
<ProvisionalInvite-form v-if="isShowProvisionalInvite" @close="closeMenuSaveForm"/> <ProvisionalInvite-form v-if="isShowProvisionalInvite" @close="closeMenuSaveForm"/>
</div> </div>
...@@ -133,9 +133,6 @@ ...@@ -133,9 +133,6 @@
import { import {
GetStuPageList GetStuPageList
} from "../../api/teacher/student" } from "../../api/teacher/student"
// import classForm from '../../components/course/class-form';
// import classinfoForm from '../../components/course/classinfo-form';
// import othercourseForm from '../../components/course/othercourse-form';
import StopLessonForm from '../../components/teacher/stopLessonForm' import StopLessonForm from '../../components/teacher/stopLessonForm'
import ProvisionalInviteForm from '../../components/teacher/provisionalInviteForm' import ProvisionalInviteForm from '../../components/teacher/provisionalInviteForm'
export default { export default {
......
...@@ -1026,7 +1026,17 @@ const routes = [{ ...@@ -1026,7 +1026,17 @@ const routes = [{
path: "/stuMan/activeList",//学管 活动列表 path: "/stuMan/activeList",//学管 活动列表
component: () => component: () =>
import("pages/stuMan/activeList") import("pages/stuMan/activeList")
} },
{
path: "/stuMan/classPlan",//学管 上课计划
component: () =>
import("pages/stuMan/classPlan")
},
{
path: "/stuMan/classRecord",//学管 上课记录
component: () =>
import("pages/stuMan/classRecord")
},
], ],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment