1.1.6 • Published 3 years ago

odin-tool-pc v1.1.6

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

leaf6-odin-tool-pc

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

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

例子

<ep-tool-restore ref="restore" :formContent="formContent" :formData="formData" taskDefKey="WSSB_DWSB" :taskPath="taskPath" initScript="initJS" disabled show-all-task></ep-tool-restore>

API属性

属性名说明类型可选值默认值
form-content表单所需json串,必填object
form-data表单初始数据object
init-script表单初始化脚本类型,initJS为执行内网脚本,initOutJS为执行外网脚本stringinitJS/initOutJSinitJS
disabled表单是否全局禁用booleanfalse
show-all-task表单是否显示所有环节booleanfalse
task-def-key当前环节编码,show-all-task为true时不生效string可自定义,如WSSB_DWSBnull
task-path当前环节路径,show-all-task为true时不生效string可自定义,使用“,”分割WSSB_DWSB,WSSB_GRSBnull

方法

方法名说明参数例子
submit表单提交,校验通过后返回表单中所有数据,如使用环节组件则仅返回环节为E的数据。(表单校验不通过返回null,各组件标红)let data = this.$refs'restore'.submit();
1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago