Sfoglia il codice sorgente

统计各页面返回操作优化

raolu 7 anni fa
parent
commit
ca86ba79b9

+ 1 - 0
app/statistics/js/comprehensive-analysis.js

@ -110,6 +110,7 @@ new Vue({
        var vm = this;
        //监听后退按钮的操作
        EventBus.$on("back-click", function(arg){
            EventBus.$emit('update-statistics-time', {}); //更新统计时间
            if(reqList.length == 1){
                history.go(-1);
            } 

+ 1 - 0
app/statistics/js/consulting-analysis.js

@ -70,6 +70,7 @@ new Vue({
        var vm = this;
        //监听后退按钮的操作
        EventBus.$on("back-click", function(arg){
            EventBus.$emit('update-statistics-time', {}); //更新统计时间
            if(reqList.length == 1){
                history.go(-1);
            } 

+ 1 - 0
app/statistics/js/estimate-analysis.js

@ -62,6 +62,7 @@ new Vue({
        var vm = this;
        //监听后退按钮的操作
        EventBus.$on("back-click", function(arg){
            EventBus.$emit('update-statistics-time', {}); //更新统计时间
            if(reqList.length == 1){
                history.go(-1);
            } 

+ 1 - 0
app/statistics/js/prescription-analysis.js

@ -77,6 +77,7 @@ new Vue({
        var vm = this;
        //监听后退按钮的操作
        EventBus.$on("back-click", function(arg){
            EventBus.$emit('update-statistics-time', {}); //更新统计时间
            if(reqList.length == 1){
                history.go(-1);
            } 

+ 1 - 0
app/statistics/js/renew-progress.js

@ -108,6 +108,7 @@ new Vue({
				vm.lowCode = info.lowCode;
				loadData([0, 1, 2], vm);
				EventBus.$emit('update-area-name', {areaName: vm.areaTitle});
			}
		});
		//监听页面刷新

+ 1 - 0
app/statistics/js/sign-progress.js

@ -110,6 +110,7 @@ new Vue({
				vm.lowCode = info.lowCode;
				loadData([0, 1, 2], vm);
				EventBus.$emit('update-area-name', {areaName: vm.areaTitle});
			}
		});
		//监听页面刷新

+ 1 - 0
app/statistics/js/two-rate-analysis.js

@ -102,6 +102,7 @@ new Vue({
				vm.index = info.index;
				loadData([0, 1], vm);
				EventBus.$emit('update-area-name', {areaName: vm.areaTitle});
			}
		});
		//监听页面刷新