Commit 5ae1f90b by 杨北旺

切换到测试环境

1 parent b2e15b95
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"core-js": "^3.4.4", "core-js": "^3.4.4",
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"glsx-common": "^1.4.0",
"glsx-components": "^1.0.6", "glsx-components": "^1.0.6",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
...@@ -29,6 +28,7 @@ ...@@ -29,6 +28,7 @@
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1", "eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.0.0",
"glsx-common": "^1.4.4",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.0", "sass-loader": "^8.0.0",
......
...@@ -37,7 +37,7 @@ export function toGL(params = {}) { ...@@ -37,7 +37,7 @@ export function toGL(params = {}) {
// cn.com.glsx.merchants.merchant.findMerchantBaseInfo // cn.com.glsx.merchants.merchant.findMerchantBaseInfo
// 查询商户基本信息 // 查询商户基本信息
export function merchantInfo(params = {}) { export function merchantInfo(params = {}) {
params.method = 'cn.com.glsx.merchants.merchant.findMerchantBaseInfo' params.method = 'org.ore.api.common.findMerchantInfoByMerchantNo.list'
return http({ return http({
data: params, data: params,
}) })
......
...@@ -18,7 +18,7 @@ module.exports = { ...@@ -18,7 +18,7 @@ module.exports = {
}, },
request: { request: {
// baseURL: 'http://192.168.3.191:8064/rop-scrm-entmicro/router', // baseURL: 'http://192.168.3.191:8064/rop-scrm-entmicro/router',
baseURL: 'http://rop-merchant.test.glsx.com.cn/rop-merchants/router', baseURL: 'https://scrm.test.glsx.com.cn/rop-scrm-entmicro/router',
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
......
...@@ -152,6 +152,10 @@ export default { ...@@ -152,6 +152,10 @@ export default {
height: 494px; height: 494px;
// transition: height 0.1s ease-in-out; // transition: height 0.1s ease-in-out;
} }
.table_wrapper_open::-webkit-scrollbar {
display: none;
width: 0px;
}
.fixed_footer { .fixed_footer {
width: 100%; width: 100%;
height: 36px; height: 36px;
......
<template> <template>
<div class="out_main">
<div class="base-info-index"> <div class="base-info-index">
<div class="top_widget"> <div class="top_widget">
<img class="sign_icon" src="../../assets/scrm_base_info_icon_one.png" /> <img class="sign_icon" src="../../assets/scrm_base_info_icon_one.png" />
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<blocModule :bloc="blocInfo" :list.sync="storesList" v-if="platform == 1"></blocModule> <blocModule :bloc="blocInfo" :list.sync="storesList" v-if="platform == 1"></blocModule>
<shopModule v-if="platform == 2"></shopModule> <shopModule v-if="platform == 2"></shopModule>
</div> </div>
</div>
</template> </template>
<script> <script>
...@@ -41,22 +43,26 @@ export default { ...@@ -41,22 +43,26 @@ export default {
} }
}, },
created() { created() {
console.log(this.$globalState); console.log(this.$globalState)
const { session } = this.$globalState
this.platform = session.merchantModel
this.loginInfo = session
this.getBlocData() this.getBlocData()
}, },
methods: { methods: {
getBlocData() { getBlocData() {
let para = { let para = {
merchantId: 44209603 merchantId: this.loginInfo.merchantId,
sessionId: this.loginInfo.sessionId
} }
merchantInfo(para).then(res => { merchantInfo(para).then(res => {
this.blocInfo = res this.blocInfo = res
this.storesList = res.stores.map(item=>{ this.storesList = res.stores.map(item => {
item.date = `${this.dateFormat(item.starttime,'yyyy.MM.dd')}--${this.dateFormat(item.endtime,'yyyy.MM.dd')}` item.date = `${this.dateFormat(item.starttime, 'yyyy.MM.dd')}--${this.dateFormat(item.endtime, 'yyyy.MM.dd')}`
return item return item
}) })
let aaa = this.storesList[0] let aaa = this.storesList[0]
for(let i = 0;i<30;i++){ for (let i = 0; i < 30; i++) {
this.storesList.push(aaa) this.storesList.push(aaa)
} }
}) })
...@@ -90,16 +96,19 @@ export default { ...@@ -90,16 +96,19 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.base-info-index{ .out_main{
box-sizing: border-box;
padding: 0 20px 64px 40px;
}
.base-info-index {
width: 100%; width: 100%;
height: calc(100vh - 124px); min-height: calc(100vh - 124px);
background: #FFF; background: #fff;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
box-sizing: border-box; // overflow: hidden;
overflow: hidden; // overflow-y: scroll;
overflow-y: scroll;
} }
.base-info-index::-webkit-scrollbar{ .base-info-index::-webkit-scrollbar {
display: none; display: none;
width: 0px; width: 0px;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!