| | |
| | | }, |
| | | searchReset() { |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | this.onLoad(this.page, { type: this.defaultTaskType }); |
| | | }, |
| | | searchChange(params, done) { |
| | | params.type = this.defaultTaskType |
| | |
| | | |
| | | <script> |
| | | import { getList, add, update, remove } from "@/api/system/user.js"; |
| | | import option from "@/option/assessmentTask/assessmentTask"; |
| | | import { mapGetters } from "vuex"; |
| | | import { exportBlob } from "@/api/common"; |
| | | import { getToken } from '@/utils/auth'; |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "人员类型", |
| | | type: "input" |
| | | }, |
| | | { |
| | | label: "合伙类型", |
| | | type: "input" |
| | | }, |
| | | { |
| | | label: '企点(数值)', |
| | | type: 'input', |
| | | }, |
| | | // { |
| | | // label: "人员类型", |
| | | // type: "input" |
| | | // }, |
| | | // { |
| | | // label: "合伙类型", |
| | | // type: "input" |
| | | // }, |
| | | // { |
| | | // label: '企点(数值)', |
| | | // type: 'input', |
| | | // }, |
| | | // { |
| | | // label: "创建人", |
| | | // prop: "createUser", |
| | |
| | | }, |
| | | searchReset() { |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | this.onLoad(this.page, { type: this.defaultTaskType }); |
| | | }, |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.query = { |
| | | ...params, |
| | | type: this.defaultTaskType, |
| | | }; |
| | | this.page.currentPage = 1; |
| | | this.onLoad(this.page, params); |
| | | done(); |