|
|
@@ -23,6 +23,10 @@ export default {
|
|
|
icon: 'iconfont iconicon_task',
|
|
|
label: '活动设置',
|
|
|
prop: 'ACTIVE_SETTING',
|
|
|
+ }, {
|
|
|
+ icon: 'iconfont icon-jifen',
|
|
|
+ label: '积分商场设置',
|
|
|
+ prop: 'POINT_GOODS_SETTING',
|
|
|
}]
|
|
|
},
|
|
|
option: {
|
|
|
@@ -232,6 +236,53 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
+ } else if(this.key === "POINT_GOODS_SETTING"){
|
|
|
+ this.option.column = [
|
|
|
+ {
|
|
|
+ label: "主页轮播图",
|
|
|
+ prop: "indexImageList",
|
|
|
+ type: 'dynamic',
|
|
|
+ span: 24,
|
|
|
+ children: {
|
|
|
+ align: 'center',
|
|
|
+ headerAlign: 'center',
|
|
|
+ column: [{
|
|
|
+ label: '轮播图',
|
|
|
+ prop: "url",
|
|
|
+ dataType: "string",
|
|
|
+ type: 'upload',
|
|
|
+ propsHttp: {
|
|
|
+ res: 'data',
|
|
|
+ url: 'link'
|
|
|
+ },
|
|
|
+ listType: 'picture-img',
|
|
|
+ tip: '只能上传jpg/png文件,且不超过500kb',
|
|
|
+ action: '/api/blade-resource/oss/endpoint/put-file',
|
|
|
+ rules: [{
|
|
|
+ required: true,
|
|
|
+ message: "请输入类型",
|
|
|
+ trigger: "blur"
|
|
|
+ }]
|
|
|
+ },{
|
|
|
+ label: '类型',
|
|
|
+ prop: "type",
|
|
|
+ rules: [{
|
|
|
+ required: true,
|
|
|
+ message: "请输入类型",
|
|
|
+ trigger: "blur"
|
|
|
+ }],
|
|
|
+ },{
|
|
|
+ label: '地址',
|
|
|
+ prop: "path",
|
|
|
+ rules: [{
|
|
|
+ required: true,
|
|
|
+ message: "请输入地址",
|
|
|
+ trigger: "blur"
|
|
|
+ }],
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
} else {
|
|
|
this.option.column = [];
|
|
|
}
|