|
|
|
@ -38,6 +38,10 @@ |
|
|
|
slot="status"> |
|
|
|
slot="status"> |
|
|
|
<el-tag>{{row.statusName}}</el-tag> |
|
|
|
<el-tag>{{row.statusName}}</el-tag> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
<template slot-scope="{row}" |
|
|
|
|
|
|
|
slot="category"> |
|
|
|
|
|
|
|
<el-tag>{{row.categoryName}}</el-tag> |
|
|
|
|
|
|
|
</template> |
|
|
|
</avue-crud> |
|
|
|
</avue-crud> |
|
|
|
</basic-container> |
|
|
|
</basic-container> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
@ -64,10 +68,31 @@ |
|
|
|
selection: true, |
|
|
|
selection: true, |
|
|
|
labelWidth: 100, |
|
|
|
labelWidth: 100, |
|
|
|
column: [ |
|
|
|
column: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
label: "分类", |
|
|
|
|
|
|
|
type: "select", |
|
|
|
|
|
|
|
span: 24, |
|
|
|
|
|
|
|
width: 100, |
|
|
|
|
|
|
|
row: true, |
|
|
|
|
|
|
|
dicUrl: "/api/blade-system/dict/dictionary?code=oss", |
|
|
|
|
|
|
|
props: { |
|
|
|
|
|
|
|
label: "dictValue", |
|
|
|
|
|
|
|
value: "dictKey" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
slot: true, |
|
|
|
|
|
|
|
prop: "category", |
|
|
|
|
|
|
|
search: true, |
|
|
|
|
|
|
|
rules: [{ |
|
|
|
|
|
|
|
required: true, |
|
|
|
|
|
|
|
message: "请选择分类", |
|
|
|
|
|
|
|
trigger: "blur" |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: "资源地址", |
|
|
|
label: "资源地址", |
|
|
|
prop: "endpoint", |
|
|
|
prop: "endpoint", |
|
|
|
span: 24, |
|
|
|
span: 24, |
|
|
|
|
|
|
|
search: true, |
|
|
|
rules: [{ |
|
|
|
rules: [{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: "请输入资源地址", |
|
|
|
message: "请输入资源地址", |
|
|
|
@ -78,6 +103,7 @@ |
|
|
|
label: "空间名", |
|
|
|
label: "空间名", |
|
|
|
prop: "bucketName", |
|
|
|
prop: "bucketName", |
|
|
|
span: 24, |
|
|
|
span: 24, |
|
|
|
|
|
|
|
width: 120, |
|
|
|
rules: [{ |
|
|
|
rules: [{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: "请输入空间名", |
|
|
|
message: "请输入空间名", |
|
|
|
@ -88,6 +114,7 @@ |
|
|
|
label: "accessKey", |
|
|
|
label: "accessKey", |
|
|
|
prop: "accessKey", |
|
|
|
prop: "accessKey", |
|
|
|
span: 24, |
|
|
|
span: 24, |
|
|
|
|
|
|
|
search: true, |
|
|
|
rules: [{ |
|
|
|
rules: [{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|
message: "请输入accessKey", |
|
|
|
message: "请输入accessKey", |
|
|
|
|