Commit 7c5e4cce by lichengming

修改了试样任务分配tab切换

parent 1097d936
......@@ -68,13 +68,17 @@ export default {
// this._issuedPage()
} else if (tab.name === 'waitReceive') {
// this._waitPage()
this.$refs.waitScanModal._clearTable()
this.$refs.waitReceiveModal._open(this.entrustId)
} else if (tab.name === 'waitScan') {
this.$refs.waitReceiveModal._clearTable()
this.$refs.waitScanModal._open(this.entrustId)
// this._waitSend()
}
},
_search() {
this.$refs.waitScanModal._clearTable()
this.$refs.waitReceiveModal._clearTable()
this.$emit('on-result-change')
},
// 关闭弹框的时候刷新上个界面
......
......@@ -170,6 +170,10 @@ export default {
this.formObj.sampleCode = ''
this.getPage = {}
},
_clearAll() {
this.getPage.records = []
this.selectIds = []
},
_modalResult(data) {
switch (this.currentComponent) {
case 'AssignPerson':
......
......@@ -40,6 +40,9 @@ export default {
console.log(id)
this.$refs.leftModal._open(this.id)
// this.$refs.rightModal._getColumn()
},
_clearTable() {
this.$refs.rightModal._clearAll()
}
}
}
......
......@@ -318,6 +318,10 @@ export default {
this._page()
}
},
_clearAll() {
this.getPage.records = []
this.selectIds = []
},
_refresh() {
this.$emit('on-result-change')
},
......
......@@ -35,6 +35,9 @@ export default {
_open(id) {
this.$refs.SampleleftModal._open(id)
// this.$refs.rightModal._getColumn()
},
_clearTable() {
this.$refs.SamplerightModal._clearAll()
}
}
}
......
......@@ -78,6 +78,8 @@ export default {
}
},
_search() {
this.$refs.waitScanModal._clearTab()
this.$refs.waitReceiveModal._clearTab()
this.$emit('on-result-change')
},
// 关闭弹框的时候刷新上个界面
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment