yangfeng
2023-07-14 22d4441a8c669185c13d2b6856c51ad550c50ae2
src/views/custom/followupRecords/index.vue
@@ -21,6 +21,8 @@
<script>
import AddFollowupRecordsDialog from "@/views/custom/followupRecords/AddFollowupRecordsDialog"
import { getFollowRecordList } from "@/api/custom/followupRecords.js"
export default {
  name: "FollowupRecords",
  props: {},
@@ -62,6 +64,7 @@
  },
  created() {
    this.setTable()
    this.getData()
  },
  methods: {
    setTable() {
@@ -97,6 +100,16 @@
        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