resident.js 25.5 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867
import { gscPost } from "./gscRequest";

import request from "./request";

const path = "dj.api.mindworkplate.";
const path2 = "dj.api.smartcarlife.";

// 获取 门店 - 品牌数据
export function getMerchantBrand(data) {
	data.method = `dj.staff.api.service.merchant.page.with.brand`;
	return request(data, "post");
}
// 提成方案详情
export function getPerformanceConfigDetailAPI(data) {
	data.method = `dj.staff.api.performance.config.detail`;
	return request(data, "post");
}
// 质检管理
export function getReclistWithPage(data) {
	data.method = `${path}badge.employeeBadgeReclistWithPage`;
	return request(data, "post");
}
// 质检统计
export function receptionStaffStatic(data) {
	data.method = `${path}badge.receptionStaffStatic`;
	return request(data, "post");
}
// 安心包明细
export function findAxbByBatchId(data) {
	data.method = `${path2}inspection.defence.findAxbByBatchId`;
	return request(data, "post");
}

// 分页查询接待批次列表
export function conversationPage(data) {
	data.method = `${path2}inspection.conversation.batch.page`;
	return request(data, "post");
}
// 生产短链
export function getShortUrl(data) {
	data.method = "dj.api.smartcarlife.inspection.batch.file.short.url";
	return request(data, "post");
}

// 质检点管理-分页列表
export function conversationPointPage(data) {
	data.method = `${path2}inspection.conversation.point.page`;
	return request(data, "post");
}
// 工牌管理
export function employeeBadgelistWithPage(data) {
	data.method = `${path}badge.employeeBadgelistWithPage`;
	return request(data, "post");
}

// 同步数据
export function syncBadge(data = {}) {
	data.method = `${path}badge.syncBadge`;
	return request(data, "post");
}

// 工牌统计管理
export function statisticsEmployeeBadge(data) {
	data.method = `${path}badge.statisticsEmployeeBadge`;
	return request(data, "post");
}

// 质检详情-质检分析
export function conversationCheckList(data) {
	data.method = `${path2}inspection.conversation.check.detail`;
	return request(data, "post");
}

// 质检详情-分页查询对话列表
export function conversationDetailPage(data) {
	data.method = `${path2}inspection.conversation.detail.page`;
	return request(data, "post");
}
// 获取一级二级分类
export function getPointCategory(data = {}) {
	data.method = `${path2}inspection.conversation.point.category`;
	return request(data, "post");
}

// 获取品牌方/供应方
export function getBrandSupplyMerchant(data) {
	data.method = `${path}goods.type.queryGoodsRelatedParty`;
	return request(data, "post");
}

// 新增供应方
export function addBrandSupplyMerchant(data) {
	data.method = `${path}goods.type.addGoodsRelatedParty`;
	return request(data, "post");
}

// 编辑/删除供应方
export function editBrandSupplyMerchant(data) {
	data.method = `${path}goods.type.editGoodsRelatedParty`;
	return request(data, "post");
}

// 获取素材详情
export function getProductInfo(data) {
	data.method = `${path}goodsinfo.get.byId`;
	return request(data, "post");
}

// 登录日志-日志列表
export function loginRecordPage(data) {
	data.method = `${path2}staff.login.record.page`;
	return request(data, "post");
}

// 员工审核-列表
export function staffAuditPage(data) {
	data.method = `${path2}staff.audit.page`;
	return request(data, "post");
}

// 员工审核-审核/驳回
export function staffAuditUpdate(data) {
	data.method = `${path2}staff.audit.update`;
	return request(data, "post");
}

/** 导出 */
export function exportReclistList(data) {
	data.method = "dj.api.mindworkplate.badge.employeeBadgeReclistExport";
	return request(data, "post");
}

/** 攻防明细 */
export function defenceDetail(data) {
	data.method = "dj.api.smartcarlife.inspection.defence.detail";
	return request(data, "post");
}

/** 质检埋点 */
export function reportTrack(data) {
	data.method = "clue.api.burial.point.record.batch.insert";
	return request(data, "post");
}

// 获取门店工资绩效列表
export function getStoreSalaryListApi(data) {
	data.method = `${path2}merchantPerformanceConfig.pageByMerchant`;
	// data.method = `${path2}merchantPerformanceConfig.page`
	return request(data, "post");
}

// 编辑进入页面获取最新配置的绩效数据
export function getStoreLastDetailApi(data) {
	data.method = `${path2}merchantPerformanceConfig.getLatestConfigDetailByMerchantId`;
	return request(data, "post");
}

