New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

maque-cloud-ui-components

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maque-cloud-ui-components

麻雀平台的通用前端组件

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

具体使用方法请查看demo工程

使用建议:最新版本:1.0.2

在业务工程环节配置文件中,增加变量

VUE_APP_MAQUE = 'http://dev.pro.gisquest.com:10108/maque/' //麻雀的服务地址
VUE_APP_XMCODE = 'nbqcjg' //项目代码
VUE_APP_SECRETKEY = 'nbqcjg2020' //项目密钥
VUE_APP_QUERYLIST = 'http://dev.pro.gisquest.com:10108/pubcomquerylist/' //列表的服务地址

本组件库包含:

1、查询列表NPM

安装

npm i maque-cloud-ui-components

配置

import {MqQuerylist} from "maque-cloud-ui-components"
Vue.use(MqQuerylist)

使用

<maque-pubcom-querylist
        :userid="'test'"
        :pageSize="15"
        :baseCode="baseCode"
        :isShowDefaultButton="false"
        ref="refList"></maque-pubcom-querylist>

userid:当前用户ID

pageSize: 指定的每页数,如果不指定,就自动判断高度

baseCode:列表的配置代码

isShowDefaultButton:是否显示自定义列下拉框

2、字典树

<maque-cascader :code="'tdyt'"
                v-model="treeData"
></maque-cascader>

code: 字典值

3、字典下拉框

<maque-dropdown :code="'PCWWYY'"
                style="width: 200px"
                v-model="dropdownData"
></maque-dropdown>

3、行政区树

<maque-xzqtree style="width: 200px" 
               :startCode="'3302'"
               v-model="xzqData"
>

</maque-xzqtree>

startCode:起始行政区,比如浙江 33, 宁波 3302

FAQs

Package last updated on 10 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts