public
Authored by avatar Nguyễn Trường Thơ

#1844 Bug::DMView - Several problem of searchView (basic functions)

Edited
snippetfile1.txt 4.71 KiB
{
                            "code": "submodule3-componentsearchview2-ddobj18",
                            "type": "datamodel",
                            "moduleCode": "testsearchview",
                            "subModuleCode": "submodule3",
                            "componentCode": "submodule3-componentsearchview2",
                            "rawComponentCode": "componentsearchview2",
                            "rule": [],
                            "buttons": [],
                            "title": "Test Search View _ Muitple Search 1",
                            "desc": "",
                            "icon": "https://rta-module-assets.s3.us-central-1.wasabisys.com/testsearchview/887c0ba3513bd0a289f86ae9b79cc4c6",
                            "alias": "",
                            "background": "https://rta-module-assets.s3.us-central-1.wasabisys.com/testsearchview/887c0ba3513bd0a289f86ae9b79cc4c6",
                            "guestMode": 0,
                            "quickAccess": 1,
                            "modalTitle": "Test Search View _ Muitple Search 1",
                            "root_screen": "submodule3-componentsearchview2-ddobj18-screen18",
                            "screens": [
                                {
                                    "code": "submodule3-componentsearchview2-ddobj18-screen18",
                                    "title": "Test Search View _ Muitple Search 1",
                                    "top_area": [],
                                    "body_area": [
                                        {
                                            "code": "submodule3-componentsearchview2-ddobj18-screen18-item18",
                                            "type": "searchView",
                                            "title": "Test Search View _ Muitple Search 1",
                                            "item_id": 18,
                                            "screen_id": 18,
                                            "status": 1,
                                            "item_template": "<p><big><b><font color=\"#009688\">##name##</font></b></big>\n<p>Tuổi: <b> ##age## </b>- Giới tính: <b> ##sex##</b></p>\n<p>Địa chỉ: <b>##address##</b></p>\n<p>Trạng thái HĐ: <b>##status##</b></p>",
                                            "layout": {
                                                "width": "100%",
                                                "height": "50%"
                                            },
                                            "hint": "Please enter a name !!!",
                                            "qrscan": true,
                                            "autofocus": true,
                                            "background_color": "#FFFF99",
                                            "search_bar_bg_color": "#00BFFF",
                                            "search_bar_corner": "round",
                                            "search_bar_shadow": true,
                                            "screenCode": "submodule3-componentsearchview2-ddobj18-screen18"
                                        }
                                    ],
                                    "bottom_area": [],
                                    "floating_buttons": {},
                                    "is_root": 1,
                                    "object_id": 18,
                                    "screen_id": 18,
                                    "description": null,
                                    "screenTheme": null
                                }
                            ],
                            "object_id": 18,
                            "component_code": "componentsearchview2",
                            "item": "rtlab-test-searchview",
                            "key_attribute": "name",
                            "resource_as_host": 0,
                            "refresh_rate": -2,
                            "query_params": {
                                "post_body": "{\"query\":{\"bool\":{\"must\":[/*{\"match\":{\"name\":\"__input__\"}}*/]}}}"
                            },
                            "dm_host": "https://es.rta.vn",
                            "token": "",
                            "data_path": null,
                            "lite_connection": [],
                            "fetch_data_in_background": null,
                            "screenTheme": null,
                            "path_search": null,
                            "path_normal": null,
                            "paging_config": null,
                            "dm_name": "rtlab-test-searchview",
                            "dm_type": "Elasticsearch"
                        }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment