1.0.9 • Published 1 year ago

iast-entity-model-designer v1.0.9

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

iast-entity-model-designer 实体建模设计器

介绍

本项目使用 vue-cli 4 搭建,基于 vueelement-ui 实现。

可选参数

表单设计器(iast-entity-model-designer)入参:

参数名参数类型描述
previewBoolean是否为预览状态:true = 是;false(默认) = 否
generateCodeBoolean是否输出表单代码:true = 是;false(默认) = 否
generateJsonBoolean是否输出表单JSON结构数据:true = 是;false(默认) = 否
importJsonBoolean是否允许导入JSON格式表单代码:true = 是;false(默认) = 否
clearableBoolean是否允许清空表单设计:true = 是(默认);false = 否
variablesObject引入变量:主要为当前登录用户信息
appIdString应用ID
currentFormIdString表单ID
currentFormVersionIdString表单版本ID
systemConfigObject系统参数

使用示例:

1.安装:

    $ npm install -s iast-entity-model-designer@1.0.9

2.引入:

import Vue from 'vue';
import App from './App.vue';
import ElementUI from 'element-ui';
import iastEntityModelDesigne from 'iast-entity-model-designe';
import './assets/styles/theme/element-variables.scss';
import 'remixicon/fonts/remixicon.css';
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
Vue.use(ElementUI, {zIndex: 2000});
iastEntityModelDesign.install(Vue, {}, {});
Vue.config.productionTip = false;
new Vue({
  router,
  render: h => h(App)
}).$mount('#app');

3.使用:

<template>
  <iast-entity-model-design
      clearable
      generate-code
      generate-json
      preview
      import-json>
  </iast-entit-model-designer>
</template>
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago