Procházet zdrojové kódy

fix: 确权显示农场名称

lxf před 5 měsíci
rodič
revize
796275bede

+ 6 - 2
src/components/fnHeader.vue

@@ -2,7 +2,7 @@
     <div class="header">
         <div class="title">
           <img class="logo" src="@/assets/images/common/logo.png" alt="" />
-          <span>飞鸟智慧巡园平台</span>
+          <span>{{headerName||"飞鸟智慧巡园平台"}}</span>
           <img class="logo-icon" src="@/assets/images/common/logo-icon.png" alt="" />
         </div>
         <div class="focus-farm" v-show="!hideSwitch">
@@ -57,7 +57,11 @@ const props = defineProps({
     autoGo: {
         type: Boolean,
         default: true,
-    }
+    },
+    headerName: {
+        type: String,
+        default: "",
+    },
 });
 
 const farmVal = ref(sessionStorage.getItem("farmId")*1 || "");

+ 1 - 1
src/views/authentic/authenticMap.js

@@ -69,7 +69,7 @@ class AuthenticMap {
         const style2 = new Style({
           text: new Text({
             font: "16px sans-serif",
-            text: f.get("masterName"),
+            text: f.get("farmName"),
             offsetY: -40,
             padding: [4, 3, 2, 106],
             fill: new Fill({ color: "#fff" }), // 字体颜色

+ 1 - 1
src/views/authentic/index.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="base-container">
-        <fnHeader :hideSwitch="true" :autoGo="false" :hideShadow="true"></fnHeader>
+        <fnHeader :hideSwitch="true" headerName="飞鸟确权平台" :autoGo="false" :hideShadow="true"></fnHeader>
         <div class="top-bg"></div>
         <el-upload
             ref="uploadRef"

+ 1 - 1
src/views/authentic/pdfMap.js

@@ -49,7 +49,7 @@ class PdfMap {
         const style2 = new Style({
           text: new Text({
             font: "16px sans-serif",
-            text: f.get("masterName"),
+            text: f.get("farmName"),
             offsetY: -40,
             padding: [4, 3, 2, 106],
             fill: new Fill({ color: "#fff" }), // 字体颜色

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 239 - 441
yarn.lock


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů