Compare commits

...

2 Commits

2 changed files with 9 additions and 7 deletions

View File

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

View File

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