Merge remote-tracking branch 'origin/master'
| | |
| | | { |
| | | label: "内容", |
| | | prop: "content", |
| | | span: 24, |
| | | type: "textarea", |
| | | }, |
| | | { |
| | | label: "是否启用", |
| | | prop: "status", |
| | | type: "radio", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dataType: "number", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | }, |
| | | { |
| | | label: "路线范围", |
| | | prop: "routeRange", |
| | | type: "input", |
| | | span: 24, |
| | | hide: true |
| | | }, |
| | | { |
| | |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | hide: true, |
| | | }, |
| | | { |
| | | label: "是否启用", |
| | | prop: "status", |
| | | type: "radio", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=yes_no", |
| | | dataType: "number", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | }, |
| | | { |
| | | label: "是否已删除", |
| | |
| | | getDetail(this.form.id).then(res => { |
| | | this.form = res.data.data; |
| | | }); |
| | | } else { |
| | | this.form.status = 2 |
| | | } |
| | | done(); |
| | | }, |