Commit c155f143 by 前端

更新欢迎语组件

1 parent 98f447ca
...@@ -1067,6 +1067,7 @@ export default { ...@@ -1067,6 +1067,7 @@ export default {
params.eventList[index].additionalType = 1 params.eventList[index].additionalType = 1
params.eventList[index].objectType = 10 params.eventList[index].objectType = 10
let backupattContent = typeof (obj.attContent) == 'string' ? JSON.parse(obj.attContent) : obj.attContent let backupattContent = typeof (obj.attContent) == 'string' ? JSON.parse(obj.attContent) : obj.attContent
console.log(backupattContent)
params.eventList[index].objectId = backupattContent.objectId params.eventList[index].objectId = backupattContent.objectId
} }
}) })
......
...@@ -174,8 +174,7 @@ export default { ...@@ -174,8 +174,7 @@ export default {
{ {
name: '活动', name: '活动',
type: 'activity', type: 'activity',
limitNum: 1, togetherItem: [ATT_TYPE.TEXT, ATT_TYPE.FILE],
togetherItem: [ATT_TYPE.TEXT],
funName: 'activity', funName: 'activity',
funParams: [ funParams: [
{ {
...@@ -215,23 +214,23 @@ export default { ...@@ -215,23 +214,23 @@ export default {
activityStatus: 2, activityStatus: 2,
currentPage: 1 currentPage: 1
} }
},
{
itemName: '无忧服务',
itemValue: 6,
itemType: 'merchant',
getInterfaceApi: this.$apis.welcomeword.merchant,
merchantOpen: {
merchantOpenApi: this.$apis.welcomeword.merchantOpen,
params: {
merchantId: this.$globalState.session.merchantId
}
},
params: {
merchantId: this.$globalState.session.merchantId
}
} }
// { // {
// itemName: '无忧服务',
// itemValue: 6,
// itemType: 'merchant',
// getInterfaceApi: this.$apis.welcomeword.merchant,
// merchantOpen: {
// merchantOpenApi: this.$apis.welcomeword.merchantOpen,
// params: {
// merchantId: this.$globalState.session.merchantId
// }
// },
// params: {
// merchantId: this.$globalState.session.merchantId
// }
// }
// {
// itemName: '众筹活动', // itemName: '众筹活动',
// itemValue: 7, // itemValue: 7,
// itemType: 'crowdfunding', // itemType: 'crowdfunding',
...@@ -247,8 +246,8 @@ export default { ...@@ -247,8 +246,8 @@ export default {
name: '素材', name: '素材',
type: 'material', type: 'material',
funName: 'material', funName: 'material',
togetherItem: [ATT_TYPE.TEXT], togetherItem: [ATT_TYPE.TEXT, ATT_TYPE.ACTIVITY],
limitNum: 1, fileType: true,
groupListApi: this.$apis.welcomeword.getGroupListApi, groupListApi: this.$apis.welcomeword.getGroupListApi,
materialListApi: this.$apis.welcomeword.getMaterialListApi, materialListApi: this.$apis.welcomeword.getMaterialListApi,
params: { params: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!