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 04a7e22a
authored
Sep 03, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.44-0902' into 'master'
上线合并 See merge request
!76
2 parents
efe281e9
06fc26be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
44 deletions
src/views/bulletin/addConfig_21.vue
yarn.lock
src/views/bulletin/addConfig_21.vue
View file @
04a7e22
...
@@ -45,16 +45,16 @@
...
@@ -45,16 +45,16 @@
<span
v-if=
"bulletin.label != '推送时间'"
>
推送至群聊:
</span>
<span
v-if=
"bulletin.label != '推送时间'"
>
推送至群聊:
</span>
<span
v-else
>
:
</span>
<span
v-else
>
:
</span>
</div>
</div>
<
!--
<
div
v-if=
"bulletin.label == '推送时间'"
class=
"group-box group-box-white"
>
<div
v-if=
"bulletin.label == '推送时间'"
class=
"group-box group-box-white"
>
<div
class=
"input-box radio-box"
>
<div
class=
"input-box radio-box"
>
<el-radio-group
@
change=
"changeRadio"
v-model=
"pushRadio"
>
<el-radio-group
@
change=
"changeRadio"
v-model=
"pushRadio"
>
<el-radio
:label=
"2"
>
次日
</el-radio>
<el-radio
:label=
"2"
>
次日
</el-radio>
<
el-radio
:label=
"1"
>
当天
</el-radio
>
<
!--
<el-radio
:label=
"1"
>
当天
</el-radio>
--
>
</el-radio-group>
</el-radio-group>
</div>
</div>
<div
class=
"input-box"
>
<div
class=
"input-box"
>
<!-- :disabled="pushRadio == 2" -->
<el-time-select
<el-time-select
:disabled=
"pushRadio==2"
:picker-options=
"
{
:picker-options=
"
{
start: '00:00',
start: '00:00',
step: '00:01',
step: '00:01',
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
placeholder="选择时间"
placeholder="选择时间"
>
</el-time-select>
>
</el-time-select>
</div>
</div>
</div>
-->
</div>
<div
class=
"group-box"
>
<div
class=
"group-box"
>
<div
class=
"input-box"
v-for=
"(i, k) in groupCofListInput[bulletin.storageList]"
:key=
"k"
>
<div
class=
"input-box"
v-for=
"(i, k) in groupCofListInput[bulletin.storageList]"
:key=
"k"
>
<el-select
v-model=
"i.name"
:placeholder=
"'将' + bulletin.label + '推送至群聊'"
filterable
clearable
>
<el-select
v-model=
"i.name"
:placeholder=
"'将' + bulletin.label + '推送至群聊'"
filterable
clearable
>
...
@@ -225,12 +225,12 @@ export default {
...
@@ -225,12 +225,12 @@ export default {
componentName
:
''
,
componentName
:
''
,
eyeIcon
:
'zhanReport_qy'
eyeIcon
:
'zhanReport_qy'
},
},
//
{
{
//
label: '推送时间',
label
:
'推送时间'
,
//
storageList: '',
storageList
:
''
,
//
componentName: '',
componentName
:
''
,
//
eyeIcon: ''
eyeIcon
:
''
//
},
},
{
{
label
:
'服务商战报'
,
label
:
'服务商战报'
,
storageList
:
'zhanServerReportValue'
,
storageList
:
'zhanServerReportValue'
,
...
@@ -260,8 +260,8 @@ export default {
...
@@ -260,8 +260,8 @@ export default {
],
],
isImgVisible
:
false
,
isImgVisible
:
false
,
dialogImageUrl
:
''
,
dialogImageUrl
:
''
,
// pushTimeValue: '9
:00',
pushTimeValue
:
'8
:00'
,
// pushRadio:2,
pushRadio
:
2
}
}
},
},
watch
:
{
watch
:
{
...
@@ -281,15 +281,15 @@ export default {
...
@@ -281,15 +281,15 @@ export default {
let
{
data
,
sign
}
=
this
.
paramsData
let
{
data
,
sign
}
=
this
.
paramsData
data
=
JSON
.
parse
(
data
)
data
=
JSON
.
parse
(
data
)
this
.
getMerchantList
(
sign
)
this
.
getMerchantList
(
sign
)
console
.
log
(
data
)
;
console
.
log
(
data
)
this
.
handlebattleOn
(
data
,
sign
)
this
.
handlebattleOn
(
data
,
sign
)
},
},
methods
:
{
methods
:
{
// changeRadio(e)
{
changeRadio
(
e
)
{
// if(e==2)
{
if
(
e
==
2
)
{
// this.pushTimeValue = '9
:00'
this
.
pushTimeValue
=
'8
:00'
//
}
}
//
},
},
// 图片查看
// 图片查看
handlePoster
(
name
)
{
handlePoster
(
name
)
{
this
.
isImgVisible
=
true
this
.
isImgVisible
=
true
...
@@ -419,10 +419,10 @@ export default {
...
@@ -419,10 +419,10 @@ export default {
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
this
.
idBefEncryption
=
item
.
groupId
.
split
(
'_R:'
)[
0
]
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
groupHideAttr
&&
this
.
groupCofListInput
[
groupHideAttr
+
'Value'
].
push
({
name
:
''
})
}
}
// if(item.sendTime)
{
if
(
item
.
sendTime
)
{
// this.pushRadio = 1
this
.
pushRadio
=
2
//
this.pushTimeValue = item.sendTime
this
.
pushTimeValue
=
item
.
sendTime
//
}
}
}
}
})
})
for
(
let
k
in
this
.
groupCofListInput
)
{
for
(
let
k
in
this
.
groupCofListInput
)
{
...
@@ -591,15 +591,17 @@ export default {
...
@@ -591,15 +591,17 @@ export default {
this
.
setectList
.
forEach
(
item
=>
{
this
.
setectList
.
forEach
(
item
=>
{
params
.
yqMerchantIdList
.
push
(
item
.
yqMerchantId
)
params
.
yqMerchantIdList
.
push
(
item
.
yqMerchantId
)
})
})
// const sendTime = this.pushTimeValue?this.pushTimeValue+':00':
''
const
sendTime
=
this
.
pushTimeValue
?
this
.
pushTimeValue
+
':00'
:
''
//
let _emptyObj = {}
let
_emptyObj
=
{}
Object
.
keys
(
this
.
groupCofList
).
map
(
item
=>
{
Object
.
keys
(
this
.
groupCofList
).
map
(
item
=>
{
let
type
=
this
.
groupToType
.
find
(
k
=>
k
.
attr
==
item
).
type
let
type
=
this
.
groupToType
.
find
(
k
=>
k
.
attr
==
item
).
type
// if(type==21&&this.pushRadio==1){//仅早报需要
// if (type == 21 && this.pushRadio == 1) {
// _emptyObj.sendTime = sendTime
if
(
type
==
21
&&
this
.
pushRadio
==
2
)
{
// }else{
//仅早报需要
// _emptyObj = {}
_emptyObj
.
sendTime
=
sendTime
// }
}
else
{
_emptyObj
=
{}
}
if
(
this
.
groupCofList
[
item
].
length
)
{
if
(
this
.
groupCofList
[
item
].
length
)
{
this
.
groupCofList
[
item
].
forEach
(
k
=>
{
this
.
groupCofList
[
item
].
forEach
(
k
=>
{
params
.
groupConfigList
.
push
({
params
.
groupConfigList
.
push
({
...
@@ -607,7 +609,7 @@ export default {
...
@@ -607,7 +609,7 @@ export default {
groupName
:
k
.
roomName
,
groupName
:
k
.
roomName
,
groupMerchantId
:
this
.
config
.
merchantId
,
groupMerchantId
:
this
.
config
.
merchantId
,
actionReportType
:
type
,
actionReportType
:
type
,
//
..._emptyObj
...
_emptyObj
})
})
})
})
}
else
if
(
this
.
groupCofListInput
[
item
+
'Value'
].
length
)
{
}
else
if
(
this
.
groupCofListInput
[
item
+
'Value'
].
length
)
{
...
@@ -617,18 +619,18 @@ export default {
...
@@ -617,18 +619,18 @@ export default {
groupName
:
k
.
name
,
groupName
:
k
.
name
,
groupMerchantId
:
this
.
config
.
merchantId
,
groupMerchantId
:
this
.
config
.
merchantId
,
actionReportType
:
type
,
actionReportType
:
type
,
//
..._emptyObj
...
_emptyObj
})
})
})
})
}
}
})
})
//联调测试模拟数据
//联调测试模拟数据
// params.groupConfigList.forEach(el=>{
// params.groupConfigList.forEach(el=>{
// if(el.actionReportType==24){
// if(el.actionReportType==24){
// el.groupId = "null_R:江氏大客户服务群"
// el.groupId = "null_R:江氏大客户服务群"
// el.groupName = "江氏大客户服务群"
// el.groupName = "江氏大客户服务群"
// }
// }
// })
// })
console
.
log
(
params
,
'params---'
)
console
.
log
(
params
,
'params---'
)
this
.
$apis
.
saasOrder
.
updateYqConfig
(
params
).
then
(
res
=>
{
this
.
$apis
.
saasOrder
.
updateYqConfig
(
params
).
then
(
res
=>
{
this
.
$message
({
this
.
$message
({
...
...
yarn.lock
View file @
04a7e22
...
@@ -4603,10 +4603,10 @@ glsx-common@^1.4.6, glsx-common@^1.4.9:
...
@@ -4603,10 +4603,10 @@ glsx-common@^1.4.6, glsx-common@^1.4.9:
qs "^6.10.1"
qs "^6.10.1"
sha1 "^1.1.1"
sha1 "^1.1.1"
glsx-components@^1.5.
2
:
glsx-components@^1.5.
4
:
version "1.5.
3
"
version "1.5.
7
"
resolved "https://registry.npm
mirror.com/glsx-components/-/glsx-components-1.5.3.tgz#58ba0f4d59a4381621b0965a4f40687e111221bf
"
resolved "https://registry.npm
js.org/glsx-components/-/glsx-components-1.5.7.tgz#910ae7a64b4550ab95a03b292f990d7ca7061344
"
integrity sha512-
tj/2DSGKpbwrlP7ByBZQrgEgCcmrP2iR8p/BafY6BFr0/q4sJuxQx6of586rJuoVUasRveIIuFmUcLCkBSnQFA
==
integrity sha512-
WEWt1Ev7uf8VgILrEr15ZHxOreqWEVEY2WRP5EmZKzYKTVF/7dQU/oI84+Xo4vSmlz7ltblaATyrwm1U1LDnHg
==
dependencies:
dependencies:
"@amap/amap-jsapi-loader" "^1.0.1"
"@amap/amap-jsapi-loader" "^1.0.1"
core-js "^3.6.5"
core-js "^3.6.5"
...
@@ -6393,6 +6393,11 @@ number-is-nan@^1.0.0:
...
@@ -6393,6 +6393,11 @@ number-is-nan@^1.0.0:
resolved "https://registry.npmmirror.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
resolved "https://registry.npmmirror.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==
integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==
number-precision@^1.6.0:
version "1.6.0"
resolved "https://registry.npmjs.org/number-precision/-/number-precision-1.6.0.tgz#e309d28f80871d36ac9f6ecd974e13afb1ec0de0"
integrity sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==
oauth-sign@~0.9.0:
oauth-sign@~0.9.0:
version "0.9.0"
version "0.9.0"
resolved "https://registry.npmmirror.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
resolved "https://registry.npmmirror.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
...
@@ -9135,9 +9140,9 @@ vuex@^3.1.2:
...
@@ -9135,9 +9140,9 @@ vuex@^3.1.2:
resolved "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz#236bc086a870c3ae79946f107f16de59d5895e71"
resolved "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz#236bc086a870c3ae79946f107f16de59d5895e71"
integrity sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==
integrity sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==
wangeditor@4.7.15:
wangeditor@
^
4.7.15:
version "4.7.15"
version "4.7.15"
resolved "https://registry.npm
mirror.com
/wangeditor/-/wangeditor-4.7.15.tgz#38c5e279a79d0428e4fd77ae5be46367e9c819e5"
resolved "https://registry.npm
js.org
/wangeditor/-/wangeditor-4.7.15.tgz#38c5e279a79d0428e4fd77ae5be46367e9c819e5"
integrity sha512-aPTdREd8BxXVyJ5MI+LU83FQ7u1EPd341iXIorRNYSOvoimNoZ4nPg+yn3FGbB93/owEa6buLw8wdhYnMCJQLg==
integrity sha512-aPTdREd8BxXVyJ5MI+LU83FQ7u1EPd341iXIorRNYSOvoimNoZ4nPg+yn3FGbB93/owEa6buLw8wdhYnMCJQLg==
dependencies:
dependencies:
"@babel/runtime" "^7.11.2"
"@babel/runtime" "^7.11.2"
...
...
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