Commit 284c27d4 by 胡悦

tijiao

1 parent 7bf8e03a
......@@ -107,7 +107,8 @@ import { businessManagenMethods, groupDetailMethods, request } from '@/api'
export default {
name: 'AddBusiness',
props: {
addDialogVisible: Boolean
addDialogVisible: Boolean,
groupId: String
},
data() {
return {
......@@ -137,6 +138,9 @@ export default {
}
},
watch: {
groupId(val) {
console.log(this.groupId)
},
addDialogVisible(val) {
this.$validator.errors.clear()
},
......@@ -225,7 +229,7 @@ export default {
if (query !== '') {
this.loading = true
const params = {}
params.groupId = 1
// params.groupId = 1
params.searchWrod = query
params.method = groupDetailMethods.SearchList
request.req(params).then(res => {
......
......@@ -93,6 +93,7 @@
</div>
</gl-dialog>
<add-business
:groupId="groupId"
:addDialogVisible="addDialogVisible"
@addData="handleAddData"
></add-business>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!