Commit 16bf6948 by 杨明

fixed

1 parent a10f8660
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
}, },
methods: { methods: {
async getCrowdList() { async getCrowdList() {
const commonParam = { pageSize: 1000, pageNum: 1, merchantId: this.$globalState.session.merchantId } const commonParam = { pageSize: 100, pageNum: 1, merchantId: this.$globalState.session.merchantId }
const params1 = { const params1 = {
req: { req: {
crowdType: 1, crowdType: 1,
...@@ -205,9 +205,13 @@ export default { ...@@ -205,9 +205,13 @@ export default {
crowdGroup = 'addCrowdGroup' crowdGroup = 'addCrowdGroup'
} }
this.$apis.crowdManage[crowdGroup](params).then(res => { this.$apis.crowdManage[crowdGroup](params).then(res => {
if (res) { console.log(res)
if (res.data.code == 0) {
this.groupVisible = false this.groupVisible = false
this.$message.success('操作成功')
this.$parent.searchTable() this.$parent.searchTable()
} else {
this.$message.error(res.data.message)
} }
}) })
} }
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
<el-button type="text" @click="handleAdd(scope.scope)" class="blue-text"> <el-button type="text" @click="handleAdd(scope.scope)" class="blue-text">
编辑 编辑
</el-button> </el-button>
<!-- <el-button type="text" @click="handleDelete(scope.scope)" class="blue-text"> <el-button type="text" @click="handleDelete(scope.scope)" class="blue-text">
删除 删除
</el-button> --> </el-button>
<!-- <GLButton @click="goDetail(scope.scope.id, scope.scope.custGroupName)" fn="客户群详情" type="text">详情</GLButton> --> <!-- <GLButton @click="goDetail(scope.scope.id, scope.scope.custGroupName)" fn="客户群详情" type="text">详情</GLButton> -->
</template> </template>
</GLTable> </GLTable>
...@@ -119,14 +119,20 @@ export default { ...@@ -119,14 +119,20 @@ export default {
label: '未加企微数', label: '未加企微数',
prop: 'notWechatTotal' prop: 'notWechatTotal'
}, },
// { {
// label: '概览是否展示', label: '概览是否展示',
// prop: 'delCustomerCount' prop: 'isDisplay',
// }, formatter: cellValue => {
// { return cellValue.isDisplay == 1 ? '展示' : '不展示'
// label: '展示位', }
// prop: 'staffs' },
// }, {
label: '展示位',
prop: 'displayLoc',
formatter: cellValue => {
return cellValue.displayLoc ? cellValue.displayLoc + '号展示位' : '--'
}
},
{ {
label: '操作', label: '操作',
width: 180, width: 180,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!