Commit 04a7e22a by 前端

Merge branch 'SAAS+V4.44-0902' into 'master'

上线合并

See merge request !76
2 parents efe281e9 06fc26be
......@@ -45,16 +45,16 @@
<span v-if="bulletin.label != '推送时间'">推送至群聊:</span>
<span v-else>:</span>
</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">
<el-radio-group @change="changeRadio" v-model="pushRadio">
<el-radio :label="2">次日</el-radio>
<el-radio :label="1">当天</el-radio>
<!-- <el-radio :label="1">当天</el-radio> -->
</el-radio-group>
</div>
<div class="input-box">
<!-- :disabled="pushRadio == 2" -->
<el-time-select
:disabled="pushRadio==2"
:picker-options="{
start: '00:00',
step: '00:01',
......@@ -64,7 +64,7 @@
placeholder="选择时间"
></el-time-select>
</div>
</div> -->
</div>
<div class="group-box">
<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>
......@@ -225,12 +225,12 @@ export default {
componentName: '',
eyeIcon: 'zhanReport_qy'
},
// {
// label: '推送时间',
// storageList: '',
// componentName: '',
// eyeIcon: ''
// },
{
label: '推送时间',
storageList: '',
componentName: '',
eyeIcon: ''
},
{
label: '服务商战报',
storageList: 'zhanServerReportValue',
......@@ -260,8 +260,8 @@ export default {
],
isImgVisible: false,
dialogImageUrl: '',
// pushTimeValue: '9:00',
// pushRadio:2,
pushTimeValue: '8:00',
pushRadio: 2
}
},
watch: {
......@@ -281,15 +281,15 @@ export default {
let { data, sign } = this.paramsData
data = JSON.parse(data)
this.getMerchantList(sign)
console.log(data);
console.log(data)
this.handlebattleOn(data, sign)
},
methods: {
// changeRadio(e){
// if(e==2){
// this.pushTimeValue = '9:00'
// }
// },
changeRadio(e) {
if (e == 2) {
this.pushTimeValue = '8:00'
}
},
// 图片查看
handlePoster(name) {
this.isImgVisible = true
......@@ -419,10 +419,10 @@ export default {
this.idBefEncryption = item.groupId.split('_R:')[0]
groupHideAttr && this.groupCofListInput[groupHideAttr + 'Value'].push({ name: '' })
}
// if(item.sendTime){
// this.pushRadio = 1
// this.pushTimeValue = item.sendTime
// }
if (item.sendTime) {
this.pushRadio = 2
this.pushTimeValue = item.sendTime
}
}
})
for (let k in this.groupCofListInput) {
......@@ -591,15 +591,17 @@ export default {
this.setectList.forEach(item => {
params.yqMerchantIdList.push(item.yqMerchantId)
})
// const sendTime = this.pushTimeValue?this.pushTimeValue+':00':''
// let _emptyObj = {}
const sendTime = this.pushTimeValue ? this.pushTimeValue + ':00' : ''
let _emptyObj = {}
Object.keys(this.groupCofList).map(item => {
let type = this.groupToType.find(k => k.attr == item).type
// if(type==21&&this.pushRadio==1){//仅早报需要
// _emptyObj.sendTime = sendTime
// }else{
// _emptyObj = {}
// }
// if (type == 21 && this.pushRadio == 1) {
if (type == 21 && this.pushRadio == 2) {
//仅早报需要
_emptyObj.sendTime = sendTime
} else {
_emptyObj = {}
}
if (this.groupCofList[item].length) {
this.groupCofList[item].forEach(k => {
params.groupConfigList.push({
......@@ -607,7 +609,7 @@ export default {
groupName: k.roomName,
groupMerchantId: this.config.merchantId,
actionReportType: type,
// ..._emptyObj
..._emptyObj
})
})
} else if (this.groupCofListInput[item + 'Value'].length) {
......@@ -617,18 +619,18 @@ export default {
groupName: k.name,
groupMerchantId: this.config.merchantId,
actionReportType: type,
// ..._emptyObj
..._emptyObj
})
})
}
})
//联调测试模拟数据
// params.groupConfigList.forEach(el=>{
// if(el.actionReportType==24){
// el.groupId = "null_R:江氏大客户服务群"
// el.groupName = "江氏大客户服务群"
// }
// })
//联调测试模拟数据
// params.groupConfigList.forEach(el=>{
// if(el.actionReportType==24){
// el.groupId = "null_R:江氏大客户服务群"
// el.groupName = "江氏大客户服务群"
// }
// })
console.log(params, 'params---')
this.$apis.saasOrder.updateYqConfig(params).then(res => {
this.$message({
......
......@@ -4603,10 +4603,10 @@ glsx-common@^1.4.6, glsx-common@^1.4.9:
qs "^6.10.1"
sha1 "^1.1.1"
glsx-components@^1.5.2:
version "1.5.3"
resolved "https://registry.npmmirror.com/glsx-components/-/glsx-components-1.5.3.tgz#58ba0f4d59a4381621b0965a4f40687e111221bf"
integrity sha512-tj/2DSGKpbwrlP7ByBZQrgEgCcmrP2iR8p/BafY6BFr0/q4sJuxQx6of586rJuoVUasRveIIuFmUcLCkBSnQFA==
glsx-components@^1.5.4:
version "1.5.7"
resolved "https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.7.tgz#910ae7a64b4550ab95a03b292f990d7ca7061344"
integrity sha512-WEWt1Ev7uf8VgILrEr15ZHxOreqWEVEY2WRP5EmZKzYKTVF/7dQU/oI84+Xo4vSmlz7ltblaATyrwm1U1LDnHg==
dependencies:
"@amap/amap-jsapi-loader" "^1.0.1"
core-js "^3.6.5"
......@@ -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"
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:
version "0.9.0"
resolved "https://registry.npmmirror.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
......@@ -9135,9 +9140,9 @@ vuex@^3.1.2:
resolved "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz#236bc086a870c3ae79946f107f16de59d5895e71"
integrity sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==
wangeditor@4.7.15:
wangeditor@^4.7.15:
version "4.7.15"
resolved "https://registry.npmmirror.com/wangeditor/-/wangeditor-4.7.15.tgz#38c5e279a79d0428e4fd77ae5be46367e9c819e5"
resolved "https://registry.npmjs.org/wangeditor/-/wangeditor-4.7.15.tgz#38c5e279a79d0428e4fd77ae5be46367e9c819e5"
integrity sha512-aPTdREd8BxXVyJ5MI+LU83FQ7u1EPd341iXIorRNYSOvoimNoZ4nPg+yn3FGbB93/owEa6buLw8wdhYnMCJQLg==
dependencies:
"@babel/runtime" "^7.11.2"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!