Ver Fonte

要事日记的时间更新

sunyanqiang há 3 anos atrás
pai
commit
1099589eab
1 ficheiros alterados com 5 adições e 3 exclusões
  1. 5 3
      src/views/grassrootsregistration/bdgldiary/index.vue

+ 5 - 3
src/views/grassrootsregistration/bdgldiary/index.vue

@@ -53,7 +53,7 @@
           >
         </el-col>
         <div class="shuJu" @click="dengJI">
-          <span class="box44 public"> 当前数据为 : {{ DataTime }}</span>
+          <span class="box44 public"> 当前数据为 : {{ tiems }}</span>
           <span class="box5 public">
             已登记部门 : {{ registrationData.yiShenPi }}</span
           >
@@ -752,7 +752,7 @@
         id="dialoges"
       >
         <div class="zuiDa">
-          <div class="shuJuTime">当前数据为 : 2022-03-13</div>
+          <div class="shuJuTime">当前数据为 : {{ tiems }}</div>
           <div class="jiben">已登记部门:{{ yishenpi }}个</div>
           <div class="boxxx">
             <div v-for="(item, i) in cg" :key="i" class="greed">
@@ -995,6 +995,8 @@ export default {
       yishenpi: "",
       // 获取未登记数量
       weishenpi: "",
+      // 数据时间的保存
+      tiems: "",
     };
   },
   updated() {
@@ -1045,11 +1047,11 @@ export default {
       exportBdgShuju(data).then((res) => {
         this.DataTime = data;
         this.registrationData = res;
-        console.log(res);
         this.cg = res.cg;
         this.sb = res.sb;
         this.yishenpi = res.yiShenPi;
         this.weishenpi = res.weiShenPi;
+        this.tiems = res.time;
       });
     },
     // 搜索时间触发