SanHQin 2 hours ago
parent
commit
0d8b975e74

+ 1 - 1
dist/index.html

@@ -37,7 +37,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.e561cb9aa4c60da929d7ed9a723a2a46.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.4fe3039e3721320d6197.js></script><script type=text/javascript src=./static/js/app.df71c118ee9591b222d9.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.26aae808d2d8a77bcb1ef7a12e25c52e.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.23ea04dc469b57e2b4f8.js></script><script type=text/javascript src=./static/js/vendor.4fe3039e3721320d6197.js></script><script type=text/javascript src=./static/js/app.4ac02785a0118ddd4822.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.26aae808d2d8a77bcb1ef7a12e25c52e.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.26aae808d2d8a77bcb1ef7a12e25c52e.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.4ac02785a0118ddd4822.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.4ac02785a0118ddd4822.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.23ea04dc469b57e2b4f8.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/workPage-manifest.2ece51fa34be51c8610a.js.map


+ 9 - 3
src/components/pages/liyuan/page/examine/index.vue

@@ -495,11 +495,17 @@ export default {
           this.PageBaseData = JSON.parse(res.data[0][0].json);
           if(this.pType == 1){
             this.aArray = res.data[0];
-            this.timeListA = this.aArray.map(i=>{return {value:i.time,label:i.timeLabel}})
+            this.timeListA = this.aArray.map(i=>{return {value:i.time,label:i.timeLabel,createAt:i.create_at}})
+            this.timeListA.sort((a,b)=>{
+              return new Date(b.createAt) - new Date(a.createAt)
+            })
             if(this.timeListA.length>0)this.timeA = this.timeListA[0].value;
           }else {
             this.bArray = res.data[0];
-            this.timeListB = this.bArray.map(i=>{return {value:i.time,label:i.timeLabel}})
+            this.timeListB = this.bArray.map(i=>{return {value:i.time,label:i.timeLabel,createAt:i.create_at}})
+            this.timeListB.sort((a,b)=>{
+              return new Date(b.createAt) - new Date(a.createAt)
+            })
             if(this.timeListB.length>0)this.timeB = this.timeListB[0].value;
             if(!this.bArray.length){
               this.pType = 1
@@ -515,7 +521,7 @@ export default {
     // 获取页面基础ui信息
     // getPageBase2() {
     //   console.log('6666');
-      
+
     //   let params = {
     //     typ: this.pType,
     //     org: this.org,

+ 8 - 2
src/components/pages/test/examine/index.vue

@@ -147,11 +147,17 @@ export default {
 
           if(type == 1){
             this.aArray = res.data[0];
-            this.timeListA = this.aArray.map(i=>{return {value:i.time,label:i.timeLabel}})
+            this.timeListA = this.aArray.map(i=>{return {value:i.time,label:i.timeLabel,createAt:i.create_at}})
+            this.timeListA.sort((a,b)=>{
+              return new Date(b.createAt) - new Date(a.createAt)
+            })
             if(this.timeListA.length>0)this.timeA = this.timeListA[0].value;
           }else {
             this.bArray = res.data[0];
-            this.timeListB = this.bArray.map(i=>{return {value:i.time,label:i.timeLabel}})
+            this.timeListB = this.bArray.map(i=>{return {value:i.time,label:i.timeLabel,createAt:i.create_at}})
+            this.timeListB.sort((a,b)=>{
+              return new Date(b.createAt) - new Date(a.createAt)
+            })
             if(this.timeListB.length>0)this.timeB = this.timeListB[0].value;
             if(!this.bArray.length){
               this.pType = 1

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