You are viewing a plain text version of this content. The canonical link for it is here.
Posted to submarine-dev@hadoop.apache.org by "Xun Liu (Jira)" <ji...@apache.org> on 2019/08/30 16:37:00 UTC

[jira] [Resolved] (SUBMARINE-158) [WEB] Dict Select Component

     [ https://issues.apache.org/jira/browse/SUBMARINE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xun Liu resolved SUBMARINE-158.
-------------------------------
    Resolution: Fixed

### What is this PR for?

DictSelectTag Component introduction

- Get data from the sys_dict table, dictCode format description: Dictionary code
```html
<dict-select-tag v-model="queryParam.sex" placeholder="Please select sex" dictCode="sex"/>
```

v-decorator Function:
```html
<dict-select-tag v-decorator="['sex', {}]" :triggerChange="true" placeholder="Please select sex" dictCode="sex"/>
```

### What type of PR is it?
Feature

### What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-158

### How should this be tested?
[CI Pass](https://travis-ci.org/liuxunorg/submarine/builds/578892404)

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? Yes/No
* Is there breaking changes for older versions? Yes/No
* Does this needs documentation? Yes/No

> [WEB] Dict Select Component
> ---------------------------
>
>                 Key: SUBMARINE-158
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-158
>             Project: Hadoop Submarine
>          Issue Type: Sub-task
>            Reporter: Xun Liu
>            Assignee: Xun Liu
>            Priority: Major
>              Labels: submarine-external-repo
>         Attachments: image-2019-08-31-00-02-54-616.png, image-2019-08-31-00-03-41-124.png
>
>
> h1. DictSelectTag Component introduction
>  * Get data from the sys_dict table, dictCode format description: Dictionary code
>  <dict-select-tag v-model="queryParam.sex" placeholder="Please select sex" dictCode="sex"/>
>  v-decorator Function:
>   <dict-select-tag v-decorator="['sex', {}]" :triggerChange="true" placeholder="Please select sex" dictCode="sex"/>



--
This message was sent by Atlassian Jira
(v8.3.2#803003)