|
|
@@ -19,7 +19,10 @@
|
|
|
<div class="line">
|
|
|
<span
|
|
|
class="plan"
|
|
|
- :style="`width:${activeIndex * (100 / (stepList.length - 1)) - 100 / (stepList.length - 1) / 2}%`"
|
|
|
+ :style="`width:${
|
|
|
+ activeIndex * (100 / (stepList.length - 1)) -
|
|
|
+ 100 / (stepList.length - 1) / 2
|
|
|
+ }%`"
|
|
|
/>
|
|
|
</div>
|
|
|
<!-- 每步部分底部文字描述 -->
|
|
|
@@ -31,8 +34,8 @@
|
|
|
i.stepIndex < activeIndex || activeIndex == 100
|
|
|
? 'step-active'
|
|
|
: i.stepIndex == activeIndex
|
|
|
- ? 'current-active'
|
|
|
- : ''
|
|
|
+ ? 'current-active'
|
|
|
+ : ''
|
|
|
"
|
|
|
>
|
|
|
<span class="step-num">
|
|
|
@@ -326,6 +329,7 @@ export default {
|
|
|
return matchedItems.map((item) => item.NAME_).join(',')
|
|
|
},
|
|
|
partFilter: function (value, arr) {
|
|
|
+ console.log(value, arr)
|
|
|
if (!value.includes('1')) return value
|
|
|
|
|
|
const ids = value.split(',')
|
|
|
@@ -347,7 +351,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
- const { deptList } = this.$store.getters || {}
|
|
|
+ const { deptListAll } = this.$store.getters || {}
|
|
|
+ console.log('deptList====>', this.$store.getters)
|
|
|
return {
|
|
|
value: '',
|
|
|
id: '',
|
|
|
@@ -410,7 +415,7 @@ export default {
|
|
|
cnasPieData: [], // cnas饼图
|
|
|
cmaPieData: [], // cma饼图
|
|
|
employeeList: [],
|
|
|
- partList: deptList,
|
|
|
+ partList: deptListAll,
|
|
|
loading: true,
|
|
|
settime: '',
|
|
|
setCheckTime: '',
|
|
|
@@ -651,10 +656,10 @@ export default {
|
|
|
let fh = this.$refs.tableecharts1.clientHeight
|
|
|
let width, height
|
|
|
if (window.innerWidth > 1600) {
|
|
|
- width = (fw/2).toFixed(2)
|
|
|
+ width = (fw / 2).toFixed(2)
|
|
|
height = fh
|
|
|
} else {
|
|
|
- width = (fw/2).toFixed(2)
|
|
|
+ width = (fw / 2).toFixed(2)
|
|
|
height = fh
|
|
|
}
|
|
|
const setEchartWH = {
|
|
|
@@ -758,7 +763,7 @@ export default {
|
|
|
let fh = this.$refs.tableecharts2.clientHeight
|
|
|
const setEchartWH = {
|
|
|
// 设置控制图表大小变量
|
|
|
- width: (fw/2).toFixed(2),
|
|
|
+ width: (fw / 2).toFixed(2),
|
|
|
height: fh
|
|
|
}
|
|
|
|
|
|
@@ -824,13 +829,13 @@ export default {
|
|
|
if (window.innerWidth > 1600) {
|
|
|
center = ['60%', '50%']
|
|
|
radius = '55%'
|
|
|
- width = (fw/2).toFixed(2)
|
|
|
- height =fh
|
|
|
+ width = (fw / 2).toFixed(2)
|
|
|
+ height = fh
|
|
|
padding = [16, 0, 0, 0]
|
|
|
} else {
|
|
|
center = ['53%', '50%']
|
|
|
radius = '42%'
|
|
|
- width = (fw/2).toFixed(2)
|
|
|
+ width = (fw / 2).toFixed(2)
|
|
|
height = fh
|
|
|
padding = [16, 0, 0, 0]
|
|
|
}
|
|
|
@@ -890,7 +895,7 @@ export default {
|
|
|
let fh = this.$refs.tableecharts2.clientHeight
|
|
|
const setEchartWH = {
|
|
|
// 设置控制图表大小变量
|
|
|
- width: (fw/2).toFixed(2),
|
|
|
+ width: (fw / 2).toFixed(2),
|
|
|
height: fh
|
|
|
}
|
|
|
|
|
|
@@ -961,9 +966,9 @@ export default {
|
|
|
let secondArr = []
|
|
|
arr.forEach((it) => {
|
|
|
if (it.tiao_kuan_bian_ha.includes('CL02-A001')) {
|
|
|
- if(it.tiao_kuan_bian_ha.split('\n')[1]){
|
|
|
+ if (it.tiao_kuan_bian_ha.split('\n')[1]) {
|
|
|
it.tiao_kuan_bian_ha = it.tiao_kuan_bian_ha.split('\n')[1]
|
|
|
- }else if(it.tiao_kuan_bian_ha.split('CL02-A001')[1]){
|
|
|
+ } else if (it.tiao_kuan_bian_ha.split('CL02-A001')[1]) {
|
|
|
it.tiao_kuan_bian_ha = it.tiao_kuan_bian_ha.split('CL02-A001')[1]
|
|
|
}
|
|
|
console.log('it.tiao_kuan_bian_ha', it.tiao_kuan_bian_ha)
|