Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@imedx/ics-imedx-address-cascader

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imedx/ics-imedx-address-cascader

地址级联组件(封装接口)

  • 0.0.11
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
0
Weekly downloads
 
Created
Source

@[toc] 版本更新说明

  • [ 2023/12/16 ] 初始化不请求接口 打开下拉框才请求接口【解决电子遍历请求接口耗时】

  • [ 0.0.3-beta.0 ] 1.详细地址是否必填 2.默认显示医院所在地(例如:省份等)

  • [ 0.0.2 ] 1.传值格式改变(增加detailAddress) 2.增加确定按钮 3.少数据多等级处理等

说明

这是一个地址组件

安装

npm i @imedx/ics-imedx-address-cascader   # 安装包

引入

import AddressCascaderApi from '@imedx/ics-imedx-address-cascader'
Vue.use(AddressCascaderApi)

使用

  <AddressCascaderApi 
     v-model="value1" 
     :clearable='clearable'  
     :level="level" 
     :detailed-address-required="detailedAddressRequired"
     :detailed-address-hidden="detailedAddressHidden"
     :show-hospital-in-address="showHospitalInAddress"  
     @change='changeHandler'/>
属性
参数说明类型可选值默认值
size尺寸Stringmini/small/medium/largemedium
clearable是否可以清空选项boolean-false
disabled是否禁用boolean-false
level等级Number-5
detailedAddressRequired详细地址是否必填boolean-false
detailedAddressHidden详细地址是否隐藏boolean-false
showHospitalInAddress默认显示医院所在地(例如:省份等)boolean-false
数据格式
 value1: {  addressIdList: ['22', '05', '21', '109', '204'], // 地址数组
            hospitalInAddress: ['22'], //默认显示医院所在省份(当没有回显数据时,即addressIdList:[])
            detailedAddress: 'rrrr' // 详细地址
        } 
事件
事件名说明参数
change选中值发生变化时触发({addressIdList: [], addressNameList: [], addressId: "", addressName: ""})

FAQs

Package last updated on 25 Jul 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc