Przeglądaj źródła

改一些文字

zhangsijie 1 rok temu
rodzic
commit
2e3aa3fe39

+ 5 - 3
minggao/src/page/home/newHome/newHome.vue

@@ -3,7 +3,7 @@
  * @Autor: lin
  * @Date: 2024-04-09 14:26:07
  * @LastEditors: lin
- * @LastEditTime: 2024-04-28 16:07:10
+ * @LastEditTime: 2024-04-29 09:22:14
 -->
 <template>
   <div class="box">
@@ -641,7 +641,7 @@ export default {
               charData.new_cg_name,
             ],
             ['#60B0FA', '#BFE0FE', '#F4A72F', '#FEE0AE'],
-            ['有害生物总数', '新增有害生物数', '总有害生物种类', '新增种类数'],
+            ['有害生物总数', '新记录种数量', '总有害生物种类', '新记录种类型'],
             ['count', 'count', 'type', 'type']
           );
         } else {
@@ -650,7 +650,7 @@ export default {
             charData.month,
             [charData.cg_name, charData.new_cg_name],
             ['#F4A72F', '#FEE0AE'],
-            ['总有害生物种类', '新增种类数']
+            ['总有害生物种类', '新记录种类型']
           );
         }
 
@@ -1308,6 +1308,7 @@ export default {
 
           .small {
             line-height: 2rem;
+            text-align: center;
           }
 
           .infoTitle {
@@ -1315,6 +1316,7 @@ export default {
             // writing-mode: vertical-rl;
             color: yellow;
             margin-bottom: 1rem;
+            text-align: center;
           }
           .charInfo {
             width: 90%;

+ 2 - 2
minggao/src/page/warning/warninglist.vue

@@ -16,7 +16,7 @@
           </el-date-picker>
           <el-tag type="danger" size="small">预警次数:{{ total }}</el-tag>
           <el-button type="primary" @click="search" size="mini">查询</el-button>
-          <el-button type="primary" @click="addDialog = true; pestInfoList = JSON.parse(JSON.stringify(initPestInfo))" size="mini">发布警</el-button>
+          <el-button type="primary" @click="addDialog = true; pestInfoList = JSON.parse(JSON.stringify(initPestInfo))" size="mini">发布警</el-button>
         </el-col>
       </el-row>
     </div>
@@ -85,7 +85,7 @@
                 @input="changePestName(item, 'num')"></el-input>
             </el-col>
             <el-col :span="7">
-              <el-checkbox v-model="item.is_new" @change="changePestName(item, 'is_new')">是否新记录种</el-checkbox>
+              <el-checkbox v-model="item.is_new" @change="changePestName(item, 'is_new')">是否新记录种</el-checkbox>
             </el-col>
             <el-col :span="2">
               <el-button type="primary" v-if="index == pestInfoList.length - 1" @click="addPestFun" circle