haoxuan
2024-03-07 221ad8872c99f75eec04d117ad5de0e8223af4e2
src/views/productManage/silkRegisterForm/index.vue
@@ -46,7 +46,7 @@
</template>
<script>
import { getFollowRecordList, getDeleteFollowRecord } from "@/api/productManage/silkRegisterForm.js"
import { getRegisterList, getDeleteRegister } from "@/api/productManage/silkRegisterForm.js"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
@@ -127,7 +127,7 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getFollowRecordList({
      await getRegisterList({
        search_map: this.search_map,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
@@ -197,7 +197,7 @@
        type: "warning"
      })
        .then(() => {
          getDeleteFollowRecord({ ids: [id] }).then((response) => {
          getDeleteRegister({ ids: id }).then((response) => {
            if (response.code === 200) {
              this.$message.success("删除成功")
              this.getData()