|
@@ -54,7 +54,9 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button @click="search"
|
|
|
- type="danger">搜索</el-button>
|
|
|
+ type="primary">搜索</el-button>
|
|
|
+ <el-button @click="reset"
|
|
|
+ type="danger">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</save-form>
|
|
|
<div class="tableWrap">
|
|
@@ -188,6 +190,12 @@ import { getEmployeeOrgan } from "@/api/buildTeam";
|
|
|
import Tooltip from "@/components/Tooltip/index";
|
|
|
import { auditTypeList, auditPaymentTypeList } from "@/utils/searchArray";
|
|
|
|
|
|
+const initSearch = {
|
|
|
+ search: null,
|
|
|
+ paymentType: null,
|
|
|
+ status: 'AUDITING',
|
|
|
+ organId: null,
|
|
|
+}
|
|
|
export default {
|
|
|
components: { pagination, Tooltip, review },
|
|
|
name: "helpCategory",
|
|
@@ -196,12 +204,7 @@ export default {
|
|
|
paymentTypeList: auditPaymentTypeList,
|
|
|
organList: [],
|
|
|
statusList: auditTypeList,
|
|
|
- searchForm: {
|
|
|
- search: null,
|
|
|
- paymentType: null,
|
|
|
- status: 'AUDITING',
|
|
|
- organId: null,
|
|
|
- },
|
|
|
+ searchForm: {...initSearch},
|
|
|
tableList: [],
|
|
|
|
|
|
pageInfo: {
|
|
@@ -226,6 +229,10 @@ export default {
|
|
|
this.$refs.searchForm.save(this.pageInfo, 'page')
|
|
|
this.getList()
|
|
|
},
|
|
|
+ reset() {
|
|
|
+ this.searchForm = {...initSearch}
|
|
|
+ this.search()
|
|
|
+ },
|
|
|
getList () {
|
|
|
let params = {
|
|
|
page: this.pageInfo.page,
|