diff --git a/src/utils/request.js b/src/utils/request.js index 8118346e..66e70a6b 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -120,8 +120,11 @@ if(responseInterceptor === undefined){ window.location.href = '/contracted/login'; return; }else{ - // 产权交易 - window.location.href = '/login'; + if(!window.location.href.indexOf('/Login') && !window.location.href.indexOf('/login')){ + // 产权交易 + window.location.href = '/login'; + } + } }) diff --git a/src/views/homesteadSurvey/nmfwAdd.vue b/src/views/homesteadSurvey/nmfwAdd.vue index cbfbf10d..4df465e0 100644 --- a/src/views/homesteadSurvey/nmfwAdd.vue +++ b/src/views/homesteadSurvey/nmfwAdd.vue @@ -705,7 +705,7 @@ export default { }, methods: { getList(){ - getShyqrs({zjddm:this.form.zjddm}).then(response => { + getShyqrs({zjddm:this.zjdzdxxItem.zjddm}).then(response => { this.nhdmDictionaries = response.rows.map(function(item){ item.shyqrdbxm = item.shyqrdbxm + item.nhdm; return {