Commit f260225d by 王志慧

feat

1 parent f67a7755
......@@ -97,9 +97,6 @@ export default {
goDetail(scope) {
this.$router.push('/clientManage/clientDetail?id=' + scope.oneId)
},
goGroupDetail(scope) {
this.$router.push('/clientGroupManage/clientGroupDetail?id=' + scope.oneId)
},
jumpGroup() {
this.$router.push({
path: '/crowdManage/index',
......
......@@ -107,7 +107,7 @@
<span>{{ scope.scope.delFlag == -1 ? '已解散' : scope.scope.delFlag == 0 ? '正常' : '' }}</span>
</span>
<div class="table-btns" slot="optionBtns" slot-scope="scope">
<el-button type="text" @click="goDetail(scope.scope.id, scope.scope.custGroupName)" class="blue-text">详情</el-button>
<el-button type="text" @click="goGroupDetail(scope.scope.id, scope.scope.custGroupName)" class="blue-text">详情</el-button>
</div>
</GLTable>
</div>
......@@ -303,83 +303,77 @@ export default {
crowdName: [{ required: true, message: '请输入人群名称', trigger: 'blur' }]
},
searchForm: {
customerPhone: '',
nickName: '',
customerName: '',
followStaff: '',
audi: '',
carNumber: '',
isJoin: ''
custGroupName: '',
groupHostName: '',
groupAdminName: '',
creationMethod: '',
delFlag: '',
},
tagsPartFormList: [
{
type: 'select',
name: 'followStaff',
optionId: 'value',
optionLabel: 'label',
optionList: [],
label: '跟进员工'
},
{
type: 'input',
name: 'customerPhone',
label: '联系电话'
inputType: 'text',
name: 'custGroupName',
label: '群聊名称',
placeholder: '请输入群聊名称'
},
{
type: 'input',
name: 'nickName',
label: '企微名称'
inputType: 'text',
name: 'groupHostName',
label: '群主',
placeholder: '请输入群主'
},
{
type: 'input',
name: 'customerName',
label: '客户名称'
inputType: 'text',
name: 'groupAdminName',
label: '管理员',
placeholder: '请输入管理员'
},
{
type: 'select',
name: 'isJoin',
label: '是否加企微',
optionId: 'value',
optionLabel: 'label',
name: 'creationMethod',
label: '创建方式',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
value: '',
label: '全部'
label: '全部',
value: null
},
{
value: '1',
label: '是'
label: '手动拉群',
value: 1
},
{
value: '0',
label: '否'
label: '一客一群',
value: 2
}
]
},
{
type: 'datePicker',
// prop: 'daterange',
name: 'createTime',
label: '购车时间',
valueFormat: 'yyyy-MM-dd',
pickerOptions: {
disabledDate(time) {
return time.getTime() > Date.now() || time.getTime() < new Date('2017-12-31').getTime()
type: 'select',
name: 'delFlag',
label: '群聊状态',
placeholder: '请选择',
optionLabel: 'label',
optionId: 'value',
optionList: [
{
label: '全部',
value: null
},
{
label: '正常',
value: 0
},
{
label: '已解散',
value: -1
}
}
},
{
type: 'input',
inputType: 'text',
name: 'carVin',
label: '车架号'
},
{
type: 'input',
inputType: 'text',
name: 'carNumber',
label: '车牌号'
]
}
],
layout: 'sizes, prev, pager, next, jumper, ->, total',
......@@ -608,7 +602,7 @@ export default {
path: `/tagsManage/viewCustomers/${id}/${type}`
})
},
goDetail(id, name) {
goGroupDetail(id, name) {
this.$router.push({
path: '/clientGroupManage/clientGroupDetail',
query: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!