Commit e1e3a57b by 杨明

fixed

1 parent 991aef90
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 09:44:10
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-10-18 13:35:46
* @LastEditTime: 2022-12-01 15:59:25
* @FilePath: \scrm-micro-provider\src\api\modules\application.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -15,7 +15,7 @@
* @returns
*/
import { http, http_merchant } from '@/main'
console.log(9999)
const findAllByPage = params => {
params.method = 'entmicro.api.dracIm.findAllByPage'
return http({
......@@ -75,6 +75,17 @@ const findOpenedProductRecord = params => {
sign: true
})
}
//查找已开通的产品记录--运营后台
const lightScene = params => {
params.method = 'scrm.api.busassistant.activity.lightScene'
return http({
url: 'rop-scrm-busassistant/router',
method: 'POST',
data: params,
sign: true
})
}
//申请门店列表
const merchantPage = params => {
params.method = 'scrm.api.busassistant.merchant.page'
......@@ -148,5 +159,6 @@ export default {
findMerchantDetailByMerchantNo,
productByscene,
getScene,
activityDetail
activityDetail,
lightScene
}
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 09:44:10
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-11-16 13:45:49
* @LastEditTime: 2022-11-23 09:35:47
* @FilePath: \scrm-micro-provider\src\mixins\index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -14,10 +14,6 @@ const STORE_STATUS = [
{
label: '已开通',
value: 1
},
{
label: '已开通',
value: 3
}
]
const ACTIVITY_STATUS = [
......@@ -50,12 +46,13 @@ export default {
},
created() {
const idx = this.searchFormData.findIndex(item => item.name == 'status')
const filterStatus = ACTIVITY_STATUS.filter(item => item.value !== 3)
this.searchFormData[idx].optionList = [
{
label: '全部',
value: ''
}
].concat(this.activeItem == 0 ? STORE_STATUS : ACTIVITY_STATUS)
].concat(this.activeItem == 0 ? STORE_STATUS : filterStatus)
},
methods: {
handleSearch() {
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2022-10-10 10:56:40
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2022-12-01 16:07:27
* @LastEditTime: 2022-12-01 16:24:23
* @FilePath: \scrm-micro-provider\src\views\home\components\activityList.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -13,7 +13,7 @@
<template slot="optionBtns" slot-scope="scope">
<el-button type="text" v-if="scope.scope.status == 2 || scope.scope.status == 3" @click="handleLook(scope.scope)">查看</el-button>
<!-- <el-button type="text" v-else @click="handleOpen(scope.scope)">去处理</el-button> -->
<el-button type="text" v-else @click="handleLight(scope.scope)">点亮场景</el-button>
<el-button type="text" v-if="scope.scope.sceneStatus != 1" @click="handleLight(scope.scope)">点亮场景</el-button>
</template>
<template slot="status" slot-scope="scope">
<div :class="['task_icon', `task_icon_${scope.scope.status == 2 || scope.scope.status == 3 ? 'green' : 'grey'}`]">{{ taskStatus(scope.scope.status) }}</div>
......
......@@ -36,11 +36,6 @@ export default {
tabName() {
return ['storeList', 'activityList'][+this.activeItem]
}
},
created() {
this.$on('aaa', () => {
console.log(888)
})
}
}
</script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!