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

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

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

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

@ -209,7 +209,7 @@
<el-row> <el-row>
<el-button type="primary">首页</el-button> <el-button type="primary">首页</el-button>
<el-button type="success" @click="handleProductInstock"></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-button type="danger" @click="logout">退</el-button>
</el-row> </el-row>
</div> </div>

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

Loading…
Cancel
Save