|
|
@@ -8,78 +8,83 @@ let app = new Vue({
|
|
|
{
|
|
|
name: "岗位发布",
|
|
|
flag: false,
|
|
|
+ src: "./images/humanResources/post.png",
|
|
|
style: {
|
|
|
top: "60%",
|
|
|
left: "20%",
|
|
|
- background: "url(./images/humanResources/icon1.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
|
|
|
},
|
|
|
onStyle: {
|
|
|
top: "60%",
|
|
|
left: "20%",
|
|
|
- background: "url(./images/humanResources/icon3.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
name: "简历投递",
|
|
|
flag: false,
|
|
|
+ src: "./images/humanResources/notes.png",
|
|
|
style: {
|
|
|
top: "22%",
|
|
|
left: "28%",
|
|
|
- background: "url(./images/humanResources/icon2.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
|
|
|
},
|
|
|
onStyle: {
|
|
|
top: "22%",
|
|
|
left: "28%",
|
|
|
- background: "url(./images/humanResources/icon3.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
|
|
|
}
|
|
|
},
|
|
|
|
|
|
{
|
|
|
name: "资格审查",
|
|
|
flag: true,
|
|
|
+ src: "./images/humanResources/qualification.png",
|
|
|
style: {
|
|
|
top: "-80px",
|
|
|
left: "calc(50% - 202px)",
|
|
|
- background: "url(./images/humanResources/icon1.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
|
|
|
},
|
|
|
onStyle: {
|
|
|
top: "-80px",
|
|
|
left: "calc(50% - 202px)",
|
|
|
- background: "url(./images/humanResources/icon3.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
name: "综合测评",
|
|
|
flag: false,
|
|
|
+ src: "./images/humanResources/comprehensive.png",
|
|
|
style: {
|
|
|
top: "22%",
|
|
|
right: "28%",
|
|
|
- background: "url(./images/humanResources/icon4.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
|
|
|
},
|
|
|
onStyle: {
|
|
|
top: "22%",
|
|
|
right: "28%",
|
|
|
- background: "url(./images/humanResources/icon3.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
name: "资格审查",
|
|
|
flag: false,
|
|
|
+ src: "./images/humanResources/publicity.png",
|
|
|
style: {
|
|
|
top: "60%",
|
|
|
right: "20%",
|
|
|
- background: "url(./images/humanResources/icon5.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/icon_bg_blue.png)"
|
|
|
},
|
|
|
onStyle: {
|
|
|
top: "60%",
|
|
|
right: "20%",
|
|
|
- background: "url(./images/humanResources/icon3.png)"
|
|
|
+ backgroundImage: "url(./images/humanResources/iconBg_yellow.png)"
|
|
|
}
|
|
|
},
|
|
|
],
|
|
|
treeIndex: 0,
|
|
|
config1: {
|
|
|
- waitTime: 2000,
|
|
|
+ waitTime: 5000,
|
|
|
header: ["招聘单位", "招聘岗位", "招聘人数", "投递人数", "发布时间"],
|
|
|
headerHeight: 55,
|
|
|
columnWidth: [230, 170, 100, 100],
|
|
|
@@ -103,6 +108,7 @@ let app = new Vue({
|
|
|
oddRowBGC: "rgba(105, 193, 255, 0)",
|
|
|
evenRowBGC: "#69c1ff21",
|
|
|
},
|
|
|
+ configIndex: 1,
|
|
|
config2: {
|
|
|
waitTime: 2000,
|
|
|
header: ["序号", "单位名称", "招聘岗位数"],
|
|
|
@@ -229,29 +235,87 @@ let app = new Vue({
|
|
|
unit: "人",
|
|
|
icon: "../images/humanResources/user.png"
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ employmentList1: {
|
|
|
+ waitTime: 5000,
|
|
|
+ header: ["序号", "姓名", "性别", "身份证号","拟录单位"],
|
|
|
+ rowNum: 4,
|
|
|
+ headerHeight: 55,
|
|
|
+ columnWidth: [100, 100, 100, 280],
|
|
|
+ data: [
|
|
|
+ ],
|
|
|
+ align: ["center", "center", "center", "center", "center"],
|
|
|
+ headerBGC: "#69c1ff2d",
|
|
|
+ oddRowBGC: "rgba(105, 193, 255, 0)",
|
|
|
+ evenRowBGC: "#69c1ff21",
|
|
|
+ hoverPause: false,
|
|
|
+ },
|
|
|
+ employmentList2: {
|
|
|
+ waitTime: 5000,
|
|
|
+ header: ["序号", "姓名", "性别", "身份证号","拟录单位"],
|
|
|
+ rowNum: 4,
|
|
|
+ headerHeight: 55,
|
|
|
+ columnWidth: [100, 100, 100, 280],
|
|
|
+ data: [
|
|
|
+ ],
|
|
|
+ align: ["center", "center", "center", "center", "center"],
|
|
|
+ headerBGC: "#69c1ff2d",
|
|
|
+ oddRowBGC: "rgba(105, 193, 255, 0)",
|
|
|
+ evenRowBGC: "#69c1ff21",
|
|
|
+ hoverPause: false,
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
+ created() {
|
|
|
+ let employmentList1 = spArr(employmentList, 5)
|
|
|
+ let arr1 = []
|
|
|
+ let arr2 = []
|
|
|
+ employmentList1.forEach((item, index) => {
|
|
|
+ if (index % 2 == 0) {
|
|
|
+ arr1.push(...item)
|
|
|
+ } else {
|
|
|
+ arr2.push(...item)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.employmentList1.data = arr1
|
|
|
+ this.employmentList2.data = arr2
|
|
|
+ },
|
|
|
mounted() {
|
|
|
let that = this;
|
|
|
this.$nextTick(() => {
|
|
|
let pageBtm = this.$refs.pageBtm
|
|
|
this.initDownholeEcharts(pageBtm, { x: downhole.x, y: [downhole.y[0], downhole.y[2], downhole.y[3]] })
|
|
|
+ // let rightOne = this.$refs.rightOne
|
|
|
+ // this.initLineRight(rightOne)
|
|
|
+ // let c1 = this.$refs.c1
|
|
|
+ // this.initRightCycle(c1)
|
|
|
+ // let c2 = this.$refs.c2
|
|
|
+ // this.initRightCycle(c2)
|
|
|
+ // let c3 = this.$refs.c3
|
|
|
+ // this.initRightCycle(c3)
|
|
|
+ // let c4 = this.$refs.c4
|
|
|
+ // this.initRightCycle(c4)
|
|
|
+ // let c5 = this.$refs.c5
|
|
|
+ // this.initRightCycle(c5)
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
setTimeout(() => {
|
|
|
let itemContent = document.getElementById("itemContent")
|
|
|
let target = itemContent.getElementsByClassName("row-item")
|
|
|
let targetList = target.item(0)
|
|
|
- targetList.style.background = "brown"
|
|
|
+ targetList.style.background = "#302e2d50"
|
|
|
+ targetList.style.color = "#E1AF27"
|
|
|
}, 0)
|
|
|
setTimeout(() => {
|
|
|
that.classChange = true
|
|
|
- }, 2000);
|
|
|
+ }, 5000);
|
|
|
setInterval(() => {
|
|
|
let that = this
|
|
|
that.treeList.forEach(item => {
|
|
|
item.flag = false
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
if (that.treeIndex > that.treeList.length - 1) {
|
|
|
that.treeIndex = 0
|
|
|
that.treeList[that.treeIndex].flag = true
|
|
|
@@ -261,6 +325,18 @@ let app = new Vue({
|
|
|
|
|
|
}
|
|
|
}, 2000)
|
|
|
+ // setInterval(()=>{
|
|
|
+ // if(that.configIndex > that.config1.data.length - 1){
|
|
|
+ // console.log("最后一条");
|
|
|
+ // that.configIndex = 0
|
|
|
+ // console.log(that.config1.data[that.configIndex]);
|
|
|
+ // return
|
|
|
+ // } else {
|
|
|
+ // console.log(that.config1.data[that.configIndex]);
|
|
|
+ // that.configIndex = that.configIndex + 1
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // },5000)
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -360,11 +436,11 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
|
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
|
|
|
{
|
|
|
- offset: 0,
|
|
|
+ offset: 1,
|
|
|
color: '#40A9FF',
|
|
|
},
|
|
|
{
|
|
|
- offset: 1,
|
|
|
+ offset: 0,
|
|
|
color: '#082049',
|
|
|
},
|
|
|
]),
|
|
|
@@ -377,11 +453,11 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
|
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
|
|
|
{
|
|
|
- offset: 0,
|
|
|
+ offset: 1,
|
|
|
color: '#EAE179',
|
|
|
},
|
|
|
{
|
|
|
- offset: 1,
|
|
|
+ offset: 0,
|
|
|
color: '#082049',
|
|
|
},
|
|
|
]),
|
|
|
@@ -394,11 +470,11 @@ let app = new Vue({
|
|
|
itemStyle: {
|
|
|
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
|
|
|
{
|
|
|
- offset: 0,
|
|
|
+ offset: 1,
|
|
|
color: '#6A83FF',
|
|
|
},
|
|
|
{
|
|
|
- offset: 1,
|
|
|
+ offset: 0,
|
|
|
color: '#082049',
|
|
|
},
|
|
|
]),
|
|
|
@@ -413,7 +489,266 @@ let app = new Vue({
|
|
|
});
|
|
|
},
|
|
|
scrollChange(index) {
|
|
|
- // console.log(index);
|
|
|
+ },
|
|
|
+ initLineRight(el, data) {
|
|
|
+ let mychart = echarts.init(el);
|
|
|
+ var category = [{
|
|
|
+ name: "管控",
|
|
|
+ value: 2500
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "集中式",
|
|
|
+ value: 8000
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "纳管",
|
|
|
+ value: 3000
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "纳管",
|
|
|
+ value: 3000
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "纳管",
|
|
|
+ value: 3000
|
|
|
+ }
|
|
|
+ ]; // 类别
|
|
|
+ var total = 10000; // 数据总数
|
|
|
+ var datas = [];
|
|
|
+ category.forEach(value => {
|
|
|
+ datas.push(value.value);
|
|
|
+ });
|
|
|
+ option = {
|
|
|
+ xAxis: {
|
|
|
+ max: total,
|
|
|
+ splitLine: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ axisLine: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ axisLabel: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ axisTick: {
|
|
|
+ show: false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ grid: {
|
|
|
+ left: 10,
|
|
|
+ top: 20, // 设置条形图的边距
|
|
|
+ right: 100,
|
|
|
+ bottom: 20
|
|
|
+ },
|
|
|
+ yAxis: [{
|
|
|
+ type: "category",
|
|
|
+ inverse: false,
|
|
|
+ data: category,
|
|
|
+ axisLine: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ axisTick: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ axisLabel: {
|
|
|
+ show: false
|
|
|
+ }
|
|
|
+ }],
|
|
|
+ series: [{
|
|
|
+ // 内
|
|
|
+ type: "bar",
|
|
|
+ barWidth: 18,
|
|
|
+
|
|
|
+ legendHoverLink: false,
|
|
|
+ silent: true,
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: {
|
|
|
+ type: "linear",
|
|
|
+ x: 0,
|
|
|
+ y: 0,
|
|
|
+ x2: 1,
|
|
|
+ y2: 0,
|
|
|
+ colorStops: [{
|
|
|
+ offset: 1,
|
|
|
+ color: '#00feff'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 0.5,
|
|
|
+ color: '#027eff'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 0,
|
|
|
+ color: '#0286ff'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ label: {
|
|
|
+ normal: {
|
|
|
+ show: true,
|
|
|
+ position: [0, -35],
|
|
|
+ formatter: "{b}",
|
|
|
+ textStyle: {
|
|
|
+ color: "#fff",
|
|
|
+ fontSize: 30,
|
|
|
+ fontWeight: "bolder",
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: category,
|
|
|
+ z: 1,
|
|
|
+ animationEasing: "elasticOut"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ // 分隔
|
|
|
+ type: "pictorialBar",
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: "#061348"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ symbolRepeat: "fixed",
|
|
|
+ symbolMargin: 12,
|
|
|
+ symbol: "rect",
|
|
|
+ symbolClip: true,
|
|
|
+ symbolSize: [5, 21],
|
|
|
+ symbolPosition: "start",
|
|
|
+ symbolOffset: [1, -1],
|
|
|
+ symbolBoundingData: this.total,
|
|
|
+ data: category,
|
|
|
+ z: 2,
|
|
|
+ animationEasing: "elasticOut"
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ // 外边框
|
|
|
+ type: "pictorialBar",
|
|
|
+ symbol: "rect",
|
|
|
+ symbolBoundingData: total,
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: "none"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ label: {
|
|
|
+ normal: {
|
|
|
+ color: "#fff",
|
|
|
+ fontSize: 30,
|
|
|
+ position: [600, 20],
|
|
|
+ distance: 0, // 向右偏移位置
|
|
|
+ show: true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ data: datas,
|
|
|
+ z: 0,
|
|
|
+ animationEasing: "elasticOut"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "外框",
|
|
|
+ type: "bar",
|
|
|
+ barGap: "-150%", // 设置外框粗细
|
|
|
+ data: [total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total, total],
|
|
|
+ barWidth: 35,
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: "transparent", // 填充色
|
|
|
+ barBorderColor: "#1C4B8E", // 边框色
|
|
|
+ barBorderWidth: 1, // 边框宽度
|
|
|
+ // barBorderRadius: 0, //圆角半径
|
|
|
+ label: {
|
|
|
+ // 标签显示位置
|
|
|
+ show: false,
|
|
|
+ position: "top" // insideTop 或者横向的 insideLeft
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ z: 0
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ };
|
|
|
+ mychart.setOption(option)
|
|
|
+ },
|
|
|
+ initRightCycle(el, data) {
|
|
|
+ var getvalue = [88];
|
|
|
+
|
|
|
+ let chat = echarts.init(el)
|
|
|
+
|
|
|
+ option = {
|
|
|
+ // title: {
|
|
|
+ // text: getvalue + '分',
|
|
|
+ // textStyle: {
|
|
|
+ // color: '#28BCFE',
|
|
|
+ // fontSize: 40
|
|
|
+ // },
|
|
|
+ // subtext: '综合得分',
|
|
|
+ // subtextStyle: {
|
|
|
+ // color: '#666666',
|
|
|
+ // fontSize: 30
|
|
|
+ // },
|
|
|
+ // itemGap: 20,
|
|
|
+ // left: 'center',
|
|
|
+ // top: '43%'
|
|
|
+ // },
|
|
|
+ tooltip: {
|
|
|
+ formatter: function (params) {
|
|
|
+ return '<span style="color: #fff;">综合得分:' + getvalue + '分</span>';
|
|
|
+ }
|
|
|
+ },
|
|
|
+ angleAxis: {
|
|
|
+ max: 100,
|
|
|
+ clockwise: true, // 逆时针
|
|
|
+ // 隐藏刻度线
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ radiusAxis: {
|
|
|
+ type: 'category',
|
|
|
+ show: true,
|
|
|
+ axisLabel: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ axisLine: {
|
|
|
+ show: false,
|
|
|
+
|
|
|
+ },
|
|
|
+ axisTick: {
|
|
|
+ show: false
|
|
|
+ },
|
|
|
+ },
|
|
|
+ polar: {
|
|
|
+ center: ['50%', '50%'],
|
|
|
+ radius: ['60%', '75%'],
|
|
|
+ // radius: '100%' //图形大小
|
|
|
+ },
|
|
|
+ series: [{
|
|
|
+ type: 'bar',
|
|
|
+ data: getvalue,
|
|
|
+ showBackground: true,
|
|
|
+ backgroundStyle: {
|
|
|
+ color: '#BDEBFF',
|
|
|
+ },
|
|
|
+ coordinateSystem: 'polar',
|
|
|
+ roundCap: true,
|
|
|
+ barWidth: 30,
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ opacity: 1,
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#25BFFF'
|
|
|
+ }, {
|
|
|
+ offset: 1,
|
|
|
+ color: '#5284DE'
|
|
|
+ }]),
|
|
|
+ shadowBlur: 5,
|
|
|
+ shadowColor: '#2A95F9',
|
|
|
+ }
|
|
|
+ },
|
|
|
+ }]
|
|
|
+ };
|
|
|
+
|
|
|
+ chat.setOption(option)
|
|
|
},
|
|
|
},
|
|
|
})
|