Commit f260225d by 王志慧

feat

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