Commit a0335c22 by 李伟康

commit 客户档案

1 parent 3ffe299f
...@@ -216,3 +216,31 @@ export function updateCustomerLabel (data) { ...@@ -216,3 +216,31 @@ export function updateCustomerLabel (data) {
data.method = `dj.api.material.customer.label.update` data.method = `dj.api.material.customer.label.update`
return request(data, "post") return request(data, "post")
} }
/**分页查询客户档案信息(管理后台) */
export function getCustomerFilePage (data) {
data.method = `dj.api.mindworkplate.customervisit.customerInfoListPage`
return request(data, "post")
}
/**客户档案信息(管理后台)导出 */
export function exportCustomerFile (data) {
data.method = `dj.api.mindworkplate.customervisit.customerInfoListExport`
return request(data, "post")
}
/** 客户档案统计信息(管理后台) */
export function getCustomerFileStatic (data) {
data.method = `dj.api.mindworkplate.customervisit.customerInfoListStatic`
return request(data, "post")
}
/** 客户档案话术浏览记录 */
export function getCustomerVisitScriptsListPage (data) {
data.method = `dj.api.mindworkplate.customervisit.CustomerVisitScriptsListPage`
return request(data, "post")
}
/**客户档案标签 */
export function getCustomerInfoDetail (data) {
data.method = `dj.api.mindworkplate.customervisit.getCustomerInfoDetail`
return request(data, "post")
}
...@@ -331,4 +331,16 @@ export const routerName = { ...@@ -331,4 +331,16 @@ export const routerName = {
auth: [], auth: [],
component: _import("contentManager/customerFile/index") component: _import("contentManager/customerFile/index")
}, },
9131701:{
path: "/contentDetails",
name: "contentDetails",
meta: {
title: "话术管理",
authId: "9131701",
parentId: "91317",
cache: false
},
auth: [],
component: _import("contentManager/customerFile/contentDetails")
}
} }
...@@ -221,7 +221,6 @@ export default { ...@@ -221,7 +221,6 @@ export default {
tableData: [], tableData: [],
// 表格参数 // 表格参数
tableParams: { tableParams: {
listName: 'list',
tableOption: { tableOption: {
width: '170' width: '170'
}, },
...@@ -235,12 +234,12 @@ export default { ...@@ -235,12 +234,12 @@ export default {
}, { }, {
label: '一级分类', label: '一级分类',
addHtml: 'labelName', addHtml: 'labelName',
minwidth: 220, minWidth: 220,
maxlength: 30, maxlength: 30,
placeholder: '请输入' placeholder: '请输入'
}, { }, {
label: '业务类型', label: '业务类型',
minwidth: 220, minWidth: 220,
formatter: (cellValue) => { formatter: (cellValue) => {
return SCENE_OPTIONS.find(e => e.id == cellValue.scene)?.label || '-' return SCENE_OPTIONS.find(e => e.id == cellValue.scene)?.label || '-'
}, },
...@@ -249,13 +248,13 @@ export default { ...@@ -249,13 +248,13 @@ export default {
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.updatedDate ? Util.dateFormate(cellValue.updatedDate, 'YYYY-MM-DD HH:mm:ss') : '-' return cellValue.updatedDate ? Util.dateFormate(cellValue.updatedDate, 'YYYY-MM-DD HH:mm:ss') : '-'
}, },
minwidth: 220 minWidth: 220
}, { }, {
label: '生效时间', label: '生效时间',
formatter: (cellValue) => { formatter: (cellValue) => {
return cellValue.status == -1 ? '-' : cellValue.effectiveTime ? Util.dateFormate(cellValue.effectiveTime, 'YYYY-MM-DD HH:mm:ss') : '-' return cellValue.status == -1 ? '-' : cellValue.effectiveTime ? Util.dateFormate(cellValue.effectiveTime, 'YYYY-MM-DD HH:mm:ss') : '-'
}, },
minwidth: 220 minWidth: 220
} }
] ]
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!