Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 f58ea694
authored
Aug 07, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.55.0-0730' into 'master'
上线合并 See merge request
!85
2 parents
a70b3a70
8bb4240b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
29 deletions
src/api/modules/battle.js
src/api/modules/saasOrder.js
src/views/bulletin/addConfig.vue
src/views/bulletin/components/saasOrder/index.vue
src/api/modules/battle.js
View file @
f58ea69
...
...
@@ -66,7 +66,8 @@ const getStaffList = params => {
}
// 企微高级群聊列表
const
getGroupList
=
params
=>
{
params
.
method
=
`entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
// params.method = `entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
params
.
method
=
`entmicro.api.wechatcloudcontrol.activityreport.worktool.grouplist`
return
http
({
url
:
url1
,
method
:
'POST'
,
...
...
src/api/modules/saasOrder.js
View file @
f58ea69
...
...
@@ -72,7 +72,8 @@ const getStaffList = params => {
}
// 企微高级群聊列表
const
getGroupList
=
params
=>
{
params
.
method
=
`entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
// params.method = `entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
params
.
method
=
`entmicro.api.wechatcloudcontrol.activityreport.worktool.grouplist`
return
http
({
url
:
url1
,
method
:
'POST'
,
...
...
@@ -84,39 +85,39 @@ const getGroupList = params => {
// 分页查询驻店员工群聊配置
const
getStaffCofList
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
routerMethod
=
'dj.api.smarcarlife.MerchantActionReportConfig.listStaffWithPage'
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
})
}
// 查询广联数科商户下角色列表
const
getGlskMerchantRole
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
routerMethod
=
'dj.api.smarcarlife.MerchantActionReportConfig.getGlskMerchantRole'
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
})
}
// 更新驻店员工群聊配置
const
updateStaffConfig
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router`
params
.
routerMethod
=
'dj.api.smarcarlife.MerchantActionReportConfig.updateStaffConfig'
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
returnAll
:
true
})
}
export
default
{
getStaffList
,
getMerchantList
,
getlistDepartmentTree
,
getYqReportlist
,
updateYqConfig
,
insertStaff
,
getGroupList
,
getStaffCofList
,
getGlskMerchantRole
,
updateStaffConfig
}
src/views/bulletin/addConfig.vue
View file @
f58ea69
...
...
@@ -8,8 +8,10 @@
<div
class=
"config-wrap gl-form-page"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"154px"
>
<el-form-item
label=
"所属企业:"
>
<el-select
v-model=
"config.merchantId"
placeholder=
"请选择"
@
change=
"handleMerchatChange"
@
visible-change=
"hideSelect"
>
<el-option
v-for=
"item in merchantList"
:key=
"item.merchantId"
:label=
"item.merchantName"
:value=
"item.merchantId"
></el-option>
<el-select
v-model=
"config.merchantId"
placeholder=
"请选择"
@
change=
"handleMerchatChange"
@
visible-change=
"hideSelect"
>
<el-option
v-for=
"item in merchantList"
:key=
"item.merchantId"
:label=
"item.merchantName"
:value=
"item.merchantId"
></el-option>
</el-select>
</el-form-item>
<!-- 推送人 -->
...
...
@@ -21,7 +23,8 @@
{{
wechat
.
automaticName
}}
</div>
<span
class=
"el-input__suffix"
@
click=
"openAutomatic"
>
<span
class=
"el-input__suffix-inner"
><i
:class=
"['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"
></i></span>
<span
class=
"el-input__suffix-inner"
><i
:class=
"['el-select__caret', 'el-input__icon', 'el-icon-arrow-up', isAutomatic ? 'is-reverse' : '']"
></i></span>
</span>
</div>
</div>
...
...
@@ -32,7 +35,9 @@
</el-form-item>
<div
class=
"el-select-dropdown__wrap el-scrollbar__wrap"
>
<template
v-if=
"automaticData.length > 0"
>
<el-tree
class=
"filter-tree"
:data=
"automaticData"
node-key=
"id"
:default-expanded-keys=
"expandedKeys"
:props=
"defaultProps"
default-expand-all
:filter-node-method=
"filterNode"
ref=
"tree"
@
node-click=
"handleNodeClick"
></el-tree>
<el-tree
class=
"filter-tree"
:data=
"automaticData"
node-key=
"id"
:default-expanded-keys=
"expandedKeys"
:props=
"defaultProps"
default-expand-all
:filter-node-method=
"filterNode"
ref=
"tree"
@
node-click=
"handleNodeClick"
></el-tree>
</
template
>
<div
class=
"empty"
v-else
>
暂无数据
</div>
</div>
...
...
@@ -46,13 +51,16 @@
<div
class=
"input-box"
v-for=
"(i, k) in groupCofListInput[bulletin.storageList]"
:key=
"k"
>
<!--
<el-input
v-model=
"i.name"
></el-input>
-->
<el-select
v-model=
"i.name"
:placeholder=
"'将' + bulletin.label + '推送至群聊'"
filterable
clearable
>
<el-option
v-for=
"item in selectGroupName"
:key=
"item.groupName"
:label=
"item.groupName"
:value=
"item.groupName"
></el-option>
<el-option
v-for=
"item in selectGroupName"
:key=
"item.groupName"
:label=
"item.groupName"
:value=
"item.groupName"
></el-option>
</el-select>
<i
class=
"el-icon-circle-plus"
v-if=
"k == 0"
@
click=
"addGroup(groupCofListInput[bulletin.storageList])"
></i>
<i
class=
"el-icon-circle-plus"
v-if=
"k == 0"
@
click=
"addGroup(groupCofListInput[bulletin.storageList])"
></i>
<i
class=
"el-icon-remove"
v-else
@
click=
"delGroup(groupCofListInput[bulletin.storageList], k)"
></i>
</div>
</div>
<span
class=
"group-config-text"
v-if=
"bulletin.componentName"
@
click=
"openConfigDialog(bulletin.componentName)"
>
配置
</span>
<span
class=
"group-config-text"
v-if=
"bulletin.componentName"
@
click=
"openConfigDialog(bulletin.componentName)"
>
配置
</span>
</el-form-item>
</
template
>
</el-form>
...
...
@@ -62,7 +70,8 @@
<el-button
@
click=
"handlebattleClose"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handlebattleConfirm"
size=
"medium"
:loading=
"loading"
>
保存
</el-button>
</GLFooter>
<component
:is=
"dialogComponent"
ref=
"componentRef"
v-if=
"isDialogVisible"
:isDialogVisible=
"isDialogVisible"
:switchList=
"switchList"
@
handlePreview=
"handlePreview"
@
handleClose=
"handleClose"
></component>
<component
:is=
"dialogComponent"
ref=
"componentRef"
v-if=
"isDialogVisible"
:isDialogVisible=
"isDialogVisible"
:switchList=
"switchList"
@
handlePreview=
"handlePreview"
@
handleClose=
"handleClose"
></component>
</div>
</template>
<
script
>
...
...
@@ -125,7 +134,8 @@ export default {
saasReport
:
[],
viewReport
:
[],
InvoicingReport
:
[],
storeReport
:
[]
storeReport
:
[],
constructionReport
:
[]
},
switchList
:
{
// xiReport: [],
...
...
@@ -134,6 +144,7 @@ export default {
viewReport
:
[],
InvoicingReport
:
[],
storeReport
:
[],
constructionReport
:
[],
saReport
:
[
{
switchType
:
401
,
switchStatus
:
'Y'
,
actionReportType
:
4
},
{
switchType
:
402
,
switchStatus
:
'Y'
,
actionReportType
:
4
}
...
...
@@ -157,7 +168,8 @@ export default {
scheduleReportValue
:
[],
zhanReportValue
:
[],
saasReportValue
:
[],
storeReportValue
:
[]
storeReportValue
:
[],
constructionReportValue
:
[]
},
groupToType
:
[
// {
...
...
@@ -203,6 +215,10 @@ export default {
{
attr
:
'storeReport'
,
type
:
31
},
{
attr
:
'constructionReport'
,
type
:
32
}
],
buttetinList
:
[
...
...
@@ -258,6 +274,12 @@ export default {
// text: '预览配置',
storageList
:
'storeReportValue'
// componentName: 'InvoicingDialog'
},
{
label
:
'.技师施工单'
,
// text: '预览配置',
storageList
:
'constructionReportValue'
// componentName: 'InvoicingDialog'
}
]
}
...
...
@@ -330,7 +352,7 @@ export default {
this
.
idBefEncryption
=
data
.
idBefEncryption
this
.
$apis
.
battle
.
activityreportWorktool
({
cloudId
:
this
.
idBefEncryption
}).
then
(
res
=>
{
this
.
selectGroupName
=
res
.
data
.
result
||
[]
this
.
groupCofListInput
=
{
wordReportValue
:
[{
name
:
''
}],
orderReportValue
:
[{
name
:
''
}],
viewReportValue
:
[{
name
:
''
}],
InvoicingReportValue
:
[{
name
:
''
}],
saReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
saasReportValue
:
[{
name
:
''
}],
storeReportValue
:
[{
name
:
''
}]
}
this
.
groupCofListInput
=
{
wordReportValue
:
[{
name
:
''
}],
orderReportValue
:
[{
name
:
''
}],
viewReportValue
:
[{
name
:
''
}],
InvoicingReportValue
:
[{
name
:
''
}],
saReportValue
:
[{
name
:
''
}],
saPerReportValue
:
[{
name
:
''
}],
scheduleReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
saasReportValue
:
[{
name
:
''
}],
storeReportValue
:
[{
name
:
''
}]
,
constructionReportValue
:
[{
name
:
''
}]
}
})
},
// 弹窗数据回显
...
...
@@ -366,7 +388,8 @@ export default {
viewReportValue
:
[],
InvoicingReportValue
:
[],
saasReportValue
:
[],
storeReportValue
:
[]
storeReportValue
:
[],
constructionReportValue
:
[]
}
this
.
battleVisible
=
true
// 编辑
...
...
@@ -417,7 +440,8 @@ export default {
scheduleReportValue
:
[{
name
:
''
}],
zhanReportValue
:
[{
name
:
''
}],
saasReportValue
:
[{
name
:
''
}],
storeReportValue
:
[{
name
:
''
}]
storeReportValue
:
[{
name
:
''
}],
constructionReportValue
:
[{
name
:
''
}]
}
}
},
...
...
@@ -436,7 +460,8 @@ export default {
scheduleReport
:
[],
wordReport
:
[],
saasReport
:
[],
storeReport
:
[]
storeReport
:
[],
constructionReport
:
[]
}
}
}
...
...
@@ -462,7 +487,8 @@ export default {
scheduleReport
:
[],
wordReport
:
[],
saasReport
:
[],
storeReport
:
[]
storeReport
:
[],
constructionReport
:
[]
}
},
async
getDepartmentTree
()
{
...
...
@@ -562,7 +588,7 @@ export default {
scene
:
1
}
let
switchList
=
[]
let
reportParams
=
[
'saReport'
,
'zhanReport'
,
'orderReport'
,
'saPerReport'
,
'scheduleReport'
,
'wordReport'
,
'viewReport'
,
'InvoicingReport'
,
'storeReport'
]
let
reportParams
=
[
'saReport'
,
'zhanReport'
,
'orderReport'
,
'saPerReport'
,
'scheduleReport'
,
'wordReport'
,
'viewReport'
,
'InvoicingReport'
,
'storeReport'
,
'constructionReport'
]
reportParams
.
forEach
(
item
=>
{
switchList
.
push
(...
this
.
switchList
[
item
])
})
...
...
src/views/bulletin/components/saasOrder/index.vue
View file @
f58ea69
...
...
@@ -3,15 +3,19 @@
<div
class=
"activity"
>
<!-- 表格区域 开始 -->
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
>
<template
slot=
"unionMerchantId"
>
<el-input
v-model
.
trim=
"searchForm.unionMerchantId"
maxlength=
"11"
placeholder=
"请输入商户号"
@
input=
"merchantIdInput"
></el-input>
<el-input
v-model
.
trim=
"searchForm.unionMerchantId"
maxlength=
"11"
placeholder=
"请输入商户号"
@
input=
"merchantIdInput"
></el-input>
</
template
>
</GLCombiForm>
<div
class=
"flex-between title"
>
<div
class=
"title-text"
>
喜报列表
</div>
</div>
<GLTable
ref=
"battleRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
@
selectionTable=
"selectionTable"
>
<GLTable
ref=
"battleRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
@
selectionTable=
"selectionTable"
>
<div
slot=
"content"
slot-scope=
"scope"
>
<div
v-for=
"(item, index) in formatterContent(scope.scope)"
:key=
"index"
>
{{ item }}
</div>
</div>
...
...
@@ -115,7 +119,8 @@ export default {
[
3
,
'#7.补单通知>>'
],
[
9
,
'#8.驻店日报>>'
],
[
10
,
'#9.业务预警>>'
],
[
31
,
'#31.轻改门店产值及个人成交报表>>'
]
[
31
,
'#31.轻改门店产值及个人成交报表>>'
],
[
32
,
'#11.技工施工单>>'
]
])
let
txt
=
''
cellValue
.
groupConfigList
?.
forEach
(
item
=>
{
...
...
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