Commit c921dabe authored by 黄奎's avatar 黄奎
parents 96837427 4c325a4c
This diff is collapsed.
<style> <style>
</style> </style>
<template> <template>
<div class="page-body"> <div class="page-body">
<q-tabs style="margin-bottom:20px;" v-model="tabCheck" narrow-indicator dense align="left" class="text-primary"> <q-tabs
<q-tab :ripple="false" v-for="(qitem,qindex) in tabList" :name="qitem.name" :label="qitem.label" :key="qindex" /> style="margin-bottom: 20px"
v-model="tabCheck"
narrow-indicator
dense
align="left"
class="text-primary"
>
<q-tab
:ripple="false"
v-for="(qitem, qindex) in tabList"
:name="qitem.name"
:label="qitem.label"
:key="qindex"
/>
</q-tabs> </q-tabs>
<div> <div>
<template v-if="tabCheck=='1'"> <template v-if="tabCheck == '1'">
<!--退课流程--> <!--退课流程-->
<backclassflow-form></backclassflow-form> <backclassflow-form></backclassflow-form>
</template> </template>
<template v-if="tabCheck=='2'"> <template v-if="tabCheck == '2'">
<!--调课流程--> <!--调课流程-->
<changeclassflow-form></changeclassflow-form> <changeclassflow-form></changeclassflow-form>
</template> </template>
<template v-if="tabCheck=='3'"> <template v-if="tabCheck == '3'">
<!--停课流程--> <!--停课流程-->
<stopclassflow-form></stopclassflow-form> <stopclassflow-form></stopclassflow-form>
</template> </template>
<template v-if="tabCheck=='4'"> <template v-if="tabCheck == '4'">
<!-- 转班流程 --> <!-- 转班流程 -->
<transfer-form></transfer-form> <transfer-form></transfer-form>
</template> </template>
<template v-if="tabCheck=='5'"> <template v-if="tabCheck == '5'">
<!-- 临时上课邀请流程 --> <!-- 临时上课邀请流程 -->
<temporaryClass-form></temporaryClass-form> <temporaryClass-form></temporaryClass-form>
</template> </template>
<template v-if="tabCheck=='6'"> <template v-if="tabCheck == '6'">
<!-- 分拆 --> <!-- 分拆 -->
<separate-form></separate-form> <separate-form></separate-form>
</template> </template>
<template v-if="tabCheck == '7'">
<!-- 请假流程 -->
<leave-form></leave-form>
</template>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import backclassflowForm from '../../components/flow/backclassflow-form'; import backclassflowForm from "../../components/flow/backclassflow-form";
import changeclassflowForm from '../../components/flow/changeclassflow-form'; import changeclassflowForm from "../../components/flow/changeclassflow-form";
import stopclassflowForm from '../../components/flow/stopclassflow-form'; import stopclassflowForm from "../../components/flow/stopclassflow-form";
import transferForm from '../../components/flow/transfer-form'; import transferForm from "../../components/flow/transfer-form";
import temporaryClassForm from '../../components/flow/temporaryClass-form'; import temporaryClassForm from "../../components/flow/temporaryClass-form";
import separateForm from '../../components/flow/separate-form' import separateForm from "../../components/flow/separate-form";
export default { import leaveForm from "../../components/flow/leave-form";
export default {
meta: { meta: {
title: "流程设置" title: "流程设置",
}, },
components: { components: {
backclassflowForm, backclassflowForm,
...@@ -51,11 +68,13 @@ ...@@ -51,11 +68,13 @@
stopclassflowForm, stopclassflowForm,
transferForm, transferForm,
temporaryClassForm, temporaryClassForm,
separateForm separateForm,
leaveForm,
}, },
data() { data() {
return { return {
tabList: [{ tabList: [
{
name: "1", name: "1",
label: "退课流程", label: "退课流程",
}, },
...@@ -69,27 +88,26 @@ ...@@ -69,27 +88,26 @@
}, },
{ {
name: "4", name: "4",
label: "转班流程" label: "转班流程",
}, },
{ {
name: "5", name: "5",
label: "临时上课邀请流程" label: "临时上课邀请流程",
}, },
{ {
name: "6", name: "6",
label: "分拆" label: "分拆",
} },
// {
// name: "7",
// label: "请假流程",
// },
], ],
tabCheck: '1', tabCheck: "1",
} };
}, },
created() {}, created() {},
mounted() { mounted() {},
methods: {},
}, };
methods: {
}
}
</script> </script>
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