车间页面完善
master
xins 7 months ago
parent 4de3a7e89f
commit 0c1011f411

@ -145,16 +145,16 @@ export default {
localStorage.setItem("this.devicetotal", 0);
},
mounted() {
this.getAlarmData();
setInterval(() => this.getAlarmData(), 1000 * 60);
this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST"));
this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT");
if(this.$route.query.id) {
changePoolName(this.$route.query.id).then((res) => {
localStorage.setItem("USER_POOL_NAME_CURRENT", this.$route.query.id);
this.poolName = this.$route.query.id;
});
}
// this.getAlarmData();
// setInterval(() => this.getAlarmData(), 1000 * 60);
// this.poolNameList = JSON.parse(localStorage.getItem("POOL_NAME_LIST"));
// this.poolName = localStorage.getItem("USER_POOL_NAME_CURRENT");
// if(this.$route.query.id) {
// changePoolName(this.$route.query.id).then((res) => {
// localStorage.setItem("USER_POOL_NAME_CURRENT", this.$route.query.id);
// this.poolName = this.$route.query.id;
// });
// }
},
components: {
Breadcrumb,

@ -152,6 +152,13 @@
width="120"
>
<template slot-scope="scope">
<el-button
size="small"
style="margin-right: 12px"
type="text"
>
SOP预览
</el-button>
<el-button
v-if="($route.query && $route.query.id) === '2'"
size="small"
@ -168,21 +175,21 @@
<!-- SOP预览-->
<!-- </el-button>-->
<!-- <el-popconfirm-->
<!-- v-if="($route.query && $route.query.id) === '2'"-->
<!-- cancel-button-text='否'-->
<!-- confirm-button-text='是'-->
<!-- icon="el-icon-info"-->
<!-- icon-color="red"-->
<!-- title="确定开始计划吗?"-->
<!-- @confirm="startPlan(scope.row)"-->
<!-- >-->
<!-- <el-button-->
<!-- slot="reference"-->
<!-- size="small"-->
<!-- type="text">开始-->
<!-- </el-button>-->
<!-- </el-popconfirm>-->
<el-popconfirm
v-if="($route.query && $route.query.id) === '2'"
cancel-button-text='否'
confirm-button-text='是'
icon="el-icon-info"
icon-color="red"
title="确定开始计划吗?"
@confirm="startPlan(scope.row)"
>
<el-button
slot="reference"
size="small"
type="text">开始
</el-button>
</el-popconfirm>
<el-popover
placement="top"
@ -235,7 +242,6 @@
<el-row>
<el-button type="primary">首页</el-button>
<!-- <el-button type="success" @click="getMaterialsModel = true">条码打印</el-button>-->
<el-button type="info">SOP预览</el-button>
<el-button type="danger" @click="logout">退</el-button>
</el-row>
</div>

@ -62,6 +62,12 @@
width="120"
>
<template slot-scope="scope">
<el-button
size="small"
type="text"
>
SOP预览
</el-button>
<el-button
size="small"
type="text"
@ -373,9 +379,7 @@
<div class="bottom">
<el-row>
<el-button type="primary">首页</el-button>
<el-button type="success">SOP预览</el-button>
<el-button type="success" @click="handleProductInstock"></el-button>
<el-button type="info">最小化</el-button>
<el-button type="danger" @click="logout">退</el-button>
</el-row>
</div>

@ -209,7 +209,7 @@
<el-row>
<el-button type="primary">首页</el-button>
<el-button type="success" @click="handleProductInstock"></el-button>
<el-button type="info">最小化</el-button>
<!--el-button type="info">最小化</el-button-->
<el-button type="danger" @click="logout">退</el-button>
</el-row>
</div>

@ -112,12 +112,12 @@
width="120"
>
<template slot-scope="scope">
<!-- <el-button-->
<!-- size="small"-->
<!-- type="text"-->
<!-- >-->
<!-- SOP预览-->
<!-- </el-button>-->
<el-button
size="small"
type="text"
>
SOP预览
</el-button>
<el-popconfirm
cancel-button-text='否'
confirm-button-text='是'
@ -157,7 +157,6 @@
<div class="bottom">
<el-row>
<el-button type="primary">首页</el-button>
<el-button type="info">SOP预览</el-button>
<el-button type="danger" @click="logout">退</el-button>
</el-row>
</div>

Loading…
Cancel
Save