|
|
@@ -17,44 +17,24 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="right yes-events">
|
|
|
- <div class="list album-r">
|
|
|
- <chart-box name="农事列表" arrow="arrow-left" :class="{ 'list-wrap': rightIndex === 0 }">
|
|
|
- <template v-if="rightIndex === 0">
|
|
|
- <album></album>
|
|
|
- <!-- <img class="tabs" src="@/assets/images/home/ns-tabs.png" alt="">
|
|
|
- <div class="img-box">
|
|
|
- <img @click="handleAct(item)" v-for="item in 2" :key="item" :src="require(`@/assets/images/home/0${act<=2&&act==item?item+'-act':item}.png`)" alt="">
|
|
|
- </div> -->
|
|
|
- </template>
|
|
|
- <template v-if="rightIndex === 1">
|
|
|
- <div class="img-box1">
|
|
|
- <img src="@/assets/images/home/fh01.png" alt="" />
|
|
|
- <img src="@/assets/images/home/fh02.png" alt="" />
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-if="rightIndex === 2">
|
|
|
- <div class="btn-wrap">
|
|
|
- <div :class="{ active: btnIndex === 0 }" @click="handleBtn(0)">
|
|
|
- {{ btnIndex === 0 && btnName != "" ? "采样分区:" + btnName : "选择采样分区" }}
|
|
|
- </div>
|
|
|
- <div :class="{ active: btnIndex === 1 }" @click="handleBtn(1)">
|
|
|
- {{ btnIndex === 1 && btnName != "" ? "单树编号:" + btnName : "选择树" }}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="img-box2" v-show="showPoint">
|
|
|
- <img v-if="showType === 'point'" src="@/assets/images/home/line-chart.png" alt="" />
|
|
|
- <img v-else src="@/assets/images/home/line-chart2.png" alt="" />
|
|
|
- <img src="@/assets/images/home/fh01.png" alt="" />
|
|
|
- </div>
|
|
|
- <div class="img-box2" v-show="!showPoint">
|
|
|
- <img v-if="showType === 'point'" src="@/assets/images/home/line-chart1.png" alt="" />
|
|
|
- <img v-else src="@/assets/images/home/line-chart3.png" alt="" />
|
|
|
- <img src="@/assets/images/home/fh02.png" alt="" />
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </chart-box>
|
|
|
- </div>
|
|
|
- <tool-list direction="right" :list="rightToolList" @handleActive="handleActiveRight"></tool-list>
|
|
|
+ <div class="list adopt-list-wrap">
|
|
|
+ <chart-box name="认养管理" arrow="">
|
|
|
+ <el-tabs v-model="activeName" class="demo-tabs">
|
|
|
+ <el-tab-pane label="认养列表" name="认养列表">
|
|
|
+ <adopt-list></adopt-list>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="客户列表" name="客户列表">
|
|
|
+ <client-list></client-list>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="认养申请" name="认养申请">
|
|
|
+ <apply-list></apply-list>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="确认地址" name="确认地址">
|
|
|
+ <address-list></address-list>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </chart-box>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 图例 -->
|
|
|
@@ -91,6 +71,7 @@
|
|
|
<PicturePreview :imageUrl="urls" :curIndex="urlsIndex"></PicturePreview>
|
|
|
<album-carousel></album-carousel>
|
|
|
<PdfDialog title="果园报告"></PdfDialog>
|
|
|
+ <ImageDialog title="溯源报告"></ImageDialog>
|
|
|
|
|
|
<!-- 对比 -->
|
|
|
<compareDialog></compareDialog>
|
|
|
@@ -99,11 +80,11 @@
|
|
|
<img src="@/assets/images/home/compare-btn.png" alt="" />
|
|
|
</div>
|
|
|
|
|
|
- <!-- 果树档案 -->
|
|
|
+ <!-- 作物档案 -->
|
|
|
<div class="file-wrap map-file" id="popup-file">
|
|
|
<div class="file-title">
|
|
|
<img src="@/assets/images/common/chart-yellow.png" alt="" />
|
|
|
- 果树档案
|
|
|
+ 作物档案
|
|
|
<span id="tag-nh" class="tag">小农户</span>
|
|
|
</div>
|
|
|
<div class="overview-file">
|
|
|
@@ -170,6 +151,12 @@ import compareDialog from "./album_compoents/compareDialog.vue";
|
|
|
import album from "./album/index.vue";
|
|
|
import PdfDialog from "../../components/PdfDialog";
|
|
|
import StaticMapLayers from "@/components/static_map_change/Layers.js"
|
|
|
+import adoptList from "./components/foster/adoptList.vue";
|
|
|
+import clientList from "./components/foster/clientList.vue";
|
|
|
+import applyList from "./components/foster/applyList.vue";
|
|
|
+import addressList from "./components/foster/addressList.vue";
|
|
|
+import ImageDialog from "../../components/ImageDialog";
|
|
|
+
|
|
|
let store = useStore();
|
|
|
const components = {
|
|
|
homePage,
|
|
|
@@ -181,6 +168,7 @@ const currentFarm = {
|
|
|
id: store.getters.userinfo.curFarmId,
|
|
|
name: store.getters.userinfo.curFarmName,
|
|
|
};
|
|
|
+const activeName = ref('认养列表')
|
|
|
//当前区域
|
|
|
const currentRegion = {
|
|
|
id: null,
|
|
|
@@ -674,6 +662,39 @@ const photoList = ref([
|
|
|
}
|
|
|
.right {
|
|
|
width: calc(376px + 54px + 10px);
|
|
|
+
|
|
|
+ .adopt-list-wrap {
|
|
|
+ ::v-deep {
|
|
|
+ .el-tabs {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ .el-tabs__content {
|
|
|
+ height: calc(100% - 40px - 15px);
|
|
|
+ position: static;
|
|
|
+ }
|
|
|
+ .el-tabs__item {
|
|
|
+ color: #727272;
|
|
|
+ }
|
|
|
+ .el-tabs__active-bar {
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ height: 1px;
|
|
|
+ }
|
|
|
+ .el-tabs__item.is-active {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ .el-tabs__nav-wrap:after {
|
|
|
+ height: 1px;
|
|
|
+ background-color: rgba(127, 127, 127, 0.3);
|
|
|
+ }
|
|
|
+ .el-tabs__nav {
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%) !important;
|
|
|
+ }
|
|
|
+ .el-tab-pane {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
.album-r {
|
|
|
.list-wrap {
|
|
|
width: 375px;
|