Compare commits

..

2 Commits

2 changed files with 9 additions and 7 deletions

View File

@ -90,7 +90,7 @@ export default {
areaVisible: { areaVisible: {
handler (newVal) { handler (newVal) {
this.getSceneArea() this.getSceneArea()
this.getArea() // this.getArea()
this.areaVisibleCopy = newVal this.areaVisibleCopy = newVal
if (this.modalType == 'add' && newVal) { if (this.modalType == 'add' && newVal) {
this.getDetail(this.dataForm) this.getDetail(this.dataForm)
@ -112,7 +112,8 @@ export default {
data () { data () {
return { return {
areas: [], // areas: [{'name':'市南区'},{'name':'市北区'},{'name':'李沧区'},{'name':'崂山区'},{'name':'西海岸新区'},
{'name':'城阳区'},{'name':'即墨区'},{'name':'胶州市'},{'name':'平度市'},{'name':'莱西市'}], //
sceneAreas: [], sceneAreas: [],
fileUploadUrl: window.SITE_CONFIG.apiURL + '/upload', fileUploadUrl: window.SITE_CONFIG.apiURL + '/upload',
dataForm: { dataForm: {

View File

@ -156,7 +156,8 @@ export default defineComponent({
} }
let cityOrArea = ref(0)//0 1 let cityOrArea = ref(0)//0 1
let senses = ref([])// let senses = ref([])//
let areas = ref([])// let areas = ref([{'name':'市南区'},{'name':'市北区'},{'name':'李沧区'},{'name':'崂山区'},{'name':'西海岸新区'},
{'name':'城阳区'},{'name':'即墨区'},{'name':'胶州市'},{'name':'平度市'},{'name':'莱西市'}])//
let clickSensesList = ref([])// let clickSensesList = ref([])//
let clickAreasList = ref([])// let clickAreasList = ref([])//
const searchResultListDom = ref(null) const searchResultListDom = ref(null)
@ -254,11 +255,11 @@ export default defineComponent({
const params1 = { const params1 = {
pid: '250000' pid: '250000'
} }
getRegion(params1).then( // getRegion(params1).then(
(res) => { // (res) => {
areas.value = res.data.data // areas.value = res.data.data
}) // })
} }
// //