Commit 284c27d4 by 胡悦

tijiao

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