Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fab50ab8
authored
Jul 22, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除SYSTEM_API及其相关配置变量
1 parent
724dfd20
Hide whitespace changes
Inline
Side-by-side
Showing
65 changed files
with
293 additions
and
321 deletions
vue3-lw-pc/env.js
vue3-lw-pc/src/api/circle.js
vue3-lw-pc/src/api/commodityCenter/commodityManage.js
vue3-lw-pc/src/api/communityOperating/groupSOP.js
vue3-lw-pc/src/api/communityOperating/keywords.js
vue3-lw-pc/src/api/communityOperating/newCustomer.js
vue3-lw-pc/src/api/communityOperating/oldCustomer.js
vue3-lw-pc/src/api/contentCenter/basicMaterials.js
vue3-lw-pc/src/api/contentCenter/common.js
vue3-lw-pc/src/api/contentCenter/modleCenter.js
vue3-lw-pc/src/api/contentCenter/scriptCenter.js
vue3-lw-pc/src/api/conversation/content.js
vue3-lw-pc/src/api/conversation/security.js
vue3-lw-pc/src/api/customer/defineAttr.js
vue3-lw-pc/src/api/customer/dimission.js
vue3-lw-pc/src/api/customer/group.js
vue3-lw-pc/src/api/customer/index.js
vue3-lw-pc/src/api/customer/tag.js
vue3-lw-pc/src/api/drainageCode/actual.js
vue3-lw-pc/src/api/drainageCode/customerService.js
vue3-lw-pc/src/api/drainageCode/group.js
vue3-lw-pc/src/api/drainageCode/identity.js
vue3-lw-pc/src/api/drainageCode/pullNews.js
vue3-lw-pc/src/api/drainageCode/seas.js
vue3-lw-pc/src/api/drainageCode/smartForms.js
vue3-lw-pc/src/api/drainageCode/staff.js
vue3-lw-pc/src/api/drainageCode/store.js
vue3-lw-pc/src/api/drainageCode/welcome.js
vue3-lw-pc/src/api/enterpriseId.js
vue3-lw-pc/src/api/groupMessage.js
vue3-lw-pc/src/api/index.js
vue3-lw-pc/src/api/intelligentShortLink.js
vue3-lw-pc/src/api/internalCollaborate/appManage.js
vue3-lw-pc/src/api/internalCollaborate/groupRobot.js
vue3-lw-pc/src/api/login.js
vue3-lw-pc/src/api/marketStrategy/journey.js
vue3-lw-pc/src/api/marketStrategy/people.js
vue3-lw-pc/src/api/material/index.js
vue3-lw-pc/src/api/material/poster.js
vue3-lw-pc/src/api/menu.js
vue3-lw-pc/src/api/monitor/job.js
vue3-lw-pc/src/api/monitor/jobLog.js
vue3-lw-pc/src/api/monitor/logininfor.js
vue3-lw-pc/src/api/monitor/online.js
vue3-lw-pc/src/api/monitor/operlog.js
vue3-lw-pc/src/api/monitor/server.js
vue3-lw-pc/src/api/operateCenter/conversationAnalysis.js
vue3-lw-pc/src/api/operateCenter/customerAnalysis.js
vue3-lw-pc/src/api/operateCenter/groupAnalysis.js
vue3-lw-pc/src/api/operateCenter/liveBroadcast.js
vue3-lw-pc/src/api/organization.js
vue3-lw-pc/src/api/redPacketTool/enterprisePacket.js
vue3-lw-pc/src/api/redPacketTool/sendRecord.js
vue3-lw-pc/src/api/redPacketTool/spendStatistics.js
vue3-lw-pc/src/api/redPacketTool/staffManage.js
vue3-lw-pc/src/api/salesCenter/businessConver.js
vue3-lw-pc/src/api/sop/index.js
vue3-lw-pc/src/api/system/menu.js
vue3-lw-pc/src/api/system/user.js
vue3-lw-pc/src/api/task/index.js
vue3-lw-pc/src/components/Upload.vue
vue3-lw-pc/src/config.js
vue3-lw-pc/src/views/application/shortLinkPopularize/api.js
vue3-lw-pc/src/views/application/taskGroup/api.js
vue3-lw-pc/src/views/conversation/quality/api.js
vue3-lw-pc/env.js
View file @
fab50ab
...
...
@@ -7,7 +7,6 @@ const envs = {
DOMAIN
:
'https://dev.linkwechat.net'
,
BASE_URL
:
'./'
,
// 路由基础路径
BASE_API
:
'https://dev.linkwechat.net/linkwechat-dev-api'
,
SYSTEM_API
:
'/linkwechat-dev-api'
,
VIEW_URL
:
'https://saas.pardigital.cn/file-view/onlinePreview?url='
,
_ISGZIP
:
true
,
// 是否开启gzip压缩
_ISCDN
:
true
,
// 是否开启cdn加速
...
...
@@ -16,7 +15,6 @@ const envs = {
DOMAIN
:
'https://demo.linkwechat.net'
,
BASE_URL
:
'/'
,
// 路由基础路径
BASE_API
:
'https://demo.linkwechat.net/linkwechat-api'
,
SYSTEM_API
:
'/linkwechat-api'
,
VIEW_URL
:
'https://saas.pardigital.cn/file-view/onlinePreview?url='
,
_ISGZIP
:
true
,
// 是否开启gzip压缩
_ISCDN
:
true
,
// 是否开启cdn加速
...
...
@@ -26,7 +24,6 @@ const envs = {
BASE_URL
:
'/'
,
// 路由基础路径
BASE_API
:
'https://demo.linkwechat.net/linkwechat-api'
,
VIEW_URL
:
'https://saas.pardigital.cn/file-view/onlinePreview?url='
,
SYSTEM_API
:
'/linkwechat-api'
,
_ISGZIP
:
true
,
// 是否开启gzip压缩
_ISCDN
:
true
,
// 是否开启cdn加速
},
...
...
vue3-lw-pc/src/api/circle.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
// 朋友圈 企业动态 列表
export
function
getEnterpriceList
(
data
)
{
...
...
vue3-lw-pc/src/api/commodityCenter/commodityManage.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/product'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/product'
/**
* 商品列表
...
...
@@ -102,14 +102,14 @@ export function getDetailChart(data) {
return
request
({
url
:
service
+
'/lineChart'
,
data
,
method
:
'post'
method
:
'post'
,
})
}
// 商品详情top5
export
function
getDetailTable
(
id
)
{
return
request
({
url
:
service
+
'/top5/'
+
id
url
:
service
+
'/top5/'
+
id
,
})
}
...
...
@@ -117,14 +117,14 @@ export function getDetailTable(id) {
export
function
getOrderTalbe
(
data
)
{
return
request
({
url
:
service
+
'/order/page/list'
,
params
:
data
params
:
data
,
})
}
// 订单同步
export
function
setOrderSync
()
{
return
request
({
url
:
service
+
'/order/orderSync'
url
:
service
+
'/order/orderSync'
,
})
}
...
...
@@ -140,21 +140,21 @@ export function exportOrder(data) {
// 订单交易状态
export
function
getOrderState
(
orderId
)
{
return
request
({
url
:
service
+
'/order/trading/status/'
+
orderId
url
:
service
+
'/order/trading/status/'
+
orderId
,
})
}
// 订单退款状态
export
function
getRefundOrderState
(
orderNo
)
{
return
request
({
url
:
service
+
'/refund/refund/status/'
+
orderNo
url
:
service
+
'/refund/refund/status/'
+
orderNo
,
})
}
// 商品分析 汇总
export
function
getGoodsTotal
()
{
return
request
({
url
:
service
+
'/analyze/statistics'
url
:
service
+
'/analyze/statistics'
,
})
}
...
...
@@ -163,7 +163,7 @@ export function getLineChartTotal(data) {
return
request
({
url
:
service
+
'/analyze/lineChart'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -172,7 +172,7 @@ export function getGoodsTop5(data) {
return
request
({
url
:
service
+
'/analyze/top5'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -181,7 +181,7 @@ export function getMembersTop5(data) {
return
request
({
url
:
service
+
'/analyze/user/top5'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -189,7 +189,7 @@ export function getMembersTop5(data) {
export
function
getTableTotal
(
data
)
{
return
request
({
url
:
service
+
'/analyze/data/report'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -201,4 +201,4 @@ export function getTableExport(data) {
responseType
:
'blob'
,
data
,
})
}
\ No newline at end of file
}
vue3-lw-pc/src/api/communityOperating/groupSOP.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/communityGroupSop'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/communityGroupSop'
/**
* 获取群SOP列表
...
...
vue3-lw-pc/src/api/communityOperating/keywords.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/communityKeywordGroup'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/communityKeywordGroup'
/**
* 获取关键词拉群列表
...
...
vue3-lw-pc/src/api/communityOperating/newCustomer.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/communityNewGroup'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/communityNewGroup'
/**
* 获取新客自动拉群列表
...
...
vue3-lw-pc/src/api/communityOperating/oldCustomer.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/communityPresTagGroup'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/communityPresTagGroup'
/**
* 获取老客标签建群列表
...
...
vue3-lw-pc/src/api/contentCenter/basicMaterials.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/material'
// 基础素材-添加
export
function
add
(
params
)
{
...
...
@@ -45,7 +45,7 @@ export function lexicalRemove(ids) {
// 获取视频第一帧
export
function
getVideoPic
(
params
)
{
return
request
({
url
:
window
.
lwConfig
.
services
.
system
+
'/file/getVideoFirstImg/'
,
url
:
'/file/getVideoFirstImg/'
,
params
,
})
}
vue3-lw-pc/src/api/contentCenter/common.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/material'
// 素材详情-数据趋势
export
function
getCount
(
params
)
{
...
...
vue3-lw-pc/src/api/contentCenter/modleCenter.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/tlp'
// 模板中心
// 模板新增
...
...
vue3-lw-pc/src/api/contentCenter/scriptCenter.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/content/talk'
// 话术中心
// 企业话术
...
...
vue3-lw-pc/src/api/conversation/content.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
// 外部联系人 会话列表
export
const
getExternalChatList
=
(
fromId
)
=>
{
return
request
({
url
:
service
+
'/chat/msg/selectExternalChatList/'
+
fromId
,
method
:
'get'
method
:
'get'
,
})
}
...
...
@@ -14,7 +14,7 @@ export const selectAloneChatList = (params) => {
return
request
({
url
:
service
+
'/chat/msg/selectAloneChatList'
,
method
:
'get'
,
params
params
,
})
}
...
...
@@ -22,20 +22,20 @@ export const selectAloneChatList = (params) => {
export
const
getInternalChatList
=
(
fromId
)
=>
{
return
request
({
url
:
service
+
'/chat/msg/selectInternalChatList/'
+
fromId
,
method
:
'get'
method
:
'get'
,
})
}
export
const
getGroupChatList
=
(
fromId
)
=>
{
return
request
({
url
:
service
+
'/chat/msg/selectGroupChatList/'
+
fromId
,
method
:
'get'
method
:
'get'
,
})
}
export
const
getGroupChatListNew
=
(
fromId
)
=>
{
return
request
({
url
:
service
+
'/groupchat/getGroupListByMemberId/'
+
fromId
,
method
:
'get'
method
:
'get'
,
})
}
// export const chatList = (params) => {
...
...
@@ -64,7 +64,7 @@ export const getChatList = (params) => {
return
request
({
url
:
service
+
'/chat/msg/selectFullSearchChatList'
,
method
:
'get'
,
params
params
,
})
}
...
...
@@ -74,6 +74,6 @@ export const exportList = (params) => {
url
:
service
+
'/chat/msg/selectFullSearchChatList/export'
,
method
:
'get'
,
params
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
vue3-lw-pc/src/api/conversation/security.js
View file @
fab50ab
...
...
@@ -4,7 +4,7 @@
* @Date: 2021-05-25 11:19:34
*/
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/sensitive'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/sensitive'
/**
* 获取敏感词触发列表
...
...
vue3-lw-pc/src/api/customer/defineAttr.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/field'
// 列表
...
...
@@ -7,7 +7,7 @@ export function getList(params) {
return
request
({
url
:
service
+
'/list'
,
method
:
'get'
,
params
params
,
})
}
...
...
@@ -16,7 +16,7 @@ export function addField(data) {
return
request
({
url
:
service
+
'/addSysField'
,
data
,
method
:
'post'
method
:
'post'
,
})
}
...
...
@@ -25,7 +25,7 @@ export function updateField(data) {
return
request
({
url
:
service
+
'/updateSysField'
,
data
,
method
:
'put'
method
:
'put'
,
})
}
...
...
@@ -33,7 +33,7 @@ export function updateField(data) {
export
function
deleteField
(
ids
)
{
return
request
({
url
:
service
+
'/'
+
ids
,
method
:
'delete'
method
:
'delete'
,
})
}
...
...
@@ -42,6 +42,6 @@ export function multiField(data) {
return
request
({
url
:
service
+
'/batchUpdateSysField'
,
method
:
'post'
,
data
data
,
})
}
vue3-lw-pc/src/api/customer/dimission.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/leaveUser'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/leaveUser'
// 接口整合 离职员工 isAllocate 是否已分配:1:是;0:否
export
function
getListTable
(
params
)
{
return
request
({
url
:
service
+
'/leaveUserList'
,
params
params
,
})
}
...
...
@@ -23,7 +23,7 @@ userName:
export
function
getList
(
params
)
{
return
request
({
url
:
service
+
'/leaveUserAllocateList'
,
params
params
,
})
}
...
...
@@ -41,7 +41,7 @@ userName:
export
function
getListNo
(
params
)
{
return
request
({
url
:
service
+
'/leaveUserNoAllocateList'
,
params
params
,
})
}
...
...
@@ -57,7 +57,7 @@ export function allocate(data) {
return
request
({
url
:
service
+
'/allocateLeaveUserAboutData'
,
method
:
'put'
,
data
data
,
})
}
...
...
@@ -75,7 +75,7 @@ export function allocate(data) {
export
function
getAllocateCustomers
(
params
)
{
return
request
({
url
:
service
+
'/getAllocateCustomers'
,
params
params
,
})
}
...
...
@@ -93,13 +93,13 @@ export function getAllocateCustomers(params) {
export
function
getAllocateGroups
(
params
)
{
return
request
({
url
:
service
+
'/getAllocateGroups'
,
params
params
,
})
}
// 离职员工同步
export
function
sync
()
{
return
request
({
url
:
service
+
'/synchLeaveUser'
url
:
service
+
'/synchLeaveUser'
,
})
}
vue3-lw-pc/src/api/customer/group.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
export
function
getDetail
(
chatId
)
{
return
request
({
...
...
vue3-lw-pc/src/api/customer/index.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/customer'
/**
...
...
vue3-lw-pc/src/api/customer/tag.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/tag'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/tag'
// 客户标签
...
...
vue3-lw-pc/src/api/drainageCode/actual.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/actual'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/actual'
/**
* 获取实际群码
...
...
vue3-lw-pc/src/api/drainageCode/customerService.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/kf'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/kf'
// 同步客服
export
function
setAsync
()
{
...
...
@@ -17,15 +17,15 @@ export function getMemeberInCustomer(data) {
}
// 客服列表
export
function
getList
(
params
)
{
export
function
getList
(
params
)
{
return
request
({
url
:
service
+
'/list/page'
,
params
params
,
})
}
// 新增客服 -- 账号
export
function
addService
(
data
)
{
export
function
addService
(
data
)
{
return
request
({
url
:
service
+
'/add'
,
method
:
'post'
,
...
...
@@ -34,47 +34,47 @@ export function addService (data) {
}
// 客服编辑 -- 账号
export
function
editService
(
data
)
{
export
function
editService
(
data
)
{
return
request
({
url
:
service
+
'/edit/account'
,
method
:
'post'
,
data
:
data
data
:
data
,
})
}
// 新增客服 -- 欢迎语
export
function
addServiceWelcome
(
data
)
{
export
function
addServiceWelcome
(
data
)
{
return
request
({
url
:
service
+
'/add/welcome'
,
method
:
'post'
,
data
:
data
data
:
data
,
})
}
// 客服编辑 -- 欢迎语
export
function
editServiceWelcome
(
data
)
{
export
function
editServiceWelcome
(
data
)
{
return
request
({
url
:
service
+
'/edit/welcome'
,
method
:
'post'
,
data
:
data
data
:
data
,
})
}
// 新增客服 -- 规则
export
function
addServiceServicer
(
data
)
{
export
function
addServiceServicer
(
data
)
{
return
request
({
url
:
service
+
'/add/servicer'
,
method
:
'post'
,
data
:
data
data
:
data
,
})
}
// 客服编辑 -- 规则
export
function
editServiceServicer
(
data
)
{
export
function
editServiceServicer
(
data
)
{
return
request
({
url
:
service
+
'/edit/servicer'
,
method
:
'post'
,
data
:
data
data
:
data
,
})
}
...
...
@@ -167,7 +167,7 @@ export function getResultDetail(params) {
export
function
getEvaluteData
(
data
)
{
return
request
({
url
:
service
+
'/msg/analyze'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -254,7 +254,7 @@ export function getConsultTableExport(params) {
// 质量分析 统计
export
function
getQualityTotal
()
{
return
request
({
url
:
service
+
'/statistic/quality/getAnalysis'
url
:
service
+
'/statistic/quality/getAnalysis'
,
})
}
...
...
@@ -289,4 +289,4 @@ export function getQualityTableExport(params) {
responseType
:
'blob'
,
params
,
})
}
\ No newline at end of file
}
vue3-lw-pc/src/api/drainageCode/group.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/groupCode'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/groupCode'
/**
* 获取群活码列表
...
...
vue3-lw-pc/src/api/drainageCode/identity.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/knowCustomer'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/knowCustomer'
// 列表
export
function
getList
(
params
)
{
...
...
@@ -24,12 +24,11 @@ export function remove(ids) {
})
}
export
function
addOrUpdate
(
params
)
{
return
request
({
url
:
service
+
'/addOrUpdateKnowCustomer'
,
data
:
params
,
method
:
'post'
data
:
params
,
method
:
'post'
,
})
}
...
...
@@ -37,8 +36,7 @@ export function addOrUpdate(params) {
export
function
downloadBatch
()
{
return
request
({
url
:
service
+
'/exportKnowCustomers'
,
params
:
{
},
params
:
{},
responseType
:
'blob'
,
})
}
...
...
@@ -55,7 +53,7 @@ export function download(id) {
export
function
getIdentityCodeTab
(
params
)
{
return
request
({
url
:
service
+
'/findWKCountDetailTab'
,
params
params
,
})
}
...
...
@@ -82,4 +80,4 @@ export function getTableExport(params) {
params
,
responseType
:
'blob'
,
})
}
\ No newline at end of file
}
vue3-lw-pc/src/api/drainageCode/pullNews.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/lxqr'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/lxqr'
// 列表
export
function
getList
(
params
)
{
...
...
@@ -11,14 +11,14 @@ export function getList(params) {
// 卡券列表
export
function
getCardList
(
params
)
{
return
request
({
url
:
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/coupon/getCouponList'
,
url
:
window
.
lwConfig
.
services
.
wecom
+
'/coupon/getCouponList'
,
params
,
})
}
// 红包列表
export
function
getRedList
(
params
)
{
return
request
({
url
:
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes/list'
,
url
:
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes/list'
,
params
,
})
}
...
...
vue3-lw-pc/src/api/drainageCode/seas.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
let
seas_download_template
,
seas_list
,
seas_upload
,
...
...
vue3-lw-pc/src/api/drainageCode/smartForms.js
View file @
fab50ab
import
request
from
'@/utils/request'
import
{
dataURLtoFile
}
from
'@/utils/common'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/form'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/form'
//查询省市区
// export function treelist(data) {
...
...
vue3-lw-pc/src/api/drainageCode/staff.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/category'
const
base
=
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/category'
/**
* 编辑员工活码
...
...
vue3-lw-pc/src/api/drainageCode/store.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/storeCode'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/storeCode'
// 门店活码类型 storeCodeType 1:门店导购码 2:门店群活码
export
function
getCode
(
type
)
{
return
request
({
url
:
service
+
'/config/'
+
type
url
:
service
+
'/config/'
+
type
,
})
}
...
...
@@ -12,7 +12,7 @@ export function getCode(type) {
export
function
getTableList
(
params
)
{
return
request
({
url
:
service
+
'/storeCodes'
,
params
params
,
})
}
...
...
@@ -20,7 +20,7 @@ export function getTableList(params) {
export
function
deleteStore
(
ids
)
{
return
request
({
url
:
service
+
'/'
+
ids
,
method
:
'delete'
method
:
'delete'
,
})
}
...
...
@@ -29,7 +29,7 @@ export function updateState(ids, params) {
return
request
({
url
:
service
+
'/batchStartOrStop/'
+
ids
,
method
:
'put'
,
data
:
params
data
:
params
,
})
}
...
...
@@ -37,7 +37,7 @@ export function updateState(ids, params) {
export
function
downloadTemplate
()
{
return
request
({
url
:
service
+
'/importTemplate'
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
...
...
@@ -47,7 +47,7 @@ export function uploadStore(params) {
return
request
({
url
:
service
+
'/importData'
,
method
:
'post'
,
data
:
params
data
:
params
,
})
}
...
...
@@ -56,14 +56,14 @@ export function addOrUpdateStore(params) {
return
request
({
url
:
service
+
'/code/createOrUpdateStoreCode'
,
method
:
'post'
,
data
:
params
data
:
params
,
})
}
// 门店详情
export
function
storeDetail
(
id
)
{
return
request
({
url
:
service
+
'/getWeStoreCodeById/'
+
id
url
:
service
+
'/getWeStoreCodeById/'
+
id
,
})
}
...
...
@@ -72,14 +72,14 @@ export function addOrUpdateCodeInStore(params) {
return
request
({
url
:
service
+
'/config/createOrUpdate'
,
method
:
'post'
,
data
:
params
data
:
params
,
})
}
// 门店详情统计 头部
export
function
getTabTotalInStore
(
id
)
{
return
request
({
url
:
service
+
'/countWeStoreTab/'
+
id
url
:
service
+
'/countWeStoreTab/'
+
id
,
})
}
...
...
@@ -87,7 +87,7 @@ export function getTabTotalInStore(id) {
export
function
getLineDataGuideCode
(
params
)
{
return
request
({
url
:
service
+
'/countStoreShopGuideTrend'
,
params
params
,
})
}
...
...
@@ -95,7 +95,7 @@ export function getLineDataGuideCode(params) {
export
function
getLineDataStoreCode
(
params
)
{
return
request
({
url
:
service
+
'/countStoreGroupTrend'
,
params
params
,
})
}
...
...
@@ -104,7 +104,7 @@ export function downloadUrl(params) {
return
request
({
url
:
service
+
'/downloadStoreCodeConfigUrl'
,
params
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
...
...
@@ -112,7 +112,7 @@ export function downloadUrl(params) {
export
function
getGuideCodeTab
(
params
)
{
return
request
({
url
:
service
+
'/countWeStoreShopGuideTab'
,
params
params
,
})
}
...
...
@@ -120,7 +120,7 @@ export function getGuideCodeTab(params) {
export
function
getStoreCodeTab
(
params
)
{
return
request
({
url
:
service
+
'/countWeStoreGroupTab'
,
params
params
,
})
}
...
...
@@ -128,7 +128,7 @@ export function getStoreCodeTab(params) {
export
function
getBarTop10GuideCode
(
params
)
{
return
request
({
url
:
service
+
'/countStoreShopGuideDrum'
,
params
params
,
})
}
...
...
@@ -136,7 +136,7 @@ export function getBarTop10GuideCode(params) {
export
function
getBarTop10StoreCode
(
params
)
{
return
request
({
url
:
service
+
'/countStoreShopGroupDrum'
,
params
params
,
})
}
...
...
@@ -144,7 +144,7 @@ export function getBarTop10StoreCode(params) {
export
function
getTableInGuideCode
(
params
)
{
return
request
({
url
:
service
+
'/countShopGuideReport'
,
params
params
,
})
}
...
...
@@ -152,7 +152,7 @@ export function getTableInGuideCode(params) {
export
function
getTableGuideCodeExport
(
params
)
{
return
request
({
url
:
service
+
'/exportCountShopGuideReport'
,
params
params
,
})
}
...
...
@@ -160,7 +160,7 @@ export function getTableGuideCodeExport(params) {
export
function
getTableInStoreCode
(
params
)
{
return
request
({
url
:
service
+
'/countStoreGroupReport'
,
params
params
,
})
}
...
...
@@ -168,6 +168,6 @@ export function getTableInStoreCode(params) {
export
function
getTableStoreCodeExport
(
params
)
{
return
request
({
url
:
service
+
'/exportCountStoreGroupReport'
,
params
params
,
})
}
vue3-lw-pc/src/api/drainageCode/welcome.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/tlp'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/tlp'
/**
* 获取欢迎语列表
...
...
vue3-lw-pc/src/api/enterpriseId.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/corp'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/corp'
// 企业id
/**
...
...
vue3-lw-pc/src/api/groupMessage.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/groupmsg/template'
const
base
=
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/groupmsg/template'
/**
* 新增群发
...
...
vue3-lw-pc/src/api/index.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
const
wecom
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
wecom
=
window
.
lwConfig
.
services
.
wecom
export
const
indexTable
=
()
=>
{
return
request
({
url
:
service
+
'/page/getCorpBasicData'
,
url
:
'/page/getCorpBasicData'
,
method
:
'get'
,
})
}
export
const
indexEchart
=
()
=>
{
return
request
({
url
:
service
+
'/page/getCorpRealTimeData'
,
url
:
'/page/getCorpRealTimeData'
,
method
:
'get'
,
})
}
export
const
refresh
=
()
=>
{
return
request
({
url
:
service
+
'/page/refresh'
,
url
:
'/page/refresh'
,
method
:
'get'
,
})
}
...
...
@@ -26,7 +25,7 @@ export const refresh = () => {
// 获取企业轨迹
export
const
getCompanyDynamicsData
=
(
params
)
=>
{
return
request
({
url
:
service
+
'/open/trajectory/findCompanyDynamics'
,
url
:
'/open/trajectory/findCompanyDynamics'
,
params
,
})
}
...
...
vue3-lw-pc/src/api/intelligentShortLink.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/short/link'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/short/link'
// 智能短链
...
...
vue3-lw-pc/src/api/internalCollaborate/appManage.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/agent'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/agent'
const
serviceMsg
=
service
+
'/msg'
// 应用管理
...
...
vue3-lw-pc/src/api/internalCollaborate/groupRobot.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/group/robot'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/group/robot'
const
serviceMsg
=
service
+
'/msg'
// 机器人管理
...
...
vue3-lw-pc/src/api/login.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
// 登录方法
export
function
login
(
username
,
password
,
code
,
uuid
)
{
...
...
@@ -10,7 +9,7 @@ export function login(username, password, code, uuid) {
uuid
,
}
return
request
({
url
:
service
+
'/auth/accountLogin'
,
url
:
'/auth/accountLogin'
,
method
:
'post'
,
data
:
data
,
})
...
...
@@ -19,14 +18,14 @@ export function login(username, password, code, uuid) {
// 获取企微二维码和登录二维码
export
function
getCodeInSyetem
()
{
return
request
({
url
:
service
+
'/auth/findLoginParam'
,
url
:
'/auth/findLoginParam'
,
})
}
// 获取用户详细信息
export
function
getInfo
()
{
return
request
({
url
:
service
+
'/system/user/getInfo'
,
url
:
'/system/user/getInfo'
,
method
:
'get'
,
})
}
...
...
@@ -34,7 +33,7 @@ export function getInfo() {
// 退出方法
export
function
logout
()
{
return
request
({
url
:
service
+
'/logout'
,
url
:
'/logout'
,
method
:
'post'
,
})
}
...
...
@@ -42,7 +41,7 @@ export function logout() {
// 获取验证码
export
function
getCodeImg
()
{
return
request
({
url
:
service
+
'/code'
,
url
:
'/code'
,
method
:
'get'
,
})
}
...
...
@@ -50,7 +49,7 @@ export function getCodeImg() {
// 获取应用待开发授权码
export
function
getRegisterQrCode
()
{
return
request
({
url
:
service
+
'/auth/getRegisterQrCode'
,
url
:
'/auth/getRegisterQrCode'
,
method
:
'get'
,
})
}
...
...
@@ -61,7 +60,7 @@ export function getRegisterQrCode() {
*/
export
function
wxQrLogin
(
auth_code
)
{
return
request
({
url
:
service
+
'/auth/qrLogin'
,
url
:
'/auth/qrLogin'
,
method
:
'get'
,
params
:
{
authCode
:
auth_code
,
...
...
@@ -74,7 +73,7 @@ export function wxQrLogin(auth_code) {
*/
export
function
findWxQrLoginInfo
()
{
return
request
({
url
:
service
+
'/auth/qrLoginUrl'
,
url
:
'/auth/qrLoginUrl'
,
method
:
'get'
,
})
}
...
...
@@ -84,7 +83,7 @@ export function findWxQrLoginInfo() {
*/
export
function
getExtensionRegisterUrl
()
{
return
request
({
url
:
service
+
'/auth/weExtensionRegisterUrl'
,
url
:
'/auth/weExtensionRegisterUrl'
,
method
:
'get'
,
})
}
...
...
@@ -94,7 +93,7 @@ export function getExtensionRegisterUrl() {
*/
export
function
getInstallThirdAppUrl
()
{
return
request
({
url
:
service
+
'/auth/3rd_install'
,
url
:
'/auth/3rd_install'
,
method
:
'get'
,
params
:
{
authType
:
process
.
env
.
VUE_APP_ENV
===
'production'
?
0
:
1
,
...
...
@@ -107,7 +106,7 @@ export function getInstallThirdAppUrl() {
*/
export
function
getCustomerServiceQrUrl
()
{
return
request
({
url
:
service
+
'/auth/kfQrUrl'
,
url
:
'/auth/kfQrUrl'
,
method
:
'get'
,
})
}
...
...
@@ -117,7 +116,7 @@ export function getCustomerServiceQrUrl() {
*/
export
function
noviceGuideInfo
()
{
return
request
({
url
:
service
+
'/open/config/findWeSideBar'
,
url
:
'/open/config/findWeSideBar'
,
method
:
'get'
,
})
}
...
...
@@ -125,7 +124,7 @@ export function noviceGuideInfo() {
// 试用手机号密码登录
export
function
probationLogin
(
params
)
{
return
request
({
url
:
service
+
'/auth/sysTrialAccount/applyLogin'
,
url
:
'/auth/sysTrialAccount/applyLogin'
,
method
:
'post'
,
data
:
params
,
})
...
...
@@ -134,14 +133,14 @@ export function probationLogin(params) {
// 图形验证码
export
function
getImageCode
()
{
return
request
({
url
:
service
+
'/auth/sysTrialAccount/captchaImage'
,
url
:
'/auth/sysTrialAccount/captchaImage'
,
})
}
// 获取短信验证码
export
function
getCodeInPhone
(
params
)
{
return
request
({
url
:
service
+
'/auth/sysTrialAccount/findVerifyCode'
,
url
:
'/auth/sysTrialAccount/findVerifyCode'
,
params
,
})
}
...
...
@@ -149,7 +148,7 @@ export function getCodeInPhone(params) {
// 申请试用
export
function
applyFn
(
data
)
{
return
request
({
url
:
service
+
'/auth/sysTrialAccount/apply'
,
url
:
'/auth/sysTrialAccount/apply'
,
method
:
'post'
,
data
:
data
,
})
...
...
@@ -158,7 +157,7 @@ export function applyFn(data) {
// 重置密码
export
function
resetPwd
(
data
)
{
return
request
({
url
:
service
+
'/auth/sysTrialAccount/resetPwd'
,
url
:
'/auth/sysTrialAccount/resetPwd'
,
method
:
'post'
,
data
,
})
...
...
vue3-lw-pc/src/api/marketStrategy/journey.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/strategic/journey'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/strategic/journey'
// import { get, post } from '@/plugins/axios'
...
...
vue3-lw-pc/src/api/marketStrategy/people.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
base
=
window
.
lwConfig
.
services
.
wecom
// 基础数据枚举值
/**
...
...
vue3-lw-pc/src/api/material/index.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/material'
const
serviceCategory
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/category'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/material'
const
serviceCategory
=
window
.
lwConfig
.
services
.
wecom
+
'/category'
/**
* 查询素材列表
...
...
vue3-lw-pc/src/api/material/poster.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/material'
const
serviceCategory
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/poster'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/material'
const
serviceCategory
=
window
.
lwConfig
.
services
.
wecom
+
'/poster'
/**
* 查询海报列表
...
...
vue3-lw-pc/src/api/menu.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
// 获取路由
export
const
getRouters
=
()
=>
{
return
request
({
url
:
service
+
'/system/user/getRouters'
,
url
:
'/system/user/getRouters'
,
method
:
'get'
,
})
}
vue3-lw-pc/src/api/monitor/job.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
// 查询定时任务调度列表
export
function
listJob
(
query
)
{
return
request
({
url
:
base
+
'/monitor/job/list'
,
url
:
'/monitor/job/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -12,7 +11,7 @@ export function listJob(query) {
// 查询定时任务调度详细
export
function
getJob
(
jobId
)
{
return
request
({
url
:
base
+
'/monitor/job/'
+
jobId
,
url
:
'/monitor/job/'
+
jobId
,
method
:
'get'
,
})
}
...
...
@@ -20,7 +19,7 @@ export function getJob(jobId) {
// 新增定时任务调度
export
function
addJob
(
data
)
{
return
request
({
url
:
base
+
'/monitor/job'
,
url
:
'/monitor/job'
,
method
:
'post'
,
data
:
data
,
})
...
...
@@ -29,7 +28,7 @@ export function addJob(data) {
// 修改定时任务调度
export
function
updateJob
(
data
)
{
return
request
({
url
:
base
+
'/monitor/job'
,
url
:
'/monitor/job'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -38,7 +37,7 @@ export function updateJob(data) {
// 删除定时任务调度
export
function
delJob
(
jobId
)
{
return
request
({
url
:
base
+
'/monitor/job/'
+
jobId
,
url
:
'/monitor/job/'
+
jobId
,
method
:
'delete'
,
})
}
...
...
@@ -46,7 +45,7 @@ export function delJob(jobId) {
// 导出定时任务调度
export
function
exportJob
(
query
)
{
return
request
({
url
:
base
+
'/monitor/job/export'
,
url
:
'/monitor/job/export'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -59,7 +58,7 @@ export function changeJobStatus(jobId, status) {
status
,
}
return
request
({
url
:
base
+
'/monitor/job/changeStatus'
,
url
:
'/monitor/job/changeStatus'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -72,7 +71,7 @@ export function runJob(jobId, jobGroup) {
jobGroup
,
}
return
request
({
url
:
base
+
'/monitor/job/run'
,
url
:
'/monitor/job/run'
,
method
:
'put'
,
data
:
data
,
})
...
...
vue3-lw-pc/src/api/monitor/jobLog.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
// 查询调度日志列表
export
function
listJobLog
(
query
)
{
return
request
({
url
:
base
+
'/monitor/jobLog/list'
,
url
:
'/monitor/jobLog/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -12,7 +11,7 @@ export function listJobLog(query) {
// 删除调度日志
export
function
delJobLog
(
jobLogId
)
{
return
request
({
url
:
base
+
'/monitor/jobLog/'
+
jobLogId
,
url
:
'/monitor/jobLog/'
+
jobLogId
,
method
:
'delete'
,
})
}
...
...
@@ -20,7 +19,7 @@ export function delJobLog(jobLogId) {
// 清空调度日志
export
function
cleanJobLog
()
{
return
request
({
url
:
base
+
'/monitor/jobLog/clean'
,
url
:
'/monitor/jobLog/clean'
,
method
:
'delete'
,
})
}
...
...
@@ -28,7 +27,7 @@ export function cleanJobLog() {
// 导出调度日志
export
function
exportJobLog
(
query
)
{
return
request
({
url
:
base
+
'/monitor/jobLog/export'
,
url
:
'/monitor/jobLog/export'
,
method
:
'get'
,
params
:
query
,
})
...
...
vue3-lw-pc/src/api/monitor/logininfor.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
// 查询登录日志列表
export
function
list
(
query
)
{
return
request
({
url
:
base
+
'/monitor/logininfor/list'
,
url
:
'/monitor/logininfor/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -12,7 +11,7 @@ export function list(query) {
// 删除登录日志
export
function
delLogininfor
(
infoId
)
{
return
request
({
url
:
base
+
'/monitor/logininfor/'
+
infoId
,
url
:
'/monitor/logininfor/'
+
infoId
,
method
:
'delete'
,
})
}
...
...
@@ -20,7 +19,7 @@ export function delLogininfor(infoId) {
// 清空登录日志
export
function
cleanLogininfor
()
{
return
request
({
url
:
base
+
'/monitor/logininfor/clean'
,
url
:
'/monitor/logininfor/clean'
,
method
:
'delete'
,
})
}
...
...
@@ -28,7 +27,7 @@ export function cleanLogininfor() {
// 导出登录日志
export
function
exportLogininfor
(
query
)
{
return
request
({
url
:
base
+
'/monitor/logininfor/export'
,
url
:
'/monitor/logininfor/export'
,
method
:
'get'
,
params
:
query
,
})
...
...
vue3-lw-pc/src/api/monitor/online.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
// 查询在线用户列表
export
function
list
(
query
)
{
return
request
({
url
:
base
+
'/monitor/online/list'
,
url
:
'/monitor/online/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -13,7 +12,7 @@ export function list(query) {
// 强退用户
export
function
forceLogout
(
tokenId
)
{
return
request
({
url
:
base
+
'/monitor/online/'
+
tokenId
,
url
:
'/monitor/online/'
+
tokenId
,
method
:
'delete'
,
})
}
vue3-lw-pc/src/api/monitor/operlog.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
// 查询操作日志列表
export
function
list
(
query
)
{
return
request
({
url
:
base
+
'/monitor/operlog/list'
,
url
:
'/monitor/operlog/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -13,7 +12,7 @@ export function list(query) {
// 删除操作日志
export
function
delOperlog
(
operId
)
{
return
request
({
url
:
base
+
'/monitor/operlog/'
+
operId
,
url
:
'/monitor/operlog/'
+
operId
,
method
:
'delete'
,
})
}
...
...
@@ -21,7 +20,7 @@ export function delOperlog(operId) {
// 清空操作日志
export
function
cleanOperlog
()
{
return
request
({
url
:
base
+
'/monitor/operlog/clean'
,
url
:
'/monitor/operlog/clean'
,
method
:
'delete'
,
})
}
...
...
@@ -29,7 +28,7 @@ export function cleanOperlog() {
// 导出操作日志
export
function
exportOperlog
(
query
)
{
return
request
({
url
:
base
+
'/monitor/operlog/export'
,
url
:
'/monitor/operlog/export'
,
method
:
'get'
,
params
:
query
,
})
...
...
vue3-lw-pc/src/api/monitor/server.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
base
=
window
.
lwConfig
.
services
.
system
// 查询服务器详细
export
function
getServer
()
{
return
request
({
url
:
base
+
'/monitor/server'
,
url
:
'/monitor/server'
,
method
:
'get'
,
})
}
vue3-lw-pc/src/api/operateCenter/conversationAnalysis.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/operation/session'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/operation/session'
/**
* 会话分析-客户联系总数
...
...
vue3-lw-pc/src/api/operateCenter/customerAnalysis.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/operation/customer'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/operation/customer'
/**
* 客户数据分析
*/
export
function
getAnalysis
()
{
return
request
({
url
:
service
+
'/getAnalysis'
url
:
service
+
'/getAnalysis'
,
})
}
...
...
@@ -21,7 +21,7 @@ endTime 是 结束时间
export
function
getTotalCnt
(
params
)
{
return
request
({
url
:
service
+
'/getTotalCnt'
,
params
params
,
})
}
...
...
@@ -36,7 +36,7 @@ endTime 是 结束时间
export
function
getRealCnt
(
params
)
{
return
request
({
url
:
service
+
'/getCustomerRealPageCnt'
,
params
params
,
})
}
...
...
@@ -51,7 +51,7 @@ endTime 是 结束时间
export
function
getRankCnt
(
params
)
{
return
request
({
url
:
service
+
'/getRankCnt'
,
params
params
,
})
}
...
...
@@ -67,6 +67,6 @@ export function realDataExport(params) {
return
request
({
url
:
service
+
'/real/export'
,
params
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
vue3-lw-pc/src/api/operateCenter/groupAnalysis.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/operation/group'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/operation/group'
/**
* 客群数据分析
*/
export
function
getAnalysis
()
{
return
request
({
url
:
service
+
'/getAnalysis'
url
:
service
+
'/getAnalysis'
,
})
}
...
...
@@ -21,7 +21,7 @@ endTime 是 结束时间
export
function
getTotalCnt
(
params
)
{
return
request
({
url
:
service
+
'/getTotalCnt'
,
params
params
,
})
}
...
...
@@ -36,7 +36,7 @@ endTime 是 结束时间
export
function
getTotalCntMember
(
params
)
{
return
request
({
url
:
service
+
'/member/getTotalCnt'
,
params
params
,
})
}
...
...
@@ -51,7 +51,7 @@ endTime 是 结束时间
export
function
getRealCnt
(
params
)
{
return
request
({
url
:
service
+
'/getGroupRealPageCnt'
,
params
params
,
})
}
...
...
@@ -66,7 +66,7 @@ endTime 是 结束时间
export
function
getRealCntMember
(
params
)
{
return
request
({
url
:
service
+
'/member/getGroupMemberRealPageCnt'
,
params
params
,
})
}
...
...
@@ -82,7 +82,7 @@ export function realDataExport(params) {
return
request
({
url
:
service
+
'/real/export'
,
params
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
...
...
@@ -98,6 +98,6 @@ export function realDataExportMember(params) {
return
request
({
url
:
service
+
'/member/real/export'
,
params
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
vue3-lw-pc/src/api/operateCenter/liveBroadcast.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/live'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/live'
// top5列表
export
function
getList
(
params
)
{
return
request
({
...
...
vue3-lw-pc/src/api/organization.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
const
serviceUser
=
window
.
lwConfig
.
services
.
system
+
'/user'
const
base
=
window
.
lwConfig
.
services
.
system
+
'/auth'
const
service
=
''
const
serviceUser
=
'/user'
const
base
=
'/auth'
/* 组织管理 */
// 同步组织架构
export
function
setOragnize
()
{
return
request
({
url
:
service
+
'/system/user/sync'
,
method
:
'post'
url
:
'/system/user/sync'
,
method
:
'post'
,
})
}
// 获取组织部门
export
function
getDeptTree
()
{
return
request
({
url
:
service
+
'/system/dept/list'
url
:
'/system/dept/list'
,
})
}
// 获取组织部门下员工
export
function
getDeptUser
(
params
)
{
return
request
({
url
:
service
+
'/system/user/list'
,
params
url
:
'/system/user/list'
,
params
,
})
}
export
function
getDeptUserAll
(
params
)
{
return
request
({
url
:
service
+
'/system/user/listAll'
,
params
url
:
'/system/user/listAll'
,
params
,
})
}
// 修改员工角色
export
function
editUserRoles
(
params
)
{
return
request
({
url
:
service
+
'/system/user/editUserRole'
,
url
:
'/system/user/editUserRole'
,
data
:
params
,
method
:
'put'
method
:
'put'
,
})
}
...
...
@@ -48,54 +48,54 @@ export function editUserRoles(params) {
// 角色列表
export
function
getRolesList
(
params
)
{
return
request
({
url
:
service
+
'/system/role/list'
url
:
'/system/role/list'
,
})
}
export
function
getRoleDetail
(
roleId
)
{
return
request
({
url
:
service
+
'/system/role/'
+
roleId
url
:
'/system/role/'
+
roleId
,
})
}
// 选择角色下拉
export
function
getRoleOption
()
{
return
request
({
url
:
service
+
'/system/role/optionselect'
url
:
'/system/role/optionselect'
,
})
}
// 查询菜单下拉树结构
export
function
treeselect
()
{
return
request
({
url
:
service
+
'/system/menu/allTreeselect'
,
method
:
'get'
url
:
'/system/menu/allTreeselect'
,
method
:
'get'
,
})
}
// 角色新增
export
function
addRole
(
params
)
{
return
request
({
url
:
service
+
'/system/role'
,
url
:
'/system/role'
,
method
:
'post'
,
data
:
params
data
:
params
,
})
}
// 角色编辑
export
function
editRole
(
params
)
{
return
request
({
url
:
service
+
'/system/role'
,
url
:
'/system/role'
,
method
:
'put'
,
data
:
params
data
:
params
,
})
}
// 角色删除
export
function
deleteRole
(
id
)
{
return
request
({
url
:
service
+
'/system/role/'
+
id
,
method
:
'delete'
url
:
'/system/role/'
+
id
,
method
:
'delete'
,
})
}
...
...
@@ -110,8 +110,8 @@ export function deleteRole(id) {
*/
export
function
getTree
(
params
)
{
return
request
({
url
:
service
+
'/list'
,
params
url
:
'/list'
,
params
,
})
}
...
...
@@ -128,7 +128,7 @@ export function updateDepart(data) {
return
request
({
url
:
service
,
method
:
'put'
,
data
data
,
})
}
...
...
@@ -144,14 +144,14 @@ export function addDepart(data) {
return
request
({
url
:
service
,
method
:
'post'
,
data
data
,
})
}
export
function
removeDepart
(
ids
)
{
return
request
({
url
:
service
+
'/'
+
ids
,
method
:
'DELETE'
url
:
'/'
+
ids
,
method
:
'DELETE'
,
})
}
...
...
@@ -173,7 +173,7 @@ export function removeDepart(ids) {
export
function
getList
(
params
)
{
return
request
({
url
:
serviceUser
+
'/list'
,
params
params
,
})
}
...
...
@@ -190,8 +190,8 @@ export function getAllStaff(params) {
url
:
serviceUser
+
'/findAllWeUser'
,
params
:
{
isActivate
:
1
,
//1=已激活,2=已禁用,4=未激活,5=退出企业,
isConfigCustomerContact
:
0
//1:是;0:否
}
isConfigCustomerContact
:
0
,
//1:是;0:否
}
,
})
}
...
...
@@ -201,7 +201,7 @@ export function getAllStaff(params) {
*/
export
function
getUserDetail
(
id
)
{
return
request
({
url
:
serviceUser
+
'/'
+
id
url
:
serviceUser
+
'/'
+
id
,
})
}
...
...
@@ -213,7 +213,7 @@ export function addUser(data) {
return
request
({
url
:
serviceUser
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -247,7 +247,7 @@ export function updateUser(data) {
return
request
({
url
:
serviceUser
,
method
:
'put'
,
data
data
,
})
}
...
...
@@ -263,7 +263,7 @@ export function startOrStop(data) {
return
request
({
url
:
serviceUser
+
'/startOrStop'
,
method
:
'put'
,
data
data
,
})
}
...
...
@@ -274,7 +274,7 @@ export function startOrStop(data) {
export
function
remove
(
userId
)
{
return
request
({
url
:
serviceUser
+
'/'
+
userId
,
method
:
'DELETE'
method
:
'DELETE'
,
})
}
...
...
@@ -283,15 +283,15 @@ export function remove(userId) {
*/
export
function
syncUser
()
{
return
request
({
url
:
serviceUser
+
'/synchWeUser'
url
:
serviceUser
+
'/synchWeUser'
,
})
}
// 人员绑定权限
export
function
bindDepts
(
data
)
{
return
request
({
url
:
service
+
'/system/user/editDataScop'
,
url
:
'/system/user/editDataScop'
,
method
:
'post'
,
data
data
,
})
}
vue3-lw-pc/src/api/redPacketTool/enterprisePacket.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
/**
* 获取企业红包列表
...
...
vue3-lw-pc/src/api/redPacketTool/sendRecord.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
/**
* 发放记录-发放客户
...
...
vue3-lw-pc/src/api/redPacketTool/spendStatistics.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
/**
* 支出统计-头部
...
...
vue3-lw-pc/src/api/redPacketTool/staffManage.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/RedEnvelopes'
/**
* 员工限额列表获取
...
...
vue3-lw-pc/src/api/salesCenter/businessConver.js
View file @
fab50ab
import
request
from
'@/utils/request'
let
getway
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
let
getway
=
window
.
lwConfig
.
services
.
wecom
const
service
=
getway
+
'/strackStage'
// 列表
...
...
@@ -7,7 +7,7 @@ export function getList(params) {
return
request
({
url
:
service
+
'/findWeStrackStage'
,
method
:
'get'
,
params
params
,
})
}
...
...
@@ -16,7 +16,7 @@ export function addField(data) {
return
request
({
url
:
service
+
'/add'
,
data
,
method
:
'post'
method
:
'post'
,
})
}
...
...
@@ -25,7 +25,7 @@ export function updateField(data) {
return
request
({
url
:
service
+
'/batchUpdate'
,
data
,
method
:
'put'
method
:
'put'
,
})
}
...
...
@@ -34,7 +34,7 @@ export function deleteField(data) {
return
request
({
url
:
service
+
'/delete'
,
method
:
'delete'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -43,13 +43,13 @@ export function multiField(data) {
return
request
({
url
:
service
+
'/batchUpdateSysField'
,
method
:
'post'
,
data
data
,
})
}
// 获取对应客户数
export
function
getCustomerNum
(
val
)
{
return
request
({
url
:
service
+
'/getStrackStageCustomerNum/'
+
val
url
:
service
+
'/getStrackStageCustomerNum/'
+
val
,
})
}
vue3-lw-pc/src/api/sop/index.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
const
wecom
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
wecom
=
window
.
lwConfig
.
services
.
wecom
// 新增
export
function
addSop
(
data
)
{
...
...
vue3-lw-pc/src/api/system/menu.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
// 查询菜单列表
export
function
listMenu
(
query
)
{
return
request
({
url
:
service
+
'/system/menu/list'
,
url
:
'/system/menu/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -13,7 +12,7 @@ export function listMenu(query) {
// 查询菜单详细
export
function
getMenu
(
menuId
)
{
return
request
({
url
:
service
+
'/system/menu/'
+
menuId
,
url
:
'/system/menu/'
+
menuId
,
method
:
'get'
,
})
}
...
...
@@ -21,7 +20,7 @@ export function getMenu(menuId) {
// 查询菜单下拉树结构
export
function
treeselect
()
{
return
request
({
url
:
service
+
'/system/menu/treeselect'
,
url
:
'/system/menu/treeselect'
,
method
:
'get'
,
})
}
...
...
@@ -29,7 +28,7 @@ export function treeselect() {
// 根据角色ID查询菜单下拉树结构
export
function
roleMenuTreeselect
(
roleId
)
{
return
request
({
url
:
service
+
'/system/menu/roleMenuTreeselect/'
+
roleId
,
url
:
'/system/menu/roleMenuTreeselect/'
+
roleId
,
method
:
'get'
,
})
}
...
...
@@ -37,7 +36,7 @@ export function roleMenuTreeselect(roleId) {
// 新增菜单
export
function
addMenu
(
data
)
{
return
request
({
url
:
service
+
'/system/menu'
,
url
:
'/system/menu'
,
method
:
'post'
,
data
:
data
,
})
...
...
@@ -46,7 +45,7 @@ export function addMenu(data) {
// 修改菜单
export
function
updateMenu
(
data
)
{
return
request
({
url
:
service
+
'/system/menu'
,
url
:
'/system/menu'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -55,7 +54,7 @@ export function updateMenu(data) {
// 删除菜单
export
function
delMenu
(
menuId
)
{
return
request
({
url
:
service
+
'/system/menu/'
+
menuId
,
url
:
'/system/menu/'
+
menuId
,
method
:
'delete'
,
})
}
...
...
@@ -63,7 +62,7 @@ export function delMenu(menuId) {
// 根据字典类型查询字典数据信息
export
function
getDicts
(
dictType
)
{
return
request
({
url
:
service
+
'/system/dict/data/type/'
+
dictType
,
url
:
'/system/dict/data/type/'
+
dictType
,
method
:
'get'
,
})
}
vue3-lw-pc/src/api/system/user.js
View file @
fab50ab
import
request
from
'@/utils/request'
import
{
praseStrEmpty
}
from
'@/utils/common'
const
service
=
window
.
lwConfig
.
services
.
system
// 查询用户列表
export
function
listUser
(
query
)
{
return
request
({
url
:
service
+
'/system/user/list'
,
url
:
'/system/user/list'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -14,7 +13,7 @@ export function listUser(query) {
// 查询用户详细
export
function
getUser
(
userId
)
{
return
request
({
url
:
service
+
'/system/user/'
+
praseStrEmpty
(
userId
),
url
:
'/system/user/'
+
praseStrEmpty
(
userId
),
method
:
'get'
,
})
}
...
...
@@ -22,7 +21,7 @@ export function getUser(userId) {
// 新增用户
export
function
addUser
(
data
)
{
return
request
({
url
:
service
+
'/system/user'
,
url
:
'/system/user'
,
method
:
'post'
,
data
:
data
,
})
...
...
@@ -31,7 +30,7 @@ export function addUser(data) {
// 修改用户
export
function
updateUser
(
data
)
{
return
request
({
url
:
service
+
'/system/user'
,
url
:
'/system/user'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -40,7 +39,7 @@ export function updateUser(data) {
// 删除用户
export
function
delUser
(
userId
)
{
return
request
({
url
:
service
+
'/system/user/'
+
userId
,
url
:
'/system/user/'
+
userId
,
method
:
'delete'
,
})
}
...
...
@@ -48,7 +47,7 @@ export function delUser(userId) {
// 导出用户
export
function
exportUser
(
query
)
{
return
request
({
url
:
service
+
'/system/user/export'
,
url
:
'/system/user/export'
,
method
:
'get'
,
params
:
query
,
})
...
...
@@ -61,7 +60,7 @@ export function resetUserPwd(userId, password) {
password
,
}
return
request
({
url
:
service
+
'/system/user/resetPwd'
,
url
:
'/system/user/resetPwd'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -74,7 +73,7 @@ export function changeUserStatus(userId, status) {
status
,
}
return
request
({
url
:
service
+
'/system/user/changeStatus'
,
url
:
'/system/user/changeStatus'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -83,7 +82,7 @@ export function changeUserStatus(userId, status) {
// 查询用户个人信息
export
function
getUserProfile
()
{
return
request
({
url
:
service
+
'/system/user/profile'
,
url
:
'/system/user/profile'
,
method
:
'get'
,
})
}
...
...
@@ -91,7 +90,7 @@ export function getUserProfile() {
// 修改用户个人信息
export
function
updateUserProfile
(
data
)
{
return
request
({
url
:
service
+
'/system/user/profile'
,
url
:
'/system/user/profile'
,
method
:
'put'
,
data
:
data
,
})
...
...
@@ -104,7 +103,7 @@ export function updateUserPwd(oldPassword, newPassword) {
newPassword
,
}
return
request
({
url
:
service
+
'/system/user/profile/updatePwd'
,
url
:
'/system/user/profile/updatePwd'
,
method
:
'put'
,
params
:
data
,
})
...
...
@@ -113,7 +112,7 @@ export function updateUserPwd(oldPassword, newPassword) {
// 用户头像上传
export
function
uploadAvatar
(
data
)
{
return
request
({
url
:
service
+
'/system/user/profile/avatar'
,
url
:
'/system/user/profile/avatar'
,
method
:
'post'
,
data
:
data
,
})
...
...
@@ -122,7 +121,7 @@ export function uploadAvatar(data) {
// 下载用户导入模板
export
function
importTemplate
()
{
return
request
({
url
:
service
+
'/system/user/importTemplate'
,
url
:
'/system/user/importTemplate'
,
method
:
'get'
,
})
}
vue3-lw-pc/src/api/task/index.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/fission'
const
service
=
window
.
lwConfig
.
services
.
wecom
+
'/fission'
export
function
getList
(
params
)
{
return
request
({
...
...
vue3-lw-pc/src/components/Upload.vue
View file @
fab50ab
...
...
@@ -181,7 +181,7 @@ export default {
// getAuthorization: function (options, callback) {
// // 服务端例子:https://github.com/tencentyun/qcloud-cos-sts-sdk/blob/master/scope.md
// // 异步获取临时密钥
// var url = window.lwConfig.
SYSTEM
_API + '/file/get/config' // url替换成您自己的后端服务
// var url = window.lwConfig.
BASE
_API + '/file/get/config' // url替换成您自己的后端服务
// var xhr = new XMLHttpRequest()
// xhr.open('get', url, true)
// xhr.setRequestHeader('Content-Type', 'application/json')
...
...
vue3-lw-pc/src/config.js
View file @
fab50ab
...
...
@@ -66,7 +66,6 @@ let config = {
services
:
{
wecom
:
'/open'
,
system
:
env
.
SYSTEM_API
,
// system: 'http://192.168.4.168:6180',
common
:
'/common'
,
},
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/api.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
const
wecom
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/short/link'
const
wecom
=
window
.
lwConfig
.
services
.
wecom
+
'/short/link'
// 列表
export
function
getList
(
data
)
{
return
request
({
url
:
wecom
+
'/promotion/list'
,
method
:
'get'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -16,7 +15,7 @@ export function addPromotion(data) {
return
request
({
url
:
wecom
+
'/promotion/add'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -25,7 +24,7 @@ export function editPromotion(data) {
return
request
({
url
:
wecom
+
'/promotion/edit'
,
method
:
'put'
,
data
data
,
})
}
...
...
@@ -34,7 +33,7 @@ export function savePromotion(data) {
return
request
({
url
:
wecom
+
'/promotion/ts'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -42,14 +41,14 @@ export function savePromotion(data) {
export
function
getPosterList
(
data
)
{
return
request
({
url
:
wecom
+
'/promotion/poster/list'
,
params
:
data
params
:
data
,
})
}
// 详情
export
function
getDetail
(
id
)
{
return
request
({
url
:
wecom
+
'/promotion/'
+
id
url
:
wecom
+
'/promotion/'
+
id
,
})
}
...
...
@@ -57,7 +56,7 @@ export function getDetail(id) {
export
function
deletePomotion
(
id
)
{
return
request
({
url
:
wecom
+
'/promotion/delete/'
+
id
,
method
:
'delete'
method
:
'delete'
,
})
}
...
...
@@ -65,14 +64,14 @@ export function deletePomotion(id) {
export
function
deleteMultPo
(
ids
)
{
return
request
({
url
:
wecom
+
'/promotion/batch/delete/'
+
ids
,
method
:
'delete'
method
:
'delete'
,
})
}
// 统计 头部
export
function
getTotal
(
id
)
{
return
request
({
url
:
wecom
+
'/promotion/day/stat/statistics/'
+
id
url
:
wecom
+
'/promotion/day/stat/statistics/'
+
id
,
})
}
...
...
@@ -80,6 +79,6 @@ export function getTotal(id) {
export
function
getLineData
(
data
)
{
return
request
({
url
:
wecom
+
'/promotion/day/stat/statistics/line'
,
params
:
data
params
:
data
,
})
}
vue3-lw-pc/src/views/application/taskGroup/api.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
const
wecom
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
+
'/fission'
const
wecom
=
window
.
lwConfig
.
services
.
wecom
+
'/fission'
// 列表
export
function
getList
(
data
)
{
return
request
({
url
:
wecom
+
'/list'
,
method
:
'get'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -15,7 +14,7 @@ export function getList(data) {
export
function
deleteFassion
(
id
)
{
return
request
({
url
:
wecom
+
'/'
+
id
,
method
:
'delete'
method
:
'delete'
,
})
}
...
...
@@ -23,7 +22,7 @@ export function deleteFassion(id) {
export
function
deleteMultFa
(
ids
)
{
return
request
({
url
:
wecom
+
'/'
+
ids
,
method
:
'delete'
method
:
'delete'
,
})
}
...
...
@@ -32,7 +31,7 @@ export function addFassion(data) {
return
request
({
url
:
wecom
+
'/add'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -41,21 +40,21 @@ export function editFassion(data) {
return
request
({
url
:
wecom
+
'/update'
,
method
:
'put'
,
data
data
,
})
}
// 获取任务详情
export
function
getFassionDetail
(
id
)
{
return
request
({
url
:
wecom
+
'/getWeFissionDetail/'
+
id
url
:
wecom
+
'/getWeFissionDetail/'
+
id
,
})
}
// 统计 头部
export
function
getTotal
(
id
)
{
return
request
({
url
:
wecom
+
'/findWeFissionTab/'
+
id
url
:
wecom
+
'/findWeFissionTab/'
+
id
,
})
}
...
...
@@ -63,7 +62,7 @@ export function getTotal(id) {
export
function
getLineData
(
data
)
{
return
request
({
url
:
wecom
+
'/findWeFissionTrend'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -71,7 +70,7 @@ export function getLineData(data) {
export
function
getTableData
(
data
)
{
return
request
({
url
:
wecom
+
'/findWeFissionDataReport'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -80,7 +79,7 @@ export function getTableExport(data) {
return
request
({
url
:
wecom
+
'/exportWeFissionDataReport'
,
params
:
data
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
...
...
@@ -88,7 +87,7 @@ export function getTableExport(data) {
export
function
getFissionCustomerTable
(
data
)
{
return
request
({
url
:
wecom
+
'/findWeTaskFissionDetail'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -96,7 +95,7 @@ export function getFissionCustomerTable(data) {
export
function
getFissionGroupTable
(
data
)
{
return
request
({
url
:
wecom
+
'/findWeGroupFissionDetail'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -104,7 +103,7 @@ export function getFissionGroupTable(data) {
export
function
getFissionSubTable
(
data
)
{
return
request
({
url
:
wecom
+
'/findWeFissionDetailSub'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -113,7 +112,7 @@ export function exportCustomerTable(data) {
return
request
({
url
:
wecom
+
'/exportWeTaskFissionDetail'
,
params
:
data
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
...
...
@@ -122,6 +121,6 @@ export function exportGroupTable(data) {
return
request
({
url
:
wecom
+
'/exportWeGroupFissionDetail'
,
params
:
data
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
vue3-lw-pc/src/views/conversation/quality/api.js
View file @
fab50ab
import
request
from
'@/utils/request'
const
service
=
window
.
lwConfig
.
services
.
system
+
window
.
lwConfig
.
services
.
wecom
const
service
=
window
.
lwConfig
.
services
.
wecom
// 列表
export
function
getList
(
data
)
{
return
request
({
url
:
service
+
'/qi/list'
,
method
:
'get'
,
params
:
data
params
:
data
,
})
}
...
...
@@ -15,7 +15,7 @@ export function addQuality(data) {
return
request
({
url
:
service
+
'/qi/add'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -24,7 +24,7 @@ export function editQuality(id, data) {
return
request
({
url
:
service
+
'/qi/update/'
+
id
,
method
:
'put'
,
data
data
,
})
}
...
...
@@ -32,21 +32,21 @@ export function editQuality(id, data) {
export
function
deleteQuality
(
id
)
{
return
request
({
url
:
service
+
'/qi/del/'
+
id
,
method
:
'delete'
method
:
'delete'
,
})
}
// 详情
export
function
detailQuality
(
id
)
{
return
request
({
url
:
service
+
'/qi/get/'
+
id
url
:
service
+
'/qi/get/'
+
id
,
})
}
// 质检统计 看板
export
function
statisticData
(
id
)
{
return
request
({
url
:
service
+
'/qi/statistics/view/'
+
id
url
:
service
+
'/qi/statistics/view/'
+
id
,
})
}
...
...
@@ -54,7 +54,7 @@ export function statisticData(id) {
export
function
statisticTable
(
id
,
data
)
{
return
request
({
url
:
service
+
'/qi/statistics/table/'
+
id
,
params
:
data
params
:
data
,
})
}
...
...
@@ -63,7 +63,7 @@ export function statisticRecordList(data) {
return
request
({
url
:
service
+
'/qi/statistics/table/msg'
,
method
:
'post'
,
data
data
,
})
}
...
...
@@ -71,14 +71,14 @@ export function statisticRecordList(data) {
export
function
qualityWeekly
(
data
)
{
return
request
({
url
:
service
+
'/qi/weekly/list'
,
params
:
data
params
:
data
,
})
}
// 质检周报 详情汇总卡片
export
function
qualityWeeklyDetailTotal
(
id
)
{
return
request
({
url
:
service
+
'/qi/weekly/getDetail/'
+
id
url
:
service
+
'/qi/weekly/getDetail/'
+
id
,
})
}
...
...
@@ -86,7 +86,7 @@ export function qualityWeeklyDetailTotal(id) {
export
function
qualityWeeklyTable
(
id
,
data
)
{
return
request
({
url
:
service
+
'/qi/weekly/detail/list/'
+
id
,
params
:
data
params
:
data
,
})
}
...
...
@@ -95,6 +95,6 @@ export function getTableExport(id, data) {
return
request
({
url
:
service
+
'/qi/weekly/detail/list/export/'
+
id
,
params
:
data
,
responseType
:
'blob'
responseType
:
'blob'
,
})
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment