工业视觉平台

This commit is contained in:
卢序振 2024-07-11 16:48:36 +08:00
parent f70b20fc8d
commit 34346a5c44
3 changed files with 15 additions and 7 deletions

View File

@ -22,6 +22,7 @@
<machine v-else-if="port === '9403'" /> <machine v-else-if="port === '9403'" />
<cdapChart v-else-if="port === '9404'" /> <cdapChart v-else-if="port === '9404'" />
<interface-home v-else-if="port === '9406'" /> <interface-home v-else-if="port === '9406'" />
<machine v-else-if="port === '9407'" />
<operate-home v-else-if="port === '80' || port === ''"></operate-home> <operate-home v-else-if="port === '80' || port === ''"></operate-home>
<home-page v-else></home-page> <home-page v-else></home-page>
</div> </div>

View File

@ -288,6 +288,13 @@ export default {
loginDom.style.backgroundImage = 'url(/images/chejian-bg.png)' loginDom.style.backgroundImage = 'url(/images/chejian-bg.png)'
this.redirect = '/index' this.redirect = '/index'
break; break;
case '9407':
document.title = '工业视觉平台'
loginDom.style.backgroundImage = 'url(/images/jiqi1.png)'
this.redirect = '/index'
const dom31 = document.querySelector('.login-form')
dom31.style.marginLeft = '-34vw'
break;
default: default:
document.title = '' document.title = ''
loginDom.style.backgroundImage = 'url(/images/gangyin-bg.png)' loginDom.style.backgroundImage = 'url(/images/gangyin-bg.png)'

View File

@ -97,25 +97,25 @@ export default {
{ {
type: "划痕", type: "划痕",
because: "镜面出现多条划痕", because: "镜面出现多条划痕",
time: "2023-12-08 10:12:55", time: "2024-05-28 10:12:55",
status: "已处理", status: "已处理",
}, },
{ {
type: "压痕", type: "压痕",
because: "车门出现明显的凹陷痕迹", because: "车门出现明显的凹陷痕迹",
time: "2023-12-13 10:12:55", time: "2024-05-28 10:12:55",
status: "已处理", status: "已处理",
}, },
{ {
type: "少孔", type: "少孔",
because: "引擎盖缺少一个安装孔位", because: "引擎盖缺少一个安装孔位",
time: "2024-01-17 10:01:55", time: "2024-05-27 10:01:55",
status: "已处理", status: "已处理",
}, },
{ {
type: "缺料", type: "缺料",
because: "车顶缺少一块安装材料", because: "车顶缺少一块安装材料",
time: "2023-12-24 10:12:55", time: "2024-05-18 10:12:55",
status: "已处理", status: "已处理",
}, },
], ],
@ -230,7 +230,7 @@ export default {
show: true, show: true,
}, },
axisTick:{ axisTick:{
alignWithLabel:true, alignWithLabel:true,
} }
}, },
tooltip: { tooltip: {
@ -277,7 +277,7 @@ export default {
type:'bar', type:'bar',
barWidth:'35', barWidth:'35',
itemStyle:{ itemStyle:{
color:function(params){ color:function(params){
var arr= ['#61a4e7','#7ece51','#edca5f','#9470e4','#e06757' ] var arr= ['#61a4e7','#7ece51','#edca5f','#9470e4','#e06757' ]
return arr[params.dataIndex] return arr[params.dataIndex]
@ -379,4 +379,4 @@ export default {
background-image: url(./assets/top#{$i}.png); background-image: url(./assets/top#{$i}.png);
} }
} }
</style> </style>