Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/2dda0ad325972a60c9a8c021462d0c51eb147ed0?style=split&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
9 changed files with
27 additions and
12 deletions
@ -438,6 +438,7 @@
data:this.params,
data:this.params,
success:((res)=>{
success:((res)=>{
this.AreaList = res.data
this.AreaList = res.data
this.postForm.area = ''
}) ,
}) ,
});
});
},
},
@ -303,7 +303,7 @@
// 初始化地市列表
// 初始化地市列表
this.getCityList();
this.getCityList();
if (this.postForm.framework){
if (this.postForm.framework){
this.getAreaList()
this.getAreaList('mounted' )
}
}
this.getCheckView()
this.getCheckView()
// var date = new Date();
// var date = new Date();
@ -511,7 +511,8 @@
}) ,
}) ,
});
});
},
},
getAreaList(){
getAreaList(type){
if (type === 'mounted'){
this.params.parentId = this.postForm.framework
this.params.parentId = this.postForm.framework
// this.postForm.area = ''
// this.postForm.area = ''
$.ajax({
$.ajax({
@ -522,6 +523,19 @@
this.AreaList = res.data
this.AreaList = res.data
}) ,
}) ,
});
});
}else{
this.params.parentId = this.postForm.framework
this.postForm.area = ''
$.ajax({
url: ctx + "system/area/getSysAreaList",
type: 'GET',
data:this.params,
success:((res)=>{
this.AreaList = res.data
}) ,
});
}
},
},
submitForm() {
submitForm() {
this.$refs.postForm.validate((valid) => {
this.$refs.postForm.validate((valid) => {