零件工艺执行
This commit is contained in:
@@ -94,12 +94,12 @@
|
||||
<el-table-column property="date" label="操作" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
v-if="scope.row.调序权限===0"
|
||||
v-if="scope.row.调序权限==='0'"
|
||||
size="mini"
|
||||
type="success"
|
||||
@click="JurisdictionControl1(scope.row)">开启</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.调序权限===1"
|
||||
v-if="scope.row.调序权限==='1'"
|
||||
size="mini"
|
||||
type="danger"
|
||||
@click="JurisdictionControl2(scope.row)">关闭</el-button>
|
||||
@@ -165,7 +165,7 @@ export default {
|
||||
getMachine().then(response => {
|
||||
this.gridData = response.data
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
if (response.data[i].调序权限 === 1) { this.count = this.count + 1 }
|
||||
if (response.data[i].调序权限 === '1') { this.count = this.count + 1 }
|
||||
}
|
||||
this.num = this.count
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user