Commit a0335c22 by 李伟康

commit 客户档案

1 parent 3ffe299f
......@@ -215,4 +215,32 @@ export function addCustomerLabel (data) {
export function updateCustomerLabel (data) {
data.method = `dj.api.material.customer.label.update`
return request(data, "post")
}
\ No newline at end of file
}
/**分页查询客户档案信息(管理后台) */
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 = {
auth: [],
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 {
tableData: [],
// 表格参数
tableParams: {
listName: 'list',
tableOption: {
width: '170'
},
......@@ -235,12 +234,12 @@ export default {
}, {
label: '一级分类',
addHtml: 'labelName',
minwidth: 220,
minWidth: 220,
maxlength: 30,
placeholder: '请输入'
}, {
label: '业务类型',
minwidth: 220,
minWidth: 220,
formatter: (cellValue) => {
return SCENE_OPTIONS.find(e => e.id == cellValue.scene)?.label || '-'
},
......@@ -249,13 +248,13 @@ export default {
formatter: (cellValue) => {
return cellValue.updatedDate ? Util.dateFormate(cellValue.updatedDate, 'YYYY-MM-DD HH:mm:ss') : '-'
},
minwidth: 220
minWidth: 220
}, {
label: '生效时间',
formatter: (cellValue) => {
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!