| | |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | dataType: 'string', |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/api/ubcs-resource/oss/endpoint/put-file', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-develop/datasource/select", |
| | | dicUrl: "/api/ubcs-develop/datasource/select", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | search: true, |
| | | span: 24, |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/tenant-package/select", |
| | | dicUrl: "/api/ubcs-system/tenant-package/select", |
| | | props: { |
| | | label: "packageName", |
| | | value: "id" |
| | |
| | | |
| | | created() { |
| | | // 获取到true还是false直接赋值,定义方法会就是获取不到,不知道什么问题,强制用JSON.parse会在后面追加一个disabled,所以直接获取。后期如果添加cloumn会出现bug,用foreach循环出column在判断type是否等于radio,然后将单独radio的disabled改为res.data.data |
| | | this.$axios.get('/api/blade-system/tenant/find-ssa-enable').then(res => { |
| | | this.$axios.get('/api/ubcs-system/tenant/find-ssa-enable').then(res => { |
| | | this.option.column[6].disabled= res.data.data |
| | | }); |
| | | }, |