Browse Source

筛选逻辑判断

linehang 6 years ago
parent
commit
8ae02d4eaa
1 changed files with 2 additions and 5 deletions
  1. 2 5
      app/jbsc/js/statistics.js

+ 2 - 5
app/jbsc/js/statistics.js

@ -174,16 +174,13 @@ new Vue({
			var vm = this
			vm.type = $("#Type").attr("data-id");
			var status = $("#Status").attr("data-id");
			if(status == "5") {
				vm.status = "";
				vm.isDanger = "0";
			} else if(status == "" || status == undefined) {
			if(status == "" || status == undefined) {
				if(vm.isDanger == "0") {
					vm.isDanger = ""
				}
				vm.status = status;
			} else {
				vm.isDanger = "1";
//				vm.isDanger = "1";
				vm.status = status;
			}
			vm.currentPage = page