保单托管水滴缺口分析npm组件包
# install dependencies
npm install
# build for production with minification
npm run build
打包后发布npm
npm login
npm publish
使用示例
npm install baibao_ipolicy
# <template>
# <EnsureAnalysis :familyPersonId="familyPersonId" :familyCode="familyCode" :token="token" :apiUrl="apiUrl" :appUrl="appUrl" > </EnsureAnalysis>
# </template>
# <script>
# import BI from 'baibao_ipolicy';
# export default {
# name: "managementHome",
# components:{
# EnsureAnalysis:BI.EnsureAnalysis,
# },
# data() {
# return {
# apiUrl:"https://api-test.100baotech.com",//测试环境https://api-test.100baotech.com,生产环境https://api.100baotech.com
# appUrl:"https://app-test.100baotech.com/shuidi/manage",//测试环境https://app-test.100baotech.com/shuidi/manage,生产环境https://app.100baotech.com/shuidi/manage
# familyPersonId: 36115,//家庭成员ID
# familyCode: "F964964486546980864", //家庭编号
# token:"ZXlKaGJHY2lPaUpJVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SmxlSEFpT2pFM01UWTROemt3TXpVc0luWmxjbk5wYjI0aU9pSXlMakFpTENKMWMyVnlYMjVoYldVaU9pSXhJaXdpYW5ScElqb2lOamxsT1RsbU1qY3RORFV4TVMwME56WmtMV0l6WTJJdE0yVTVaRGt5WTJSak56UTNJaXdpWTJ4cFpXNTBYMmxrSWpvaVFWQlFPVEUzTVRneU1EVTVORE01TkRVMk1qVTJJaXdpYzJOdmNHVWlPbHNpYzJGaGN5MWhjR2tpWFgwLk1qYmgwT2doOUZvWkt0d1dUWHN6YVpkQnM4eVlqTXZSMm40MzBMcC1HelE",
# }
# },
# ...
# }
# </script>