Browse Source

党建宣传

dongming
是小王呀\24601 6 months ago
parent
commit
c49f80b0bc
  1. 8
      .env.development
  2. 1
      .env.production
  3. 2
      src/components/GridTree/nodeWrap.vue
  4. 12
      src/views/dataBoard/home/cpts/djyl.vue
  5. 10
      vue.config.js

8
.env.development

@ -1,10 +1,10 @@
NODE_ENV=development
# VUE_APP_API_SERVER = https://epmet-preview.elinkservice.cn/api
# VUE_APP_API_SERVER = http://192.168.1.60:8080/api
# # VUE_APP_API_SERVER = http://192.168.1.140/api
# VUE_APP_API_SERVER = http://219.146.91.110:30801/api
VUE_APP_API_SERVER = http://192.168.1.140/api
VUE_APP_API_LIVE = http://192.168.1.140/live/
# VUE_APP_API_SERVER = http://192.168.1.140/api
VUE_APP_API_SERVER = http://219.146.91.110:30801/api
# VUE_APP_API_SERVER = http://192.168.1.140/api
# VUE_APP_API_LIVE = http://192.168.1.140/live/
# VUE_APP_API_SERVER = http://219.146.91.110:30801/api219.146.91.110:30801
# VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api
# VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api

1
.env.production

@ -3,3 +3,4 @@ VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api
VUE_APP_BIPASS_API_SERVER = http://bipaas.elinkservice.cn/linkdata/linkdata-gateway/route
VUE_APP_NODE_ENV=prod
VUE_APP_PUBLIC_PATH=epmet-oper

2
src/components/GridTree/nodeWrap.vue

@ -8,7 +8,7 @@
</div>
</div>
</div>
</div>
</div>
<div class="branch-wrap">
<div class="branch-box-wrap">
<div class="branch-box">

12
src/views/dataBoard/home/cpts/djyl.vue

@ -2,10 +2,10 @@
<div style="height: 325px;">
<div class='flex' v-if="list.length != 0">
<div class="item" v-for="(item, index) in list" :key="index">
<img src="~@/assets/images/shuju/home/dj1.png" alt="">
<img :src="item.coverPic" alt="">
<div class="right">
<div class="title">{{ item.tittle }}</div>
<div class="agency">{{ item.partyBranchName }}</div>
<div class="title">{{ item.title }}</div>
<div class="agency">{{ item.agencyName }}</div>
</div>
</div>
</div>
@ -27,9 +27,11 @@ export default {
},
methods: {
async getList() {
let url = '/actual/base/partyBuildLeads/page'
let url = '/actual/base/communityPublicity/page'
let parm = {
agencyId: this.$store.state.user.agencyId
agencyId: this.$store.state.user.agencyId,
pageSize: 4,
pageNo: 1,
}
let { code, data, msg } = await requestPost(url, parm)
if (code === 0) {

10
vue.config.js

@ -36,8 +36,7 @@ module.exports = {
},
"/api": {
// target: " https://epmet-test.elinkservice.cn/",
// target: "http://219.146.91.110:30801", // 测试地址
// target: "http://219.146.91.110:30801", // 测试地址
// target: "http://192.168.1.60:8080", // 本地地址
target: "https://epmet-dongming.elinkservice.cn", // 演示地址
changeOrigin: true,
@ -55,6 +54,13 @@ module.exports = {
},
// webpack简单配置
configureWebpack: {
module: {
rules: [{
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto'
}]
},
// debuge调试配置
devtool: "source-map",
externals: {

Loading…
Cancel
Save