[NEW] nbs 统计及内勤

This commit is contained in:
anbbukn
2020-06-30 20:10:58 +08:00
parent 24d5c4997d
commit 8de510e14f
2 changed files with 47 additions and 2 deletions

View File

@@ -27,7 +27,7 @@
"js-base64": "^2.5.1",
"nprogress": "^0.2.0",
"pdfh5": "^1.2.13",
"vant": "2.2.0",
"vant": "^2.8.6",
"vee-validate": "^2.2.14",
"vue": "^2.6.10",
"vue-pdf": "^4.0.7",
@@ -50,7 +50,7 @@
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0",
"node-sass": "^4.14.1",
"postcss-px-to-viewport": "^1.1.1",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.6.10"

View File

@@ -73,3 +73,48 @@ export function makeCustomerPDF(data) {
data
})
}
// 获取nbs职级筛选条件列表
export function getRankList() {
return request({
url: getUrl('/agent/branch/getGroupByAgent', 1),
method: 'post',
data: {}
})
}
// 获取当前用户信息
export function getUserRankInfo() {
return request({
url: getUrl('/agent/agent/getBaseAgentInfo', 1),
method: 'post',
data: {}
})
}
// 部组联动列表
export function getGankLevel(code) {
return request({
url: getUrl('/agent/branch/getBranchInfos', 1),
method: 'post',
data: {
code
}
})
}
// 获取个人统计列表
export function getTableList(data = {}) {
return request({
url: getUrl('/proposal/nbsStatistics/getAppNbsList', 1),
method: 'post',
data
})
}
export function exportExcel(data) {
return request({
// url: 'http://10.10.100.122:7006/proposal/nbsStatistics/exportPDF',
url: getUrl('/proposal/nbsStatistics/exportPDF', 1),
method: 'post',
data
})
}