Compare commits

..

No commits in common. "31f3c10abb75147cb83538d00a594ff3f5043d57" and "68e22e6f16bf3ee1bc1b9d2fc217c20bcd77a84b" have entirely different histories.

2 changed files with 7 additions and 9 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,8 +112,7 @@ export default {
data () {
return {
areas: [{'name':'市南区'},{'name':'市北区'},{'name':'李沧区'},{'name':'崂山区'},{'name':'西海岸新区'},
{'name':'城阳区'},{'name':'即墨区'},{'name':'胶州市'},{'name':'平度市'},{'name':'莱西市'}], //
areas: [], //
sceneAreas: [],
fileUploadUrl: window.SITE_CONFIG.apiURL + '/upload',
dataForm: {

View File

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