| | |
| | | |
| | | <script> |
| | | import AddFollowupRecordsDialog from "@/views/custom/followupRecords/AddFollowupRecordsDialog" |
| | | import { getFollowRecordList } from "@/api/custom/followupRecords.js" |
| | | |
| | | export default { |
| | | name: "FollowupRecords", |
| | | props: {}, |
| | |
| | | }, |
| | | created() { |
| | | this.setTable() |
| | | this.getData() |
| | | }, |
| | | methods: { |
| | | setTable() { |
| | |
| | | this.searchOptions.push({ value: (i + 1).toString(), label: label }) |
| | | } |
| | | }, |
| | | // 请求数据 |
| | | async getData() { |
| | | await getFollowRecordList() |
| | | .then((res) => { |
| | | console.log("成功" + res) |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err) |
| | | }) |
| | | }, |
| | | // 新建 |
| | | addBtnClick() { |
| | | this.editConfig.visible = true |