Commit e3375dc2 authored by jack_liu's avatar jack_liu

修改

parent c52317eb
...@@ -116,12 +116,12 @@ export default { ...@@ -116,12 +116,12 @@ export default {
this.$message.error('ptype为空,不允许提交') this.$message.error('ptype为空,不允许提交')
return return
} }
if (this.dictSelection.length === 0) { /* if (this.dictSelection.length === 0) {
return return
} } */
getlist(this.queryParams).then(res => { /* getlist(this.queryParams).then(res => {
const ptypeList = res.data const ptypeList = res.data
if (ptypeList.length == 0) { if (ptypeList.length === 0) {
this.$refs.dictTable.clearSelection() this.$refs.dictTable.clearSelection()
} }
ptypeList.forEach(row => { ptypeList.forEach(row => {
...@@ -130,20 +130,20 @@ export default { ...@@ -130,20 +130,20 @@ export default {
this.$refs.dictTable.toggleRowSelection(item, true) this.$refs.dictTable.toggleRowSelection(item, true)
} }
}) })
}) }) */
this.$nextTick(() => { /* this.$nextTick(() => { */
submit({ submit({
list: this.dictSelection, list: this.dictSelection,
ptype: this.queryParams.ptype ptype: this.queryParams.ptype
}).then(res => { }).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.$message.success('提交成功') this.$message.success('提交成功')
/* this.$refs.dictTable.clearSelection() /* this.$refs.dictTable.clearSelection()
this.queryParams.ptype = '' */ this.queryParams.ptype = '' */
} }
})
})
}) })
// })
// })
}, },
//查询 //查询
handleQuery() { handleQuery() {
......
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