Git Product home page Git Product logo

wueasy / fslayui Goto Github PK

View Code? Open in Web Editor NEW
162.0 17.0 45.0 16.5 MB

fsLayui2 是一个前端快速开发框架,支持数据表格增删改查操作,提供通用的组件,通过配置html实现数据请求,减少前端js重复开发的工作。目前支持单数据表格、多数据表格、树+数据表格、联动数据表格、富文本编辑器、下拉框联动、数据字典功能、表格编辑和提交等。

Home Page: https://fslayui.wueasy.com/

License: GNU Affero General Public License v3.0

JavaScript 50.09% HTML 30.23% CSS 16.87% Less 2.80%
layui fslayui fslayui2 wueasy frame html-js

fslayui's Introduction

fsLayui2

star fork

fsLayui2 是一个前端快速开发框架,支持数据表格增删改查操作,提供通用的组件,通过配置html实现数据请求,减少前端js重复开发的工作。目前支持单数据表格、多数据表格、树+数据表格、联动数据表格、富文本编辑器、下拉框联动、数据字典功能、表格编辑和提交等。

支持功能

  • 数据表格增删改查
  • 树+数据表格(树基于ztree实现,点击左边树,加载右边表格数据)
  • 多数据表格(同一页面多个数据表格)
  • 表单自动赋值、自动提交
  • tab表格(tab切换表格)
  • 复杂表格增删改查
  • 联动表格增删改查
  • 联动下拉框(省市区级联等多级联动)
  • 数据表格转义(例如:表格某个字段需要需要把代码填充中文名称)
  • 文件上传功能(上传附件、上传头像、上传进度条)
  • 富文本编辑器(tinymce)
  • 数据字典功能
  • 表格编辑
  • 表单和表格同时提交数据
  • 导航菜单栏(头部导航和左边导航菜单)
  • 表格排序(客户端排序和服务端排序)
  • 表格日期格式化
  • 评分功能
  • 滑块功能

使用文档

在线文档

admin2演示

admin后端管理系统(基础版)

admin后端管理系统(专业版)

社区

问题反馈或讨论

qq交流群:24017956 点击链接加入群

授权

  • 免费使用:必须完全遵守 AGPLv3 的相关条款(开源源代码),必须在以下地址https://www.wueasy.com/open-source.html中录入开发商、使用商、访问地址、源码地址等信息,不得去掉底部的版权信息
  • 商业使用:请联系 QQ 535412000 或邮箱 [email protected] 进行细节咨询

正版授权查询

wueasy产品提供在线授权查询,可以通过授权编号查询是否为官方正版产品。

https://www.wueasy.com/authorization.html

/*
 * fsLayui - A Front-end Rapid Development Framework.
 * Copyright (C) 2017-2019 wueasy.com

 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.

 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

示例

fslayui's People

Contributors

fallsea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fslayui's Issues

tree操作时无法自动获取treeId

Please answer these questions before submitting your issue. Thanks!
我们希望将精力放在完成新功能和解决有价值的问题上,为了让大家的配合更具有效率,请填写以下列出的全部问题

Which version of Elastic-Job do you using?(您使用的fslayui版本为?)

现阶段最新版本

Expected behavior (您预期的结果是)

自动获取到treeId

Actual behavior (实际运行的结果是)

id总是null值,getTree时只会是默认值treeDemo

Steps to reproduce the behavior (可重现问题的操作步骤)

直接修改tree操作的id,程序会报错

Please provide the reproduce example codes (such as github link),otherwise we will label the issue as Invalid and close it.(为了节省复现问题的时间,请务必提供可重现的代码,否则我们会将issue直接标记为invalid并关闭)

无代码,只需要修改tree+table操作的tree的id,就可以复现错误。

Potential security issue

Hey there!

I belong to an open source security research community, and a member (@sudheendra17) has found an issue, but doesn’t know the best way to disclose it.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

框架核心问题

当前使用版本是 2.3.1
问题一:
用iframe模式创业 表单+表格 提交功能页面
框架提示层报错,提示没有这方法
删除

问题二:
同样是 表单+表格 提交功能页面
表格的列宽度不能自动适应
比如我就 操作列 单独给了列宽 表格是整体宽度是100% 渲染完成后整体自适应出问题

问题三
表单单选框 设置了禁用 当页面css渲染页面时候是 单选框是是可以禁用的 但是框架核心JS方法执行完毕后,重新渲染了一次表单,导致单选框的禁用不起作用

问题四
如何劫持表单的提交,提交前做一些响应的操作 就比如 function="save" 如何重写 或者传入回调参数

问题五
其实我只想用到 表单 里面 的表格功能 框架的侵入性太大
这个功能非常棒 我只想使用原生的Layui的提交监听,然后再获取表单数据+表格数据提价到服务器
没有单独的模块

demo的表单回调菜单点击报错

Please answer these questions before submitting your issue. Thanks!
我们希望将精力放在完成新功能和解决有价值的问题上,为了让大家的配合更具有效率,请填写以下列出的全部问题

Which version of Elastic-Job do you using?(您使用的fslayui版本为?)

Expected behavior (您预期的结果是)

Actual behavior (实际运行的结果是)

Steps to reproduce the behavior (可重现问题的操作步骤)

Please provide the reproduce example codes (such as github link),otherwise we will label the issue as Invalid and close it.(为了节省复现问题的时间,请务必提供可重现的代码,否则我们会将issue直接标记为invalid并关闭)

exception

怎么给数据表格添加一行

Please answer these questions before submitting your issue. Thanks!
我们希望将精力放在完成新功能和解决有价值的问题上,为了让大家的配合更具有效率,请填写以下列出的全部问题

Which version of fsLayui do you using?(您使用的fslayui版本为?)

2.31

Expected behavior (您预期的结果是)

现在有一个JSON对象 怎么把这个对象转换成表格中的数据

Actual behavior (实际运行的结果是)

获取到表格对象添加AddRow 后 表格不见了

Steps to reproduce the behavior (可重现问题的操作步骤)

Please provide the reproduce example codes (such as github link),otherwise we will label the issue as Invalid and close it.(为了节省复现问题的时间,请务必提供可重现的代码,否则我们会将issue直接标记为invalid并关闭)

//表格数据
var datagrid = fsDatagrid.render({id:'fsDatagrid'});

//obj是一个对象
datagrid.addRow(obj);

然后表格就全部不见了

登录后再访问

Please answer these questions before submitting your issue. Thanks!
我们希望将精力放在完成新功能和解决有价值的问题上,为了让大家的配合更具有效率,请填写以下列出的全部问题

Which version of fsLayui do you using?(您使用的fslayui版本为?)

Expected behavior (您预期的结果是)

Actual behavior (实际运行的结果是)

Steps to reproduce the behavior (可重现问题的操作步骤)

Please provide the reproduce example codes (such as github link),otherwise we will label the issue as Invalid and close it.(为了节省复现问题的时间,请务必提供可重现的代码,否则我们会将issue直接标记为invalid并关闭)

配置都配置完成了,请问下现在需要登录后再访问系统,后台传入token,怎么存储,然后怎么判断这个权限呢

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.