Commit 35d57a69 by 杨北旺

修复1.1.1bug

1 parent 0b3c2936
......@@ -741,7 +741,7 @@ export default {
return
}
this.$apis.beforeSale.getHotlineApi({}).then(res => {
this.hotline = res
this.hotline = res.serviceHotline
this.getStoreInfo()
})
},
......
......@@ -232,15 +232,17 @@ export default {
watch: {
wayRadio(newValue, oldValue) {
if (newValue == 2) {
this.tableData.forEach(item => {
if (item.id == this.settingData.liveCodeId) {
this.activeId = item.liveCodeUrl
this.activeInfo = {
codeName: item.codeName,
id: item.id
if (this.tableData.length) {
this.tableData.forEach(item => {
if (item.id == this.settingData.liveCodeId) {
this.activeId = item.liveCodeUrl
this.activeInfo = {
codeName: item.codeName,
id: item.id
}
}
}
})
})
}
}
}
},
......@@ -328,33 +330,7 @@ export default {
pageSize: this.dialogTableVisible ? this.$refs.table1.page.pageSize : 10
}
this.$apis.beforeSale.activeCodeList(para).then(res => {
this.tableData = res
// 测试数据
// for (let i = 1; i < 8; i++) {
// let temp = {
// id: i,
// codeName: '渠道名称',
// codeState: '渠道state',
// qrCode: 'https://wework.qpic.cn/wwpic/125650_7Bc5IIpgSBWX9AD_1638865496/0' + '?' + i,
// createdTime: new Date(),
// codeRemark: '备注备注',
// configId: '企微configId',
// staffName: '员工名称',
// marketingName: '德德德德德德德',
// tagging: '[{"groupId":"136","tagIds":"450","name":"白富美","labelType":"企业标签组测试"},{"groupId":"49","tagIds":"147,144","name":"测试一下,商名网标签采购交易市场企业排行榜为您提供最新的标签企业排行","labelType":"HGM测试自店标签组名称"},{"groupId":"46","tagIds":"145,122,121","name":"测试一下,中层,高层","labelType":"用户类型"}]',
// staffInfo: [
// {
// id: '员工主键',
// codeId: '渠道活码ID',
// staffId: '员工ID',
// staffName: '员工姓名',
// delFlag: '是否删除(0=正常,-1=删除)',
// relationId: '员工部门关联表主键'
// }
// ]
// }
// this.tableData.push(temp)
// }
this.tableData = res.data
this.tableData.forEach(item => {
this.$set(item, 'taggingList', [])
const tagging = eval(item.tagging)
......@@ -613,7 +589,7 @@ export default {
align-items: center;
.title1 {
font-size: 20px;
font-weight: 500;
font-weight: 600;
color: #333333;
line-height: 28px;
margin-right: 8px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!