修改新模块的bug

This commit is contained in:
liushuai
2018-11-24 10:23:12 +08:00
parent dc0100bb9b
commit bbca4d7afc
4 changed files with 42 additions and 31 deletions

View File

@@ -135,7 +135,7 @@ export default {
equipmentNameCheck: null,
equipmentName: [],
operator: '',
operatorNum: null,
operatorNum: '',
operatorCheck: null,
dialogFormVisible: false,
tablePeople: [],
@@ -200,10 +200,11 @@ export default {
}
},
getTableData() {
console.log(typeof (this.equipmentName))
this.equipmentNameValue ? this.equipmentNameCheck = 1 : this.equipmentNameCheck = 0
this.operator ? this.operatorCheck = 1 : this.operatorCheck = 0
this.loading = true
this.getTable(getTableData, [this.equipmentNameCheck, this.equipmentNameValue, this.operatorCheck, this.operator, this.pageCurrent, this.pageSize], ['tableData', 'total', 'loading'])
this.getTable(getTableData, [this.equipmentNameCheck, this.equipmentNameValue, this.operatorCheck, this.operatorNum, this.pageCurrent, this.pageSize], ['tableData', 'total', 'loading'])
},
handleAdd() {
this.addForm('form', [this.dialogFormVisible_form = true, this.title = '增加'])