| | |
| | | </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 { |
| | |
| | | }, |
| | | search_map: {}, |
| | | tableColumn: [ |
| | | { label: "编号", prop: "topic", min: 120, default: true }, // 主题 |
| | | { label: "落丝时间", prop: "client_name", min: 190, }, // 客户名称 |
| | | { label: "车组", prop: "contact_name", min: 100, }, // 联系人姓名 |
| | | { label: "规格", prop: "client_status", min: 100 }, // 客户状态 |
| | | { label: "车间", prop: "contact_information_name", min: 100 }, // 联系方式 |
| | | { label: "庄口", prop: "follow_time", min: 130 }, // 联系人日期 |
| | | { label: "开始回数", prop: "next_follow_time", min: 130 }, // 下次回访日期 |
| | | { label: "结束回数", prop: "member_name", min: 110 }, // 负责人 |
| | | { label: "编号", prop: "number", min: 120, default: true }, // 主题 |
| | | { label: "落丝时间", prop: "finishDate", min: 190, }, // 客户名称 |
| | | { label: "车组", prop: "workshopGroup", min: 100, }, // 联系人姓名 |
| | | { label: "规格", prop: "spec", min: 100 }, // 客户状态 |
| | | { label: "车间", prop: "name", min: 100 }, // 联系方式 |
| | | { label: "庄口", prop: "market", min: 130 }, // 联系人日期 |
| | | { label: "开始回数", prop: "startCircle", min: 130 }, // 下次回访日期 |
| | | { label: "结束回数", prop: "endCircle", min: 110 }, // 负责人 |
| | | ], |
| | | showCol: [ |
| | | "编号", |
| | |
| | | // 请求数据 |
| | | async getData() { |
| | | this.loading = true |
| | | await getFollowRecordList({ |
| | | await getRegisterList({ |
| | | search_map: this.search_map, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | getDeleteFollowRecord({ ids: [id] }).then((response) => { |
| | | getDeleteRegister({ ids: id }).then((response) => { |
| | | if (response.code === 200) { |
| | | this.$message.success("删除成功") |
| | | this.getData() |