| | |
| | | // console.log(this.form); |
| | | }, |
| | | },{ |
| | | label: '是否开启持久化', |
| | | label: '是否持久化参照配置', |
| | | prop: 'isPersistence', |
| | | labelWidth: '142', |
| | | tip: 'true:开启持久化,对当前定义的参照配置进行持久化存储,下次可直接选取;false:仅对当前次码段新增生效。', |
| | | tipPlacement: 'bottom', |
| | | span: 6, |
| | | type: 'switch', |
| | | },{ |
| | | display: this.form.isPersistence | this.form.isPersistence=='true', |
| | | label: '编号', |
| | | label: '参照配置编号', |
| | | prop: 'id', |
| | | tip: '设置该参照配置持久化存储时的编号。', |
| | | rules: [{ |
| | | required: true, |
| | | message: "(开启持久化时编号)必填项不能为空", |
| | |
| | | span: 6, |
| | | },{ |
| | | display: this.form.isPersistence | this.form.isPersistence=='true', |
| | | label: '名称', |
| | | label: '参照配置名称', |
| | | prop: 'name', |
| | | tip: '设置该参照配置持久化存储时的名称。', |
| | | rules: [{ |
| | | required: true, |
| | | message: "(开启持久化时名称)必填项不能为空", |