Browse Source

2022.3.15liebiao

17613754660 3 years ago
parent
commit
afdb077303

+ 10 - 8
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/daily.vue

@@ -911,20 +911,22 @@
             highlight-current-row
             highlight-current-row
             style="width: 100%"
             style="width: 100%"
           >
           >
-            <el-table-column width="60" type="index" fixed="left" label="部门">
-              <template slot-scope="scope">
+            <el-table-column width="300" fixed="left" label="部门" prop="department">
+              <!-- <template slot-scope="scope">
                 {{ scope.$index + 1 }}
                 {{ scope.$index + 1 }}
-              </template>
+              </template> -->
             </el-table-column>
             </el-table-column>
 
 
-            <el-table-column width="100" prop="name" fixed="left" label="姓名">
+            <el-table-column width="300" prop="name" fixed="left" label="姓名" >
             </el-table-column>
             </el-table-column>
             <el-table-column
             <el-table-column
               width="300"
               width="300"
               label="未填日期"
               label="未填日期"
               align="center"
               align="center"
+              prop="createDate"
             >
             >
-              <template slot-scope="scope">
+
+              <!-- <template slot-scope="scope">
                 <div
                 <div
                   style="color: red"
                   style="color: red"
                   v-if="
                   v-if="
@@ -1024,7 +1026,7 @@
                 >
                 >
                   0
                   0
                 </div>
                 </div>
-              </template>
+              </template> -->
             </el-table-column>
             </el-table-column>
           </el-table>
           </el-table>
           <!-- <div slot="title" class="dialog-title">
           <!-- <div slot="title" class="dialog-title">
@@ -1780,7 +1782,7 @@
     exportMembNotWorkHours() {
     exportMembNotWorkHours() {
       
       
       this.http.post(
       this.http.post(
-        "/report/getNoReportUserList",
+        "/report/exportNoReportUserList",
         {
         {
           // month: this.date,
           // month: this.date,
           startDate: this.WorktimeDatepickValue2[0],
           startDate: this.WorktimeDatepickValue2[0],
@@ -1863,7 +1865,7 @@
         },
         },
         (res) => {
         (res) => {
           if (res.code == "ok") {
           if (res.code == "ok") {
-            this.monthNotWorkDate = res.data.list;
+            this.monthNotWorkDate = res.data;
             this.$forceUpdate();
             this.$forceUpdate();
             console.log("monthNotWorkDate", this.monthNotWorkDate);
             console.log("monthNotWorkDate", this.monthNotWorkDate);
           }
           }