cyl/dev
wangxia 4 years ago
parent 142a6c4ca2
commit 749ffe15a4

@ -1,8 +1,8 @@
<template> <template>
<div> <div class="">
<!-- <span @click="showPicker">{{ getLangText(label.datetimePicker) }}</span> --> <!-- <span @click="showPicker">{{ getLangText(label.datetimePicker) }}</span> -->
<div class="date-picker-bg" v-show="isShow" @click="closePicker"></div> <div class="date-picker-bg" v-show="isShow" @click="closePicker"></div>
<div class="date-picker" v-show="isShow"> <div class="date-picker time-container" v-show="isShow">
<div class="picker-top"> <div class="picker-top">
<span class="picker-arrow" @click="preYear">&lsaquo;&lsaquo;</span> <span class="picker-arrow" @click="preYear">&lsaquo;&lsaquo;</span>
<span class="picker-arrow" @click="preMonth">&lsaquo;</span> <span class="picker-arrow" @click="preMonth">&lsaquo;</span>
@ -177,10 +177,13 @@ export default {
}, },
isShow() { isShow() {
const that = this; const that = this;
let box = document.querySelector('.time-container')
box.style.opacity = 1
if (this.isShow) { if (this.isShow) {
// console.log(this.selectHour); // console.log(this.selectHour);
this.$nextTick(() => { this.$nextTick(() => {
this.selectDate = new Date( this.selectDate = new Date(
new Date(this.datetime || new Date()).format("yyyy-MM-dd 00:00") new Date(this.datetime || new Date()).format("yyyy-MM-dd 00:00")
).getTime(); ).getTime();
@ -277,7 +280,13 @@ export default {
// this.confirmPicker(); // this.confirmPicker();
}, },
closePicker() { closePicker() {
let box = document.querySelector('.time-container')
box.style.opacity = 0
setTimeout(() => {
this.$emit("update:is-show", false); this.$emit("update:is-show", false);
}, (300));
console.log(box);
}, },
setNow() { setNow() {
// this.year = new Date().getFullYear(); // this.year = new Date().getFullYear();
@ -358,8 +367,7 @@ export default {
}, },
closebox() { closebox() {
console.log(this.selectDate); console.log(this.selectDate);
this.closePicker()
this.$emit("update:is-show", false);
}, },
// onSelectMinute(n) { // onSelectMinute(n) {
// this.selectMinute = n; // this.selectMinute = n;
@ -420,6 +428,10 @@ export default {
}; };
</script> </script>
<style lang="less"> <style lang="less">
.time-container{
opacity: 1;
transition: opacity .3s;
}
.date-picker-bg { .date-picker-bg {
position: fixed; position: fixed;
left: 0; left: 0;
@ -437,7 +449,7 @@ export default {
left: 0; left: 0;
display: block; display: block;
padding: 4px; padding: 4px;
z-index: 6; z-index: 9;
// border: solid 1px gainsboro; // border: solid 1px gainsboro;
border-radius: 8px; border-radius: 8px;
box-shadow: 2px 2px 8px #ddd; box-shadow: 2px 2px 8px #ddd;

@ -63,7 +63,7 @@
</div> </div>
<span class="searchBox"> <span class="searchBox">
<a-input placeholder="搜索企业/公司" @keyup.enter="onSearch" @input="resetsearch" v-model="formvalue.aliasName" class="searchinput" style="" allow-clear <a-input placeholder="搜索企业/公司/职位" @keyup.enter="onSearch" @input="resetsearch" v-model="formvalue.aliasName" class="searchinput" style="" allow-clear
><div slot="prefix" @click="visible = true"> ><div slot="prefix" @click="visible = true">
<span>{{ currentCity }}</span <span>{{ currentCity }}</span
><i class="iconfont icon-sousuoxiala"></i ><i class="iconfont icon-sousuoxiala"></i
@ -71,8 +71,8 @@
class="ageinput" class="ageinput"
placeholder="年龄,如20" placeholder="年龄,如20"
v-model="formvalue.ageStr" v-model="formvalue.ageStr"
type='number' type="number"
@mousewheel.prevent="()=>false" @mousewheel.prevent="() => false"
@input="resetAgeSearch" @input="resetAgeSearch"
@keyup.enter="onSearch" @keyup.enter="onSearch"
@click.stop=" @click.stop="
@ -268,8 +268,7 @@
<span v-if="item.jobDesp" :class="'copyInfo' + index">{{ item.jobDesp }}</span <span v-if="item.jobDesp" :class="'copyInfo' + index">{{ item.jobDesp }}</span
><span v-else></span> ><span v-else></span>
</template> --> </template> -->
<router-link target="_blank" :to="'/detail/' + item.id" rel="opener"> <router-link target="_blank" :to="'/detail/' + item.id" rel="opener"> <a-button type="primary" class="jobDesp">更多</a-button></router-link>
<a-button type="primary" class="jobDesp">更多</a-button></router-link>
<!-- </a-popover> --> <!-- </a-popover> -->
<button @click="torecord(item)"></button> <button @click="torecord(item)"></button>
@ -753,7 +752,7 @@ export default {
cityModalClose() { cityModalClose() {
// //
this.cityValue = ""; this.cityValue = "";
this.searchCity() this.searchCity();
}, },
// //
@ -894,7 +893,6 @@ export default {
this.currentCityList.push(item); this.currentCityList.push(item);
} }
}); });
} }
if (this.currentCityList.length == 0) { if (this.currentCityList.length == 0) {
this.currentCityList = this.hotCityList; this.currentCityList = this.hotCityList;
@ -1153,11 +1151,11 @@ export default {
} }
.ant-input-suffix { .ant-input-suffix {
right: 0px !important; right: 0px !important;
.ant-input-clear-icon{ .ant-input-clear-icon {
margin-right: 20px; margin-right: 20px;
width: 1.5em !important; width: 1.5em !important;
height: 1.5em !important; height: 1.5em !important;
>svg { > svg {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
@ -1627,8 +1625,8 @@ export default {
background-color: #fff; background-color: #fff;
color: rgba(255, 106, 0, 1); color: rgba(255, 106, 0, 1);
transition: none; transition: none;
box-shadow: none ; box-shadow: none;
text-shadow:none; text-shadow: none;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
color: #fff; color: #fff;
@ -1653,7 +1651,7 @@ export default {
&:hover { &:hover {
color: #ff7614; color: #ff7614;
border-color: #ff7614; border-color: #ff7614;
background-color: #fff ; background-color: #fff;
} }
} }
} }

@ -95,9 +95,9 @@
</div> </div>
</a-form-model-item> </a-form-model-item>
<a-form-model-item ref="interviewTime" label="面试时间" prop="interviewTime" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }"> <a-form-model-item class="time-input" ref="interviewTime" label="面试时间" prop="interviewTime" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
<timepicker :isShow.sync="isShow" :datetime.sync="form.interviewTime"></timepicker> <timepicker :isShow.sync="isShow" :datetime.sync="form.interviewTime"></timepicker>
<a-input v-model="form.interviewTime" placeholder="请选择面试时间" @input="verify" @click="getDateinfo"><i class="iconfont icon-rili" slot="suffix" @click="getDateinfo"></i></a-input> <a-input v-model="form.interviewTime" placeholder="请选择面试时间" @input="verify" allowClear @click="getDateinfo"><i class="iconfont icon-rili" slot="suffix" @click="getDateinfo"></i></a-input>
<!-- <a-date-picker <!-- <a-date-picker
:showToday="false" :showToday="false"
format="YYYY-MM-DD HH:mm" format="YYYY-MM-DD HH:mm"
@ -199,7 +199,7 @@
<a-form-model-item ref="policy" label="政策" prop="policy" class="policyContainer" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }"> <a-form-model-item ref="policy" label="政策" prop="policy" class="policyContainer" :wrapperCol="{ span: 18 }" :labelCol="{ span: 4 }">
<!-- <a-input v-model="form.policy" type='textarea'/> --> <!-- <a-input v-model="form.policy" type='textarea'/> -->
<div class="policy" style=""> <div class="policy" style="">
{{form.policy}} {{ form.policy }}
</div> </div>
<div class="openContral"><span v-if="isFold" @click="toFold(1)">展开</span><span v-else @click="toFold(2)"></span></div> <div class="openContral"><span v-if="isFold" @click="toFold(1)">展开</span><span v-else @click="toFold(2)"></span></div>
</a-form-model-item> </a-form-model-item>
@ -260,8 +260,8 @@ export default {
proxyStatus: "", // proxyStatus: "", //
storeStatus: "", // storeStatus: "", //
jobnameStatus: "", // jobnameStatus: "", //
isContainerShow:false, // isContainerShow: false, //
isFold:false, isFold: false,
previewImage: "", previewImage: "",
isMaster: true, isMaster: true,
isShow: false, isShow: false,
@ -409,20 +409,20 @@ export default {
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内 * 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/ */
mounted() { mounted() {
let that = this let that = this;
const policy = document.querySelector(".policy"); const policy = document.querySelector(".policy");
// this.$nextTick(()=>{ // this.$nextTick(()=>{
setTimeout(() => { setTimeout(() => {
console.log(policy.offsetHeight); console.log(policy.offsetHeight);
if (policy.offsetHeight >= 230) { if (policy.offsetHeight >= 230) {
policy.style.maxHeight = "230px"; policy.style.maxHeight = "230px";
policy.style.marginBottom = '24px' policy.style.marginBottom = "24px";
that.isContainerShow = true that.isContainerShow = true;
that.isFold = true that.isFold = true;
} else { } else {
policy.style.minHeight = "230px"; policy.style.minHeight = "230px";
that.isContainerShow = false that.isContainerShow = false;
that.isFold = false that.isFold = false;
} }
}, 200); }, 200);
// }) // })
@ -806,18 +806,17 @@ export default {
} }
} }
}, },
toFold(value){ toFold(value) {
let policy = document.querySelector('.policy') let policy = document.querySelector(".policy");
if(value == 1){ if (value == 1) {
this.isFold = false this.isFold = false;
policy.style.maxHeight = 'unset' policy.style.maxHeight = "unset";
} else { } else {
this.isFold = true this.isFold = true;
policy.style.maxHeight = '230px' policy.style.maxHeight = "230px";
}
} }
}, },
},
}; };
</script> </script>
@ -835,7 +834,6 @@ export default {
.ant-form { .ant-form {
width: 640px; width: 640px;
} }
} }
.upline { .upline {
position: relative !important; position: relative !important;
@ -1114,24 +1112,34 @@ export default {
} }
/deep/ .policyContainer { /deep/ .policyContainer {
position: relative; position: relative;
.ant-form-item-children{ .ant-form-item-children {
position: unset; position: unset;
.policy { .policy {
// position: relative;
padding: 0 16px; padding: 0 16px;
// padding-bottom: 24px; // padding-bottom: 24px;
white-space: pre-wrap; white-space: pre-wrap;
// border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
overflow: hidden; overflow: hidden;
line-height: 2; line-height: 2;
} }
.openContral{ .openContral {
position: absolute; position: absolute;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
bottom: 0; bottom: 0;
right: 10px; right: 10px;
cursor: pointer; cursor: pointer;
&::after{
content: '';
position: absolute;
width: 480px;
height: 1px;
background-color: #eee;
bottom: -10px;
left: -445px;
}
&:hover { &:hover {
color: #ff6a00; color: #ff6a00;
} }
@ -1140,4 +1148,242 @@ export default {
// background-color: #ff6a00; // background-color: #ff6a00;
} }
/deep/ .date-picker {
.picker-content {
table {
width: 100%;
// padding: 4px !important;
margin: 4px 0;
border-collapse: separate;
border-spacing: 0;
font-size: 12px;
line-height: 20px !important;
.contain {
height: 2px;
}
thead {
padding-bottom: 5px;
tr {
margin-bottom: 5px;
background-color: #ff6a001a;
color: rgba(77, 87, 94);
th {
text-align: center;
font-weight: 600;
font-size: 14px;
line-height: 26px;
&:first-child {
border-radius: 4px 0 0 4px;
}
&:last-child {
border-radius: 0 4px 4px 0;
}
}
}
}
tbody {
margin-top: 10px;
tr {
td {
// height: 50px;
box-sizing: border-box;
color: rgba(77, 87, 94);
// font-weight: 600;
padding: 0 4px;
font-size: 14px;
cursor: pointer;
&:first-child {
border-radius: 4px 0 0 4px;
}
&:last-child {
border-radius: 0 4px 4px 0;
}
div {
border: 1px solid transparent;
position: relative;
width: 30px;
height: 26px;
line-height: 24px;
border-radius: 4px;
text-align: center;
margin: 0 2px;
z-index: 99;
box-sizing: border-box;
}
}
td.gray {
font-weight: 400;
color: rgba(138, 138, 138, 0.7);
}
td.bggray {
position: relative;
color: #ccc;
cursor: default;
&::after {
content: "";
position: absolute;
display: block;
width: 100%;
height: 26px;
background-color: #f5f5f5;
top: 50%;
transform: translateY(-50%);
left: 0;
z-index: 9;
}
}
.bggray:first-child::after {
border-radius: 4px 0 0 4px;
}
.bggray:last-of-type::after {
border-radius: 0 4px 4px 0;
}
td:not(.bggray):hover {
div {
border: 1px solid #ff6a00;
color: #ff6a00;
}
}
td.active {
div {
background: #ff6a00;
color: white !important;
font-weight: bold;
}
}
}
}
}
}
.picker-content1:extend(.picker-content all) {
// &: extend ;
display: flex;
flex-direction: row;
table {
width: calc(100% - 40px);
margin-right: 4px;
// border-right: 1px solid #eee;
}
.hour-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-left: 1px solid #eee;
list-style: none;
padding: 5px 2px 0 4px;
margin: 0;
height: 100%;
overflow-x: hidden;
width: 300px;
font-size: 12px;
overflow-y: auto;
&::-webkit-scrollbar {
/*滚动条整体样式*/
width: 0px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 4px;
}
&::-webkit-scrollbar-thumb {
/*滚动条里面小方块*/
border-radius: 5px;
// -webkit-box-shadow: inset 0 0 5px rgba(126, 126, 126, 0.06);
background: #ddd !important;
}
// &::-webkit-scrollbar-track {
// /**/
// -webkit-box-shadow: inset 0 0 5px rgba(112, 112, 112, 0.06);
// border-radius: 0;
// background: rgba(0, 0, 0, 0.1);
// }
li {
padding: 0;
margin: 0;
margin-bottom: 6px;
color: #4d575ecc;
font-weight: 600;
background-color: #ff6a001a;
width: 48%;
border-radius: 4px;
/* font-weight: 600; */
display: flex;
height: 26px !important;
line-height: 26px;
font-size: 14px;
justify-content: center;
align-items: center;
padding: 0 4px;
height: 26px;
cursor: pointer;
span:last-child {
margin-left: 0 !important;
}
&:hover {
color: white;
background: #ff6a00;
}
}
// li:not(:last-child) {
// border-bottom: solid 1px gainsboro;
// }
.active {
color: white;
background: #ff6a00;
}
}
.minutes-list {
width: 60px;
}
}
.picker-footer {
display: block;
line-height: 42px;
text-align: right;
white-space: nowrap;
button {
outline: none;
border: solid 1px gainsboro;
border-radius: 2px;
text-align: center;
padding-left: 1px;
color: #8a8a8a;
height: 24px;
width: 50px;
line-height: 20px;
font-size: 12px;
margin-right: 12px;
background-color: #f3f3f3;
&:first-child {
background-color: #fff;
&:active,
&:hover {
border-color: #eee;
background-color: #eee;
}
}
&:last-child {
background-color: #ff6a00;
border-color: #ff6a00;
color: #fff;
&:active,
&:hover {
border-color: #ff6a00;
background-color: #ff6a00;
}
}
}
}
}
/deep/ .time-input {
margin-bottom: 16px;
.ant-input {
font-size: 20px !important;
&::placeholder {
font-size: 14px;
}
}
}
</style> </style>

@ -77,13 +77,9 @@ export default {
computed: {}, computed: {},
// //
watch: { watch: {
}, "userinfo.tel"(value){
// // setTimeout(()=>{
/** console.log(value);
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {
setTimeout(()=>{
console.log(this.userinfo); console.log(this.userinfo);
if (this.userinfo.tel) { if (this.userinfo.tel) {
this.istelshow = true; this.istelshow = true;
@ -91,7 +87,15 @@ export default {
} }
this.isShow = true this.isShow = true
},100) // },200)
}
},
//
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {
}, },
/** /**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子 * el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子

@ -64,6 +64,7 @@
><i slot="prefix" class="iconfont icon-sousuo"></i> ><i slot="prefix" class="iconfont icon-sousuo"></i>
<button slot="suffix" @click="onSearch"></button> <button slot="suffix" @click="onSearch"></button>
</a-input> </a-input>
<a-range-picker style="" @change="dateChange" class=""/>
</div> </div>
<div class="pagechange"> <div class="pagechange">
<button @click="changepage(-1)"></button> <button @click="changepage(-1)"></button>
@ -104,6 +105,7 @@
</ul> </ul>
<ul class="billInfo" style=""> <ul class="billInfo" style="">
<li> <li>
<div class="serial">{{index + 1}}</div>
<i <i
class="iconfont icon-shenfenzheng" class="iconfont icon-shenfenzheng"
:style="{ :style="{
@ -148,6 +150,7 @@
@change="onChange" @change="onChange"
/> />
<div class="ant-pagination-options-quick-jumper"> <div class="ant-pagination-options-quick-jumper">
<span>{{pagination.total}}</span>
跳至<input 跳至<input
ref="pageinput" ref="pageinput"
type="text" type="text"
@ -255,6 +258,9 @@ export default {
console.log(e); console.log(e);
this.getBill(); this.getBill();
}, },
dateChange(e){
console.log(e);
},
inputpageChange(e) { inputpageChange(e) {
const pagenumcount = this.pagination.total / this.pagination.pageSize; const pagenumcount = this.pagination.total / this.pagination.pageSize;
console.log(pagenumcount); console.log(pagenumcount);
@ -747,9 +753,10 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.searchinput { .searchinput {
width: 400px; display: flex;
position: relative; position: relative;
.ant-input { .ant-input {
width: 400px;
// width: 300px; // width: 300px;
position: relative; position: relative;
height: 32px; height: 32px;
@ -808,6 +815,17 @@ export default {
// border: none; // border: none;
// } // }
} }
.ant-calendar-picker-input{
display: flex;
margin-left: 50px;
width: 260px;
.ant-calendar-range-picker-input{
width: 95px;
}
.ant-calendar-picker-clear{
margin-right: 10px;
}
}
} }
.pagechange { .pagechange {
button { button {
@ -843,7 +861,8 @@ export default {
// li { // li {
// } // }
li:first-child { li:first-child {
width: 213px; width: 263px;
padding-left: 60px;
} }
li:nth-child(2) { li:nth-child(2) {
width: 246px; width: 246px;
@ -869,6 +888,10 @@ export default {
.billInfo { .billInfo {
li { li {
border-color: rgba(0, 122, 255, 0.6) !important; border-color: rgba(0, 122, 255, 0.6) !important;
.serial{
border-color: rgba(0, 122, 255, 0.6) !important;
}
} }
} }
} }
@ -920,7 +943,23 @@ export default {
} }
} }
li:first-child { li:first-child {
width: 213px; position: relative;
width: 273px;
padding-left: 60px;
.serial{
display: flex;
align-items: center;
position: absolute;
height: 100%;
width: 60px;
left: 0;
font-weight: 600;
color: #666;
font-size: 18px;
justify-content: center;
background-color: #fff;
border-right: 1px solid #ccc ;
}
// flex-direction: column; // flex-direction: column;
// justify-content: space-around; // justify-content: space-around;

@ -371,7 +371,7 @@ i {
// 日期选择框 // 日期选择框
.ant-calendar-picker-container-content { .ant-calendar-picker-container-content {
margin-top: 3px; margin-top: 3px;
width: 341px !important; // width: 341px !important;
} }
.ant-calendar-picker { .ant-calendar-picker {
border-color: #d9d9d9 !important; border-color: #d9d9d9 !important;

@ -1,4 +1,4 @@
@import "http://at.alicdn.com/t/font_3135652_9tpi9n6784g.css"; @import "http://at.alicdn.com/t/font_3135652_fha9d3mzga5.css";
body, body,
h1, h1,
h2, h2,
@ -136,7 +136,6 @@ i {
} }
.ant-calendar-picker-container-content { .ant-calendar-picker-container-content {
margin-top: 3px; margin-top: 3px;
width: 341px !important;
} }
.ant-calendar-picker { .ant-calendar-picker {
border-color: #d9d9d9 !important; border-color: #d9d9d9 !important;
@ -204,27 +203,31 @@ i {
border: none; border: none;
} }
.ant-cascader-menus.monthlypay, .ant-cascader-menus.monthlypay,
.ant-cascader-menus.agestr { .ant-cascader-menus.agestr,
.ant-cascader-menus.gender {
width: 100vw; width: 100vw;
margin: 0 auto; margin: 0 auto;
top: 70px !important; top: 144px !important;
-webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15); -webkit-box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15); box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
transition: none !important; transition: none !important;
} }
.ant-cascader-menus.monthlypay .ant-cascader-menu, .ant-cascader-menus.monthlypay .ant-cascader-menu,
.ant-cascader-menus.agestr .ant-cascader-menu { .ant-cascader-menus.agestr .ant-cascader-menu,
.ant-cascader-menus.gender .ant-cascader-menu {
height: auto; height: auto;
width: 100%; width: 100%;
} }
.ant-cascader-menus.monthlypay .ant-cascader-menu .ant-cascader-menu-item, .ant-cascader-menus.monthlypay .ant-cascader-menu .ant-cascader-menu-item,
.ant-cascader-menus.agestr .ant-cascader-menu .ant-cascader-menu-item { .ant-cascader-menus.agestr .ant-cascader-menu .ant-cascader-menu-item,
.ant-cascader-menus.gender .ant-cascader-menu .ant-cascader-menu-item {
width: 100%; width: 100%;
text-align: left; text-align: left;
padding-left: calc(-550vw) !important; padding-left: calc(-550vw) !important;
} }
.ant-cascader-menus.monthlypay .ant-cascader-menu .ant-cascader-menu-item:hover, .ant-cascader-menus.monthlypay .ant-cascader-menu .ant-cascader-menu-item:hover,
.ant-cascader-menus.agestr .ant-cascader-menu .ant-cascader-menu-item:hover { .ant-cascader-menus.agestr .ant-cascader-menu .ant-cascader-menu-item:hover,
.ant-cascader-menus.gender .ant-cascader-menu .ant-cascader-menu-item:hover {
background-color: rgba(255, 106, 0, 0.1); background-color: rgba(255, 106, 0, 0.1);
color: #ff6a00; color: #ff6a00;
} }
@ -384,3 +387,52 @@ p.bottombox::after {
.ant-spin-text { .ant-spin-text {
color: #fda21d; color: #fda21d;
} }
.ant-popover .ant-popover-content .ant-popover-inner-content {
position: relative;
width: 600px;
white-space: pre-wrap !important;
}
.ant-popover .ant-popover-content .ant-popover-inner-content > div {
position: absolute;
width: 44px;
height: 22px;
right: 10px;
top: 10px;
border: 1px solid #ff6a00;
color: #ff6a00;
border-radius: 999px;
line-height: 22px;
text-align: center;
cursor: pointer;
}
.ant-popover .ant-popover-content .ant-popover-inner-content > div:hover {
background-color: #ff6a00;
color: #fff;
}
.xiangdan .ant-modal-content {
width: 600px;
max-height: calc(60vh);
}
.xiangdan .ant-modal-content .ant-modal-body {
padding-top: 36px;
position: relative;
min-height: 480px;
white-space: pre-wrap !important;
}
.xiangdan .ant-modal-content .ant-modal-body .copy {
position: absolute;
padding: 0px 12px;
right: 20px;
top: 7px;
font-size: 14px;
border: 1px solid #ff6a00;
color: #ff6a00;
border-radius: 5px;
line-height: 22px;
text-align: center;
cursor: pointer;
}
.xiangdan .ant-modal-content .ant-modal-body .copy:hover {
color: #fff;
background-color: #ff6a00;
}

@ -1208,15 +1208,15 @@ export function userApplyOrderStatusArray() {
// ]; // ];
let orderStatus = [ let orderStatus = [
{ id: "10", name: "报名审核中", value: "10", text: "报名审核中", num: 0 }, { id: "10", name: "报名审核中", value: "10", text: "报名审核中", num: 0 },
{ id: "20", name: "审核通过", value: "20", text: "审核通过", num: 0 }, { id: "20", name: "报名成功,待面试", value: "20", text: "审核通过", num: 0 },
{ id: "21", name: "审核未通过", value: "21", text: "审核未通过", num: 0 }, { id: "21", name: "审核未通过,报名失败", value: "21", text: "审核未通过", num: 0 },
{ id: "25", name: "已接到", value: "25", text: "已接到", num: 0 }, { id: "25", name: "已接到", value: "25", text: "已接到", num: 0 },
{ id: "26", name: "未接到", value: "26", text: "未接到", num: 0 }, { id: "26", name: "未接到", value: "26", text: "未接到", num: 0 },
{ id: "30", name: "面试通过", value: "30", text: "面试通过", num: 0 }, { id: "30", name: "面试通过,待入职", value: "30", text: "面试通过", num: 0 },
{ id: "35", name: "面试未通过", value: "35", text: "面试未通过", num: 0 }, { id: "35", name: "面试未通过", value: "35", text: "面试未通过", num: 0 },
{ id: "40", name: "已入职", value: "40", text: "已入职", num: 0 }, { id: "40", name: "已入职,在职中", value: "40", text: "已入职", num: 0 },
{ id: "45", name: "通过未入职", value: "45", text: "通过未入职", num: 0 }, { id: "45", name: "面试通过未入职", value: "45", text: "通过未入职", num: 0 },
{ id: "50", name: "已离职", value: "50", text: "已离职", num: 0 } { id: "50", name: "已离职", value: "50", text: "已离职", num: 0 }
// { id: "60", name: "已完成", value: "60", text: "已完成", num: 0 } // { id: "60", name: "已完成", value: "60", text: "已完成", num: 0 }
]; ];

@ -13,8 +13,8 @@ console.log(baseURL);
axios.defaults.withCredentials = true; //添加这行代码 axios.defaults.withCredentials = true; //添加这行代码
// console.log(axios); // console.log(axios);
const service = axios.create({ const service = axios.create({
// baseURL: "/api_prod", // url = base url + request url baseURL: "/api_prod", // url = base url + request url
baseURL: baseURL, // baseURL: "/api", // url = base url + request url // baseURL: baseURL, // baseURL: "/api", // url = base url + request url
withCredentials: true, // send cookies when cross-domain requests withCredentials: true, // send cookies when cross-domain requests
timeout: 10000, // request timeout timeout: 10000, // request timeout
crossDomain: true, crossDomain: true,

Loading…
Cancel
Save