Merge branch 'dev' of https://gitea.dykj.co/sundongyu/dykj-college-back-office-management-system into dev
This commit is contained in:
commit
b62b4272f1
|
@ -0,0 +1,6 @@
|
|||
import sdy from './modules/sdy'
|
||||
import ycy from './modules/ycy'
|
||||
export default [
|
||||
...SDY,
|
||||
...YCY
|
||||
]
|
2
mock/modules/sdy.js
Normal file
2
mock/modules/sdy.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
import Mock from "mockjs"
|
||||
export default []
|
|
@ -1,5 +1,4 @@
|
|||
import Mock from "mockjs";
|
||||
|
||||
const StockList = Mock.mock({
|
||||
"list|20-30": [
|
||||
{
|
||||
|
@ -14,3 +13,6 @@ const StockList = Mock.mock({
|
|||
},
|
||||
],
|
||||
});
|
||||
export default [
|
||||
]
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
<template>
|
||||
<div>111111111111111</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style scoped lang="less"></style>
|
100
src/pages/receivables-management/account-receivable.vue
Normal file
100
src/pages/receivables-management/account-receivable.vue
Normal file
|
@ -0,0 +1,100 @@
|
|||
<template>
|
||||
<div class="back-color">
|
||||
<div class="form">
|
||||
<t-form
|
||||
ref="form"
|
||||
:data="formData"
|
||||
reset-type="initial"
|
||||
colon
|
||||
@reset="onReset"
|
||||
@submit="onSubmit"
|
||||
>
|
||||
<t-row>
|
||||
<t-col :span="3">
|
||||
<t-form-item label="部门" name="department">
|
||||
<t-tree-select :data="DEPARTMENT" clearable />
|
||||
</t-form-item>
|
||||
</t-col>
|
||||
<t-col :span="3">
|
||||
<t-form-item label="专业" name="major">
|
||||
<t-tree-select :data="MAJOR" clearable />
|
||||
</t-form-item>
|
||||
</t-col>
|
||||
<t-col :span="3">
|
||||
<t-form-item label="班级" name="grade">
|
||||
<t-tree-select :data="GRADE" clearable />
|
||||
</t-form-item>
|
||||
</t-col>
|
||||
<t-col :span="3">
|
||||
<t-form-item label="其他条件" name="condition">
|
||||
<t-tree-select :data="CONDITION" clearable />
|
||||
</t-form-item>
|
||||
</t-col>
|
||||
</t-row>
|
||||
<t-row>
|
||||
<t-col :push="10" :span="2" style="margin-top: 1rem">
|
||||
<t-button class="button">搜索</t-button>
|
||||
<t-button>重置</t-button>
|
||||
</t-col>
|
||||
</t-row>
|
||||
</t-form>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive } from 'vue'
|
||||
//表单数据
|
||||
const formData = reactive({})
|
||||
//部门数据
|
||||
const DEPARTMENT = [
|
||||
{
|
||||
label: '机电工程系',
|
||||
value: '机电工程系'
|
||||
},
|
||||
{
|
||||
label: '护理系',
|
||||
value: '护理系'
|
||||
},
|
||||
{
|
||||
label: '建筑系',
|
||||
value: '建筑系'
|
||||
}
|
||||
]
|
||||
//专业数据
|
||||
const MAJOR = [
|
||||
{
|
||||
label: '电子信息工程',
|
||||
value: '电子信息工程'
|
||||
}
|
||||
]
|
||||
//班级数据
|
||||
const GRADE = [
|
||||
{
|
||||
label: '2019',
|
||||
value: '2019'
|
||||
}
|
||||
]
|
||||
//其他条件数据
|
||||
const CONDITION = [
|
||||
{
|
||||
label: '已缴费',
|
||||
value: '已缴费'
|
||||
}
|
||||
]
|
||||
//表单提交
|
||||
const onSubmit = () => {
|
||||
console.log(formData)
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
.form {
|
||||
background-color: #fff;
|
||||
height: 3rem;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
.button {
|
||||
margin-right: 1rem;
|
||||
margin-left: 3rem;
|
||||
}
|
||||
</style>
|
|
@ -1,33 +1,20 @@
|
|||
import { createRouter, createWebHistory } from "vue-router";
|
||||
import FinanceBillManage from "./modules/financeBillManage";
|
||||
import ReceivablesManagement from "./modules/receivables-management";
|
||||
import Login from "@/pages/login/index.vue";
|
||||
|
||||
import Layout from "@/layout/index.vue";
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
routes: [
|
||||
{
|
||||
path: "/",
|
||||
redirect: "/accounts",
|
||||
meta: { title: "应收款管理", name: "accounts" },
|
||||
component: Layout,
|
||||
children: [
|
||||
{
|
||||
path: "/accounts",
|
||||
name: "Accounts",
|
||||
component: () => import("@/pages/index.vue"),
|
||||
meta: {
|
||||
title: "应收款管理",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
path: "/login",
|
||||
name: "login",
|
||||
component: Login,
|
||||
},
|
||||
...FinanceBillManage,
|
||||
...ReceivablesManagement
|
||||
],
|
||||
});
|
||||
|
||||
|
|
22
src/router/modules/receivables-management.js
Normal file
22
src/router/modules/receivables-management.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
import Layout from "@/layout/index.vue";
|
||||
|
||||
const ReceivablesManagement = [
|
||||
{
|
||||
path: "/",
|
||||
redirect: "/accounts",
|
||||
meta: { title: "应收款管理", name: "accounts" },
|
||||
component: Layout,
|
||||
children: [
|
||||
{
|
||||
path: "/accounts",
|
||||
name: "Accounts",
|
||||
component: () => import("@/pages/receivables-management/account-receivable.vue"),
|
||||
meta: {
|
||||
title: "应收款管理",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default ReceivablesManagement;
|
Loading…
Reference in New Issue
Block a user