Giter Site home page Giter Site logo

vue-admin's Introduction

suyuan-admin

初始化

yarn install

运行

yarn run serve

打包

yarn run build

测试

yarn run test

账号、密码

随便写,只要大于3位且小于16位

配置权限

见 管理员——>管理员列表

导出Excel

见 管理员——>添加管理员

关于权限配置

这里使用element-ui库的 Tree 树形控件组件,要求数据格式自行查阅 UI库官网 将路由信息对象 作为树形控件组件渲染出来,供管理员选择,然后上传服务器 选择后 获得的 key值 所组成是数组 根据 后台返回的key值数组 去 路由数组 中筛选出对应的路由信息对象,并将其添加至路由信息对象中 方法addRouter 详见 srv->router->index.js表

导出EXcel

 let idList=[
            {
                nickname: 'Nick',
                name: '找好的呢',
                idcard: '15662564'
            }
    ]
          
import("@/vendor/Export2Excel").then(excel => {
         const tHeader = [
                "昵称",
                "真实姓名",
                "身份证号码",
                ];
        const filterVal = [
                "nickname",
                "name",
                "idcard",
                ];
    excel.export_json_to_excel2(tHeader, idList, filterVal, "主播认证");
            
});

vue-admin's People

Contributors

cgq001 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.