From c658f316d2f464e510d10f1081c52848c3aefeb2 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期三, 15 十一月 2023 23:21:16 +0800
Subject: [PATCH] 企业 视频弹框

---
 src/components/map/viewer1.vue |   61 ++++++++++++++++++++++--------
 1 files changed, 44 insertions(+), 17 deletions(-)

diff --git a/src/components/map/viewer1.vue b/src/components/map/viewer1.vue
index 0121c54..93f7d55 100644
--- a/src/components/map/viewer1.vue
+++ b/src/components/map/viewer1.vue
@@ -80,7 +80,7 @@
         class="aboutDialog"
         title="浼佷笟淇℃伅"
         append-to-body
-        width="60%"
+        width="50%"
         height="60%"
         style="overflow: auto"
         :visible.sync="QYbox"
@@ -89,7 +89,7 @@
         <div class="el-dialog-div">
           <div class="inquire">
             <el-form
-              size="medium"
+              size="mini"
               ref="queryForm"
               :model="queryForm"
               :inline="true"
@@ -115,39 +115,52 @@
             style="width: 100%"
             :data="tableData"
             highlight-current-row
+            height="50"
           >
-            <el-table-column type="index" width="50"></el-table-column>
+            <el-table-column type="index" width="40"></el-table-column>
             <el-table-column
               property="浼佷笟鍚嶇О"
               label="浼佷笟鍚嶇О"
+              min-width="240"
             ></el-table-column>
             <el-table-column
               property="浼佷笟绫诲瀷"
               label="浼佷笟绫诲瀷"
+              min-width="240"
             ></el-table-column>
             <el-table-column
               property="鎴愮珛鏃堕棿"
               label="鎴愮珛鏃堕棿"
+              width="120"
             ></el-table-column>
-            <el-table-column
+            <!-- <el-table-column
               property="鎵�灞炶涓�"
               label="鎵�灞炶涓�"
-            ></el-table-column>
+            ></el-table-column> -->
             <el-table-column
               property="娉曚汉"
               label="娉曚汉"
-              width="100"
+              width="80"
             ></el-table-column>
-            <el-table-column
+            <!-- <el-table-column
               property="娉ㄥ唽鍦板潃"
               label="娉ㄥ唽鍦板潃"
-              width="200"
-            ></el-table-column>
+            ></el-table-column> -->
+            <el-table-column label="鎿嶄綔" width="80">
+              <template slot-scope="scope">
+                <el-button
+                  @click="handleClick(scope.row)"
+                  type="text"
+                  size="small"
+                  >璇︽儏</el-button
+                >
+              </template>
+            </el-table-column>
           </el-table>
           <div
             slot="footer"
             class="dialog-footer"
-            style="text-align: center; margin-top: 5px"
+            style="text-align: center; margin-top: 2px"
           >
             <el-pagination
               @size-change="handleSizeChange"
@@ -298,8 +311,8 @@
       window.sgworld1 = new SmartEarth.EarthCtrl(
         "sdkContainer1",
         {
-          // StaticFileBaseUrl: "../../static/CimSDK/",
-          StaticFileBaseUrl: "../../../SW/static/CimSDK/",
+          StaticFileBaseUrl: "../../static/CimSDK/",
+          // StaticFileBaseUrl: "../../../SW/static/CimSDK/",
         },
         {},
         null,
@@ -311,7 +324,7 @@
               enablePickFeatures: false,
             },
             "0",
-            undefined,
+            1,
             true,
             ""
           );
@@ -728,7 +741,13 @@
       }
       return table;
     },
-
+    handleClick(row) {
+      window.open(
+        "https://qylweb.bda.gov.cn/alldetails/#/newEnterprisedetails?uscc=" +
+          row["缁熶竴绀句細淇$敤浠g爜"] +
+          "&systemName=涓皬寰�"
+      );
+    },
     detectZoom() {
       var ratio = 0,
         screen = window.screen,
@@ -1247,11 +1266,11 @@
 .aboutDialog >>> .el-dialog__body {
   height: 77%;
   padding: 0px !important;
-  padding: 15px !important;
+  padding: 10px 10px 8px !important;
 }
 
 .aboutDialog >>> .el-dialog__header {
-  padding: 10px 20px;
+  padding: 10px 20px 0;
   height: 25px;
   line-height: 25px;
   font-weight: bold;
@@ -1282,6 +1301,7 @@
 
 .el-form >>> .el-form-item__label {
   color: #fff;
+  margin-left: 10px;
 }
 
 .aboutDialog .el-dialog-div {
@@ -1297,6 +1317,10 @@
   height: 80% !important;
   overflow: auto;
 }
+.el-table /deep/ .el-button--text {
+  /* color: #fff; */
+  font-size: 14px;
+}
 
 .el-table thead {
   font-weight: 500;
@@ -1306,8 +1330,11 @@
   width: 383px;
 }
 
-.el-table /deep/ th {
+.el-table /deep/ th,
+.el-table /deep/ td {
   background-color: transparent;
+  padding-top: 4px;
+  padding-bottom: 4px;
 }
 
 .el-table /deep/ tr {

--
Gitblit v1.9.3