347617796@qq.com 4 年之前
父节点
当前提交
861db60b41
共有 3 个文件被更改,包括 13 次插入1 次删除
  1. 1 0
      src/index.vue
  2. 1 1
      src/views/set/framework.vue
  3. 11 0
      src/views/set/rule.vue

+ 1 - 0
src/index.vue

@@ -123,6 +123,7 @@ export default {
 		},
 		returnRoutersArr(str){
 			var routers = this.$router.options.routes[0].children;
+			console.log(this.$router.options.routes);
 			var routersArr=[];
 			routers.forEach(item=>{
 				if(item.meta.groupCode==str){

+ 1 - 1
src/views/set/framework.vue

@@ -151,7 +151,7 @@ export default {
 	methods: {
 		//同步信息
 		tb() {
-			this.$confirm('下次同步时间需在两小时之后,是否同步?', '提示', {
+			this.$confirm('下次同步时间需在10分钟之后,是否同步?', '提示', {
 			  confirmButtonText: '确定',
 			  cancelButtonText: '取消',
 			  type: 'warning'

+ 11 - 0
src/views/set/rule.vue

@@ -640,21 +640,32 @@ export default {
 
 		editDetails(val) {
 			this.rules_detail_form = JSON.parse(JSON.stringify(val));
+			console.log(val);
 			if (this.rules_detail_form.min_point == this.rules_detail_form.max_point) {
 				this.rules_detail_form.range_type = '1';
 			} else {
 				this.rules_detail_form.range_type = '2';
 			}
+			
 			if (this.rules_detail_form.min_point < 0) {
 				this.integral_select_name1 = '2';
+				let str=this.rules_detail_form.min_point;
+				console.log(str);
+				this.rules_detail_form.min_point=str.toString().substring(1);
 			} else {
 				this.integral_select_name1 = '1';
 			}
+			
+			
 			if (this.rules_detail_form.max_point < 0) {
 				this.integral_select_name2 = '2';
+				let str=this.rules_detail_form.max_point;
+				this.rules_detail_form.max_point=str.toString().substring(1);
 			} else {
 				this.integral_select_name2 = '1';
 			}
+			
+			
 			this.rule_show = true;
 			this.rule_type = 'edit';
 		},