|
@@ -262,7 +262,7 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<!-- 按纽 -->
|
|
<!-- 按纽 -->
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
|
- <!-- <el-col :span="1.5">
|
|
|
|
|
|
|
+ <el-col :span="1.5">
|
|
|
<el-button
|
|
<el-button
|
|
|
type="primary"
|
|
type="primary"
|
|
|
plain
|
|
plain
|
|
@@ -272,7 +272,7 @@
|
|
|
v-hasPermi="['resumption:taskManager:export']"
|
|
v-hasPermi="['resumption:taskManager:export']"
|
|
|
>导出</el-button
|
|
>导出</el-button
|
|
|
>
|
|
>
|
|
|
- </el-col> -->
|
|
|
|
|
|
|
+ </el-col>
|
|
|
|
|
|
|
|
<right-toolbar
|
|
<right-toolbar
|
|
|
:showSearch.sync="showSearch"
|
|
:showSearch.sync="showSearch"
|
|
@@ -704,12 +704,7 @@ export default {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
api
|
|
api
|
|
|
.page(this.queryParams)
|
|
.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.isTableHaveData = r.rows.length > 0;
|
|
|
this.pageData = r.rows;
|
|
this.pageData = r.rows;
|
|
|
this.total = r.total;
|
|
this.total = r.total;
|