工单导出

This commit is contained in:
‘937886381’
2024-07-08 16:54:58 +08:00
parent 2c53c249af
commit 72855a6f04
36 changed files with 1047 additions and 197 deletions

View File

@@ -22,7 +22,7 @@ export default {
},
computed: {
changeColor() {
console.log(this.$route);
// console.log(this.$route);
if (this.$route.path == '/copilot/efficiency-container' || this.$route.path == '/copilot/main' || this.$route.path == '/factoryData/hdIndex' || this.$route.path === '/factoryData/factory-data') {
return true
} else {
@@ -34,19 +34,17 @@ export default {
changeColor(val) {
if (val == true) {
let item = document.getElementsByClassName('el-breadcrumb__separator')
for (let i in item) {
console.log(item[i])
if (item[i]) {
item[i].style.color = 'rgba(255, 255, 255, 0.45)'
}
}
// for (let i in item) {
// console.log('item[i]',item, item[i])
// if (item[i].style) {
item[0].style.color = 'rgba(255, 255, 255, 0.45)'
item[1].style.color = 'rgba(255, 255, 255, 0.45)'
// }
// }
} else {
let item = document.getElementsByClassName('el-breadcrumb__separator')
for (let i in item) {
if (item[i]) {
// item[i].style.color = '#c0c4cc'
}
}
item[0].style.color = ''
item[1].style.color = ''
}
},
$route(route) {