|
|
@@ -131,10 +131,11 @@
|
|
|
hide: true,
|
|
|
row: true,
|
|
|
propsHttp: {
|
|
|
- url: 'data'
|
|
|
+ res: "data",
|
|
|
+ url: 'link'
|
|
|
},
|
|
|
listType: 'picture-img',
|
|
|
- action: "/api/upload/putfile",
|
|
|
+ action: '/api/blade-resource/oss/endpoint/put-file',
|
|
|
display: true
|
|
|
},
|
|
|
{
|
|
|
@@ -227,18 +228,31 @@
|
|
|
{
|
|
|
label: "活动状态",
|
|
|
prop: "activityStatus",
|
|
|
- type: "switch",
|
|
|
+ // type: "switch",
|
|
|
+ type:'select',
|
|
|
+ dicData:[
|
|
|
+ {
|
|
|
+ label:"开始",
|
|
|
+ value:1
|
|
|
+ },{
|
|
|
+ label:'未开始',
|
|
|
+ value:2
|
|
|
+ },{
|
|
|
+ label:'已结束',
|
|
|
+ value:3
|
|
|
+ }
|
|
|
+ ],
|
|
|
width: 150,
|
|
|
row: true,
|
|
|
search: true,
|
|
|
- slot: true,
|
|
|
- dicUrl: "/api/blade-system/dict/dictionary?code=on_off",
|
|
|
+ // slot: true,
|
|
|
+ // dicUrl: "/api/blade-system/dict/dictionary?code=on_off",
|
|
|
dataType: "number",
|
|
|
- value: 1,
|
|
|
- props: {
|
|
|
- label: "dictValue",
|
|
|
- value: "dictKey",
|
|
|
- },
|
|
|
+ value: 2,
|
|
|
+ // props: {
|
|
|
+ // label: "dictValue",
|
|
|
+ // value: "dictKey",
|
|
|
+ // },
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
message: "请选择活动状态",
|