Commit 16bf6948 by 杨明

fixed

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