1.1.31 • Published 3 years ago

jh-tool-pc v1.1.31

Weekly downloads
52
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
saveAllReturnedData是否保存表单返回的全部数据booleanfalse

方法

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

3 years ago

1.1.29

3 years ago

1.1.28

3 years ago

1.1.27

3 years ago

1.1.26

3 years ago

1.1.25

3 years ago

1.1.24

3 years ago

1.1.23

3 years ago

1.1.22

3 years ago

1.1.21

3 years ago

1.1.20

3 years ago

1.1.19

3 years ago

1.1.18

3 years ago

1.1.17

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.13

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

0.0.1

3 years ago