Răsfoiți Sursa

Merge branch 'V0.0.2' of http://192.168.51.16:8000/jzyd_yyds/soc_web into V0.0.2

gaoxiong 2 ani în urmă
părinte
comite
900be757fe
1 a modificat fișierele cu 3 adăugiri și 8 ștergeri
  1. 3 8
      src/views/resumption/taskManager/index.vue

+ 3 - 8
src/views/resumption/taskManager/index.vue

@@ -262,7 +262,7 @@
         </el-form>
         <!--    按纽    -->
         <el-row :gutter="10" class="mb8">
-          <!-- <el-col :span="1.5">
+          <el-col :span="1.5">
             <el-button
               type="primary"
               plain
@@ -272,7 +272,7 @@
               v-hasPermi="['resumption:taskManager:export']"
               >导出</el-button
             >
-          </el-col> -->
+          </el-col>
 
           <right-toolbar
             :showSearch.sync="showSearch"
@@ -704,12 +704,7 @@ export default {
       this.loading = true;
       api
         .page(this.queryParams)
-        .then((r) => {
-          r.rows.forEach((i) => {
-            if (i.status == 1 && dayjs(i.planEndTime).isBefore(new Date())) {
-              i.status = 4;
-            }
-          });
+        .then((r) => {          
           this.isTableHaveData = r.rows.length > 0;
           this.pageData = r.rows;
           this.total = r.total;