Commit 35d57a69 by 杨北旺

修复1.1.1bug

1 parent 0b3c2936
...@@ -741,7 +741,7 @@ export default { ...@@ -741,7 +741,7 @@ export default {
return return
} }
this.$apis.beforeSale.getHotlineApi({}).then(res => { this.$apis.beforeSale.getHotlineApi({}).then(res => {
this.hotline = res this.hotline = res.serviceHotline
this.getStoreInfo() this.getStoreInfo()
}) })
}, },
......
...@@ -232,15 +232,17 @@ export default { ...@@ -232,15 +232,17 @@ export default {
watch: { watch: {
wayRadio(newValue, oldValue) { wayRadio(newValue, oldValue) {
if (newValue == 2) { if (newValue == 2) {
this.tableData.forEach(item => { if (this.tableData.length) {
if (item.id == this.settingData.liveCodeId) { this.tableData.forEach(item => {
this.activeId = item.liveCodeUrl if (item.id == this.settingData.liveCodeId) {
this.activeInfo = { this.activeId = item.liveCodeUrl
codeName: item.codeName, this.activeInfo = {
id: item.id codeName: item.codeName,
id: item.id
}
} }
} })
}) }
} }
} }
}, },
...@@ -328,33 +330,7 @@ export default { ...@@ -328,33 +330,7 @@ export default {
pageSize: this.dialogTableVisible ? this.$refs.table1.page.pageSize : 10 pageSize: this.dialogTableVisible ? this.$refs.table1.page.pageSize : 10
} }
this.$apis.beforeSale.activeCodeList(para).then(res => { this.$apis.beforeSale.activeCodeList(para).then(res => {
this.tableData = res this.tableData = res.data
// 测试数据
// 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.forEach(item => { this.tableData.forEach(item => {
this.$set(item, 'taggingList', []) this.$set(item, 'taggingList', [])
const tagging = eval(item.tagging) const tagging = eval(item.tagging)
...@@ -613,7 +589,7 @@ export default { ...@@ -613,7 +589,7 @@ export default {
align-items: center; align-items: center;
.title1 { .title1 {
font-size: 20px; font-size: 20px;
font-weight: 500; font-weight: 600;
color: #333333; color: #333333;
line-height: 28px; line-height: 28px;
margin-right: 8px; margin-right: 8px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!