123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- import request from '@/utils/request'
- import qs from 'qs'
- let api = '/api-web'
- // 分页查询活动列表
- export function getEntryActivities(data) {
- return request({
- url: api + '/tenantEntryActivities/queryPage',
- method: 'get',
- params: data
- })
- }
- // 新增、修改活动
- export function getActivitieMerge(data) {
- return request({
- url: api + '/tenantEntryActivities/merge',
- method: 'post',
- data: data
- })
- }
- // 启用,停止
- export function getActivitieUpdateDelFlag(data) {
- return request({
- url: api + '/tenantEntryActivities/updateDelFlag',
- method: 'post',
- data: qs.stringify(data)
- })
- }
- // 查询单条活动
- export function getActivitieQuery(data) {
- return request({
- url: api + '/tenantEntryActivities/query',
- method: 'get',
- params: data
- })
- }
- // 帮助中心分类列表
- export function helpCenterCatalogList(data) {
- return request({
- url: '/api-cms/helpCenterCatalog/list',
- method: 'get',
- params: data
- })
- }
- // 帮助中心分类列表 添加或修改
- export function helpCenterCatalogModify(data) {
- return request({
- url: '/api-cms/helpCenterCatalog/modify',
- method: 'post',
- data: qs.stringify(data)
- })
- }
- // 帮助中心分类列表 删除
- export function helpCenterCatalogDelete(data) {
- return request({
- url: '/api-cms/helpCenterCatalog/delete',
- method: 'post',
- data: qs.stringify(data)
- })
- }
- // 帮助中心内容列表
- export function helpCenterContentList(data) {
- return request({
- url: '/api-cms/helpCenterContent/list',
- method: 'get',
- params: data
- })
- }
- // 帮助中心内容 添加或修改
- export function helpCenterContentModify(data) {
- return request({
- url: '/api-cms/helpCenterContent/modify',
- method: 'post',
- data: qs.stringify(data)
- })
- }
- // 帮助中心内容 删除
- export function helpCenterContentDelete(data) {
- return request({
- url: '/api-cms/helpCenterContent/delete',
- method: 'post',
- data: qs.stringify(data)
- })
- }
- // 意见反馈管理
- export function sysSuggestionList(data) {
- return request({
- url: '/api-web/sysSuggestion/queryPage',
- method: 'get',
- params: data
- })
- }
- // 人力资源列表
- export function employeeInfo(data) {
- return request({
- method: 'get',
- url: '/api-web/employeeInfo/queryPage',
- params: data
- })
- }
- // 人力资源添加
- export function employeeCreate(data) {
- return request({
- method: 'post',
- url: '/api-web/employeeInfo/insert',
- data
- })
- }
- // 人力资源修改
- export function employeeUpdate(data) {
- return request({
- method: 'post',
- url: '/api-web/employeeInfo/update',
- data
- })
- }
- // 新增回访记录
- export function insertVisit(data) {
- return request({
- method: 'post',
- url: '/api-web/employeeInfo/insertVisit',
- data
- })
- }
- // 回访记录
- export function employeeQueryDetail(data) {
- return request({
- method: 'get',
- url: '/api-web/employeeInfo/queryDetail',
- params: data
- })
- }
- export function queryEmployeeByRole(data) {
- return request({
- method: 'get',
- url: '/api-web/employee/queryEmployeeByRole',
- params: data
- })
- }
- // 上传图片
- export function uploadFile(data) {
- return request({
- method: 'post',
- url: '/api-web/uploadFile',
- data
- })
- }
- // 上传图片 base64
- export function uploadFileWithBase64(data) {
- return request({
- method: 'post',
- url: '/api-web/uploadFileWithBase64',
- data
- })
- }
|