功能修改
This commit is contained in:
parent
46092e1864
commit
9ae0b4306a
@ -361,7 +361,10 @@
|
|||||||
|
|
||||||
//c初始化数据字典
|
//c初始化数据字典
|
||||||
function initDataDict(dictId,tabId){
|
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();
|
$("#"+tabId).empty();
|
||||||
var html = '';
|
var html = '';
|
||||||
if ('institutionRegionProvince' === tabId){
|
if ('institutionRegionProvince' === tabId){
|
||||||
|
@ -389,10 +389,10 @@
|
|||||||
|
|
||||||
//c初始化数据字典
|
//c初始化数据字典
|
||||||
function initDataDict(dictId,tabId,selectVelue){
|
function initDataDict(dictId,tabId,selectVelue){
|
||||||
if(dictId == null || dictId == ''){
|
if(!dictId){
|
||||||
return;
|
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();
|
$("#"+tabId).empty();
|
||||||
var html = '';
|
var html = '';
|
||||||
if ('institutionRegionProvince' === tabId){
|
if ('institutionRegionProvince' === tabId){
|
||||||
|
Loading…
Reference in New Issue
Block a user