Commit 19d05b9d by 杨明

fixed

1 parent a172506f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn * @Author: yangming yangming@didihu.com.cn
* @Date: 2023-05-16 10:23:52 * @Date: 2023-05-16 10:23:52
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-22 13:37:38 * @LastEditTime: 2023-05-22 17:59:57
* @FilePath: \scrm-micro-home\src\views\home\components\Marketing\GPTAnalysis.vue * @FilePath: \scrm-micro-home\src\views\home\components\Marketing\GPTAnalysis.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
--> -->
...@@ -302,12 +302,14 @@ export default { ...@@ -302,12 +302,14 @@ export default {
{ {
label: '权益服务', label: '权益服务',
name: 'equityList', name: 'equityList',
addHtml: 'selectEquityBtn' addHtml: 'selectEquityBtn',
isHide: true
}, },
{ {
label: '', label: '',
name: 'equityListBlock', name: 'equityListBlock',
addHtml: 'equityListBlock' addHtml: 'equityListBlock',
isHide: true
}, },
{ {
label: '平台优惠', label: '平台优惠',
...@@ -832,6 +834,14 @@ export default { ...@@ -832,6 +834,14 @@ export default {
mounted() { mounted() {
this.couponTemplate() this.couponTemplate()
this.init(false) this.init(false)
var params = {
merchantId: this.$globalState.session.merchantId
}
this.$apis.giftBag.equityMerchant(params).then(res => {
if (res.packageConfigs && res.packageConfigs) {
this.setNameHide('editFormData', ['equityList', 'equityListBlock'], false)
}
})
} }
} }
</script> </script>
......
...@@ -66,6 +66,7 @@ export default { ...@@ -66,6 +66,7 @@ export default {
let container = this.$refs.calendar let container = this.$refs.calendar
this.calendar = new Calendar(container, this.options) this.calendar = new Calendar(container, this.options)
this.calendar.on('clickEvent', e => { this.calendar.on('clickEvent', e => {
this.$parent.handleShowCalendar(0)
this.setActivityInfo({ this.setActivityInfo({
id: e.event.calendarId, id: e.event.calendarId,
type: 'calendar' type: 'calendar'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!