Commit 00ce1349 by 杨明

fixed

1 parent c79d5930
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-07-22 18:15:13 * @Date: 2022-07-22 18:15:13
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-20 14:13:25 * @LastEditTime: 2023-05-20 17:20:39
* @FilePath: \scrm-micro-home\src\setup\qiankun.js * @FilePath: \scrm-micro-home\src\setup\qiankun.js
* @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
*/ */
...@@ -33,9 +33,9 @@ export async function bootstrap({ name, id, history, common, messenger, globalSt ...@@ -33,9 +33,9 @@ export async function bootstrap({ name, id, history, common, messenger, globalSt
Vue.prototype.$messenger = messenger Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState Vue.prototype.$globalState = globalState
Vue.prototype.$common = common Vue.prototype.$common = common
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: ElementUI.Message.error, headers: { token: 'scrm-base-03179a98-58c1-47cb-a75b-1816ef2109d1-rop' } }) Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: ElementUI.Message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: ElementUI.Message.error, headers: { token: 'scrm-base-03179a98-58c1-47cb-a75b-1816ef2109d1-rop' } }) Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: ElementUI.Message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: 'scrm-base-03179a98-58c1-47cb-a75b-1816ef2109d1-rop' } }) Vue.prototype.$http_common = new common.Http({ response, signWay: 'md5', request: request_common, sign: sign_common, secret, alert: ElementUI.Message.error, headers: { TGT: globalState.session.token } })
Vue.prototype.$scene = scene Vue.prototype.$scene = scene
const routesData = common.utils.deepClone(globalState.routers) const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData) routes = getRoutes(routesData)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-15 15:08:01 * @Date: 2023-05-15 15:08:01
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-20 16:16:56 * @LastEditTime: 2023-05-20 17:20:56
* @FilePath: \scrm-micro-home\src\views\home\components\marketing\MarketingLeft.vue * @FilePath: \scrm-micro-home\src\views\home\components\marketing\MarketingLeft.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
--> -->
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
}, },
mounted() { mounted() {
this.getSchemeList() this.getSchemeList()
this.setSchemeListData({ merchantId: 44211227, pageSize: 5, currentPage: 1 }) //44211227 this.$globalState.session.merchantId this.setSchemeListData({ merchantId: this.$globalState.session.merchantId, pageSize: 5, currentPage: 1 }) //44211227 this.$globalState.session.merchantId
}, },
methods: { methods: {
...mapActions('marketing', ['setActivityInfo', 'setSchemeListData']), ...mapActions('marketing', ['setActivityInfo', 'setSchemeListData']),
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-05-11 18:32:20 * @Date: 2023-05-11 18:32:20
* @LastEditors: yangming yangming@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-05-20 14:14:31 * @LastEditTime: 2023-05-20 17:21:14
* @FilePath: \scrm-micro-home\src\views\home\marketing.vue * @FilePath: \scrm-micro-home\src\views\home\marketing.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
--> -->
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
mounted() { mounted() {
this.getCalendarListData({}) this.getCalendarListData({})
this.getCalendarListDataAll() this.getCalendarListDataAll()
this.getMerchantInfo({ merchantId: '44211227' })//,this.$globalState.session.merchantId this.getMerchantInfo({ merchantId: this.$globalState.session.merchantId })//'44211227' this.$globalState.session.merchantId
}, },
methods: { methods: {
...mapActions({ ...mapActions({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!