| | |
| | | { label: "合同状态", prop: "serviceContractStatus_name", min: 100 }, |
| | | { label: "创建时间", prop: "created_at" } |
| | | ], |
| | | showCol: ["单据编号", "负责人", "客户名称", "合同状态", "创建时间"] |
| | | showCol: ["单据编号", "负责人", "客户名称", "合同状态", "创建时间"], |
| | | keyword:'' |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | async getData() { |
| | | this.loading = true |
| | | await getContractList({ |
| | | search_map: this.search_map, |
| | | keyword:this.keyword, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }) |
| | |
| | | }, |
| | | // 搜索 |
| | | onFilterSearch(searchText) { |
| | | this.search_map.number = searchText ?? "" |
| | | this.keyword=searchText |
| | | this.pagerOptions.currPage = 1 |
| | | this.getData() |
| | | }, |
| | |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | getDelContract({ ids: [id] }).then((response) => { |
| | | getDelContract(id).then((response) => { |
| | | if (response.code === 200) { |
| | | this.$message.success("删除成功") |
| | | this.getData() |