样式优化

cyl/dev
wangxia 2 years ago
parent 6fae47cb51
commit 815972851e

@ -3,6 +3,14 @@ import qs from "qs";
let setqs = function (data) {
return qs.stringify(data);
};
// 获取代理的客户经理信息
export function getUserManagerApi (data) {
return request({
url: "/yishoudan/costumer/manager",
// method: "post",
// data: data,
});
}
// 获取卡券信息
export function userCardApi (data) {
return request({

@ -141,7 +141,7 @@ export default {
// height: 1008px;
overflow: hidden;
background: #ffffff;
// border-radius: 4px;
border-radius: 6px;
// padding: 0px 20px 0px 20px;
h1 {
@ -168,7 +168,9 @@ export default {
}
}
.jobBox {
padding:16px 20px;
padding: 16px 20px;
border-radius: 0 0 6px 6px;
overflow: hidden;
.jobinfobox:last-of-type {
border-bottom: none;
}
@ -190,6 +192,7 @@ export default {
img {
width: 100%;
height: 100%;
border-radius: 6px;
}
span {
position: absolute;

@ -128,7 +128,7 @@
<span @click="tabchange = 0" :class="tabchange === 0 ? 'active' : ''">财务结算</span>
<span @click="tabchange = 2" :class="tabchange === 2 ? 'active' : ''">职位通告</span>
</div>
<span>我的政策更好给我供人</span>
<!-- <span>我的政策更好给我供人</span> -->
<!-- <div class="copy" @click="xiangdanVisible = true">通告</div>
<a-modal v-model="xiangdanVisible" title="通告" class="xiangdan" :footer="null" @ok="handleOk">
<template slot="content" class="jobDesp_content">
@ -544,42 +544,52 @@
</div>
<div class="maincontentright">
<div class="hotphone">
<h1 class="bottombox">
<!-- <h1 class="bottombox">
<i>服务热线</i>
</h1>
<p>0371-6611 3723</p>
<p>0371-6611 3723</p>-->
<h1 class="bottombox" style>
<i>客户经理</i>
</h1>
<!-- <div class="fcsc"> -->
<!-- <p>0371-6611 3723</p> -->
<img style="width:60px;height:60px;border-radius:50%" class="mt24" :src="managerInfo.avatar || 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg'" alt />
<p class="mt24 f16">{{managerInfo.workPhone}}</p>
<p class="f16">
{{managerInfo.name}}
<i class="iconfont icon-dianhua1 ml4 f14" style="line-height:24px"></i>
</p>
</div>
<!-- <div class="jobDetailInfo" style="display:none">
<h1 class="bottombox"><i>职位详版</i> <span class="copy" @click="copyText"></span></h1>
<p class="copyInfo">{{ jobDetail.jobDesp || "-" }}</p>
</div>-->
<a-anchor @click.prevent class="rightFixed">
<div class="companyinfo">
<div class="companydetail">
<h1 class="bottombox">
<i>企业详情</i>
</h1>
<!-- <p style="text-align: center">{{ jobDetail.aliasName || '-' }}</p> -->
<!-- <div class="imgbox">
<div class="companyinfo">
<div class="companydetail">
<h1 class="bottombox">
<i>企业详情</i>
</h1>
<!-- <p style="text-align: center">{{ jobDetail.aliasName || '-' }}</p> -->
<!-- <div class="imgbox">
<img v-if="storeImage.length !== 0" :src="storeImage[0]" alt />
<img v-else src="../../../static/img/nopicture.png" alt />
</div>-->
</div>
<div class="companylocation" style="text-align:center;padding:0 20px 20px" v-if="positionInfo.lng">
<h2 style="padding:16px 0;font-weight:600">{{store.storeName || '-'}}</h2>
<p style="padding-bottom:20px;border-bottom:1px solid #eee;font-size:16px;text-indent:16px;color:#4d575ecc;white-space:pre-line;text-align:left">{{store.storeInfo || '-' }}</p>
<!-- <h1 class="bottombox">
</div>-->
</div>
<div class="companylocation" style="text-align:center;padding:0 20px 20px" v-if="positionInfo.lng">
<h2 style="padding:16px 0;font-weight:600">{{store.storeName || '-'}}</h2>
<p style="padding-bottom:20px;border-bottom:1px solid #eee;font-size:16px;text-indent:16px;color:#4d575ecc;white-space:pre-line;text-align:left">{{store.storeInfo || '-' }}</p>
<!-- <h1 class="bottombox">
<i>企业位置</i>
</h1>-->
<div class="imgbox">
<!-- <GDMap/> -->
<GDMap :positionInfo="positionInfo"></GDMap>
<!-- <img src="../../assets/map.png" alt="" /> -->
</div>
</h1>-->
<div class="imgbox">
<!-- <GDMap/> -->
<GDMap :positionInfo="positionInfo"></GDMap>
<!-- <img src="../../assets/map.png" alt="" /> -->
</div>
</div>
</a-anchor>
<!-- <recommend /> -->
</div>
<recommend />
</div>
</div>
<!-- <div class="hotTel">
@ -598,6 +608,7 @@ import { getJobDetailApi } from '../../api/job'
import { disposeJobListData, getSalaryClassifyValue } from '../../utils/commonUtil'
import recommend from '../../components/FirstJob/components/recommend.vue'
import { nationlist } from '../../utils/datalist'
import { getUserManagerApi } from '../../api/userinfo'
import 'swiper/dist/css/swiper.css'
import Vue from 'vue'
import Viewer from 'v-viewer'
@ -688,6 +699,7 @@ export default {
// },
apply: {},
myswiper: null, // swiper
managerInfo: {},
}
},
//
@ -704,6 +716,7 @@ export default {
// console.log(this.$router.matcher.match());
this.getJobDetail()
console.log(this.$route) // params
this.getUserManager()
// Object.defineProperties("window.opener", "sessionStorage", {
// LOGIN_DATA: {},
// });
@ -811,6 +824,17 @@ export default {
console.log(error)
}
},
/**
* 获取登录人对应的客户经理信息
*/
getUserManager() {
getUserManagerApi().then(({ data }) => {
console.log(data)
// this.$store.commit('setManagerInfo', data.data)
this.managerInfo = data.data
// console.log('+++++++++++++++++++++++++', this.$store)
})
},
//
handleCancel() {
this.visible = false
@ -1047,7 +1071,7 @@ export default {
// width: 914px;
background-color: #fff;
// height: 302px;
// border-radius: 4px;
border-radius: 6px;
border: 1px solid #ededed;
display: flex;
justify-content: space-between;
@ -1155,7 +1179,7 @@ export default {
height: 26px;
line-height: 26px;
// background: rgba(51, 51, 51, 0.06);
// border-radius: 4px;
border-radius: 4px;
}
}
.jobtag1 {
@ -1194,7 +1218,7 @@ export default {
padding: 0 16px;
height: 36px;
margin-right: 20px;
// border-radius: 4px;
border-radius: 4px;
background-color: rgba(254, 97, 0, 0.1);
font-size: 18px;
font-weight: normal;
@ -1210,7 +1234,7 @@ export default {
// color: #fff;
// font-weight: normal;
// font-size: 18px;
// border-radius: 4px;
// border-radius: 4px;
// cursor: pointer;
// &:hover {
// background-color: #ff7614;
@ -1225,7 +1249,7 @@ export default {
color: #fff;
font-weight: normal;
font-size: 18px;
// border-radius: 4px;
border-radius: 4px;
text-align: center;
line-height: 36px;
cursor: pointer;
@ -1249,7 +1273,7 @@ export default {
text-align: center;
overflow: hidden;
background: rgba(255, 106, 0, 0.1);
// border-radius: 4px;
border-radius: 4px;
line-height: 30px;
div {
// font-weight: normal;
@ -1267,7 +1291,7 @@ export default {
font-size: 14px;
color: #ffffff;
border: 1px solid #ff4400;
// border-radius: 4px 4px 0px 0px;
border-radius: 4px 4px 0px 0px;
}
div:last-child {
font-weight: normal;
@ -1287,7 +1311,7 @@ export default {
line-height: 30px;
font-size: 16px;
// border: 1px solid rgba(77, 87, 94, 0.3);
// border-radius: 4px;
border-radius: 4px;
border: 1px solid #ff4400;
background-color: #fff;
color: #ff4400;
@ -1343,7 +1367,7 @@ export default {
width: 944px;
// border: 1px solid #eeefef;
overflow: hidden;
// border-radius: 4px;
border-radius: 4px;
padding: 20px 0;
background-color: #fff;
@ -1371,7 +1395,7 @@ export default {
border: 1px solid #ededed;
border-bottom: none;
cursor: pointer;
// border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
.active {
background-color: #fafafa;
@ -1407,6 +1431,7 @@ export default {
color: #ff4400 !important;
line-height: 22px;
text-align: center;
border-radius: 4px;
cursor: pointer;
&:hover {
color: #fff !important;
@ -1483,6 +1508,7 @@ export default {
width: 640px;
flex-direction: column;
font-size: 16px;
border-radius: 6px;
border: 1px solid #ededed;
> li {
display: flex;
@ -1535,7 +1561,7 @@ export default {
overflow: hidden;
// height: 114px;
// padding: 0 20px 0px 20px;
// border-radius: 4px;
border-radius: 4px;
background-color: #fff;
text-align: left;
h1 {
@ -1557,26 +1583,31 @@ export default {
}
}
.hotphone {
width: 240px;
overflow: hidden;
position: relative;
width: 240px;
height: 200px;
// height: 114px;
// padding: 0 20px 20px 20px;
// border-radius: 4px;
border: 1px solid #eee;
border-radius: 6px;
background-color: #fff;
text-align: center;
border: 1px solid #ededed;
p {
font-size: 24px;
position: absolute;
width: 100%;
font-size: 20px;
color: #ff4400;
font-weight: 600;
margin-top: 12px;
padding: 20px;
top: 75%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
}
.companyinfo {
overflow: hidden;
// padding: 0 20px 20px 20px;
// border-radius: 4px;
border-radius: 6px;
border: 1px solid #ededed;
background-color: #fff;
@ -1640,7 +1671,7 @@ export default {
.leftDesc {
.ant-descriptions-view {
width: 640px;
border-radius: 0px;
border-radius: 6px;
// border: 0 !important;
}
}
@ -1689,6 +1720,7 @@ export default {
word-break: break-all;
line-height: 28px;
color: #ff4400 !important;
border-radius: 6px;
}
.hotTel {
position: fixed;

@ -1,27 +1,5 @@
<template>
<div class="joblist-container">
<!-- <div class="searchbox">
<div class="w">
<span></span>
</div>
</div>-->
<!-- 录单弹出框 -->
<!-- <a-drawer title="报名" placement="right" :closable="true" :visible="visible" labelAlign="right" width="480" @close="onClose"> -->
<!-- <recordbill :visible.sync="visible" :firminfo="apply"></recordbill> -->
<!-- </a-drawer> -->
<!-- <a-modal
title="报名"
:visible="visible"
class="modal"
:confirm-loading="confirmLoading"
@ok="handleOk"
@cancel="handleCancel"
:maskClosable="false"
okText="提交"
cancelText="取消"
:destroyOnClose="true"
>
</a-modal>-->
<!-- 城市的弹出框 -->
<a-modal class="cityModal" transitionName v-model="visible" width="680px" @cancel="cityModalClose" title="请选择城市" :footer="null">
<div class="inputBox">
@ -198,7 +176,7 @@
<i class="iconfont icon-guanbishixin" v-show="currentCity != '全国'" @click.stop="resetCity"></i>
</div>
</div>
<button slot="suffix" @click="onSearch" style>搜索</button>
<button slot="suffix" @click="onSearch" style="border-radius:0px 6px 6px 0">搜索</button>
</a-input>
<!-- v-show="isdownHotStoreShow" -->
<!-- <ul class="downHotStore" style="display: none">
@ -232,7 +210,7 @@
<span>一手职位</span>
</a-breadcrumb-item>
</a-breadcrumb>-->
<!-- 主体部分 -->
<!-- #### 主体部分 ##### -->
<div class="w" id="maincontent">
<div class="maincontentleft" style="padding-top: 50px">
<div class="tabBar" @click="changeTab($event)">
@ -279,13 +257,13 @@
<span class="sort">{{sortStr}}</span>
<a-menu slot="overlay">
<a-menu-item>
<div class="sortMenu" :class="sortNum == 1 ?'active':''" @click="sortList('price')"></div>
<div class="sortMenu" :class="sortNum == 1 ?'active':''" @click="sortList('price')"></div>
</a-menu-item>
<a-menu-item>
<div class="sortMenu" :class="sortNum == 2 ?'active':''" @click="sortList('juli')"></div>
<div class="sortMenu" :class="sortNum == 2 ?'active':''" @click="sortList('juli')"></div>
</a-menu-item>
<a-menu-item>
<div class="sortMenu" :class="sortNum == 3 ?'active':''" @click="sortList('fuwufei')"></div>
<div class="sortMenu" :class="sortNum == 3 ?'active':''" @click="sortList('fuwufei')"></div>
</a-menu-item>
</a-menu>
</a-dropdown>
@ -494,12 +472,12 @@
><span v-else></span>
</template>-->
<router-link target="_blank" :to="'/detail?' + 'id=' + item.id + '&' + 'page=' + formvalue.pageNum" rel="opener">
<button type="primary" class="jobDesp" :style="{
<button type="primary" class="jobDesp br4" :style="{
background: item.recruitment == '1' ? '#fff' : '#f5f5f5',
}">更多</button>
</router-link>
<!-- </a-popover> -->
<button class="apply" @click="torecord(item)" v-if="item.recruitment == '1'"></button>
<button class="apply br4" @click="torecord(item)" v-if="item.recruitment == '1'"></button>
<button class="norecruitment" v-else></button>
<!-- <button @click="showmodal(item)" @click="">报名</button> -->
@ -530,14 +508,18 @@
<p class="date" :style="{ 'font-size': '16px', color: '#ff4400' }">{{ dateinfo.date }}</p>
</div>
<div class="hotphone">
<h1 class="bottombox" style=''>
<i >服务热线</i>
<h1 class="bottombox" style>
<i>客户经理</i>
</h1>
<!-- <div class="fcsc"> -->
<!-- <p class="mt20">梁双双</p> -->
<p>0371-6611 3723</p>
<!-- <p>183-0069-3820</p> -->
<!-- <p>0371-6611 3723</p> -->
<img style="width:60px;height:60px;border-radius:50%" class="mt24" :src="managerInfo.avatar || 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/service.jpg'" alt />
<p class="mt24 f16">{{managerInfo.workPhone}}</p>
<p class="f16">
{{managerInfo.name}}
<i class="iconfont icon-dianhua1 ml4 f14" style="line-height:24px"></i>
</p>
<!-- </div> -->
</div>
<!-- <div class="relationme">
@ -561,6 +543,7 @@ import {
getClassifyListApi,
// getCityApi,
} from '../../api/job'
import { getUserManagerApi } from '../../api/userinfo'
import $ from 'jquery'
import { moneyToFixed, getSalaryClassifyValue, isNotEmptyCheck } from '../../utils/commonUtil'
@ -601,7 +584,7 @@ export default {
return {
// jobMainList: [], //
sortNum: 1, //
sortStr: '工价',
sortStr: '工价优先',
specialList: [], //
classifyList: [], //
searchValue: '',
@ -715,6 +698,7 @@ export default {
lat: '',
minAge: '',
maxAge: '',
managerInfo: {},
}
},
//
@ -845,7 +829,7 @@ export default {
this.getCityWhichHasJob()
this.getHotStore()
this.getClassifyList()
this.getUserManager()
this.hideFilterContent()
if (isNotEmptyCheck(localStorage.getItem('POSITION_INFO'))) {
let position = JSON.parse(localStorage.getItem('POSITION_INFO'))
@ -874,7 +858,17 @@ export default {
// // return document.body;
// };
// },
/**
* 获取登录人对应的客户经理信息
*/
getUserManager() {
getUserManagerApi().then(({ data }) => {
console.log(data)
this.$store.commit('setManagerInfo',data.data)
this.managerInfo = data.data
console.log('+++++++++++++++++++++++++', this.$store)
})
},
//
onSearch() {
// console.log(e);
@ -1362,7 +1356,7 @@ export default {
async getCityWhichHasJob() {
try {
const { data } = await getCityWhichHasJobApi()
console.log(data);
console.log(data)
if (data.status == 200) {
let pinyinList = []
data.data.forEach((item) => {
@ -1599,16 +1593,16 @@ export default {
if (type == 'juli') {
this.formvalue.sortTag = 2
this.sortNum = 2
this.sortStr = '距离'
this.sortStr = '距离优先'
this.formvalue.lng = this.lng
this.formvalue.lat = this.lat
} else if (type == 'fuwufei') {
this.sortNum = 3
this.sortStr = '佣金'
this.sortStr = '佣金优先'
this.formvalue.sortTag = 3
} else if (type == 'price') {
this.sortNum = 1
this.sortStr = '工价'
this.sortStr = '工价优先'
this.formvalue.sortTag = 1
}
this.getJobList()
@ -1870,7 +1864,7 @@ export default {
position: absolute;
height: 86%;
width: 80px;
left: 2px;
left: 4px;
top: 50%;
padding: 0 8px;
background-color: #fff;
@ -1934,7 +1928,7 @@ export default {
text-indent: 60px;
background: #fff;
border: 2px solid #ff4400;
border-radius: 0px;
border-radius: 6px;
box-shadow: 0px 2px 4px 0px transparent;
font-size: 14px !important;
padding-right: 0;
@ -2146,98 +2140,7 @@ export default {
margin-right: 12px;
}
}
// i {
// position: relative;
// display: inline-block;
// width: 12px;
// height: 15px;
// line-height: 44px;
// margin-right: 6px;
// font-size: 12px;
// color: #c5c5c5;
// margin-top: -9px;
// &::before {
// position: relative;
// left: 0;
// top: -2px;
// }
// }
// .ant-cascader-picker {
// width: auto;
// position: relative;
// .ant-cascader-input {
// &:hover &::placeholder {
// font-size: 14px;
// color: #ff4400;
// }
// }
// .ant-cascader-input::placeholder {
// // width: auto;
// color: #4d575ecc;
// text-indent: 0;
// line-height: 20px;
// font-size: 14px;
// }
// span {
// // width: auto;
// // max-width: 150px;
// // min-width: 140px;
// text-align: left;
// }
// }
}
// .special {
// position: relative;
// div:first-child {
// height: 44px;
// // line-height: 44px;
// margin-top: -2px;
// color: #4d575ecc;
// display: flex;
// cursor: pointer;
// > .showspecial {
// height: 44px;
// overflow: hidden;
// li {
// margin: 12px 5px 0 0;
// float: left;
// height: 20px;
// line-height: 19px;
// padding: 0 8px;
// color: #fff;
// background-color: #ff4400;
// border-radius: 999px;
// i {
// display: inline-block;
// font-size: 12px;
// height: 12px;
// position: relative;
// margin-left: 3px;
// transform: scale(0.8);
// // vertical-align: middle;
// }
// &:nth-child(n + 3) {
// display: none;
// }
// }
// }
// .icon-xiala {
// transition: all 0.2s;
// position: relative;
// // float: left;
// color: #c5c5c5;
// margin-left: 4px;
// display: inline-block;
// font-size: 12px;
// transform: translateY(0px) scale(0.5);
// }
// // .turn {
// // transform: translateY(-1px) scale(0.6) rotate(180deg);
// // }
// }
// }
.claerfilter {
position: relative;
@ -2303,6 +2206,7 @@ export default {
.tabSubset {
width: 96px;
height: 40px;
border-radius: 6px 6px 0px 0px;
cursor: pointer;
&.active {
background-color: #f40;
@ -2318,6 +2222,7 @@ export default {
margin-bottom: 6px;
box-sizing: border-box;
border: 1px solid #ededed;
border-radius: 6px;
// background-color: pink;
padding: 0 12px;
.filter-title {
@ -2327,6 +2232,7 @@ export default {
justify-content: space-between;
font-size: 14px;
width: 100%;
height: 24px;
top: -34px;
left: 0;
padding-left: 20px;
@ -2340,7 +2246,7 @@ export default {
line-height: 22px;
border: 1px solid #ededed;
background-color: #f5f5f5;
border-radius: 0px;
border-radius: 4px;
color: #666;
cursor: pointer;
user-select: none;
@ -2364,7 +2270,7 @@ export default {
line-height: 20px;
border: 1px solid #ededed;
background-color: #f5f5f5;
border-radius: 0px;
border-radius: 4px;
color: #666;
cursor: pointer;
user-select: none;
@ -2398,6 +2304,7 @@ export default {
border: 1px solid #ededed;
margin-right: 8px;
user-select: none;
border-radius: 4px;
cursor: pointer;
&:hover {
border-color: #f40;
@ -2500,7 +2407,7 @@ export default {
}
}
input {
border-radius: 0px;
border-radius: 4px;
text-indent: 20px;
height: 26px;
padding: 0;
@ -2541,7 +2448,7 @@ export default {
}
}
input {
border-radius: 0px;
border-radius: 4px;
text-indent: 10px;
height: 26px;
padding: 0;
@ -2574,6 +2481,7 @@ export default {
top: -11px;
z-index: 1;
border: 1px solid #eee;
border-radius: 6px;
background-color: #fff;
box-shadow: 0 0px 10px 5px #eee;
button {
@ -2586,7 +2494,7 @@ export default {
margin-right: 8px;
float: right;
background-color: rgba(255, 68, 0, 0.9);
border-radius: 0px;
border-radius: 4px;
border: none;
color: #fff;
&:hover {
@ -2643,7 +2551,7 @@ export default {
padding: 16px;
margin-bottom: 16px;
background: #ffffff;
// border-radius: 4px;
border-radius: 6px;
transition: all 0.2s;
&:hover {
@ -2669,7 +2577,7 @@ export default {
height: 100%;
}
.default_avatar {
width: 156px;
width: 156px;
height: 156px;
display: flex;
align-items: center;
@ -2788,6 +2696,7 @@ export default {
text-align: center;
background: rgba(255, 106, 0, 0.1);
// border-radius: 4px;
border-radius: 4px;
line-height: 26px;
div {
// font-weight: normal;
@ -2929,11 +2838,12 @@ export default {
> div {
margin-bottom: 16px;
border: 1px solid #ededed;
border-radius: 6px;
}
.dateinfo {
text-align: center;
// overflow: hidden;
// border-radius: 4px;
overflow: hidden;
border-radius: 6px;
border: none;
position: relative;
padding-bottom: 10px;
@ -2962,10 +2872,10 @@ export default {
overflow: hidden;
position: relative;
width: 240px;
height: 160px;
height: 200px;
// height: 114px;
// padding: 0 20px 20px 20px;
// border-radius: 4px;
border-radius: 6px;
background-color: #fff;
text-align: center;
.bottombox {
@ -2978,7 +2888,7 @@ export default {
font-size: 20px;
color: #ff4400;
font-weight: 600;
top: 65%;
top: 75%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}

@ -1126,7 +1126,7 @@ export default {
justify-content: start;
button {
border-radius: 0;
border-radius: 6px;
transition: none;
}
@ -1716,7 +1716,7 @@ export default {
.ant-input {
font-size: 20px !important;
border-radius: 0px;
border-radius: 6px;
-webkit-text-stroke-width: 0.5px;
font-weight: 400;
@ -1739,7 +1739,7 @@ export default {
}
.ant-input {
border-radius: 0px;
border-radius: 6px;
}
/deep/ .pt1 .ant-input {
@ -1747,7 +1747,7 @@ export default {
}
/deep/ .ant-select-selection {
border-radius: 0px !important;
border-radius: 6px !important;
}
.policyRadios {
flex-wrap: wrap;

@ -163,7 +163,7 @@ export default {
font-size: 16px;
background: #fff;
border: 1px solid #dddddd;
border-radius: 0px;
border-radius: 6px;
}
.getrulecode {
padding: 0 0 0 10px;
@ -188,7 +188,7 @@ export default {
width: 64px;
height: 32px;
background: #ff4400;
border-radius: 0px;
border-radius: 6px;
border: none;
font-size: 14px;
color: #fff;

@ -59,7 +59,7 @@
</div>-->
</a-form>
<a-modal title="找回密码" :width="760" footer :visible="loginShow" class="modal" @cancel="handleCancel" :maskClosable="false" okText="提交" cancelText="取消" :destroyOnClose="true">
<updatepsw></updatepsw>
<updatepsw :loginShow.sync='loginShow'></updatepsw>
</a-modal>
</div>
</div>
@ -197,6 +197,7 @@ export default {
*
*/
handleCancel() {
console.log('er');
this.loginShow = false
},
/**
@ -226,8 +227,11 @@ export default {
.ant-form-item-control {
width: 430px !important;
}
.ant-input-affix-wrapper .ant-input-suffix {
right: 120px;
}
.ant-form-item-label {
line-height: 28px;
// line-height:40px;
label {
font-size: 16px;
}
@ -240,7 +244,7 @@ export default {
text-indent: 15px;
font-size: 16px;
padding: 0 !important;
border-radius: 0;
border-radius: 6px;
border: 1px solid #dddddd;
&:hover {
border-color: #ff4400;
@ -257,7 +261,7 @@ export default {
}
}
.forgetPsw {
height: 10px;
height: 0px;
font-size: 16px;
color: #666666;
text-align: right;
@ -269,7 +273,7 @@ export default {
height: 32px;
// margin-top: 21px;
background: #ff4400;
border-radius: 0px;
border-radius: 6px;
border: none;
font-size: 14px;
color: #fff;

@ -92,6 +92,15 @@
<i class="iconfont icon-youjiantou"></i>
</span>
</li>
<li @click="pushto('/accountsetting/loginpsw')" :class="{ tagactive: activelist === 0 }">
<span>
<i class="iconfont icon-gerenzhongxin-mima"></i>登录密码
</span>
<span>
<span>已设置</span>
<i class="iconfont icon-youjiantou"></i>
</span>
</li>
<!-- <li
@click="pushto('/accountsetting/boundbankcard')"
:class="{ tagactive: activelist === 3 }"
@ -105,7 +114,7 @@
</span>
</li>-->
</ul>
<ul>
<ul v-if="false">
<li @click="pushto('/accountsetting/loginpsw')" :class="{ tagactive: activelist === 0 }">
<span>
<i class="iconfont icon-gerenzhongxin-mima"></i>登录密码
@ -137,9 +146,9 @@
<i class="iconfont icon-youjiantou"></i>
</span>
</li>
</ul> -->
</ul>-->
</div>
<div class="rightcontent">
<div class="rightcontent br6">
<keep-alive :include="['boundwx']">
<router-view :userinfo="userinfo" :userbanklist="userbanklist" :userpoint="userpoint" :userbalance="userbalance"></router-view>
</keep-alive>
@ -472,7 +481,7 @@ export default {
width: 346px;
height: 158px;
background: #ffffff;
border-radius: 0px;
border-radius: 6px;
padding: 24px 0;
text-align: center;
border: 1px solid #ededed;
@ -540,7 +549,7 @@ export default {
// margin-top: 16px;
// padding: 0 16px;
background-color: #fff;
border-radius: 0px;
border-radius: 6px;
overflow: hidden;
li {
position: relative;
@ -602,29 +611,32 @@ export default {
background-color: #fff;
margin-top: 16px;
// padding: 0 16px;
border-radius: 0px;
border-radius: 6px;
overflow: hidden;
border: 1px solid #ededed;
// border: 1px solid #ededed;
li {
position: relative;
display: flex;
padding: 16px;
line-height: 24px;
justify-content: space-between;
border-radius: 6px;
cursor: pointer;
&:not(:last-child) {
margin-bottom: 4px;
// border-bottom: 1px solid #ededed;
}
&:nth-child(-n + 3):after {
position: absolute;
content: '';
display: inline-block;
height: 1px;
width: 314px;
bottom: -1px;
left: 16px;
background-color: #f3f4f4;
}
// &:nth-child(-n + 3):after {
// position: absolute;
// content: '';
// display: inline-block;
// height: 1px;
// width: 314px;
// bottom: -1px;
// left: 16px;
// background-color: #f3f4f4;
// }
> span:first-child {
font-size: 16px;
display: flex;
@ -650,17 +662,18 @@ export default {
}
&:hover {
// background-color: #ff4400 !important;
color: #ff4400;
background-color: #f0f0f0;
// color: #ff4400;
span {
span {
color: #ff4400;
// color: #ff4400;
}
i {
color: #ff4400;
// color: #ff4400;
}
}
i {
color: #ff4400;
// color: #ff4400;
}
}
}

@ -55,7 +55,7 @@
<div class="searchinput f40">
<a-input placeholder="搜索工单号/职位/姓名/电话/身份证号" allowClear @keyup.enter="onSearch" @input="resetsearch" v-model="pagination.keys">
<i slot="prefix" class="iconfont icon-sousuo"></i>
<button slot="suffix" @click="onSearch"></button>
<button slot="suffix" @click="onSearch" style="border-radius:0px 6px 6px 0"></button>
</a-input>
<div>
<div>报名时间</div>
@ -101,7 +101,7 @@
</li>
</ul>
<ul class="billInfo" style>
<li>
<li style="border-radius:0 0 0 6px">
<div class="serial">{{ index + 1 }}</div>
<i class="iconfont icon-shenfenzheng" :style="{
color: item.idCardImageUrl !== '' ? '#ff4400cc' : '#666',
@ -113,13 +113,21 @@
<div>{{ item.storeJobName }}</div>
</li>
<li>
<p>员工薪资<br/>{{ item.employeeSalary || '-' }} <br/> <br/>代理政策<br/>{{ item.policy || '-' }}</p>
<p>
员工薪资
<br />
{{ item.employeeSalary || '-' }}
<br />
<br />代理政策
<br />
{{ item.policy || '-' }}
</p>
<div v-show="item.isunfold" class="policyControl" @click="changeStatus(item, index)" :ref="'Control' + index">
<span v-show="item.controlUnfold"></span>
<span v-show="!item.controlUnfold"></span>
</div>
</li>
<li>
<li style="border-radius:0 0 6px 0 ">
<span style="color: #ff4400; cursor: pointer" @click="showDetail(item)">{{ item.statusTag }}</span>
<span v-show="item.statusShowTime">{{ item.statusTimeInfo }}: {{ item.statusShowTime }}</span>
<span v-show="item.status == 40 || item.status == 50"></span>
@ -567,6 +575,7 @@ export default {
},
resetpag() {
// this.pagination.status = this.pagination.status
this.pagination.pageNum = 1
this.getBill()
this.userBillNumber()
},
@ -1094,7 +1103,7 @@ export default {
align-items: center;
justify-content: space-between;
.ant-input {
border-radius: 0;
border-radius: 6px;
}
.searchinput {
display: flex;
@ -1199,7 +1208,7 @@ export default {
width: 66px;
height: 24px;
border: 1px solid rgba(77, 87, 94, 0.3);
// border-radius: 4px;
border-radius: 4px;
font-size: 14px;
color: #4d575e;
background-color: #fff;
@ -1225,6 +1234,7 @@ export default {
border: 1px solid #e8e8e8;
font-size: 14px;
text-align: center;
border-radius: 6px;
// li {
// }
li:first-child {
@ -1262,7 +1272,7 @@ export default {
box-shadow: none;
}
.ant-select-selection {
border-radius: 0;
border-radius: 4px;
}
.ant-select-selection:hover {
border-color: #ff4400;
@ -1293,7 +1303,7 @@ export default {
// background-color: pink;
margin-top: 16px;
font-size: 14px;
overflow: hidden;
.proxyInfo {
display: flex;
height: 40px;
@ -1303,6 +1313,7 @@ export default {
justify-content: space-between;
align-items: center;
border: 1px solid #ccc;
border-radius: 6px 6px 0 0;
li {
flex: 1;
&:nth-child(2) {
@ -1322,6 +1333,7 @@ export default {
.billInfo {
display: flex;
justify-content: space-between;
// overflow: hidden;
li {
display: flex;
flex-direction: column;
@ -1330,6 +1342,7 @@ export default {
text-align: center;
border: 1px solid #ccc;
border-top: none;
overflow: hidden;
&:nth-child(-n + 3) {
border-right: none;
}
@ -1392,6 +1405,7 @@ export default {
> p {
// white-space: break-space;
// text-align: center;
margin-bottom: 0;
word-break: break-all;
font-size: 14px;
width: 100%;

@ -8,6 +8,7 @@ router.beforeEach(async (to, from, next) => {
// console.log(to);
// console.log(from);
// 路由守卫
console.log(to);
console.log(from);
// if (from.fullPath === "/list") {
// // console.log(213);
@ -27,6 +28,7 @@ router.beforeEach(async (to, from, next) => {
];
if (localStorage.getItem("LOGIN_DATA")) {
var isLogin = true;
// next("/list");
}
// const isLogin = localStorage.getItem("LOGIN_DATA") !== null ? true : false;
// if (to.fullPath === from.fullPath) {
@ -35,13 +37,15 @@ router.beforeEach(async (to, from, next) => {
// console.log(isLogin);
// console.log(to);
if (isLogin) {
next();
if (to.fullPath == '/login') {
next('/list');
} else {
next();
}
} else {
if (
whiteList.some((obj) => {
return obj === to.path;
})
) {
if (whiteList.some((obj) => obj === to.path)) {
next();
} else {
next("/login");

@ -6,9 +6,15 @@ Vue.use(Vuex);
export default new Vuex.Store({
state: {
joblist: {},
isLogin: false
isLogin: false,
managerInfo:{}
},
mutations: {
setManagerInfo(state,val){
console.log(val);
state.managerInfo = val
}
},
mutations: {},
actions: {},
modules: {},
});

@ -149,6 +149,12 @@ i {
.br8 {
border-radius: 8px;
}
.br6 {
border-radius: 6px;
}
.br4 {
border-radius: 4px;
}
.dil {
display: inline;
}
@ -220,8 +226,8 @@ i {
.m160 {
margin: 16px 0;
}
.mr0{
margin-right: 0px !important;
.mr0 {
margin-right: 0px !important;
}
.mr4 {
margin-right: 4px;
@ -475,9 +481,9 @@ i {
align-items: center;
justify-content: center;
}
.fcsc{
display: flex;
flex-direction: column;
.fcsc {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
@ -648,7 +654,7 @@ i {
box-shadow: none;
background-color: #fff;
border-color: #ddd;
border-radius: 0;
border-radius: 6px;
&:focus {
border: 1px solid #ff4400;
}
@ -658,7 +664,7 @@ i {
}
.ant-pagination-item {
border: none;
border-radius: 0;
border-radius: 6px;
a:hover {
color: #ff4400;
}

@ -1,17 +1,17 @@
// 左侧列表的active样式
.tagactive {
background-color: #ff4400 !important;
color: #fff !important;
background-color: rgba(255,68,0,0.10)!important;
color: #ff4400 !important;
span {
span {
color: #fff !important;
color: #ff4400 !important;
}
i {
color: #fff !important;
color: #ff4400 !important;
}
}
i {
color: #fff !important;
color: #ff4400 !important;
}
}
// 右侧title的样式

@ -35,8 +35,15 @@ export default {
</script>
<style scoped lang="less">
img {
width: 100vw;
.warning404{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
img {
width: 40vw;
height: 50vh;
}
</style>

@ -367,7 +367,7 @@ export default {
} else {
this.routertitleindex = 7
}
if (to.fullPath == '/login' || !localStorage.getItem("LOGIN_DATA")) {
if (to.fullPath == '/login' || !localStorage.getItem('LOGIN_DATA')) {
this.loginPage = true
this.isLogin = false
} else {
@ -386,10 +386,6 @@ export default {
deep: true,
immediate: true,
},
// isLogin() {
// this.isLogin = JSON.parse(localStorage.getItem("LOGIN_DATA"));
// console.log(this.isLogin);
// },
},
//
/**
@ -567,6 +563,8 @@ export default {
console.log(data)
if (data.status === 200) {
localStorage.removeItem('LOGIN_DATA')
localStorage.removeItem('DAOTIAN_token')
localStorage.removeItem('daotian_to_admin_token')
this.reload()
this.$router.push('/main')
} else {
@ -624,7 +622,6 @@ export default {
window.open('http://localhost:3000/#/merchantManagement/homePage?token=' + obj.token + '&username=' + (obj.user.userName ? obj.user.userName : obj.user.nickName) + '&avatar=' + obj.imgSrc + '&roleid=' + obj.user.agencyRoleId + '&agencyid=' + obj.user.agencyId + '&userInfo=' + JSON.stringify(obj))
} else {
//
localStorage.setItem('daotian_to_admin_token', obj.token)
localStorage.setItem('daotian_to_admin', JSON.stringify(obj))
localStorage.setItem('daotian_to_admin_token', obj.token)
localStorage.setItem('daotian_to_admin_avatar', obj.imgSrc)

@ -631,6 +631,8 @@ export default {
console.log(data)
if (data.status === 200) {
localStorage.removeItem('LOGIN_DATA')
localStorage.removeItem('DAOTIAN_token')
localStorage.removeItem('daotian_to_admin_token')
this.reload()
this.$router.push('/main')
} else {

@ -293,6 +293,8 @@ export default {
console.log(data)
if (data.status === 200) {
localStorage.removeItem('LOGIN_DATA')
localStorage.removeItem('DAOTIAN_token')
localStorage.removeItem('daotian_to_admin_token')
this.reload()
this.$router.push('/main')
} else {

Loading…
Cancel
Save