Przeglądaj źródła

监测图斑核心信息详情

maxiaoxiao 6 miesięcy temu
rodzic
commit
78b6ec585f
1 zmienionych plików z 15 dodań i 8 usunięć
  1. 15 8
      src/views/farmlandProtection/components/hcxx.vue

+ 15 - 8
src/views/farmlandProtection/components/hcxx.vue

@@ -6,23 +6,29 @@
           label="图斑编号"
           label-class-name="my-label"
           content-class-name="my-content"
-          >{{ hcObj.jcbh || '无'}}</el-descriptions-item
+          >{{ hcObj.jcbh || "无" }}</el-descriptions-item
         >
         <el-descriptions-item
           label="外业核实情况"
           content-class-name="my-content"
           :span="3"
-          >{{ hcObj.wyhsqk || '无' }}</el-descriptions-item
+          >{{ hcObj.wyhsqk || "无" }}</el-descriptions-item
         >
         <el-descriptions-item label="实际地类代码">{{
-          hcObj.sjdldm || '无'
+          hcObj.sjdldm || "无"
         }}</el-descriptions-item>
         <el-descriptions-item label="调查人员">{{
-          hcObj.dcry || '无'
+          hcObj.dcry || "无"
         }}</el-descriptions-item>
         <el-descriptions-item label="调查时间">{{
-          hcObj.dcsj || '无'
+          hcObj.dcsj || "无"
         }}</el-descriptions-item>
+        <el-descriptions-item label="外业预判">
+          {{ hcObj.wyyp || "无" }}
+        </el-descriptions-item>
+        <el-descriptions-item label="核查结果">
+          {{ hcObj.hcjg || "无" }}
+        </el-descriptions-item>
       </el-descriptions>
     </div>
     <div class="imgCon">
@@ -50,7 +56,7 @@
 </template>
 
 <script>
-import { getJctbhcInfo,getTiffPath } from "@/api/ghss/jctb.js";
+import { getJctbhcInfo, getTiffPath } from "@/api/ghss/jctb.js";
 export default {
   props: {
     detailObj: {
@@ -94,7 +100,7 @@ export default {
       // },  Cesium.ScreenSpaceEventType.MOUSE_MOVE);
       // 鼠标移动事件
       this.handler.setInputAction(function (movement) {
-        console.log(movement,'movement');
+        console.log(movement, "movement");
         // 通过pick方法获取鼠标下的实体
         // var pickedObject = viewer.scene.pick(movement.endPosition);
         // if (
@@ -326,7 +332,8 @@ export default {
             this.hcObj = res.data;
             this.monitorList.forEach((item, i) => {
               item.name = res.data.dcry;
-              item.imagerPath = window.axiosURI + "/file/upload/attachment" + item.imagerPath;
+              item.imagerPath =
+                window.axiosURI + "/file/upload/attachment" + item.imagerPath;
               this.ddd(item);
               this.idArr.push(item.id);
             });