From b3aaeffd19122233004b65a9d715baebfb278a72 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期四, 06 七月 2023 16:04:43 +0800
Subject: [PATCH] bug修改

---
 src/pages/show/showIndex/YunweiBlock.vue                 |   23 ++++++-----------------
 static/bmap_offline_demo/bmap_offline_api_v3.0_min.js    |    6 +++---
 src/pages/show/showIndex/showIndex.vue                   |    5 +++--
 src/pages/show/showIndex/YunweiBlock/YunweiBlockForm.vue |    2 +-
 4 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/src/pages/show/showIndex/YunweiBlock.vue b/src/pages/show/showIndex/YunweiBlock.vue
index da0a883..80574fb 100644
--- a/src/pages/show/showIndex/YunweiBlock.vue
+++ b/src/pages/show/showIndex/YunweiBlock.vue
@@ -155,18 +155,9 @@
                     ],
                     rowNum: 14
                 },
-                tableData: [{
-                    content1:'3鍙锋湇鍔″櫒寮傚父锛屾姤璀﹂敊璇�',
-                    data:'2023-03-06'
-                },{
-                    content1:'3鍙锋湇鍔″櫒寮傚父锛屾姤璀﹂敊璇�',
-                    data:'2023-03-06'
-                },{
-                    content1:'3鍙锋湇鍔″櫒寮傚父锛屾姤璀﹂敊璇�',
-                    data:'2023-03-06'
-                }],
                 YunweiBlockVisable: false,
-                timer: null
+                timer: null,
+                tableData:[]
             }
         },
         destroyed() {
@@ -191,12 +182,10 @@
               this.getTaskByDate()
             },
             handleClickRow(config) {    //纰橀厭琛屼俊鎭�
-                console.log(config.row[2],'config===')
-                console.log(document.querySelector('.configSpan').innerHTML,'document.querySelector(\'.configSpan\')')
-
+                console.log(this.tableData[config.rowIndex].id,'id======')
                 this.YunweiBlockVisable = true
                 this.$nextTick(() => {
-                    this.$refs.YunweiBlockForm.init(document.querySelector('.configSpan').innerHTML)
+                    this.$refs.YunweiBlockForm.init(this.tableData[config.rowIndex].id)
                 })
 
             },
@@ -226,9 +215,9 @@
                             columnWidth: [180,120,0],
                             data:[]
                         }
+                        this.tableData = res.data
                         let data = res.data.map(item => {
-                            let tempStr = `<span class="configSpan" style="display:none">${item.id}</span>`
-                            return [`${item.title}`,`${item.startDate}`,tempStr]
+                            return [`${item.title}`,`${item.startDate}`]
                         })
                         this.$set(this.ywTableConfig,'data',data)
                     }
diff --git a/src/pages/show/showIndex/YunweiBlock/YunweiBlockForm.vue b/src/pages/show/showIndex/YunweiBlock/YunweiBlockForm.vue
index a2e3df6..f3eed11 100644
--- a/src/pages/show/showIndex/YunweiBlock/YunweiBlockForm.vue
+++ b/src/pages/show/showIndex/YunweiBlock/YunweiBlockForm.vue
@@ -67,7 +67,7 @@
                 if(row.isOk == 0 || row.isOk == null) {
                     return '鏈畬鎴�'
                 }else if(row.isOk == 1){
-                    return '鏈畬鎴�'
+                    return '瀹屾垚'
                 }
             }
         }
diff --git a/src/pages/show/showIndex/showIndex.vue b/src/pages/show/showIndex/showIndex.vue
index 2e0c23c..70d8943 100644
--- a/src/pages/show/showIndex/showIndex.vue
+++ b/src/pages/show/showIndex/showIndex.vue
@@ -275,8 +275,8 @@
     .uploadBtn{
        background: linear-gradient(to right,#0e0e25,#092749);
     }
-    .el-button.is-plain:focus, .el-button.is-plain:hover{
-      background: transparent;
+    .el-button.is-plain:hover{
+      background: linear-gradient(to right, #0e0e25, #092749)!important;
     }
     .el-button{
       border:1px solid #1ee3f3!important;
@@ -285,6 +285,7 @@
       }
     }
   }
+
 </style>
 <style lang="scss" scoped>
 
diff --git a/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js b/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js
index e4870d5..85f2724 100644
--- a/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js
+++ b/static/bmap_offline_demo/bmap_offline_api_v3.0_min.js
@@ -6517,9 +6517,9 @@
 
 		var tdir = bmapcfg.tiles_dir.length>0?bmapcfg.tiles_dir:bmapcfg.home + "tiles";
 		return tdir + "/" + b + "/" + e + "/" + a + bmapcfg.imgext; // 浣跨敤鏈湴鐨勭摝鐗�
-      // var test2=("http://192.168.31.80/"+b+"/"+ (e+"").replace(/-/gi,"M")+"/"+(a+"").replace(/-/gi,"M")+ ".png").replace(/-(\d+)/gi,"M$1");
-      // console.log(test2)
-      // return test2;
+    //   var test2=("http://192.168.31.80/"+b+"/"+ (e+"").replace(/-/gi,"M")+"/"+(a+"").replace(/-/gi,"M")+ ".png").replace(/-(\d+)/gi,"M$1");
+    //   console.log(test2)
+    //   return test2;
 	}
     ;
     var La = new id("\u5730\u56fe",md,{

--
Gitblit v1.9.1