// 禁用/启用门店工资绩效
export function editStoreSalaryStatusApi(data) {
	// data.method = `${path2}merchantPerformanceConfig.updateStatus`
	data.method = `${path2}merchantPerformanceConfig.updateStatusByMerchant`;
	return request(data, "post");
}

// 删除门店工资绩效
export function deleteStoreSalaryApi(data) {
	data.method = `${path2}merchantPerformanceConfig.delete`;
	return request(data, "post");
}

// 新增/编辑绩效方案
export function configPerformancePlanApi(data) {
	data.method = `${path2}merchantPerformanceConfig.batchConfig`;
	return request(data, "post");
}

// 获取绩效方案详情
export function getPerformancePlanDetailApi(data) {
	data.method = `${path2}merchantPerformanceConfig.getLatestConfigDetail`;
	return request(data, "post");
}

// 获取分发门店列表
export function getDistributeStoreListApi(data) {
	data.method = `${path2}merchantPerformanceConfig.pageDistributeMerchant`;
	return request(data, "post");
}

// 获取应用商品
export function getAppGoodsApi(data) {
	data.method = `${path2}merchantPerformanceConfig.pageMerchantGoods`;
	return request(data, "post");
}

// 获取激励池存入列表
export function getIncentivePoolDepositListApi(data) {
	data.method = `${path2}incentivePool.pageIncome`;
	return request(data, "post");
}

// 获取激励池支出列表
export function getIncentivePoolExpendListApi(data) {
	data.method = `${path2}incentivePool.pageExpenses`;
	return request(data, "post");
}

// 获取激励池统计信息
export function getIncentivePoolStatisticsApi(data) {
	data.method = `${path2}incentivePool.total`;
	return request(data, "post");
}

// 获取激励池存入明细
export function getIncentivePoolDetailApi(data) {
	data.method = `${path2}incentivePool.getIncomeById`;
	return request(data, "post");
}

// 激励池新增支出
export function addIncentivePoolApi(data) {
	data.method = `${path2}incentivePool.addExpenses`;
	return request(data, "post");
}

// 获取已配置职级的所有员工数据
export function getLevelStaffListApi(data) {
	data.method = `${path2}incentivePool.hasJobStaffPage`;
	return request(data, "post");
}

// 获取激励池支出详情(备注记录)
export function getIncentivePoolRemarkRecordApi(data) {
	data.method = `${path2}incentivePool.getExpensesById`;
	return request(data, "post");
}

// 激励池支出修改备注
export function editIncentivePoolRemarkApi(data) {
	data.method = `${path2}incentivePool.updateExpensesRemark`;
	return request(data, "post");
}

// 获取驻店管理列表
export function getResidentListApi(data) {
	data.method = `${path2}staffBaseInfo.pageList`;
	return request(data, "post");
}

// 分页查询园区店员工列表(可增加特殊门店列表)
export function getEmployee(data) {
	data.method = `dj.api.employee.yq.page`;
	return request(data, "post");
}

// 导入员工修订工资
export function importStaffSalaryApi(data) {
	// data.method = `${path2}staffMonthSalary.staffSalary.import`
	data.method = `dj.api.smartcarlife.staffMonthSalary.staffSalary.detail.import`;
	return request(data, "post", ["file"]);
}

// 获取帮带导师数据
export function getResidentTeacherListApi(data) {
	data.method = `${path2}staffBaseInfo.Mentor.list`;
	return request(data, "post");
}

// 根据场景获取门店列表
export function getStoreListBySceneApi(data) {
	data.method = `dj.smartcarlife.api.scene.shopMerchant.pageList`;
	return request(data, "post");
}

// 根据门店反查管理的园区店列表
export function getStoreParkListApi(data) {
	data.method = `dj.smartcarlife.api.scene.yqMerchant.pageList`;
	return request(data, "post");
}

// 创建员工
export function createStaffApi(data) {
	data.method = `${path2}staffBaseInfo.account.add`;
	return request(data, "post");
}

// 编辑员工
export function editStaffApi(data) {
	data.method = `${path2}staffBaseInfo.staffDetailInfo.update`;
	return request(data, "post");
}

// 编辑员工扣款项配置数据
export function editStaffDeductionApi(data) {
	data.method = `${path2}staffConfig.update`;
	return request(data, "post");
}

