Commit e70f343a authored by zhengke's avatar zhengke

修改

parent fdfa13d3
This diff is collapsed.
......@@ -16,6 +16,7 @@
<q-space />
<div class="page-option">
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增留学" @click="EditStudy(null)" />
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增留学2" @click="isShowStudy2=true" />
</div>
</template>
<template v-slot:body-cell-Id="props">
......@@ -31,6 +32,8 @@
</q-table>
<studyAbroad-form v-if="isShowStudy" :save-obj="studyObj" @close="closeStudyForm" @success="refreshPage">
</studyAbroad-form>
<studyAbroad-form2 v-if="isShowStudy2" :save-obj="studyObj" @close="closeStudyForm2" @success="refreshPage">
</studyAbroad-form2>
</div>
</div>
</template>
......@@ -40,6 +43,7 @@
queryStudyAbroadPage
} from '../../api/studyabroad/index'
import studyAbroadForm from '../../components/studyAbroad/studyAbroad-form'
import studyAbroadForm2 from '../../components/studyAbroad/studyAbroad-form2'
export default {
meta: {
......@@ -47,6 +51,7 @@
},
components: {
studyAbroadForm,
studyAbroadForm2
},
data() {
return {
......@@ -164,6 +169,8 @@
PageCount: 0,
isShowStudy: false, //是否显示留学弹窗
studyObj: {}, //留学对象
isShowStudy2:false,
}
},
mounted() {
......@@ -198,6 +205,13 @@
closeStudyForm() {
this.isShowStudy = false
},
//关闭弹窗2号
closeStudyForm2(){
this.isShowStudy2 = false
},
//刷新页面
refreshPage() {
this.getList();
......
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