Compare commits

...

2 Commits

Author SHA1 Message Date
luyan d5e6c74939 第一次提交 10 months ago
luyan a7c0b3720b 移除注释代码; 10 months ago
  1. 3
      .env.development
  2. 7
      src/views/components/tinymce/index.vue
  3. 91
      src/views/main-content.vue
  4. 46
      src/views/main-navbar.vue
  5. 29
      src/views/main-sidebar-sub-menu.vue
  6. 107
      src/views/main-sidebar.vue
  7. 20
      src/views/main.vue
  8. 52
      src/views/modules/home/notice.vue
  9. 2
      src/views/modules/unopen.vue
  10. 3
      vue.config.js

3
.env.development

@ -2,7 +2,8 @@ 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://219.146.91.110:30801/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_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

7
src/views/components/tinymce/index.vue

@ -6,9 +6,6 @@
import loadTinymce from "@/utils/loadTinymce";
import { plugins, toolbar } from "./config";
import { debounce } from "throttle-debounce";
import Cookie from "js-cookie";
// import constants from '@/utils/constants'
import nextTick from "dai-js/tools/nextTick";
let num = 1;
export default {
name: "Tinymce",
@ -36,12 +33,8 @@ export default {
mounted() {
loadTinymce((tinymce) => {
let token = this.getUserToken();
// let uploadUrl = '1111'
let uploadUrl =
window.SITE_CONFIG["apiURL"] + "/oss/file/function/upload";
// :data="{customerId:customerId}"
// let uploadUrl = constants.userUploadUrl
// eslint-disable-next-line global-require
require("./zh_CN");
let conf = {
selector: `#${this.tinymceId}`,

91
src/views/main-content.vue

@ -5,10 +5,8 @@
<el-dropdown class="aui-content--tabs-tools">
<i class="el-icon-arrow-down"></i>
<el-dropdown-menu slot="dropdown" :show-timeout="0">
<el-dropdown-item
@click.native="tabRemoveHandle($store.state.contentTabsActiveName)"
>{{ $t("contentTabs.closeCurrent") }}</el-dropdown-item
>
<el-dropdown-item @click.native="tabRemoveHandle($store.state.contentTabsActiveName)">{{
$t("contentTabs.closeCurrent") }}</el-dropdown-item>
<el-dropdown-item @click.native="tabsCloseOtherHandle()">{{
$t("contentTabs.closeOther")
}}</el-dropdown-item>
@ -17,40 +15,21 @@
}}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-tabs
v-model.trim="$store.state.contentTabsActiveName"
@tab-click="tabSelectedHandle"
@tab-remove="tabRemoveHandle"
>
<el-tabs v-model.trim="$store.state.contentTabsActiveName" @tab-click="tabSelectedHandle"
@tab-remove="tabRemoveHandle">
<!-- item.name !== 'indexWork', -->
<el-tab-pane
v-for="item in $store.state.contentTabs"
:key="item.name"
:name="item.name"
:label="item.title"
:closable="item.name !== 'home'"
:class="{ 'is-iframe': tabIsIframe(item.iframeURL) }"
>
<el-tab-pane v-for="item in $store.state.contentTabs" :key="item.name" :name="item.name"
:label="item.title" :closable="item.name !== 'home'"
:class="{ 'is-iframe': tabIsIframe(item.iframeURL) }">
<template v-if="tabIsIframe(item.iframeURL)">
<iframe
:src="
item.iframeURL + '?token=' + token + '&customerId=' + customerId
"
ref="iframes"
class="iframes"
id="iframes"
width="100%"
height="100%"
frameborder="0"
scrolling="yes"
></iframe>
<iframe :src="item.iframeURL + '?token=' + token + '&customerId=' + customerId
" ref="iframes" class="iframes" id="iframes" width="100%" height="100%" frameborder="0"
scrolling="yes"></iframe>
<!-- <div v-if="tabIsIframe(item.iframeURL)" id="addend-iframe" style="height: 100%;"> </div> -->
</template>
<keep-alive v-else>
<router-view
v-if="item.name === $store.state.contentTabsActiveName"
@changeCustomerName="changeCustomerName"
/>
<router-view v-if="item.name === $store.state.contentTabsActiveName"
@changeCustomerName="changeCustomerName" />
</keep-alive>
</el-tab-pane>
</el-tabs>
@ -62,53 +41,28 @@
</keep-alive>
</template>
<template v-for="(item, index) in msgList">
<Tips
:key="item.memoId"
:info="item"
:show="msgList.length > 0 ? true : false"
@look="handleLook(item, index)"
@close="handleClose(item, index)"
/>
<Tips :key="item.memoId" :info="item" :show="msgList.length > 0 ? true : false"
@look="handleLook(item, index)" @close="handleClose(item, index)" />
</template>
<el-dialog
:title="dialogTitle"
:visible.sync="dialogFormVisible"
:close-on-click-modal="false"
top="5vh"
width="950px"
class="dialog-h"
append-to-body
>
<work-form
v-if="formType == 'work_diary'"
ref="ref_form"
@dialogCancle="
<el-dialog :title="dialogTitle" :visible.sync="dialogFormVisible" :close-on-click-modal="false" top="5vh"
width="950px" class="dialog-h" append-to-body>
<work-form v-if="formType == 'work_diary'" ref="ref_form" @dialogCancle="
dialogFormVisible = false;
formType = '';
"
/>
<h-form
v-if="formType == 'concern'"
ref="concern_form"
@dialogCancle="
" />
<h-form v-if="formType == 'concern'" ref="concern_form" @dialogCancle="
dialogFormVisible = false;
formType = '';
"
/>
<d-form
v-if="formType == 'difficulty'"
ref="difficulty_form"
@dialogCancle="
" />
<d-form v-if="formType == 'difficulty'" ref="difficulty_form" @dialogCancle="
dialogFormVisible = false;
formType = '';
"
/>
" />
</el-dialog>
</main>
</template>
<script>
import { isURL } from "@/utils/validate";
import Cookie from "js-cookie";
import Tips from "./tips.vue";
import { requestPost } from "@/js/dai/request";
import workForm from "./modules/secretaryLog/workLog/form.vue";
@ -285,6 +239,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "~@/assets/scss/c/function.scss";
.aui-content {
position: relative;
// height: calc(100vh -50px) !important;

46
src/views/main-navbar.vue

@ -2,21 +2,28 @@
<div>
<nav v-if="showHeader" class="aui-navbar">
<div class="aui-navbar__header">
<div class="aui-navbar__logo"><img v-if="$store.state.user.headUrl" :src="$store.state.user.headUrl" /></div>
<div class="aui-navbar__logo"><img v-if="$store.state.user.headUrl" :src="$store.state.user.headUrl" />
</div>
<h1 class="aui-navbar__brand">
<a class="aui-navbar__brand-lg" href="javascript:;" style="width:fit-content;">{{ this.$store.state.user.agencyName }}</a>
<a class="aui-navbar__brand-mini" href="javascript:;">{{ this.$store.state.user.agencyName.slice(0, 2) }}</a>
<a class="aui-navbar__brand-lg" href="javascript:;" style="width:fit-content;">{{
this.$store.state.user.agencyName }}</a>
<a class="aui-navbar__brand-mini" href="javascript:;">{{ this.$store.state.user.agencyName.slice(0,
2) }}</a>
</h1>
</div>
<div class="aui-navbar__body">
<el-menu class="aui-navbar__menu mr-auto" mode="horizontal">
<el-menu-item v-if="false" index="1" @click="$store.state.sidebarFold = !$store.state.sidebarFold">
<svg class="icon-svg aui-navbar__icon-menu aui-navbar__icon-menu--switch" aria-hidden="true"><use xlink:href="#icon-outdent"></use></svg>
<svg class="icon-svg aui-navbar__icon-menu aui-navbar__icon-menu--switch" aria-hidden="true">
<use xlink:href="#icon-outdent"></use>
</svg>
</el-menu-item>
<el-menu-item v-if="true" index="2" @click="refresh()">
<svg class="icon-svg aui-navbar__icon-menu" aria-hidden="true"><use xlink:href="#icon-sync"></use></svg>
<svg class="icon-svg aui-navbar__icon-menu" aria-hidden="true">
<use xlink:href="#icon-sync"></use>
</svg>
</el-menu-item>
</el-menu>
@ -27,18 +34,6 @@
<span>智能分析</span>
</div>
</el-menu-item>
<!-- <el-menu-item index="3" @click="$router.push({ name: 'dataBoard' })">
<div class="nav-item">
<img src="~@/assets/images/main/nav-zntb.png" />
<span>智能填报</span>
</div>
</el-menu-item> -->
<!-- <el-menu-item index="3" @click="$router.push({ name: 'dataBoard' })">
<div class="nav-item">
<img src="~@/assets/images/main/nav-sjjy.png" />
<span>数据校验</span>
</div>
</el-menu-item> -->
</el-menu>
<el-menu class="aui-navbar__menu" mode="horizontal" style="min-width: 180px">
@ -58,13 +53,15 @@
<el-menu-item index="1" class="aui-navbar__avatar">
<el-dropdown placement="bottom" :show-timeout="0">
<span class="el-dropdown-link">
<img v-if="$store.state.user.gender === '2'" src="~@/assets/images/main/default-avatar.png" />
<img v-if="$store.state.user.gender === '2'"
src="~@/assets/images/main/default-avatar.png" />
<img v-else src="~@/assets/images/main/default-avatar.png" />
<span>{{ $store.state.user.realName }}</span>
<i class="el-icon-arrow-down"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="updatePasswordHandle()">{{ $t('updatePassword.title') }}</el-dropdown-item>
<el-dropdown-item @click.native="updatePasswordHandle()">{{ $t('updatePassword.title')
}}</el-dropdown-item>
<el-dropdown-item @click.native="logoutHandle()">{{ $t('logout') }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -78,7 +75,8 @@
<div class="m-newMsg" v-if="noticeList.length > 0 && displayedNoticeList">
<div class="title">新提醒</div>
<div class="btn-close" @click="displayedNoticeList = false"><img src="~@/assets/images/main/close.png" /></div>
<div class="btn-close" @click="displayedNoticeList = false"><img src="~@/assets/images/main/close.png" />
</div>
<div class="row">
<span class="date">{{ noticeList[0].createdTime }}</span>
<i class="i-new">NEW</i>
@ -278,6 +276,7 @@ export default {
height: 50px;
background: #eeeeee;
}
.img-nav {
position: relative;
@ -323,19 +322,23 @@ export default {
color: rgba(0, 0, 0, 0.85);
line-height: 22px;
}
.btn-close {
position: absolute;
top: 15px;
right: 10px;
padding: 6px;
img {
width: 16px;
}
}
.row {
display: flex;
align-items: center;
}
.date {
height: 17px;
font-size: 12px;
@ -344,6 +347,7 @@ export default {
color: rgba(0, 0, 0, 0.45);
line-height: 17px;
}
.i-new {
margin-left: 8px;
width: 40px;
@ -357,6 +361,7 @@ export default {
line-height: 16px;
text-align: center;
}
.cnt {
@include toeM(2);
margin-top: 3px;
@ -368,6 +373,7 @@ export default {
font-weight: 400;
line-height: 22px;
cursor: pointer;
&:hover {
color: #0056d6 !important;
}

29
src/views/main-sidebar-sub-menu.vue

@ -9,33 +9,19 @@
-->
<template>
<div v-if="menu.showFlag">
<el-submenu
v-show="menu.showFlag == 1"
v-if="menu.children && menu.children.length >= 1"
:index="menu.id"
ref="subMenu"
popper-append-to-body
>
<el-submenu v-show="menu.showFlag == 1" v-if="menu.children && menu.children.length >= 1" :index="menu.id"
ref="subMenu" popper-append-to-body>
<template slot="title">
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
<use :xlink:href="`#${menu.icon}`" />
</svg>
<span :title="menu.name">{{ menu.name }}</span>
</template>
<sub-menu
:root="false"
v-show="item.showFlag == 1"
v-for="item in menu.children"
:key="item.id"
:menu="item"
></sub-menu>
<sub-menu :root="false" v-show="item.showFlag == 1" v-for="item in menu.children" :key="item.id"
:menu="item"></sub-menu>
</el-submenu>
<el-menu-item
:class="{ 'activeTow': menu.id == $store.state.LevelTowMenuActiveName }"
v-else
:index="menu.id"
@click="gotoRouteHandle(menu.id)"
>
<el-menu-item :class="{ 'activeTow': menu.id == $store.state.LevelTowMenuActiveName }" v-else :index="menu.id"
@click="gotoRouteHandle(menu.id)">
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
<use :xlink:href="`#${menu.icon}`" />
</svg>
@ -83,12 +69,15 @@ export default {
</script>
<style lang="scss" scoped>
@import "~@/assets/scss/c/function.scss";
/deep/ .el-menu-item {
@include toe;
}
.activeTow {
background-color: #ecf4fe;
}
.activeTow::after {
display: inline-block;
content: '';

107
src/views/main-sidebar.vue

@ -6,91 +6,28 @@
<div class="nav-item" @click="toIndexPage" v-if="false">
<span>全部菜单</span>
</div>
<div
class="nav-item"
:class="{ 'z-on': $store.state.LevelOneMenuActiveName == '' }"
@click="toIndexPage"
>
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
<use xlink:href="#icon-desktop" />
</svg>
<span>首页</span>
</div>
<div
class="nav-item"
:class="{ 'z-on': menu.id == $store.state.LevelOneMenuActiveName }"
v-show="menu.showFlag == 1"
v-for="(menu, idx) in $store.state.sidebarMenuList"
:key="menu.id"
@click="gotoRouteHandle(menu.id, idx)"
>
<svg
v-if="menu.icon"
class="icon-svg aui-sidebar__menu-icon"
aria-hidden="true"
>
<div class="nav-item" :class="{ 'z-on': menu.id == $store.state.LevelOneMenuActiveName }"
v-show="menu.showFlag == 1" v-for="(menu, idx) in $store.state.sidebarMenuList" :key="menu.id"
@click="gotoRouteHandle(menu.id, idx)">
<svg v-if="menu.icon" class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
<use :xlink:href="`#${menu.icon}`" />
</svg>
<span>{{ menu.name }}</span>
</div>
<!-- <div class="nav-div"></div> -->
<!-- <div class="nav-item" @click="$router.push({ name: 'dataBoard' })">
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
<use xlink:href="#icon-stock" />
</svg>
<span>可视化</span>
</div> -->
<!-- <div class="nav-item" @click="$router.push({ name: 'main-shuju' })">
<svg class="icon-svg aui-sidebar__menu-icon" aria-hidden="true">
<use xlink:href="#icon-stock" />
</svg>
<span>可视化旧</span>
</div> -->
</div>
</div>
<div
class="m-folder"
v-show="$store.state.sidebarActiveSubMenuList.length != 0"
@click="$store.state.sidebarFold = !$store.state.sidebarFold"
>
<img
v-show="!$store.state.sidebarFold"
class="z-normal"
src="~@/assets/images/main/fold.png"
/>
<img
v-show="!$store.state.sidebarFold"
class="z-on"
src="~@/assets/images/main/fold-on.png"
/>
<img
v-show="$store.state.sidebarFold"
class="z-normal"
src="~@/assets/images/main/unfold.png"
/>
<img
v-show="$store.state.sidebarFold"
class="z-on"
src="~@/assets/images/main/unfold-on.png"
/>
<div class="m-folder" v-show="$store.state.sidebarActiveSubMenuList.length != 0"
@click="$store.state.sidebarFold = !$store.state.sidebarFold">
<img v-show="!$store.state.sidebarFold" class="z-normal" src="~@/assets/images/main/fold.png" />
<img v-show="!$store.state.sidebarFold" class="z-on" src="~@/assets/images/main/fold-on.png" />
<img v-show="$store.state.sidebarFold" class="z-normal" src="~@/assets/images/main/unfold.png" />
<img v-show="$store.state.sidebarFold" class="z-on" src="~@/assets/images/main/unfold-on.png" />
</div>
<div
class="aui-sidebar_wrap"
v-show="$store.state.sidebarActiveSubMenuList.length != 0"
>
<div class="aui-sidebar_wrap" v-show="$store.state.sidebarActiveSubMenuList.length != 0">
<div class="aui-sidebar__inner">
<el-menu
:default-active="$store.state.sidebarMenuActiveName"
:collapse="$store.state.sidebarFold"
:unique-opened="true"
:collapseTransition="false"
class="aui-sidebar__menu"
>
<sub-menu
v-for="menu in $store.state.sidebarActiveSubMenuList"
:key="menu.id"
:menu="menu"
/>
<el-menu :default-active="$store.state.sidebarMenuActiveName" :collapse="$store.state.sidebarFold"
:unique-opened="true" :collapseTransition="false" class="aui-sidebar__menu">
<sub-menu v-for="menu in $store.state.sidebarActiveSubMenuList" :key="menu.id" :menu="menu" />
</el-menu>
</div>
</div>
@ -142,13 +79,16 @@ export default {
</script>
<style lang="scss" scoped>
@import "~@/assets/scss/c/function.scss";
.el-menu--collapse .el-submenu__title span,
.el-menu--collapse .el-menu-item span {
display: none;
}
.g-sd {
display: flex;
}
/deep/ .m-folder {
position: absolute;
z-index: 100;
@ -166,20 +106,25 @@ export default {
border-radius: 100%;
overflow: hidden;
cursor: pointer;
&:hover {
.z-on {
display: block;
}
.z-normal {
display: none;
}
}
.z-on {
display: none;
}
.z-normal {
display: block;
}
img {
position: absolute;
display: block;
@ -188,6 +133,7 @@ export default {
@include hub;
}
}
/deep/ .m-nav {
box-sizing: border-box;
padding: 25px 0;
@ -196,11 +142,14 @@ export default {
height: 100%;
background: #0056d6;
overflow-y: auto;
&::-webkit-scrollbar {
width: 1px;
}
.nav {
color: rgba(#ffffff, 0.85);
.nav-div {
margin: 20px auto;
width: 28px;
@ -209,20 +158,24 @@ export default {
border-radius: 1px;
opacity: 0.45;
}
.nav-item {
font-size: 13px;
text-align: center;
padding: 11px 0 9px 0;
cursor: pointer;
.icon-svg {
margin: 0 auto;
font-size: 24px;
width: 20px !important;
}
span {
display: block;
line-height: 30px;
}
&:hover,
&.z-on {
background-color: rgba(#000, 0.1);

20
src/views/main.vue

@ -1,8 +1,5 @@
<template>
<div
v-loading.fullscreen.lock="loading"
:element-loading-text="$t('loading')"
:class="[
<div v-loading.fullscreen.lock="loading" :element-loading-text="$t('loading')" :class="[
'aui-wrapper',
{
'aui-sidebar--fold':
@ -13,18 +10,13 @@
'aui-sidebar--noside': $store.state.inIframe,
},
{ 'z-iframe': $store.state.inIframe },
]"
>
]">
<template v-if="!loading">
<main-navbar ref="ref_navbar" v-if="!$store.state.inIframe" />
<main-sidebar v-if="!$store.state.inIframe" />
<div class="aui-content__wrapper">
<main-content
v-if="!$store.state.contentIsNeedRefresh"
@changeCustomerName="changeCustomerName"
/>
<main-content v-if="!$store.state.contentIsNeedRefresh" @changeCustomerName="changeCustomerName" />
</div>
<!-- <secretary-log-notice v-if="!$store.state.inIframe" /> -->
</template>
</div>
</template>
@ -34,7 +26,6 @@ import MainSidebar from "./main-sidebar";
import MainContent from "./main-content";
import SecretaryLogNotice from "./modules/secretaryLog/cpts/notice";
import debounce from "lodash/debounce";
import { mapGetters } from "vuex";
import nextTick from "dai-js/tools/nextTick";
import { requestPost } from "@/js/dai/request";
import { clearLoginInfo } from "@/utils";
@ -115,11 +106,6 @@ export default {
},
async syncLevelOneMenuActive(menuId) {
await nextTick();
console.log(
"*******************************",
menuId,
this.$store.state.sidebarMenuList
);
const fn = (item) => {
if (item.id == menuId) {
return true;

52
src/views/modules/home/notice.vue

@ -10,23 +10,14 @@
</div>
</div>
<div class="cnt" v-if="noticeData.length > 0">
<div
@click="handleClickNotice(item, index)"
:class="{ 'z-readed': item.readFlag == 1 }"
class="item"
:key="'notice' + item.targetId + index"
v-for="(item, index) in noticeData"
>
<div @click="handleClickNotice(item, index)" :class="{ 'z-readed': item.readFlag == 1 }"
class="item" :key="'notice' + item.targetId + index" v-for="(item, index) in noticeData">
<i class="i-tag" v-if="item.readFlag == 1">已读</i>
<i class="i-tag" v-else>未读</i>
<div class="item-title">
{{ item.content }}
</div>
<div
v-if="item.readFlag != 1"
@click.stop="readClearOne(item)"
class="item-btn-clear"
>
<div v-if="item.readFlag != 1" @click.stop="readClearOne(item)" class="item-btn-clear">
<img src="~@/assets/images/main/clear.png" />
标记已读
</div>
@ -35,22 +26,14 @@
</div>
<div class="cnt" v-else>
<div class="empty">
<img
src="~@/assets/images/shuju/renfang/index/empty.png"
/>
<img src="~@/assets/images/shuju/renfang/index/empty.png" />
<span>暂无提醒</span>
</div>
</div>
<div>
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pageNo"
:page-sizes="[20, 50, 100, 200]"
:page-size="parseInt(pageSize)"
layout="sizes, prev, pager, next, total"
:total="total"
>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
:current-page.sync="pageNo" :page-sizes="[20, 50, 100, 200]" :page-size="parseInt(pageSize)"
layout="sizes, prev, pager, next, total" :total="total">
</el-pagination>
</div>
</div>
@ -60,7 +43,6 @@
</template>
<script>
import { requestGet, requestPost } from "@/js/dai/request";
import nextTick from "dai-js/tools/nextTick";
import fastcall from "@/views/modules/cpts/fastcall";
export default {
components: { fastcall },
@ -250,6 +232,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "~@/assets/scss/c/function.scss";
.m-tx {
position: relative;
margin: 10px 6px;
@ -258,42 +241,51 @@ export default {
box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08),
0px 3px 6px -4px rgba(0, 0, 0, 0.12);
border-radius: 2px;
.cnt {
box-sizing: border-box;
border-radius: 2px;
overflow: hidden;
padding: 0 12px;
.empty {
margin: 100px 0;
text-align: center;
color: #999;
img {
display: block;
width: 120px;
margin: 20px auto;
}
}
.z-readed {
opacity: 0.5;
}
.item {
position: relative;
display: flex;
align-items: center;
padding: 16px 0 12px;
border-bottom: 1px dashed #f0f5fa;
&:last-child {
border-bottom: none;
}
&:hover {
.item-title {
color: #0056d6;
cursor: pointer;
}
.item-btn-clear {
display: block;
}
}
.i-tag {
display: block;
margin-right: 15px;
@ -309,6 +301,7 @@ export default {
font-style: normal;
text-align: center;
}
.item-title {
// @include toe;
width: 60%;
@ -319,6 +312,7 @@ export default {
color: rgba(0, 0, 0, 0.85);
line-height: 22px;
}
.item-btn-clear {
position: absolute;
display: none;
@ -332,11 +326,13 @@ export default {
line-height: 16px;
cursor: pointer;
transform: translateY(-50%);
img {
width: 16px;
margin-right: 3px;
}
}
.item-date {
margin-left: 100px;
font-size: 12px;
@ -347,12 +343,14 @@ export default {
}
}
}
.header {
display: flex;
justify-content: space-between;
padding: 12px 0;
margin-bottom: 10px;
border-bottom: 1px solid #f0f5fa;
.title {
height: 22px;
font-size: 16px;
@ -361,6 +359,7 @@ export default {
color: rgba(0, 0, 0, 0.85);
line-height: 22px;
}
.btn-clear {
font-size: 14px;
font-family: PingFangSC-Regular, PingFang SC;
@ -368,6 +367,7 @@ export default {
color: #0042a3;
line-height: 16px;
cursor: pointer;
img {
width: 16px;
margin-right: 3px;
@ -375,10 +375,12 @@ export default {
}
}
}
/deep/ .el-tabs__nav-wrap::after {
height: 1px;
background-color: #f0f5fa;
}
/deep/ .el-pagination__total {
// float: left;
}

2
src/views/modules/unopen.vue

@ -25,6 +25,7 @@ export default {
position: relative;
background-color: #ffffff;
height: calc(100vh - 150px);
.wrap {
position: absolute;
display: block;
@ -40,6 +41,7 @@ export default {
font-weight: bold;
color: #aaa;
text-align: center;
img {
margin-bottom: 10px;
}

3
vue.config.js

@ -35,7 +35,8 @@ module.exports = {
target: "http://bipaas.elinkservice.cn", // 我们要代理的真实接口地址
},
"/api": {
target: "http://219.146.91.110:30801", // 测试地址
target: "http://192.168.1.140", // 测试地址
// target: "http://219.146.91.110:30801", // 测试地址
// target: "http://192.168.1.60:8080", // 本地地址
// target: "https://epmet-preview.elinkservice.cn", // 演示地址
changeOrigin: true,

Loading…
Cancel
Save