// 员工分配门店账号
export function assignStoreAccountApi(data) {
	data.method = `${path2}staffBaseInfo.account.other.add`;
	return request(data, "post");
}

// 获取员工详情信息
export function getStaffDetailApi(data) {
	data.method = `${path2}staffBaseInfo.selectStaffDetailInfo`;
	return request(data, "post");
}

// 获取员工历史业绩
export function getStaffHistoryApi(data) {
	data.method = `${path2}staffMonthSalary.page`;
	return request(data, "post");
}

// 获取员工工资统计数据
export function getStaffSalaryStatisticsApi(data) {
	data.method = `${path2}staffMonthSalary.stat`;
	return request(data, "post");
}

// 获取提成门店数据
export function getCommissionLogicApi(data) {
	data.method = `${path2}staffBaseInfo.listStaffOrderMerchant`;
	return request(data, "post");
}

// 获取员工历史订单列表
export function getStaffHistoryOrderListApi(data) {
	data.method = `${path2}staffBaseInfo.listStaffDailyPerformancePage`;
	return request(data, "post");
}

// 修订应发工资
export function reviseSalaryApi(data) {
	data.method = `${path2}staffMonthSalary.correctSalary`;
	return request(data, "post");
}

// 修订工资操作记录
export function getSalaryRecordApi(data) {
	data.method = `${path2}staffSalaryCorrectRecord.page`;
	return request(data, "post");
}

// 获取工资明细
export function getSalaryDetailApi(data) {
	// data.method = `${path2}staffMonthSalary.detail`
	data.method = `dj.staff.api.staff.performance.get`;
	return request(data, "post");
}

// 查询日报模板类型列表
export function getTemplateList(data = {}) {
	data.method = "dj.api.smartcarlife.digital.management.template.type.list";
	return request(data, "post");
}

// 督导
export function getStaffList(data) {
	data.method =
		"dj.api.smartcarlife.digital.management.template.staff.ref.list";
	return request(data, "post");
}

// 轻改 - 员工列表
export function getQGStaffList(data) {
	data.method = "dj.api.smartcarlife.digital.management.staff.list";
	return request(data, "post");
}

// 分页查询日报列表,表格数据
export function getRecordPage(data) {
	data.method = "dj.api.smartcarlife.digital.management.record.page";
	return request(data, "post");
}

// 查询模板详情, 表头数据
export function getTemplateDetail(data) {
	data.method = "dj.api.smartcarlife.digital.management.template.detail";
	return request(data, "post");
}

// 查询日报统计总览
export function getSummary(data) {
	data.method = "dj.api.smartcarlife.digital.management.record.summary";
	return request(data, "post");
}

// 查询未提交明细列表
export function getSummaryStaff(data) {
	data.method = "dj.api.smartcarlife.digital.management.record.staff.summary";
	return request(data, "post");
}

// 更新模版绑定员工
export function updateStaff(data) {
	data.method =
		"dj.api.smartcarlife.digital.management.template.staff.ref.update";
	return request(data, "post");
}

// 导出未提交明细列表
export function exportSummary(data) {
	data.method =
		"dj.api.smartcarlife.digital.management.record.staff.summary.export";
	return request(data, "post");
}

// 所有督导
export function getAllStaff(data) {
	// data.method = 'dj.api.smartcarlife.staff.specificBusinessRolePerson.areaSupervision.pageConfigured'
	// data.method = 'dj.api.smartcarlife.staff.specificBusinessRolePerson.areaSupervision.listConfigured'
	data.method =
		"dj.api.smartcarlife.digital.management.supervision.staff.list";
	return request(data, "post");
}

// 收入测算-白名单员工分页
export function getWhiteStaff(data) {
	data.method = "dj.smartcarlife.api.incomeMeasurement.white.staff.list";
	return request(data, "post");
}

// 收入测算-查询收入测算配置开关
export function getSwitchConfig(data = {}) {
	data.method = "dj.smartcarlife.api.incomeMeasurement.switch.config.get";
	return request(data, "post");
}

// 收入测算-添加白名单员工
export function addWhiteStaff(data) {
	data.method = "dj.smartcarlife.api.incomeMeasurement.white.staff.add";
	return request(data, "post");
}

// 收入测算配置开关更新
export function addSwitchConfig(data) {
	data.method = "dj.smartcarlife.api.incomeMeasurement.switch.config.add";
	return request(data, "post");
}

// 收入测算-删除白名单员工
export function delWhiteStaff(data) {
	data.method = "dj.smartcarlife.api.incomeMeasurement.white.staff.del";
	return request(data, "post");
}

