|
|
@ -514,7 +514,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$scope.decideCompliance = function (name) {
|
|
|
|
$scope.decideCompliance = function (name) {
|
|
|
|
var keywords = ['education','financial' ,'train','immigrant','invest',
|
|
|
|
var keywords = ['education','financial' ,'train','immigrant','invest',
|
|
|
|
'律师咨询','会计事务所','移民留学','娱乐','金融','地产','投资'];
|
|
|
|
'律师咨询','会计事务所', '移民', '留学','娱乐','金融','地产','投资'];
|
|
|
|
for(var i = 0; i < keywords.length; i++){
|
|
|
|
for(var i = 0; i < keywords.length; i++){
|
|
|
|
if (name.indexOf(keywords[i]) != -1) {
|
|
|
|
if (name.indexOf(keywords[i]) != -1) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
@ -1363,7 +1363,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
var info = [];
|
|
|
|
var info = [];
|
|
|
|
$scope.decideCompliance = function (name) {
|
|
|
|
$scope.decideCompliance = function (name) {
|
|
|
|
var keywords = ['education','financial' ,'train','immigrant','invest',
|
|
|
|
var keywords = ['education','financial' ,'train','immigrant','invest',
|
|
|
|
'律师咨询','会计事务所','移民留学','娱乐','金融','地产','投资'];
|
|
|
|
'律师咨询','会计事务所', '移民', '留学','娱乐','金融','地产','投资'];
|
|
|
|
for(var i = 0; i < keywords.length; i++){
|
|
|
|
for(var i = 0; i < keywords.length; i++){
|
|
|
|
if (name.indexOf(keywords[i]) != -1) {
|
|
|
|
if (name.indexOf(keywords[i]) != -1) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|