0.0.10 • Published 2 years ago

san-ui v0.0.10

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

san_sub

基于canvas的常用Vue组件库

Build Setup

# install dependencies
yarn add san-ui

# serve with hot reload at localhost:8080
npm run dev//    "registry": "http://118.31.173.195:4873"

使用方法

全局引用

import SanUi form 'san-ui'

Vue.use(SanUi)

按需引用

import { esignDisablePrompt } form '@esign/disable-prompt'

Vue.component(esignDisablePrompt.name,esignDisablePrompt)

:::tip esignDisablePrompt 为组件名称,具体名称可以从下方组件列表寻找 :::

1、说明

适用pc端 向组件传入一个请求方法 后续逻辑在组件中处理 Http为工程封装的请求对象 请求参数 processId 为当前流程id

基础用法

    <esign-disable-prompt
    :init="init"
    :afterClose="init"
    :vipLevel="vipLevel"
    :configOptions="configOptions"
    />

<script>
  export default {
    data() {
      return {
        vipLevel:1,//会员等级 目前有1/2/3/4/5
        configOptions:{//弹框文本显示  下方为默认值 需要改变哪个值 就传哪个键值对
                dialogTitle:'检测到被加入黑名单的参与方',//弹框标题
                dialogDes:'参与方已被加入黑名单,不允许与其签署合同,如有疑问可联系您的管理员',//弹框描述
                initiator:'发起人',//下方列表键名
                participant:'参与人',
                cc:'抄送人',
                confirmBtnText:'我知道了la',//确认按钮
             }
      };
    },
    methods: {
        init(){
            return Http({
                    url: '',
                    method: 'GET',
                    body: {processId:''},
                })
            }
    }
  };
</script>

Attributes

参数说明类型是否必传可选值默认值
init请求函数Function--
afterClose弹框关闭的回调Function--
vipLevel会员版本等级Number--
configOptions弹框文本配置项Object--

:::tip

:::

For detailed explanation on how things work, consult the docs for vue-loader.

0.1.0-beta.3

2 years ago

0.1.0-beta.2

2 years ago

0.0.11-fix.6

2 years ago

0.0.11-beta.0

2 years ago

0.0.4-0

2 years ago

0.0.10

2 years ago

0.0.11-fix.1

2 years ago

0.0.6-2

2 years ago

0.1.0-beta.1

2 years ago

0.0.12-beta.2

2 years ago

0.0.6-0

2 years ago

0.1.0-beta.0

2 years ago

0.0.5-0

2 years ago

0.0.11-fix.5

2 years ago

0.0.11-fix.4

2 years ago

0.0.11-fix.3

2 years ago

0.0.11-fix.2

2 years ago

0.0.10-fix.1

2 years ago

0.0.8-1

2 years ago

0.0.6-3

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago

0.0.2

2 years ago

0.1.0

4 years ago