|
|
@@ -38,12 +38,12 @@
|
|
|
{{ item.zone_name }}
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="variety-bar__add">
|
|
|
- <el-icon>
|
|
|
- <Plus />
|
|
|
- </el-icon>
|
|
|
- <span>新增品种</span>
|
|
|
- </div> -->
|
|
|
+ <div class="variety-bar__add" @click="goAddVariety">
|
|
|
+ <el-icon>
|
|
|
+ <Plus />
|
|
|
+ </el-icon>
|
|
|
+ <span>新增品种</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="base-data">
|
|
|
<!-- <div class="base-data__title">
|
|
|
@@ -682,6 +682,14 @@ const handleSelectZone = (zone) => {
|
|
|
fetchFarmReport(getSelectedFarm(), token);
|
|
|
};
|
|
|
|
|
|
+/** 与巡园面板一致:进入新增分区 */
|
|
|
+const goAddVariety = () => {
|
|
|
+ router.push({
|
|
|
+ path: "/add_zone",
|
|
|
+ query: { type: "region", isSuccessPopup: "1" },
|
|
|
+ });
|
|
|
+};
|
|
|
+
|
|
|
const handleBaseAction = (key) => {
|
|
|
if (key === "adjustPhenology") {
|
|
|
adjustPhenologyPopupRef.value?.open();
|
|
|
@@ -892,12 +900,13 @@ onBeforeUnmount(() => {
|
|
|
&__add {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ margin-left: 8px;
|
|
|
+ border-radius: 30px;
|
|
|
gap: 2px;
|
|
|
- padding: 5px 10px;
|
|
|
- border-radius: 4px;
|
|
|
- border: 1px solid rgba(255, 212, 137, 0.4);
|
|
|
- background: rgba(255, 212, 137, 0.1);
|
|
|
- color: #ffd489;
|
|
|
+ padding: 5px 14px;
|
|
|
+ background: rgba(255, 255, 255, 0.05);
|
|
|
+ color: rgba(255, 255, 255, 0.6);
|
|
|
+ border: 1px dashed rgba(255, 255, 255, 0.12);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -1106,6 +1115,9 @@ onBeforeUnmount(() => {
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
}
|
|
|
}
|
|
|
+ .point-sub + .point-sub {
|
|
|
+ margin-top: 12px;
|
|
|
+ }
|
|
|
|
|
|
.point-sub {
|
|
|
&+& {
|