// 查询员工详情
export function getStaffInfo(data) {
	data.method = "dj.smartcarlife.api.incomeMeasurement.staff.info.get";
	return request(data, "post");
}

// 职级介绍配置查询
export function getRankConfig(data) {
	data.method = "dj.smartcarlife.api.job.rank.config.get";
	return request(data, "post");
}

// 职级介绍配置更新
export function addRankConfig(data) {
	data.method = "dj.smartcarlife.api.job.rank.config.add";
	return request(data, "post");
}

// 员工收入测算
export function getIncomePage(data) {
	data.method = "dj.api.smartcarlife.staff.incomeCalculation.page";
	return request(data, "post");
}

// 获取商品信息列表
export function listGoodsType(data = {}) {
	data.method = "dj.api.smartcarlife.staff.incomeCalculation.listGoodsType";
	return request(data, "post");
}

// 复制绩效方案
export function copyPerformanceApi(data) {
	data.method = `${path2}merchantPerformanceConfig.copyConfig`;
	return request(data, "post");
}

// 获取员工是否是可查看工资白名单
export function staffWhiteListFlagApi(data) {
	data.method = `${path2}staffBaseInfo.whiteList.select`;
	return request(data, "post");
}

// 根据员工手机号获取员工所在园区店
export function yqMerchantListByStaffPhoneApi(data) {
	data.method = `${path2}staffBaseInfo.yqMerchantInfo.list`;
	return request(data, "post");
}

// 根据园区店商户号获取1.1和2.1场景下4S店列表
export function merchantListByYqMerchantApi(data) {
	data.method = `${path2}scene.shopMerchant.list`;
	return request(data, "post");
}

// 员工调店分配新增
export function addStaffDailyReportConfigApi(data) {
	data.method = `${path2}staffDailyReportConfig.add`;
	return request(data, "post");
}

// 员工调店分配配置修改
export function updateStaffDailyReportConfigApi(data) {
	data.method = `${path2}staffDailyReportConfig.update`;
	return request(data, "post");
}

// 员工调店分配配置删除
export function deleteStaffDailyReportConfigApi(data) {
	data.method = `${path2}staffDailyReportConfig.delete`;
	return request(data, "post");
}

// 更新指定员工记录项内容
export function updateTmlpStaffItem(data) {
	data.method = `${path2}digital.management.staff.item.update`;
	return request(data, "post");
}

/**
 *  打卡申诉列表
 */

export function getClockSalaryList(data = {}) {
	data.method = "dj.api.smartcarlife.clock.in.staff.appeal.list";
	return request(data, "post");
}

/**
 *  打卡申诉列表导出
 */
export function exportClockSalaryList(data = {}) {
	data.method = "dj.api.smartcarlife.clock.in.staff.appeal.list.export";
	return request(data, "post");
}

// 获取员工月度扣款明细
export function getStaffDeductDetailAPI(data) {
	data.method = `${path2}staffMonthSalary.deductDetail`;
	return request(data, "post");
}

// 获取员工考勤明细
export function getStaffAttendanceDetailAPI(data) {
	data.method = `${path2}clock.in.staff.attendance.detail`;
	return request(data, "post");
}

// 查询录音标签
export function getRecordTagList(data) {
	data.method = `${path2}reception.findRecordingTagByBatchId`;
	return request(data, "post");
}

// 查询质检列表|侧边栏
export function getQualityList(data) {
	data.method = `${path2}reception.findCheckResultByBatchId`;
	return request(data, "post");
}

// 查询对话内容
export function getConversationDetail(data) {
	data.method = `${path2}reception.findConversationDetailByBatchIdNew`;
	return request(data, "post");
}
// dj.api.smartcarlife.performanceSalaryConfig.page  分页查询绩效工资扣减规则
export function getPerformanceSalaryConfigAPI(data) {
	data.method = "dj.api.smartcarlife.performanceSalaryConfig.page";
	return request(data, "post");
}
//    批量新增或修改绩效工资扣减规则
export function updatePerformanceSalaryConfigAPI(data) {
	data.method =
		"dj.api.smartcarlife.performanceSalaryConfig.batchInsertOrUpdate";
	return request(data, "post");
}

// 配置圈定产品
export function targetProductConfigAPI(data) {
	data.method = `${path2}merchantPerformanceProductDefine.batchInsertOrUpdate`;
	return request(data, "post");
}

