Commit 8b8249d7 by crushh

update: dist

parent ece1bb6a
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
<span>展现门店升级说明</span> <span>展现门店升级说明</span>
</div> </div>
<div class="content"> <div class="content">
为了提供更好的服务,积分商城商品系统升级。不升级【展现门店】则配置继续生效;升级后通过【上架规则-人群筛选器】控制可见。 1.为了提供更好的服务,积分商城商品系统升级。不升级【展现门店】则配置继续生效;升级后通过【上架规则-人群筛选器】控制可见。<br>
2.升级后,原有的【非会员可见】失效,【非会员可见】可通过【上架规则-会员筛选-开卡状态:未开卡】实现;
</div> </div>
</div> </div>
<div class="button" @click="update"> <div class="button" @click="update">
......
...@@ -362,12 +362,12 @@ ...@@ -362,12 +362,12 @@
> >
上架 上架
</el-button> </el-button>
<el-button <!-- <el-button
type="text" type="text"
@click="goAdd(scope.row,'couponCopy')" @click="goAdd(scope.row,'couponCopy')"
> >
复制 复制
</el-button> </el-button> -->
<el-button <el-button
type="text" type="text"
@click="goAdd(scope.row,'couponEdit')" @click="goAdd(scope.row,'couponEdit')"
......
...@@ -243,7 +243,7 @@ import request from '../../service/request.js'; ...@@ -243,7 +243,7 @@ import request from '../../service/request.js';
// import getInputVal from '../../../utils/common.js'; // import getInputVal from '../../../utils/common.js';
// import stockModal from '../../../components/getSkuList'; // import stockModal from '../../../components/getSkuList';
import pickedAuto from './pickedAuto'; import pickedAuto from './pickedAuto';
import { alertInfo } from '../../utils/user.js';
export default { export default {
components: { components: {
pickedAuto, pickedAuto,
...@@ -270,7 +270,6 @@ export default { ...@@ -270,7 +270,6 @@ export default {
list: [{ timeRange: [] }], // 初始数据 list: [{ timeRange: [] }], // 初始数据
}, },
creatorLoading: false, creatorLoading: false,
enableAccessControl: false,
// 导出 // 导出
dialogVisible: false, dialogVisible: false,
excelUrl: '/api-integral-mall/pick-up-points-excel', excelUrl: '/api-integral-mall/pick-up-points-excel',
...@@ -279,18 +278,6 @@ export default { ...@@ -279,18 +278,6 @@ export default {
}; };
}, },
created () { created () {
this.getAccessControl();
// export const alertInfo = () => {
// Notification({
// title: '温馨提示',
// type: 'warning',
// message: '在此页面进行修改、删除等操作将更改本商户下所有的配置 请谨慎进行'
// });
// }
this.enableAccessControl = localStorage.getItem('enableAccessControl') != 'false';
if (this.enableAccessControl) {
alertInfo();
}
this.getStatus(); this.getStatus();
}, },
methods: { methods: {
...@@ -328,23 +315,6 @@ export default { ...@@ -328,23 +315,6 @@ export default {
} }
}); });
}, },
getAccessControl () {
const params = {
requestProject: 'integral-mall',
};
request.get('/api-auth/get-login-user-info', { params }).then(res => {
if (res.data.errorCode === 0) {
if (res.data.result.enableAccessControl) {
this.enableAccessControl = true;
} else {
this.enableAccessControl = false;
}
window.localStorage.setItem('enableAccessControl', this.enableAccessControl);
} else {
this.$message.error(res.data.message);
}
});
},
getSearchList () { getSearchList () {
this.currentPage = 1; this.currentPage = 1;
this.getList(); this.getList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment