ludc
2023-04-15 716ded9c48898ff8fb9e4a1872ccfe676c7f2f99
Source/UBCS-WEB/.settings/src/views/system/tenant.vue
@@ -224,7 +224,7 @@
            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',
@@ -263,7 +263,7 @@
            search: true,
            span: 24,
            type: "select",
            dicUrl: "/api/blade-develop/datasource/select",
            dicUrl: "/api/ubcs-develop/datasource/select",
            props: {
              label: "name",
              value: "id"
@@ -285,7 +285,7 @@
            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"
@@ -310,7 +310,7 @@
  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
    });
  },