商户修复

master
许宏杰 1 year ago
parent 004d5cecc4
commit 8edc6d0631

@ -5,8 +5,8 @@ VUE_APP_TITLE = 扫码连网
ENV = 'development'
# 扫码连网/开发环境
# VUE_APP_BASE_API = 'http://localhost:8080'
VUE_APP_BASE_API = 'https://39.101.188.84:9038'
# VUE_APP_BASE_API = 'https://localhost:9038'
VUE_APP_BASE_API = 'https://www.jichuanglanhai.com:9038'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -231,13 +231,9 @@ export default {
document.body.removeChild(link);
},
handleCode(row) {
if (!this.shanghuId) {
this.$modal.msgError("您不是商家!");
return;
}
let data = {
path: "pages/index/index",
shanghuId: this.shanghuId,
shanghuId: row.shanghuId,
};
getCode(data).then((res) => {
this.imgs = "data:image/png;base64," + res.data;

@ -38,7 +38,6 @@
</el-form>
</div>
<el-table v-loading="loading" :data="posterList" :height="tableHeigth">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="广告名称" align="center" prop="posterName" />
<el-table-column label="有效起始时间" align="center" prop="startTime">
<template slot-scope="scope">
@ -58,7 +57,7 @@
>
<template slot-scope="scope">
<el-link type="primary" :href="baseUrl + scope.row.videoPath">{{
scope.row.videoPath
scope.row.posterName
}}</el-link>
</template>
</el-table-column>

Loading…
Cancel
Save