feat: 车辆管理,原材料盘点,合同审核模块

This commit is contained in:
louis 2024-02-29 11:04:38 +08:00
parent 8770ef36a7
commit a3a0246c35
6 changed files with 43 additions and 25 deletions

View File

@ -1,20 +1,20 @@
{ {
"Vue3.3+defineOptions快速生成模板": { "Vue3.3+defineOptions快速生成模板": {
"scope": "vue", "scope": "vue",
"prefix": "Vue3.3+", "prefix": "v3init",
"body": [ "body": [
"<template>",
"\t<div>test</div>",
"</template>\n",
"<script setup lang='ts'>", "<script setup lang='ts'>",
"defineOptions({", "defineOptions({",
"\tname: '${TM_FILENAME_BASE}'", "\tname: '${TM_FILENAME_BASE}'",
"})", "})",
"</script>\n", "</script>\n",
"<template>",
"\t<div>test</div>",
"</template>\n",
"<style lang='less' scoped>\n", "<style lang='less' scoped>\n",
"</style>", "</style>",
"$2" "$2",
], ],
"description": "Vue3.3+defineOptions快速生成模板" "description": "Vue3.3+defineOptions快速生成模板",
} },
} }

View File

@ -1,6 +1,6 @@
import { defineComponent } from 'vue'; import { defineComponent } from 'vue';
import { GithubOutlined, CopyrightOutlined } from '@ant-design/icons-vue'; import { CopyrightOutlined } from '@ant-design/icons-vue';
import { Layout } from 'ant-design-vue'; import { Layout } from 'ant-design-vue';
import styles from './index.module.less'; import styles from './index.module.less';
@ -13,22 +13,13 @@ export default defineComponent({
return () => ( return () => (
<> <>
<a-layout-footer class={styles.page_footer}> <a-layout-footer class={styles.page_footer}>
<div class={styles.page_footer_link}>
<a href="https://github.com/vuejs/vue-next" target="_blank">
vue 3.0
</a>
<a href="https://github.com/buqiyuan" target="_blank">
<GithubOutlined />
</a>
<a href="https://github.com/vueComponent/ant-design-vue" target="_blank">
{' '}
ant-design-vue 2.0
</a>
</div>
<div class={styles.copyright}> <div class={styles.copyright}>
Copyright <CopyrightOutlined /> 2020 Copyright <CopyrightOutlined /> 2024
<a href="https://buqiyuan.gitee.io" target="_blank"> <a
buqiyuan.gitee.io href="http://www.sdkjjt.com/index.php?m=content&c=index&a=lists&catid=97"
target="_blank"
>
&nbsp;
</a> </a>
</div> </div>
</a-layout-footer> </a-layout-footer>

View File

@ -0,0 +1,11 @@
<template>
<div>test</div>
</template>
<script setup lang="ts">
defineOptions({
name: 'Contract',
});
</script>
<style lang="less" scoped></style>

View File

@ -0,0 +1,11 @@
<template>
<div>Meterials Inventory</div>
</template>
<script setup lang="ts">
defineOptions({
name: 'MeterialsInventory',
});
</script>
<style lang="less" scoped></style>

View File

@ -0,0 +1,7 @@
<template><div>车辆使用</div></template>
<script setup lang="ts">
defineOptions({
name: 'VehicleUsage',
});
</script>
<style scoped lang="less"></style>

View File

@ -111,13 +111,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
port: 8088, port: 8088,
proxy: { proxy: {
'/api': { '/api': {
// target: 'https://nest-api.buqiyuan.site',
target: 'http://127.0.0.1:7001', target: 'http://127.0.0.1:7001',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''), rewrite: (path) => path.replace(/^\/api/, ''),
}, },
'/upload': { '/upload': {
// target: 'hhttps://nest-api.buqiyuan.site/upload',
target: 'http://127.0.0.1:7001/upload', target: 'http://127.0.0.1:7001/upload',
changeOrigin: true, changeOrigin: true,
ws: true, ws: true,