5.7.0 • Published 1 month ago

strmon-test v5.7.0

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

vue-manage-system

前言

该方案作为一套多功能的后台框架模板,适用于绝大部分的后台管理系统开发。基于 Vue3 + pinia + typescript,引用 Element Plus 组件库,方便开发。实现逻辑简单,适合外包项目,快速交付。

功能

  • Element Plus
  • vite 3
  • pinia
  • typescript
  • 登录/注销
  • Dashboard
  • 表格
  • Tab 选项卡
  • 表单
  • 图表 :bar_chart:
  • 富文本/markdown编辑器
  • 图片拖拽/裁剪上传
  • 权限管理
  • 三级菜单
  • 自定义图标

// 运行 npm run dev

// 执行构建命令,生成的dist文件夹放在服务器下即可访问 npm run build

## 组件使用说明与演示

### vue-schart

vue.js 封装 sChart.js 的图表组件。访问地址:[vue-schart](https://github.com/lin-xin/vue-schart#/) 

<p><a href="https://www.npmjs.com/package/vue-schart"><img src="https://img.shields.io/npm/dm/vue-schart.svg" alt="Downloads"></a></p>

```html
<template>
    <div>
        <schart class="wrapper" canvasId="myCanvas" :options="options"></schart>
    </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import Schart from "vue-schart"; // 导入Schart组件
const options = ref({
    type: "bar",
    title: {
        text: "最近一周各品类销售图",
    },
    labels: ["周一", "周二", "周三", "周四", "周五"],
    datasets: [
        {
            label: "家电",
            data: [234, 278, 270, 190, 230],
        },
        {
            label: "百货",
            data: [164, 178, 190, 135, 160],
        },
        {
            label: "食品",
            data: [144, 198, 150, 235, 120],
        },
    ],
})
</script>
<style>
    .wrapper {
        width: 7rem;
        height: 5rem;
    }
</style>

项目截图

登录

Image text

首页

Image text

License

MIT