// 获取圈定产品列表数据
export function getTargetProductConfigListAPI(data) {
	data.method = `${path2}merchantPerformanceProductDefine.page`;
	return request(data, "post");
}

// 新增 工资绩效 方案
export function postSalaryPerformanceScheme(data) {
	data.method = `dj.staff.api.performance.config.add`;
	return request(data, "post");
}
// 新增 工资绩效 方案
export function postBrandMerchant(data) {
	data.method = `dj.staff.api.performance.config.valid.merchant.brand.by.merchant`;
	return request(data, "post");
}
// 新增 工资绩效 方案
export function getConfigMerchantDetail(data) {
	data.method = `dj.staff.api.performance.config.merchant.detail`;
	return request(data, "post");
}

// 校验圈定产品/套餐是否可被删除
export function checkProductDefineAPI(data) {
	data.method = `${path2}merchantPerformanceProductDefine.deleteValid`;
	return request(data, "post");
}

// 查询录音标签列表
export function receptionTagPage(data) {
	data.method = `dj.api.smartcarlife.reception.receptionTagPage`;
	return request(data, "post");
}
// 导出录音标签列表
export function receptionTagPageExport(data) {
	data.method = `dj.api.smartcarlife.reception.receptionTagPageExport`;
	return request(data, "post");
}
// 前店后厂-权限列表
export function getPermissionsList(data) {
	data.method = `dj.api.smartcarlife.qdhc.permissions`;
	return request(data, "post");
}
// 前店后厂-批量新增员工权限
export function addBatchPermissions(data) {
	data.method = `dj.api.smartcarlife.qdhc.staff.permissions.batch.authorization`;
	return request(data, "post");
}
// 前店后厂-手机号用户权限列表(员工)
export function getPermissionsByPhone(data) {
	data.method = `dj.api.smartcarlife.qdhc.staff.permissions`;
	return request(data, "post");
}
/**
 * 质检管理-平铺视图
 */
export function getReclistWithPageV2(data) {
	data.method = "dj.api.mindworkplate.badge.employeeBadgeReclistWithPageV2";
	return request(data, "post");
}

/**
 * 质检管理-平铺视图 导出
 */
export function exportReclistListV2(data) {
	data.method = "dj.api.mindworkplate.badge.employeeBadgeReclistExportV2";
	return request(data, "post");
}
// 上级领导列表查询

export function getLeaderList(data = {}) {
	data.method = "dj.api.smartcarlife.staffBeisenBaseInfo.leader.list";
	return request(data, "post");
}
// 接口名称:驻店员工信息分页

export function staffBaseInfoPageList(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.pageList";
	return request(data, "post");
}
// 北森员工信息批量修改

export function updateBatchSalary(data) {
	data.method =
		"dj.api.smartcarlife.staffBaseInfo.salaryEffectiveRule.updateBatch";
	return request(data, "post");
}

// 工资维护-4s列表
export function getSalaryMerchantList(data = {}) {
	data.method = "dj.api.smartcarlife.staffMonthSalary.merchant.list";
	return request(data, "post");
}
// 存在工资条的员工手机号列表(分页)
export function getSalaryStaffList(data) {
	data.method = "dj.api.smartcarlife.staffMonthSalary.staff.list";
	return request(data, "post");
}
// 有绩效提成的人员
export function getCommissionListApi(data = {}) {
	data.method = "dj.staff.api.staff.performance.commission.list";
	return request(data, "post");
}
// 获取督导管理列表数据
export function getSupervisorListApi(data = {}) {
	data.method = "dj.api.supervisor.manage.page";
	return request(data, "post");
}
// 获取督导管理汇总数据
export function getSupervisorSummaryApi(data = {}) {
	data.method = "dj.api.supervisor.manage.summary";
	return request(data, "post");
}
// 获取近三年的周数据
export function getWeeklyRangesApi(data = {}) {
	data.method = "dj.api.supervisor.get.generateWeeklyRanges";
	return request(data, "post");
}
// 获取督导详情数据
export function getSupervisorDetailApi(data = {}) {
	data.method = "dj.api.supervisor.manage.detail.staff.page";
	return request(data, "post");
}
// 获取督导详情汇总数据
export function getSupervisorDetailSummaryApi(data = {}) {
	data.method = "dj.api.supervisor.manage.detail.summary";
	return request(data, "post");
}
// 获取督导任务列表数据
export function getSupervisorTaskListApi(data = {}) {
	data.method = "dj.api.supervisor.page.task";
	return request(data, "post");
}
// 获取督导任务汇总数据
export function getSupervisorTaskSummaryApi(data = {}) {
	data.method = "dj.api.supervisor.get.task.summary";
	return request(data, "post");
}
// 获取督导任务详情数据
export function getSupervisorTaskDetailApi(data = {}) {
	data.method = "dj.api.supervisor.getTaskDetailById";
	return request(data, "post");
}
// 获取督导录音复盘列表数据
export function getSupervisorRecordListApi(data = {}) {
	data.method = "dj.api.supervisor.page.audioReview";
	return request(data, "post");
}
// 获取最近三年所有周数据
export function getRecentWeekListApi(data = {}) {
	data.method = "dj.api.supervisor.get.generateWeeklyRanges";
	return request(data, "post");
}

