haoxuan
2024-03-07 b96a095c7a6ba16676843829429146b971017849
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
@@ -171,9 +171,9 @@
    },
    // 新建
    addBtnClick() {
      this.editConfig.title = "新建"
      this.editConfig.infomation = { contact_name:"",sales_leads_name:"",sale_chance_name:""}
      this.editConfig.visible = true
      this.$router.push({
        path:"/productManage/silkRegisterForm/addPage?activeName=first",
      });
    },
     // 打印
     printClick(){
@@ -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()