GithubHelp home page GithubHelp logo

denkata / rapyd-laravel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from micln/rapyd-laravel

0.0 1.0 0.0 1.97 MB

基于Upsteam做的定制版本,不兼容部分见Readme

License: MIT License

PHP 33.98% CSS 10.22% JavaScript 51.05% HTML 4.75%

rapyd-laravel's Introduction

the ‘dev’ branch is newest code, master branch keeps the same as upstream.

dev branch only tested under Laravel 5.1.

added features:

  1. fix security issue on 'readonly' mode

  2. add Datagrid::buildExcel() function (add maatwebsite/excel by composer)

  3. Date组件默认的format改成'Y-m-d', lang改为'zh-CN',方便兼容HTML5自带的日期组件。

  4. 添加QNFile Field,七牛的文件上传控件


$edit->addQNFile('images', '')->fileType('image')
    ->part('现场实拍')
    ->part('附加图片', true) // 第二个参数为true时,当前必填
    ...
;

$edit->addQNFile('documents', '')->fileType('documents')
    ->part('附件')
    ...
;

// 如果多个图片上传空间在表单的不同位置,如下,这种情况下的是否必填根据rule来判定

$edit->addQNFile('images:其他证明1', '')->fileType('image')->required(); // 必填
$edit->addText('image_note_1', '其他证明1(说明):');

$edit->addQNFile('images:其他证明2', '')->fileType('image');
$edit->addText('image_note_2', '其他证明2(说明):');

$edit->addQNFile('images:其他证明3', '')->fileType('image');
$edit->addText('image_note_3', '其他证明3(说明):');

rapyd-laravel's People

Contributors

biglist9 avatar davelopware-davea avatar davidjoan avatar edysoft avatar gitter-badger avatar hamishguthrie avatar holic-cl avatar icedfish avatar ishinao avatar kandran avatar mattglover11 avatar mehrdd avatar micln avatar scif avatar shrwdflrst avatar tacone avatar tvalentius avatar uocnb avatar wangxiaowai avatar zhwei avatar zofe 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.