SanHQin 3 月之前
父節點
當前提交
c7f129a5eb

File diff suppressed because it is too large
+ 0 - 0
dist/css/app.4fefa580.css


+ 1 - 1
dist/index.html

@@ -36,4 +36,4 @@
         width: 100%;
         background: #e6eaf0;
         font-family: '黑体';
-      }</style><script defer="defer" src="/js/chunk-vendors.3a922260.js"></script><script defer="defer" src="/js/app.8f65a18c.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.a152e7ce.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but userManage doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
+      }</style><script defer="defer" src="/js/chunk-vendors.a6cb404a.js"></script><script defer="defer" src="/js/app.82d23a05.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.4fefa580.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but userManage doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because it is too large
+ 0 - 0
dist/js/app.82d23a05.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.82d23a05.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-vendors.a6cb404a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-vendors.a6cb404a.js.map


+ 15 - 1
src/components/dialog/permissionSettingDialog.vue

@@ -2104,7 +2104,8 @@ export default {
 			});
 		},
 		moveApp(id, type) {
-			let _index = this.form.admin.cocoFlow.findIndex((i) => i.id == id);
+			if(this.tagType=='admin-cocoFlow'){
+				let _index = this.form.admin.cocoFlow.findIndex((i) => i.id == id);
 			if (type == 0 && _index != 0) {
 				//上移
 				let temp = this.form.admin.cocoFlow[_index - 1];
@@ -2115,6 +2116,19 @@ export default {
 				this.form.admin.cocoFlow[_index + 1] = this.form.admin.cocoFlow[_index];
 				this.form.admin.cocoFlow[_index] = temp;
 			}
+			}else if(this.tagType=='admin-cocoFlow2'){
+				let _index = this.form.admin.cocoFlow2.findIndex((i) => i.id == id);
+			if (type == 0 && _index != 0) {
+				//上移
+				let temp = this.form.admin.cocoFlow2[_index - 1];
+				this.form.admin.cocoFlow2[_index - 1] = this.form.admin.cocoFlow2[_index];
+				this.form.admin.cocoFlow2[_index] = temp;
+			} else if (type == 1 && _index != this.form.admin.cocoFlow2.length - 1) {
+				let temp = this.form.admin.cocoFlow2[_index + 1];
+				this.form.admin.cocoFlow2[_index + 1] = this.form.admin.cocoFlow2[_index];
+				this.form.admin.cocoFlow2[_index] = temp;
+			}
+			}
 			this.$forceUpdate();
 		},
 		selectAppSuccess(data) {

Some files were not shown because too many files changed in this diff