// 创建或修改预警基线配置
export function createOrUpdateBaselineConfig(data = {}) {
	data.method = "dj.api.supervisor.baseline.config.createOrUpdate";
	return request(data, "post");
}

// 查询所有预警基线配置
export function listAllBaselineConfig(data = {}) {
	data.method = "dj.api.supervisor.baseline.config.listAll";
	return request(data, "post");
}
// 删除预警基线配置
export function deleteBaselineConfig(data = {}) {
	data.method = "dj.api.supervisor.baseline.config.delete";
	return request(data, "post");
}

// 查询优秀案例列表
export function listExcellentCase(data = {}) {
	data.method = "dj.api.supervisor.excellent.case.list";
	return request(data, "post");
}

// 审核驳回优秀案例
export function rejectExcellentCase(data = {}) {
	data.method = "dj.api.supervisor.excellent.case.reject";
	return request(data, "post");
}

// 下载优秀案例录音
export function downlpoadExcellentCaseAudio(data = {}) {
	data.method = "dj.api.supervisor.excellent.case.download";
	return request(data, "post");
}

// 审核通过优秀案例
export function approveExcellentCase(data = {}) {
	data.method = "dj.api.supervisor.excellent.case.approve";
	return request(data, "post");
}

// 查询客户类别列表
export function listExcellentCaseCategories(data = {}) {
	data.method = "dj.api.supervisor.excellent.case.categories";
	return request(data, "post");
}

//适配业务
export function getStaffSceneLabelList(data = {}) {
	data.method = "dj.api.smartcarlife.scene.getScenesByParams";
	return request(data, "post");
}

export function findAllMerchantPageApi(data = {}) {
	data.method = "dj.api.scenemerchantref.findAllMerchantPage";
	return request(data, "post");
}
export function findAllSceneByMerchantIdApi(data = {}) {
	data.method = "dj.api.scenemerchantref.findAllSceneByMerchantId";
	return request(data, "post");
}

export function assignStoreApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.account.merchant.assign";
	return request(data, "post");
}

export function assignStoreV2Api(data = {}) {
	data.method =
		"dj.api.smartcarlife.staffBaseInfo.account.merchant.assign.v2";
	return request(data, "post");
}

export function accountRecordListApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.accountRecord.list";
	return request(data, "post");
}

export function accountRecordDetailApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.accountRecord.detail";
	return request(data, "post");
}

export function disableAccountV2Api(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.account.disable.v2";
	return request(data, "post");
}

export function query4sByYqMerchantApi(data = {}) {
	data.method = "dj.api.smartcarlife.merchant.scene.query4sByYqMerchant";
	return request(data, "post");
}
//北森岗位
export function beiSenJobPostPageApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.beiSenJobPost.page";
	return request(data, "post");
}
// 北森账号列表
export function beiSenEmployeePageApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.beiSenEmployee.page";
	return request(data, "post");
}
// 手动同步指定北森账号信息
export function beiSenEmployeeSingleSyncApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.single.beiSen.sync";
	return request(data, "post");
}
//账号信息-禁用账号
export function beiSenEmployeeDisableApi(data = {}) {
	data.method = "dj.api.smartcarlife.staffBaseInfo.account.disable";
	return request(data, "post");
}
// 获取周任务提报优秀案例录音列表数据
export function getExcellentCaseAudioListApi(data = {}) {
	data.method = "dj.api.supervisor.excellent.case.listByTaskId";
	return request(data, "post");
}

// 获取周任务完成带教要求列表
export function getTeachingRequirementsListApi(data = {}) {
	data.method = "dj.api.supervisor.page.teachingRecords";
	return request(data, "post");
}