Commit 49503614 by wangql

提交代码

1 parent de00ec8d
......@@ -92,14 +92,15 @@
</gl-select>
</gl-form-item>
<!-- <gl-form-item label="地区:" prop="area">
<gl-cascader
:options="areaOptions"
v-model="selectedOptions"
change-on-select
@change="handleChange">
</gl-cascader>
</gl-form-item> -->
<gl-form-item label="地区:" prop="area">
<city-area
ref="c"
:showCity="showCity"
:eventBus="eventBus"
:validateCity="validateCity"
@cityArea="getCityArea"
></city-area>
</gl-form-item>
<gl-form-item label='加入分组时间:'>
<gl-date-picker
v-model="times"
......@@ -128,12 +129,15 @@
// import { getMerchantGroupDetailList } from '@/api/index'
// import { NoticeMixin } from '@/mixins'
// import Vue from 'vue'
import Vue from 'vue'
import { groupDetailMethods, request } from '@/api'
import AddBusiness from './addBusiness'
import { CityArea } from '../components'
export default {
name: 'detail',
components: {
AddBusiness
AddBusiness,
CityArea
},
watch: {
},
......@@ -153,8 +157,14 @@ export default {
total: 10,
tableLoading: false,
searchLoading: false,
// 高级搜索
dialogVisible_search: false,
// 添加商户
addDialogVisible: false,
// 省市区
showCity: [1, 1],
validateCity: [0, 0],
eventBus: null,
tableData: {
border: true,
align: 'center',
......@@ -226,7 +236,7 @@ export default {
},
mounted() {
this.getList()
// this.idPassvalue = new Vue()
this.eventBus = new Vue()
},
methods: {
loadingGetList() {
......@@ -288,6 +298,9 @@ export default {
},
handleAddData() {
this.addDialogVisible = !this.addDialogVisible
},
getCityArea(params) {
console.log(params)
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!