零件状态查询

This commit is contained in:
zhangdingyu
2019-03-15 11:15:19 +08:00
parent 8dea97e4ab
commit fd6f422264
3 changed files with 22 additions and 19 deletions

View File

@@ -470,6 +470,7 @@ export default {
if (this.MachineValue !== '' && this.MachineValue !== null) {
this.loading0 = true
searchtable(this.MachineValue, this.pageCurrent, this.pageSize).then(response => {
console.log(response.data)
this.tableData = response.data.rows
this.total = response.data.total
this.loading0 = false
@@ -530,6 +531,7 @@ export default {
Jurisdiction() {
this.count = 0
getMachine2().then(response => {
console.log(response.data)
this.gridData = response.data
for (let i = 0; i < response.data.length; i++) {
if (response.data[i].调序权限 === '1') { this.count = this.count + 1 }