/**
 * targetType返回实体类信息
 * @param targetType
 * @returns {{entityCode: string, entityId: string, entityText: string}}
 */
function getTargetTypeEntity(targetType) {
        ${TargetJsValues}
}



/**
 * 显示目标实体的详情信息窗口
 * @param targetType 目标类型
 * @param idValue 主键值
 */
function showTargetEntityDetails(targetType,idValue) {
    let targetEntityJsonInfo = getTargetTypeEntity(targetType);
    let entityJsObj = eval("new " + targetEntityJsonInfo.entityCode + " ()");
    let params = {};

    params["t." + targetEntityJsonInfo.entityId] = idValue;
    entityJsObj.showDetails(params);
}