|
@@ -14,7 +14,7 @@
|
|
|
<BasicSearch
|
|
<BasicSearch
|
|
|
:searchConfig="DRILL_PLAN_LIST_SEARCH_CONFIG"
|
|
:searchConfig="DRILL_PLAN_LIST_SEARCH_CONFIG"
|
|
|
:searchData="searchData"
|
|
:searchData="searchData"
|
|
|
- @update:searchData="handleSearch"
|
|
|
|
|
|
|
+ @update:search-data="handleSearch"
|
|
|
>
|
|
>
|
|
|
<template #drillScope>
|
|
<template #drillScope>
|
|
|
<el-select v-model="searchData.drillScope" placeholder="全部" filterable>
|
|
<el-select v-model="searchData.drillScope" placeholder="全部" filterable>
|
|
@@ -32,8 +32,8 @@
|
|
|
<BasicTable
|
|
<BasicTable
|
|
|
:tableConfig="tableConfig"
|
|
:tableConfig="tableConfig"
|
|
|
:tableData="tableData"
|
|
:tableData="tableData"
|
|
|
- @update:pageSize="handleSizeChange"
|
|
|
|
|
- @update:pageNumber="handleCurrentChange"
|
|
|
|
|
|
|
+ @update:page-size="handleSizeChange"
|
|
|
|
|
+ @update:page-number="handleCurrentChange"
|
|
|
>
|
|
>
|
|
|
<template #drillScope="scope">
|
|
<template #drillScope="scope">
|
|
|
<div>{{ decodeScope(scope.row.drillScope) }}</div>
|
|
<div>{{ decodeScope(scope.row.drillScope) }}</div>
|
|
@@ -43,17 +43,13 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template #action="scope">
|
|
<template #action="scope">
|
|
|
<div class="action-container--div">
|
|
<div class="action-container--div">
|
|
|
- <ActionButton text="查看" @click="handleViewDrillPlan(scope.row.id)"></ActionButton>
|
|
|
|
|
|
|
+ <ActionButton text="查看" @click="handleViewDrillPlan(scope.row.id)" />
|
|
|
<ActionButton
|
|
<ActionButton
|
|
|
v-if="scope.row.status > 0 && scope.row.status <= 3"
|
|
v-if="scope.row.status > 0 && scope.row.status <= 3"
|
|
|
text="演练执行"
|
|
text="演练执行"
|
|
|
@click="handleToExecute(scope.row.id)"
|
|
@click="handleToExecute(scope.row.id)"
|
|
|
- ></ActionButton>
|
|
|
|
|
- <ActionButton
|
|
|
|
|
- v-else-if="scope.row.status < 7"
|
|
|
|
|
- text="演练记录"
|
|
|
|
|
- @click="handleToRecord(scope.row)"
|
|
|
|
|
- ></ActionButton>
|
|
|
|
|
|
|
+ />
|
|
|
|
|
+ <ActionButton v-else-if="scope.row.status < 7" text="演练记录" @click="handleToRecord(scope.row)" />
|
|
|
<ActionButton
|
|
<ActionButton
|
|
|
text="删除"
|
|
text="删除"
|
|
|
:popconfirm="{
|
|
:popconfirm="{
|
|
@@ -127,7 +123,7 @@
|
|
|
};
|
|
};
|
|
|
const handleCurrentChange = (value: number) => {
|
|
const handleCurrentChange = (value: number) => {
|
|
|
pagination.pageNumber = value;
|
|
pagination.pageNumber = value;
|
|
|
- tableQuery.pageSize = value;
|
|
|
|
|
|
|
+ tableQuery.pageNumber = value;
|
|
|
getTableData();
|
|
getTableData();
|
|
|
};
|
|
};
|
|
|
|
|
|