shaogen1995 1 year ago
parent
commit
d25283c2a9
3 changed files with 8 additions and 4 deletions
  1. 1 1
      src/pages/A1Stat/index.tsx
  2. 5 1
      src/pages/A2Goods/data.ts
  3. 2 2
      src/pages/A2Goods/index.tsx

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

@@ -87,7 +87,7 @@ function A1Stat() {
     if (res.code === 0) {
     if (res.code === 0) {
       const data: EchDataType = res.data.map((v: any) => ({
       const data: EchDataType = res.data.map((v: any) => ({
         value: v.count,
         value: v.count,
-        name: v.groupKey||'未定级',
+        name: v.groupKey||'非文物类藏品',
       }));
       }));
       baseEchartFu(echartRef2.current!, data);
       baseEchartFu(echartRef2.current!, data);
     }
     }

+ 5 - 1
src/pages/A2Goods/data.ts

@@ -1,6 +1,6 @@
 export type A2selectType = {
 export type A2selectType = {
   searchKey: string;
   searchKey: string;
-  dictLevel: "" | "一级" | "二级" | "三级";
+  dictLevel: "" | "一级" | "二级" | "三级"| "一般文物";
   status: "" | 0 | 1 | 2 | 3 | 4 | 5;
   status: "" | 0 | 1 | 2 | 3 | 4 | 5;
   storageStatus: "" | 0 | 1 | 2 | 3 | 4;
   storageStatus: "" | 0 | 1 | 2 | 3 | 4;
   pageSize: number;
   pageSize: number;
@@ -30,6 +30,10 @@ export const options1 = [
     value: "三级",
     value: "三级",
     label: "三级",
     label: "三级",
   },
   },
+  {
+    value: "一般文物",
+    label: "一般文物",
+  },
 ];
 ];
 
 
 export const options2 = [
 export const options2 = [

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

@@ -168,8 +168,8 @@ function A2Goods() {
             <Input
             <Input
               key={inputKey}
               key={inputKey}
               maxLength={10}
               maxLength={10}
-              style={{ width: 290 }}
-              placeholder="请输入藏品编号/藏品号/名称,最多10字"
+              style={{ width: 300 }}
+              placeholder="请输入藏品编号/藏品号/名称,共1188件"
               allowClear
               allowClear
               onChange={(e) => txtChangeFu(e.target.value, "searchKey")}
               onChange={(e) => txtChangeFu(e.target.value, "searchKey")}
             />
             />