diff --git a/jero-web/src/components/CollectionType/index.vue b/jero-web/src/components/CollectionType/index.vue index 5927e63fd..4b6bc0fc6 100644 --- a/jero-web/src/components/CollectionType/index.vue +++ b/jero-web/src/components/CollectionType/index.vue @@ -3,7 +3,7 @@
-
+
@@ -113,7 +113,7 @@
-
+
@@ -152,7 +152,7 @@
-
+
@@ -183,7 +183,7 @@
-
-
@@ -243,7 +243,7 @@
-
+
@@ -365,7 +365,7 @@
-
+
-
+
@@ -606,7 +606,7 @@
-
+
@@ -646,7 +646,7 @@
-
+
-
+
@@ -906,15 +906,24 @@ export default { // Object.keys(this.detailDate.paramsConfigData).sort().forEach(function(key) { // ordered[key] = that.detailDate.paramsConfigData[key] // }) - this.key = Object.keys(this.detailDate.paramsConfigData).sort((a, b) => { - let index = a.lastIndexOf('+') - let index1 = b.lastIndexOf('+') - return a.slice(0, index) - b.slice(0, index1) - }) + // this.key = Object.keys(this.detailDate.paramsConfigData).sort((a, b) => { + // let index = a.lastIndexOf('+') + // let index1 = b.lastIndexOf('+') + // return a.slice(0, index) - b.slice(0, index1) + // }) + // console.log(this.key) // this.detailDate.paramsConfigData = ordered // this.detailDate.paramsConfigData = { ...this.detailDate.paramsConfigData } }, methods: { + keyIndex(){ + let key = Object.keys(this.detailDate.paramsConfigData).sort((a, b) => { + let index = a.lastIndexOf('+') + let index1 = b.lastIndexOf('+') + return a.slice(0, index) - b.slice(0, index1) + }) + return key + }, selectChange(val) { this.$nextTick(() => { let element = document.querySelectorAll( diff --git a/jero-web/src/components/CollectionTypeDisabled/index.vue b/jero-web/src/components/CollectionTypeDisabled/index.vue index 5eb406f75..8c2a0d9e3 100644 --- a/jero-web/src/components/CollectionTypeDisabled/index.vue +++ b/jero-web/src/components/CollectionTypeDisabled/index.vue @@ -3,7 +3,7 @@
-
+
@@ -101,7 +101,7 @@
-
+
@@ -136,7 +136,7 @@
-
+
@@ -164,7 +164,7 @@
-
-
@@ -218,7 +218,7 @@
-
+
@@ -328,7 +328,7 @@
-
+
-
+
@@ -545,7 +545,7 @@
-
+
@@ -582,7 +582,7 @@
-
+
-
+
@@ -861,7 +861,14 @@ return id // return Math.random().toString(32) }, - + keyIndex(){ + let key = Object.keys(this.detailDate.paramsConfigData).sort((a, b) => { + let index = a.lastIndexOf('+') + let index1 = b.lastIndexOf('+') + return a.slice(0, index) - b.slice(0, index1) + }) + return key + }, addconfig() { let paramsConfigData = Object.keys(this.detailDate.paramsConfigData).sort((a, b) => { let index = a.lastIndexOf('+')