|
|
@@ -41,6 +41,16 @@
|
|
|
<div class="relative ml-3 w-[260px]">
|
|
|
<hc-search-input v-model="searchForm.name" color="#151921" text="搜索" @search="searchClick" />
|
|
|
</div>
|
|
|
+ <!-- <div class="relative ml-3">
|
|
|
+ <el-button color="gray" type="primary" @click="resetClick">
|
|
|
+ <span class="text-white">重置</span>
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ <div class="relative ml-3 w-[260px]">
|
|
|
+ <el-button type="primary" color="#2550A2" @click="resetClick">
|
|
|
+ <span class="text-white">筛选</span>
|
|
|
+ </el-button>
|
|
|
+ </div> -->
|
|
|
</template>
|
|
|
|
|
|
<hc-table
|
|
|
@@ -171,6 +181,10 @@ const typeClick = async (val) => {
|
|
|
await getTypeListData(val, 'ibaRouteType')
|
|
|
searchClick()
|
|
|
}
|
|
|
+const resetClick = async () => {
|
|
|
+ searchForm.value = { current: 1, size: 20, total: 0, stage: null, type: null, projectName:null, routeType: null, operationCompany: null }
|
|
|
+ searchClick()
|
|
|
+}
|
|
|
const searchClick = () => {
|
|
|
searchForm.value.current = 1
|
|
|
getTableData()
|