Commit 8821d6a3 by 杨明

fixed

1 parent b2c3de7c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-06-29 21:24:27 * @Date: 2023-06-29 21:24:27
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-20 18:23:30 * @LastEditTime: 2023-08-11 17:01:36
* @FilePath: \scrm-micro-link\src\views\activityLink\components\MarketingContent.vue * @FilePath: \scrm-micro-link\src\views\activityLink\components\MarketingContent.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -310,16 +310,14 @@ export default { ...@@ -310,16 +310,14 @@ export default {
if (info.mainImage || info.activityBigImg) { if (info.mainImage || info.activityBigImg) {
this.$set(this.editForm, 'backgroundImage', info.mainImage || info.activityBigImg) this.$set(this.editForm, 'backgroundImage', info.mainImage || info.activityBigImg)
} }
this.editForm.merchantAddress = info.activityAddressDetailName
if (info.starttime) { if (info.starttime) {
this.$set(this.editForm, 'activityTime', [info.starttime.replace(/-/g, '/'), info.endtime.replace(/-/g, '/')]) this.$set(this.editForm, 'activityTime', [info.starttime.replace(/-/g, '/'), info.endtime.replace(/-/g, '/')])
} }
if (info.startTime) { if (info.startTime) {
this.$set(this.editForm, 'activityTime', [info.startTime.replace(/-/g, '/'), info.endTime.replace(/-/g, '/')]) this.$set(this.editForm, 'activityTime', [info.startTime.replace(/-/g, '/'), info.endTime.replace(/-/g, '/')])
} }
if (info.merchantName) { this.$set(this.editForm, 'merchantAddress', info.activityAddressDetailName || '')
this.$set(this.editForm, 'merchantname', info.merchantName) this.$set(this.editForm, 'merchantname', info.merchantName || '')
}
// 地图 // 地图
if (info.activityAddressProvinceName || info.activityAddressCityName) { if (info.activityAddressProvinceName || info.activityAddressCityName) {
this.$refs.editFormRef.$refs.provinceForm[0].init(info.activityAddressProvinceName, info.activityAddressCityName) this.$refs.editFormRef.$refs.provinceForm[0].init(info.activityAddressProvinceName, info.activityAddressCityName)
......
...@@ -205,6 +205,7 @@ export default { ...@@ -205,6 +205,7 @@ export default {
const msg = res[0].content const msg = res[0].content
this.config.messageContent = msg this.config.messageContent = msg
this.config.configForm = msg this.config.configForm = msg
this.messageId = res[0].id
}) })
}, },
//获取任务详情 //获取任务详情
...@@ -403,6 +404,7 @@ export default { ...@@ -403,6 +404,7 @@ export default {
: '', : '',
registerStatus: i.registerStatus, registerStatus: i.registerStatus,
talkId: i.talkId, talkId: i.talkId,
messageId: this.messageId,
createdBy: i.createdBy createdBy: i.createdBy
}) })
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!