shaogen1995 1 год назад
Родитель
Сommit
c5b26b9d8f

BIN
public/favicon.ico


+ 1 - 1
public/index.html

@@ -2,7 +2,6 @@
 <html lang="zh">
   <head>
     <meta charset="utf-8" />
-    <!-- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> -->
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <meta name="theme-color" content="#000000" />
     <meta
@@ -10,6 +9,7 @@
       content="Web site created using create-react-app"
     />
     <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
+    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
     <!--
       manifest.json provides metadata used when your web app is installed on a
       user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/

+ 4 - 4
src/pages/A2Psychz/index.tsx

@@ -167,7 +167,7 @@ function A2Psychz() {
         render: (item: A2tableType) => {
           if (item.pmUserId === 1) return "管理员";
           else {
-            return item.pmName || "匿名";
+            return item.pmName || "(空)";
           }
         },
       },
@@ -240,7 +240,7 @@ function A2Psychz() {
               address: v.address || "(空)",
               name: v.name || "(空)",
               siteNum: v.siteNum || "(空)",
-              pmName: v.pmUserId === 1 ? "管理员" : v.pmName || "匿名",
+              pmName: v.pmUserId === 1 ? "管理员" : v.pmName || "(空)",
               typeIn:
                 v.typeIn === "pc"
                   ? "系统"
@@ -308,9 +308,9 @@ function A2Psychz() {
             <span>搜索项:</span>
             <Input
               key={inputKey}
-              maxLength={10}
+              maxLength={24}
               style={{ width: 323 }}
-              placeholder="请输入站址名称/站置编号/机房编码,最多10字"
+              placeholder="请输入站址名称/站置编号/机房编码,最多24字"
               allowClear
               onChange={(e) => txtChangeFu(e.target.value, "searchKey")}
             />

+ 2 - 2
src/pages/B1Plan/index.tsx

@@ -235,9 +235,9 @@ function B1Plan() {
             <span>搜索项:</span>
             <Input
               key={inputKey}
-              maxLength={10}
+              maxLength={24}
               style={{ width: 323 }}
-              placeholder="请输入站址名称/站置编号/机房编码,最多10字"
+              placeholder="请输入站址名称/站置编号/机房编码,最多24字"
               allowClear
               onChange={(e) => txtChangeFu(e.target.value, "searchKey")}
             />

+ 4 - 4
src/pages/B2Scene/index.tsx

@@ -143,7 +143,7 @@ function B2Scene() {
         render: (item: B2tableType) => {
           if (item.creatorId === 1) return "管理员";
           else {
-            return item.pmName || "匿名";
+            return item.pmName || "(空)";
           }
         },
       },
@@ -303,7 +303,7 @@ function B2Scene() {
             roomNum: v.roomNum || "(空)",
             myCity:
               !v.province && !v.city ? "(空)" : `${v.province} - ${v.city}`,
-            pmName: v.creatorId === 1 ? "管理员" : v.pmName || "匿名",
+            pmName: v.creatorId === 1 ? "管理员" : v.pmName || "(空)",
             sceneName: v.sceneName || "(空)",
             link: v.link || "(空)",
             sceneCode: v.sceneCode || "(空)",
@@ -371,9 +371,9 @@ function B2Scene() {
             <span>搜索项:</span>
             <Input
               key={inputKey}
-              maxLength={10}
+              maxLength={24}
               style={{ width: 246 }}
-              placeholder="请输入机房编码/场景码,最多10字"
+              placeholder="请输入机房编码/场景码,最多24字"
               allowClear
               onChange={(e) => txtChangeFu(e.target.value, "searchKey")}
             />

+ 4 - 4
src/pages/B3Push/index.tsx

@@ -107,7 +107,7 @@ function B3Push() {
       const res = await B3_APIpush(code.split(","));
 
       if (res.code === 0) {
-        MessageFu.success("推送成功!");
+        MessageFu.success("操作成功!");
         // 清空选中
         setSelectedRowKeys([]);
         selectedRef.current = [];
@@ -136,7 +136,7 @@ function B3Push() {
         render: (item: B3tableType) => {
           if (item.creatorId === 1) return "管理员";
           else {
-            return item.pmName || "匿名";
+            return item.pmName || "(空)";
           }
         },
       },
@@ -234,9 +234,9 @@ function B3Push() {
             <span>搜索项:</span>
             <Input
               key={inputKey}
-              maxLength={10}
+              maxLength={24}
               style={{ width: 260 }}
-              placeholder="请输入机房编码/场景码,最多10字"
+              placeholder="请输入机房编码/场景码,最多24字"
               allowClear
               onChange={(e) => txtChangeFu(e.target.value, "searchKey")}
             />

+ 1 - 1
src/pages/C1User/index.tsx

@@ -115,7 +115,7 @@ function C1User() {
       },
       {
         title: "真实姓名",
-        render: (item: C1ListType) => (item.realName ? item.realName : "匿名"),
+        render: (item: C1ListType) => (item.realName ? item.realName : "(空)"),
       },
       {
         title: "联系方式",