Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5ae1f90b
authored
Oct 16, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
切换到测试环境
1 parent
b2e15b95
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
78 additions
and
126 deletions
package-lock.json
package.json
src/api/modules/baseinfoApi.js
src/config/env.development.js
src/views/baseInfo/bloc.vue
src/views/baseInfo/index.vue
package-lock.json
View file @
5ae1f90
{
"name"
:
"
blog
"
,
"name"
:
"
settings
"
,
"version"
:
"0.1.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
...
...
@@ -1972,8 +1972,8 @@
},
"async-validator"
:
{
"version"
:
"1.8.5"
,
"resolved"
:
"https://registry.n
pmjs.org/async-validator/-/
async-validator-1.8.5.tgz"
,
"integrity"
:
"sha
512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA=
="
,
"resolved"
:
"https://registry.n
lark.com/async-validator/download/async-validator-1.8.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fasync-validator%2Fdownload%2F
async-validator-1.8.5.tgz"
,
"integrity"
:
"sha
1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A
="
,
"requires"
:
{
"babel-runtime"
:
"6.x"
}
...
...
@@ -2056,8 +2056,8 @@
},
"babel-helper-vue-jsx-merge-props"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.n
pmjs.org/babel-helper-vue-jsx-merge-props/-
/babel-helper-vue-jsx-merge-props-2.0.3.tgz"
,
"integrity"
:
"sha
512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=
="
"resolved"
:
"https://registry.n
lark.com/babel-helper-vue-jsx-merge-props/download
/babel-helper-vue-jsx-merge-props-2.0.3.tgz"
,
"integrity"
:
"sha
1-Iq69OzOQIyjlEyk6jkmSs4T58bY
="
},
"babel-loader"
:
{
"version"
:
"8.0.6"
,
...
...
@@ -2114,7 +2114,7 @@
},
"babel-runtime"
:
{
"version"
:
"6.26.0"
,
"resolved"
:
"https://registry.n
pmjs.org/babel-runtime/-
/babel-runtime-6.26.0.tgz"
,
"resolved"
:
"https://registry.n
lark.com/babel-runtime/download
/babel-runtime-6.26.0.tgz"
,
"integrity"
:
"sha1-llxwWGaOgrVde/4E/yM3vItWR/4="
,
"requires"
:
{
"core-js"
:
"^2.4.0"
,
...
...
@@ -2122,14 +2122,14 @@
},
"dependencies"
:
{
"core-js"
:
{
"version"
:
"2.6.1
1
"
,
"resolved"
:
"https://registry.npm
js.org/core-js/-/core-js-2.6.11
.tgz"
,
"integrity"
:
"sha
512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=
="
"version"
:
"2.6.1
2
"
,
"resolved"
:
"https://registry.npm
mirror.com/core-js/download/core-js-2.6.12
.tgz"
,
"integrity"
:
"sha
1-2TM9+nsGXjR8xWgiGdb2kIWcwuw
="
},
"regenerator-runtime"
:
{
"version"
:
"0.11.1"
,
"resolved"
:
"https://registry.n
pmjs.org/regenerator-runtime/-/
regenerator-runtime-0.11.1.tgz"
,
"integrity"
:
"sha
512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=
="
"resolved"
:
"https://registry.n
lark.com/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz?cache=0&sync_timestamp=1626993001371&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fregenerator-runtime%2Fdownload%2F
regenerator-runtime-0.11.1.tgz"
,
"integrity"
:
"sha
1-vgWtf5v30i4Fb5cmzuUBf78Z4uk
="
}
}
},
...
...
@@ -2642,7 +2642,6 @@
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.nlark.com/call-bind/download/call-bind-1.0.2.tgz"
,
"integrity"
:
"sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw="
,
"dev"
:
true
,
"requires"
:
{
"function-bind"
:
"^1.1.1"
,
"get-intrinsic"
:
"^1.0.2"
...
...
@@ -2762,8 +2761,7 @@
"charenc"
:
{
"version"
:
"0.0.2"
,
"resolved"
:
"https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz"
,
"integrity"
:
"sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc="
,
"dev"
:
true
"integrity"
:
"sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc="
},
"check-types"
:
{
"version"
:
"8.0.3"
,
...
...
@@ -3434,8 +3432,7 @@
"crypt"
:
{
"version"
:
"0.0.2"
,
"resolved"
:
"https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz"
,
"integrity"
:
"sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs="
,
"dev"
:
true
"integrity"
:
"sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs="
},
"crypto-browserify"
:
{
"version"
:
"3.12.0"
,
...
...
@@ -4177,9 +4174,9 @@
"dev"
:
true
},
"element-ui"
:
{
"version"
:
"2.1
3.0
"
,
"resolved"
:
"https://registry.n
pmjs.org/element-ui/-/element-ui-2.13.0
.tgz"
,
"integrity"
:
"sha
512-KYsHWsBXYbLELS8cdfvgJTOMSUby3UEjvsPV1V1VmgJ/DdkOAS4z3MiOrPxrT9w2Cc5lZ4eVSQiGhYFR5NVChw=
="
,
"version"
:
"2.1
5.6
"
,
"resolved"
:
"https://registry.n
lark.com/element-ui/download/element-ui-2.15.6
.tgz"
,
"integrity"
:
"sha
1-yWCa3TWvWmhqS3aF3B11fHXgHfM
="
,
"requires"
:
{
"async-validator"
:
"~1.8.1"
,
"babel-helper-vue-jsx-merge-props"
:
"^2.0.0"
,
...
...
@@ -5669,8 +5666,7 @@
"function-bind"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
,
"integrity"
:
"sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
,
"dev"
:
true
"integrity"
:
"sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"functional-red-black-tree"
:
{
"version"
:
"1.0.1"
,
...
...
@@ -5750,7 +5746,6 @@
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.nlark.com/get-intrinsic/download/get-intrinsic-1.1.1.tgz"
,
"integrity"
:
"sha1-FfWfN2+FXERpY5SPDSTNNje0q8Y="
,
"dev"
:
true
,
"requires"
:
{
"function-bind"
:
"^1.1.1"
,
"has"
:
"^1.0.3"
,
...
...
@@ -5862,10 +5857,9 @@
}
},
"glsx-common"
:
{
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-common/download/glsx-common-1.4.0.tgz"
,
"integrity"
:
"sha1-4/QaVynmtE8kfzUCfTPI0ZzBAv8="
,
"dev"
:
true
,
"version"
:
"1.4.4"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-common/download/glsx-common-1.4.4.tgz"
,
"integrity"
:
"sha1-WCA0gtJw5Lu60Ag9Zz/gxY65n8w="
,
"requires"
:
{
"axios"
:
"^0.21.3"
,
"md5"
:
"^2.3.0"
,
...
...
@@ -5877,7 +5871,6 @@
"version"
:
"0.21.4"
,
"resolved"
:
"https://registry.npmmirror.com/axios/download/axios-0.21.4.tgz?cache=0&sync_timestamp=1633067660010&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Faxios%2Fdownload%2Faxios-0.21.4.tgz"
,
"integrity"
:
"sha1-xnuQ3AVo5cHPKwuFjEO6KOLtpXU="
,
"dev"
:
true
,
"requires"
:
{
"follow-redirects"
:
"^1.14.0"
}
...
...
@@ -5885,14 +5878,12 @@
"follow-redirects"
:
{
"version"
:
"1.14.4"
,
"resolved"
:
"https://registry.nlark.com/follow-redirects/download/follow-redirects-1.14.4.tgz?cache=0&sync_timestamp=1631622163078&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.14.4.tgz"
,
"integrity"
:
"sha1-g4/fSKi73XnlLuUfsclOPtmLk3k="
,
"dev"
:
true
"integrity"
:
"sha1-g4/fSKi73XnlLuUfsclOPtmLk3k="
},
"qs"
:
{
"version"
:
"6.10.1"
,
"resolved"
:
"https://registry.nlark.com/qs/download/qs-6.10.1.tgz"
,
"integrity"
:
"sha1-STFIL6jWR6Wqt5nFJx0hM7mB+2o="
,
"dev"
:
true
,
"requires"
:
{
"side-channel"
:
"^1.0.4"
}
...
...
@@ -5900,10 +5891,9 @@
}
},
"glsx-components"
:
{
"version"
:
"1.0.4"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-components/download/glsx-components-1.0.4.tgz"
,
"integrity"
:
"sha1-pOVYde7/Q+ZeVZF2/scZQcoE8Ts="
,
"dev"
:
true
,
"version"
:
"1.0.6"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-components/download/glsx-components-1.0.6.tgz"
,
"integrity"
:
"sha1-tnrRdgyDpqwA1Ey0qT77GsKqFM4="
,
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
...
...
@@ -5912,53 +5902,9 @@
},
"dependencies"
:
{
"core-js"
:
{
"version"
:
"3.18.2"
,
"resolved"
:
"https://registry.npmmirror.com/core-js/download/core-js-3.18.2.tgz?cache=0&sync_timestamp=1633458698338&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcore-js%2Fdownload%2Fcore-js-3.18.2.tgz"
,
"integrity"
:
"sha1-Y6VR6KKfMFzUEjdUhG5liWYZuls="
,
"dev"
:
true
},
"element-ui"
:
{
"version"
:
"2.15.6"
,
"resolved"
:
"https://registry.nlark.com/element-ui/download/element-ui-2.15.6.tgz"
,
"integrity"
:
"sha1-yWCa3TWvWmhqS3aF3B11fHXgHfM="
,
"dev"
:
true
,
"requires"
:
{
"async-validator"
:
"~1.8.1"
,
"babel-helper-vue-jsx-merge-props"
:
"^2.0.0"
,
"deepmerge"
:
"^1.2.0"
,
"normalize-wheel"
:
"^1.0.1"
,
"resize-observer-polyfill"
:
"^1.5.0"
,
"throttle-debounce"
:
"^1.0.1"
}
}
}
},
"glsx-table"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmmirror.com/glsx-table/download/glsx-table-1.1.0.tgz"
,
"integrity"
:
"sha1-rMn3yPkgwgmc5rydGJZXykySBNc="
,
"requires"
:
{
"element-ui"
:
"^2.13.1"
,
"vue"
:
"^2.6.12"
},
"dependencies"
:
{
"element-ui"
:
{
"version"
:
"2.15.6"
,
"resolved"
:
"https://registry.nlark.com/element-ui/download/element-ui-2.15.6.tgz"
,
"integrity"
:
"sha1-yWCa3TWvWmhqS3aF3B11fHXgHfM="
,
"requires"
:
{
"async-validator"
:
"~1.8.1"
,
"babel-helper-vue-jsx-merge-props"
:
"^2.0.0"
,
"deepmerge"
:
"^1.2.0"
,
"normalize-wheel"
:
"^1.0.1"
,
"resize-observer-polyfill"
:
"^1.5.0"
,
"throttle-debounce"
:
"^1.0.1"
}
},
"vue"
:
{
"version"
:
"2.6.14"
,
"resolved"
:
"https://registry.npmmirror.com/vue/download/vue-2.6.14.tgz"
,
"integrity"
:
"sha1-5RqlJQJQ1Wmj+606ilpofWA24jU="
"version"
:
"3.18.3"
,
"resolved"
:
"https://registry.npmmirror.com/core-js/download/core-js-3.18.3.tgz"
,
"integrity"
:
"sha1-hqC7otjsPfhg/vzAeo0Rl3nwFQk="
}
}
},
...
...
@@ -6024,7 +5970,6 @@
"version"
:
"1.0.3"
,
"resolved"
:
"https://registry.npmjs.org/has/-/has-1.0.3.tgz"
,
"integrity"
:
"sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw=="
,
"dev"
:
true
,
"requires"
:
{
"function-bind"
:
"^1.1.1"
}
...
...
@@ -6055,8 +6000,7 @@
"has-symbols"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz"
,
"integrity"
:
"sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
,
"dev"
:
true
"integrity"
:
"sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
},
"has-unicode"
:
{
"version"
:
"2.0.1"
,
...
...
@@ -6665,8 +6609,7 @@
"is-buffer"
:
{
"version"
:
"1.1.6"
,
"resolved"
:
"https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz"
,
"integrity"
:
"sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
,
"dev"
:
true
"integrity"
:
"sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-callable"
:
{
"version"
:
"1.1.5"
,
...
...
@@ -7403,7 +7346,6 @@
"version"
:
"2.3.0"
,
"resolved"
:
"https://registry.npm.taobao.org/md5/download/md5-2.3.0.tgz"
,
"integrity"
:
"sha1-w9qaaq46MLRreww0m4exENw72k8="
,
"dev"
:
true
,
"requires"
:
{
"charenc"
:
"0.0.2"
,
"crypt"
:
"0.0.2"
,
...
...
@@ -8095,7 +8037,7 @@
},
"normalize-wheel"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npm
js.org/normalize-wheel/-
/normalize-wheel-1.0.1.tgz"
,
"resolved"
:
"https://registry.npm
.taobao.org/normalize-wheel/download
/normalize-wheel-1.0.1.tgz"
,
"integrity"
:
"sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
},
"npm-run-path"
:
{
...
...
@@ -9840,8 +9782,8 @@
},
"resize-observer-polyfill"
:
{
"version"
:
"1.5.1"
,
"resolved"
:
"https://registry.n
pmjs.org/resize-observer-polyfill/-
/resize-observer-polyfill-1.5.1.tgz"
,
"integrity"
:
"sha
512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=
="
"resolved"
:
"https://registry.n
lark.com/resize-observer-polyfill/download
/resize-observer-polyfill-1.5.1.tgz"
,
"integrity"
:
"sha
1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ
="
},
"resolve"
:
{
"version"
:
"1.14.1"
,
...
...
@@ -10302,7 +10244,6 @@
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npm.taobao.org/sha1/download/sha1-1.1.1.tgz"
,
"integrity"
:
"sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg="
,
"dev"
:
true
,
"requires"
:
{
"charenc"
:
">= 0.0.1"
,
"crypt"
:
">= 0.0.1"
...
...
@@ -10342,7 +10283,6 @@
"version"
:
"1.0.4"
,
"resolved"
:
"https://registry.nlark.com/side-channel/download/side-channel-1.0.4.tgz"
,
"integrity"
:
"sha1-785cj9wQTudRslxY1CkAEfpeos8="
,
"dev"
:
true
,
"requires"
:
{
"call-bind"
:
"^1.0.0"
,
"get-intrinsic"
:
"^1.0.2"
,
...
...
@@ -10352,8 +10292,7 @@
"object-inspect"
:
{
"version"
:
"1.11.0"
,
"resolved"
:
"https://registry.nlark.com/object-inspect/download/object-inspect-1.11.0.tgz?cache=0&sync_timestamp=1626120241132&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fobject-inspect%2Fdownload%2Fobject-inspect-1.11.0.tgz"
,
"integrity"
:
"sha1-nc6xRs7dQUig2eUauI00z1CZIrE="
,
"dev"
:
true
"integrity"
:
"sha1-nc6xRs7dQUig2eUauI00z1CZIrE="
}
}
},
...
...
@@ -11148,8 +11087,8 @@
},
"throttle-debounce"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npm
js.org/throttle-debounce/-/
throttle-debounce-1.1.0.tgz"
,
"integrity"
:
"sha
512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg=
="
"resolved"
:
"https://registry.npm
.taobao.org/throttle-debounce/download/throttle-debounce-1.1.0.tgz?cache=0&sync_timestamp=1604313832516&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fthrottle-debounce%2Fdownload%2F
throttle-debounce-1.1.0.tgz"
,
"integrity"
:
"sha
1-UYU9o3vmihVctugns1FKPEIuic0
="
},
"through"
:
{
"version"
:
"2.3.8"
,
...
...
package.json
View file @
5ae1f90
...
...
@@ -11,7 +11,6 @@
"axios"
:
"^0.21.1"
,
"core-js"
:
"^3.4.4"
,
"el-tree-transfer"
:
"^2.2.6"
,
"glsx-common"
:
"^1.4.0"
,
"glsx-components"
:
"^1.0.6"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
...
...
@@ -29,6 +28,7 @@
"eslint"
:
"^5.16.0"
,
"eslint-plugin-prettier"
:
"^3.1.1"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"glsx-common"
:
"^1.4.4"
,
"node-sass"
:
"^4.14.1"
,
"prettier"
:
"^1.19.1"
,
"sass-loader"
:
"^8.0.0"
,
...
...
src/api/modules/baseinfoApi.js
View file @
5ae1f90
...
...
@@ -37,7 +37,7 @@ export function toGL(params = {}) {
// cn.com.glsx.merchants.merchant.findMerchantBaseInfo
// 查询商户基本信息
export
function
merchantInfo
(
params
=
{})
{
params
.
method
=
'
cn.com.glsx.merchants.merchant.findMerchantBaseInfo
'
params
.
method
=
'
org.ore.api.common.findMerchantInfoByMerchantNo.list
'
return
http
({
data
:
params
,
})
...
...
src/config/env.development.js
View file @
5ae1f90
...
...
@@ -18,7 +18,7 @@ module.exports = {
},
request
:
{
// baseURL: 'http://192.168.3.191:8064/rop-scrm-entmicro/router',
baseURL
:
'http
://rop-merchant.test.glsx.com.cn/rop-merchants
/router'
,
baseURL
:
'http
s://scrm.test.glsx.com.cn/rop-scrm-entmicro
/router'
,
// 设置超时时间
timeout
:
180000
,
// 携带凭证
...
...
src/views/baseInfo/bloc.vue
View file @
5ae1f90
...
...
@@ -152,6 +152,10 @@ export default {
height
:
494px
;
//
transition
:
height
0.1s
ease-in-out
;
}
.table_wrapper_open
::-webkit-scrollbar
{
display
:
none
;
width
:
0px
;
}
.fixed_footer
{
width
:
100%
;
height
:
36px
;
...
...
src/views/baseInfo/index.vue
View file @
5ae1f90
<
template
>
<div
class=
"base-info-index"
>
<div
class=
"top_widget"
>
<img
class=
"sign_icon"
src=
"../../assets/scrm_base_info_icon_one.png"
/>
<div
class=
"info_widget"
>
<div
class=
"title_text"
>
{{
blocInfo
.
merchantName
}}
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
<div
class=
"out_main"
>
<div
class=
"base-info-index"
>
<div
class=
"top_widget"
>
<img
class=
"sign_icon"
src=
"../../assets/scrm_base_info_icon_one.png"
/>
<div
class=
"info_widget"
>
<div
class=
"title_text"
>
{{
blocInfo
.
merchantName
}}
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
</div>
<div
class=
"sec_title_text dr_top_1"
>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'无'
}}
</span>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"platform == 1 ? 'auth_btn_cp' : ''"
>
已授权
</div>
</div>
<div
class=
"min_text dr_top_1"
>
所属企业:
{{
blocInfo
.
parentName
}}
</div>
<div
class=
"min_text"
>
企微员工:
{{
blocInfo
.
entMicroEmployeeCount
}}
人
</div>
</div>
<div
class=
"sec_title_text dr_top_1"
>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'无'
}}
</span>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"platform == 1 ? 'auth_btn_cp' : ''"
>
已授权
</div>
</div>
<div
class=
"min_text dr_top_1"
>
所属企业:
{{
blocInfo
.
parentName
}}
</div>
<div
class=
"min_text"
>
企微员工:
{{
blocInfo
.
entMicroEmployeeCount
}}
人
</div>
</div>
<blocModule
:bloc=
"blocInfo"
:list
.
sync=
"storesList"
v-if=
"platform == 1"
></blocModule>
<shopModule
v-if=
"platform == 2"
></shopModule>
</div>
<blocModule
:bloc=
"blocInfo"
:list
.
sync=
"storesList"
v-if=
"platform == 1"
></blocModule>
<shopModule
v-if=
"platform == 2"
></shopModule>
</div>
</
template
>
...
...
@@ -41,22 +43,26 @@ export default {
}
},
created
()
{
console
.
log
(
this
.
$globalState
);
console
.
log
(
this
.
$globalState
)
const
{
session
}
=
this
.
$globalState
this
.
platform
=
session
.
merchantModel
this
.
loginInfo
=
session
this
.
getBlocData
()
},
methods
:
{
getBlocData
()
{
let
para
=
{
merchantId
:
44209603
merchantId
:
this
.
loginInfo
.
merchantId
,
sessionId
:
this
.
loginInfo
.
sessionId
}
merchantInfo
(
para
).
then
(
res
=>
{
this
.
blocInfo
=
res
this
.
storesList
=
res
.
stores
.
map
(
item
=>
{
item
.
date
=
`
${
this
.
dateFormat
(
item
.
starttime
,
'yyyy.MM.dd'
)}
--
${
this
.
dateFormat
(
item
.
endtime
,
'yyyy.MM.dd'
)}
`
this
.
storesList
=
res
.
stores
.
map
(
item
=>
{
item
.
date
=
`
${
this
.
dateFormat
(
item
.
starttime
,
'yyyy.MM.dd'
)}
--
${
this
.
dateFormat
(
item
.
endtime
,
'yyyy.MM.dd'
)}
`
return
item
})
let
aaa
=
this
.
storesList
[
0
]
for
(
let
i
=
0
;
i
<
30
;
i
++
)
{
for
(
let
i
=
0
;
i
<
30
;
i
++
)
{
this
.
storesList
.
push
(
aaa
)
}
})
...
...
@@ -90,16 +96,19 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.base-info-index
{
.out_main
{
box-sizing
:
border-box
;
padding
:
0
20px
64px
40px
;
}
.base-info-index
{
width
:
100%
;
height
:
calc
(
100vh
-
124px
);
background
:
#
FFF
;
min-
height
:
calc
(
100vh
-
124px
);
background
:
#
fff
;
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow-y
:
scroll
;
//
overflow
:
hidden
;
//
overflow-y
:
scroll
;
}
.base-info-index
::-webkit-scrollbar
{
.base-info-index
::-webkit-scrollbar
{
display
:
none
;
width
:
0px
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment