功能修改

This commit is contained in:
ly19960718 2021-05-01 16:13:37 +08:00
parent 46092e1864
commit 9ae0b4306a
2 changed files with 6 additions and 3 deletions

View File

@ -361,7 +361,10 @@
//c初始化数据字典
function initDataDict(dictId,tabId){
top.restAjax.get(top.restAjax.path("api/area/listallbyparentid/{areaParentId}",[dictId]),{},null,function (code,data,args) {
if(!dictId){
return;
}
top.restAjax.get(top.restAjax.path("api/area/listbyparentid/{areaParentId}",[dictId]),{},null,function (code,data,args) {
$("#"+tabId).empty();
var html = '';
if ('institutionRegionProvince' === tabId){

View File

@ -389,10 +389,10 @@
//c初始化数据字典
function initDataDict(dictId,tabId,selectVelue){
if(dictId == null || dictId == ''){
if(!dictId){
return;
}
top.restAjax.get(top.restAjax.path("api/area/listallbyparentid/{areaParentId}",[dictId]),{},null,function (code,data,args) {
top.restAjax.get(top.restAjax.path("api/area/listbyparentid/{areaParentId}",[dictId]),{},null,function (code,data,args) {
$("#"+tabId).empty();
var html = '';
if ('institutionRegionProvince' === tabId){