Skip to content

Commit 4c0d60f

Browse files
authored
Merge pull request #36 from zhangchunlin/master
Sync
2 parents d517464 + d05064a commit 4c0d60f

File tree

4 files changed

+32
-5
lines changed

4 files changed

+32
-5
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Changelog
2+
3+
- 0.2.0(2019-09-17)
4+
- setup: add fix utf8 for reading file
5+
- **fix json response structure to be same as original apijson api (java)**
6+
- demo: use menu to display example list
7+
- **add association query support**
8+
- 0.1.3(2019-08-06)
9+
- demo: use admlte style layout
10+
- apijson-table: add sort support
11+
- apply_vars -> _apply_vars to avoid mapping to view; don't show db exception detail for security
12+
- apijson-viewedit: remove custom_tcolumns_render_generator in apijson-viewedit; add custom_viewedit_componet block
13+
- 0.1.2 (2019-05-27)
14+
- **add @expr support in apijson_get array**
15+
- more strict check with model name in get action; fix request_tag should get with tag not with model name
16+
- add vue component apijson-viewedit
17+
- apijson post/put/delete should get model name from request_tag setting; add NECESSARY support in _put_one
18+
- add functions.get_apijson_table
19+
- apijson-table: add custom_tcolumns_render_generator prop; deault component is input in add modal; add Notice top config
20+
- 0.1.1 (2019-05-07)
21+
- more strict check to tag_POST; support DISALLOW in apijson_put
22+
- fix DISALLOW and NECESSARY get wrongly problem
23+
- vue component apijson-table: change hook function names; change "type" to "component" in fields config; override modal footer, only cancel button; add checkbox render; add set deleted support
24+
- 0.1.0 (2019-04-02)
25+
- First workable release

demo/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ uliweb runserver
2121

2222
Then you can access http://localhost:8000 to try demo.
2323

24+
Users in demo for test: **admin**/**usera**/**userb**/**userc** , password: **123**
25+
2426
![](doc/imgs/demo_screenshot.png)

demo/apps/apijson_demo/templates/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,35 +28,35 @@
2828
<i-menu :active-name="0" @on-select="on_select_get" width="360px" ref='menu_get'>
2929
<menu-group title="apijson get examples" v-if="tab_current==='tab_get'">
3030
<menu-item v-for="(item,index) in request_get" :name="index" :key="index">
31-
📋 {item.label}
31+
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
3232
</menu-item>
3333
</menu-group>
3434
</i-menu>
3535
<i-menu :active-name="0" @on-select="on_select_head" width="360px">
3636
<menu-group title="apijson head examples" v-if="tab_current==='tab_head'">
3737
<menu-item v-for="(item,index) in request_head" :name="index" :key="index">
38-
📋 {item.label}
38+
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
3939
</menu-item>
4040
</menu-group>
4141
</i-menu>
4242
<i-menu :active-name="0" @on-select="on_select_post" width="360px">
4343
<menu-group title="apijson post examples" v-if="tab_current==='tab_post'">
4444
<menu-item v-for="(item,index) in request_post" :name="index" :key="index">
45-
📋 {item.label}
45+
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
4646
</menu-item>
4747
</menu-group>
4848
</i-menu>
4949
<i-menu :active-name="0" @on-select="on_select_put" width="360px">
5050
<menu-group title="apijson put examples" v-if="tab_current==='tab_put'">
5151
<menu-item v-for="(item,index) in request_put" :name="index" :key="index">
52-
📋 {item.label}
52+
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
5353
</menu-item>
5454
</menu-group>
5555
</i-menu>
5656
<i-menu :active-name="0" @on-select="on_select_delete" width="360px">
5757
<menu-group title="apijson delete examples" v-if="tab_current==='tab_delete'">
5858
<menu-item v-for="(item,index) in request_delete" :name="index" :key="index">
59-
📋 {item.label}
59+
<i class="fa fa-fw fa-file-code-o"></i> {item.label}
6060
</menu-item>
6161
</menu-group>
6262
</i-menu>

demo/doc/imgs/demo_screenshot.png

62.5 KB
Loading

0 commit comments

Comments
 (0)