Commit 49503614 by wangql

提交代码

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