yangfeng
2023-07-26 88e465272d8d6add756eb19764cdb9a59cdf7cf1
列表页增加分页
37个文件已修改
299 ■■■■ 已修改文件
src/api/client/client.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/client/contacts.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/client/followupRecords.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/client/salesLead.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/contractManage.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/generatePlan.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/masterOrder.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/quotation.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/refundForm.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/salesDetails.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/salesOpportunity.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/salesReturn.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/sales/subOrder.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/serviceManage/orderManage.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/serviceManage/serviceContract.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/serviceManage/serviceFeeManage.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/serviceManage/serviceFollowup.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/layout/components/appsidebar/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/backgroundConfig/memberManage/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/client/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/contacts/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/followupRecords/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/salesLead/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/contractManage/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/generatePlan/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/masterOrder/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/quotation/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/refundForm/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesDetails/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesOpportunity/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesReturn/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/subOrder/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/orderManage/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/serviceContract/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/serviceFeeManage/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/service/serviceFollowup/index.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/client/client.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 客户管理列表
export function getClientList() {
export function getClientList(data) {
  return request({
    url: "/api/client/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加客户管理
src/api/client/contacts.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 联系人列表
export function getContactList() {
export function getContactList(data) {
  return request({
    url: "/api/contact/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加联系人
src/api/client/followupRecords.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 跟进记录列表
export function getFollowRecordList() {
export function getFollowRecordList(data) {
  return request({
    url: "/api/followRecord/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加跟进记录
src/api/client/salesLead.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 销售线索列表
export function getSalesLeadsList() {
export function getSalesLeadsList(data) {
  return request({
    url: "/api/salesLeads/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加销售线索
src/api/sales/contractManage.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 合同管理列表
export function getContractList() {
export function getContractList(data) {
  return request({
    url: "/api/contract/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加合同管理
src/api/sales/generatePlan.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 生成计划列表
export function getPlanList() {
export function getPlanList(data) {
  return request({
    url: "/api/plan/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加生成计划
src/api/sales/masterOrder.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 主订单列表
export function getMasterOrderList() {
export function getMasterOrderList(data) {
  return request({
    url: "/api/masterOrder/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加主订单
src/api/sales/quotation.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 报价单列表
export function getQuotationList() {
export function getQuotationList(data) {
  return request({
    url: "/api/quotation/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加报价单
src/api/sales/refundForm.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 销售退款单列表
export function getSalesRefundList() {
export function getSalesRefundList(data) {
  return request({
    url: "/api/salesRefund/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加销售退款单
src/api/sales/salesDetails.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 销售明细列表
export function getSalesDetailsList() {
export function getSalesDetailsList(data) {
  return request({
    url: "/api/salesDetails/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加销售明细
src/api/sales/salesOpportunity.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 销售机会列表
export function getSaleChanceList() {
export function getSaleChanceList(data) {
  return request({
    url: "/api/saleChance/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加销售机会
src/api/sales/salesReturn.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 销售退货单列表
export function getSalesReturnList() {
export function getSalesReturnList(data) {
  return request({
    url: "/api/salesReturn/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加销售退货单
src/api/sales/subOrder.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 销售子单列表
export function getSubOrderList() {
export function getSubOrderList(data) {
  return request({
    url: "/api/subOrder/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加销售子单
src/api/serviceManage/orderManage.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 工单管理列表
export function getOrderManageList() {
export function getOrderManageList(data) {
  return request({
    url: "/api/orderManage/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加工单管理
src/api/serviceManage/serviceContract.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 服务合同列表
export function getServiceContractList() {
export function getServiceContractList(data) {
  return request({
    url: "/api/serviceContract/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加服务合同
src/api/serviceManage/serviceFeeManage.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 服务收费管理列表
export function getServiceFeeManageList() {
export function getServiceFeeManageList(data) {
  return request({
    url: "/api/serviceFeeManage/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加服务收费管理
src/api/serviceManage/serviceFollowup.js
@@ -1,10 +1,11 @@
import request from "@/common/untils/request.js"
// 服务回访单列表
export function getServiceFollowupList() {
export function getServiceFollowupList(data) {
  return request({
    url: "/api/serviceFollowup/list",
    method: "get"
    method: "post",
    data
  })
}
// 添加服务回访单
src/components/layout/components/appsidebar/index.vue
@@ -48,14 +48,14 @@
          <el-menu-item index="/service/serviceFollowup">服务回访单</el-menu-item>
          <el-menu-item index="/service/serviceFeeManage">服务收费管理</el-menu-item>
        </el-submenu>
        <el-submenu index="4">
        <!-- <el-submenu index="4">
          <template slot="title">
            <i class="el-icon-location"></i>
            <span>后台配置</span>
          </template>
          <el-menu-item index="/backgroundConfig/memberManage">成员管理</el-menu-item>
          <el-menu-item index="/backgroundConfig/rolePermssion">角色权限</el-menu-item>
        </el-submenu>
        </el-submenu> -->
      </el-menu>
    </div>
  </div>
src/router/index.js
@@ -5,14 +5,14 @@
import clientRouter from "./client/index.js"
import salesRouter from "./sales/index.js"
import serviceRouter from "./service/index.js"
import backgroundConfigRouter from "./backgroundConfig/index.js"
// import backgroundConfigRouter from "./backgroundConfig/index.js"
Vue.use(Router)
const login = (resolve) => require(["@/views/other/login/index"], resolve)
const client = (resolve) => require(["@/views/client/index"], resolve)
const sales = (resolve) => require(["@/views/sales/index"], resolve)
const service = (resolve) => require(["@/views/service/index"], resolve)
const background = (resolve) => require(["@/views/backgroundConfig/index"], resolve)
// const background = (resolve) => require(["@/views/backgroundConfig/index"], resolve)
export const routes = [
  {
@@ -44,17 +44,17 @@
      title: "服务管理",
      isAllways: true
    }
  },
  {
    path: "background", // 后台设置
    name: "background",
    component: background,
    children: backgroundConfigRouter,
    meta: {
      title: "后台设置",
      isAllways: true
    }
  }
  // {
  //   path: "background", // 后台设置
  //   name: "background",
  //   component: background,
  //   children: backgroundConfigRouter,
  //   meta: {
  //     title: "后台设置",
  //     isAllways: true
  //   }
  // }
]
export const constantRoutes = [
  {
src/views/backgroundConfig/memberManage/index.vue
@@ -20,7 +20,7 @@
          :login-control="true"
          :operates-list="operatesList"
        />
        <PagerView class="page" />
        <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
      </div>
      <TableCommonView ref="tableListRef" :table-list="tableList">
        <template slot="tableButton">
src/views/client/client/index.vue
@@ -27,7 +27,7 @@
        :statistics="true"
        :operates-list="operatesList"
      />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" v-loading="loading" :table-list="tableList">
      <template slot="tableButton">
@@ -49,10 +49,12 @@
<script>
import AddClientManageDialog from "@/views/client/client/AddClientManageDialog.vue"
import { getClientList, getDeleteClient } from "@/api/client/client"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "CustomManage",
  props: {},
  mixins: [pageMixin],
  components: {
    AddClientManageDialog
  },
@@ -122,7 +124,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getClientList()
      await getClientList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -138,7 +144,6 @@
                    }
                  }
                }
                return {
                  ...item,
                  contact_name: contact_name,
@@ -146,6 +151,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/client/contacts/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" v-loading="loading" :table-list="tableList">
      <template slot="tableButton">
@@ -24,9 +24,11 @@
<script>
import AddContactsDialog from "@/views/client/contacts/AddContactsDialog"
import { getContactList, getDeleteContact } from "@/api/client/contacts"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "ContactsView",
  props: {},
  mixins: [pageMixin],
  components: {
    AddContactsDialog
  },
@@ -87,7 +89,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getContactList()
      await getContactList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -100,6 +106,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/client/followupRecords/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :statistics="true" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" v-loading="loading" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddFollowupRecordsDialog from "@/views/client/followupRecords/AddFollowupRecordsDialog"
import { getFollowRecordList, getDeleteFollowRecord } from "@/api/client/followupRecords.js"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "FollowupRecords",
  props: {},
  mixins: [pageMixin],
  components: {
    AddFollowupRecordsDialog
  },
@@ -94,7 +96,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getFollowRecordList()
      await getFollowRecordList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -109,6 +115,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/client/salesLead/index.vue
@@ -98,7 +98,11 @@
    },
    // 请求数据
    async getData() {
      await getSalesLeadsList()
      await getSalesLeadsList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          const list = res.data.list.map((item) => {
            return {
@@ -108,6 +112,7 @@
            }
          })
          this.tableList.tableInfomation = list || []
          this.pagerOptions.totalCount = res.data.count
        })
        .catch((err) => {
          console.log(err)
src/views/sales/contractManage/index.vue
@@ -13,7 +13,7 @@
        ::statistics="true"
        :operates-list="operatesList"
      />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -33,10 +33,12 @@
<script>
import AddContractManageDialog from "@/views/sales/contractManage/AddContractManageDialog"
import { getContractList, getDelContract } from "@/api/sales/contractManage"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "ContractManage",
  props: {},
  mixins: [pageMixin],
  components: {
    AddContractManageDialog
  },
@@ -99,7 +101,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getContractList()
      await getContractList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -110,6 +116,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/generatePlan/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddGeneratePlanDialog from "@/views/sales/generatePlan/AddGeneratePlanDialog"
import { getPlanList, getDelPlan } from "@/api/sales/generatePlan"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "GeneratePlan",
  props: {},
  mixins: [pageMixin],
  components: {
    AddGeneratePlanDialog
  },
@@ -89,7 +91,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getPlanList()
      await getPlanList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -100,6 +106,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/masterOrder/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :show-summary="showSummary" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddMasterOrderDialog from "@/views/sales/masterOrder/AddMasterOrderDialog"
import { getMasterOrderList, getDelMasterOrder } from "@/api/sales/masterOrder"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "MasterOrder",
  props: {},
  mixins: [pageMixin],
  components: {
    AddMasterOrderDialog
  },
@@ -92,7 +94,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getMasterOrderList()
      await getMasterOrderList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -104,6 +110,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/quotation/index.vue
@@ -8,7 +8,7 @@
    />
    <div class="btn-pager">
      <PublicFunctionBtnView :submit-approval="true" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -28,10 +28,12 @@
<script>
import AddQuotationDialog from "@/views/sales/quotation/AddQuotationDialog"
import { getQuotationList, getDelQuotation } from "@/api/sales/quotation"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "QuotationView",
  props: {},
  mixins: [pageMixin],
  components: {
    AddQuotationDialog
  },
@@ -97,7 +99,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getQuotationList()
      await getQuotationList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -110,6 +116,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/refundForm/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :receive="false" :submit-approval="true" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddRefundFormDialog from "@/views/sales/refundForm/AddRefundFormDialog"
import { getSalesRefundList, getDelSalesRefund } from "@/api/sales/refundForm"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "RefundForm",
  props: {},
  mixins: [pageMixin],
  components: {
    AddRefundFormDialog
  },
@@ -91,7 +93,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getSalesRefundList()
      await getSalesRefundList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -102,6 +108,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/salesDetails/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :submit-approval="true" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :show-summary="showSummary" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddSalesDetailsDialog from "@/views/sales/salesDetails/AddSalesDetailsDialog"
import { getSalesDetailsList, getDelSalesDetails } from "@/api/sales/salesDetails"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "SalesDetails",
  props: {},
  mixins: [pageMixin],
  components: {
    AddSalesDetailsDialog
  },
@@ -112,7 +114,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getSalesDetailsList()
      await getSalesDetailsList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -124,6 +130,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/salesOpportunity/index.vue
@@ -8,7 +8,7 @@
        :custom-funnel="true"
        :operates-list="operatesList"
      />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -29,10 +29,12 @@
<script>
import AddSalesOpportunityDialog from "@/views/sales/salesOpportunity/AddSalesOpportunityDialog"
import { getSaleChanceList, getDelSaleChance } from "@/api/sales/salesOpportunity"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "SalesOpportunity",
  props: {},
  mixins: [pageMixin],
  components: {
    AddSalesOpportunityDialog
  },
@@ -107,7 +109,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getSaleChanceList()
      await getSaleChanceList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -120,6 +126,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/salesReturn/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :receive="false" :import-button="false" receive:operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddSalesReturnDialog from "@/views/sales/salesReturn/AddSalesReturnDialog"
import { getSalesReturnList, getDelSalesReturn } from "@/api/sales/salesReturn"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "SalesReturn",
  props: {},
  mixins: [pageMixin],
  components: {
    AddSalesReturnDialog
  },
@@ -92,7 +94,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getSalesReturnList()
      await getSalesReturnList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -103,6 +109,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/sales/subOrder/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :show-summary="showSummary" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddSubOrderDialog from "@/views/sales/subOrder/AddSubOrderDialog"
import { getSubOrderList, getDelSubOrder } from "@/api/sales/subOrder"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "SubOrder",
  props: {},
  mixins: [pageMixin],
  components: {
    AddSubOrderDialog
  },
@@ -96,7 +98,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getSubOrderList()
      await getSubOrderList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -108,6 +114,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/service/orderManage/index.vue
@@ -12,7 +12,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :receive="true" :submit-approval="true" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -32,10 +32,12 @@
<script>
import AddOrderManageDialog from "@/views/service/orderManage/AddOrderManageDialog"
import { getOrderManageList, getDelOrderManage } from "@/api/serviceManage/orderManage"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "SalesLead",
  props: {},
  mixins: [pageMixin],
  components: {
    AddOrderManageDialog
  },
@@ -100,7 +102,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getOrderManageList()
      await getOrderManageList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -111,6 +117,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/service/serviceContract/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :submit-approval="true" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddServiceContractDialog from "@/views/service/serviceContract/AddServiceContractDialog"
import { getServiceContractList, getDelServiceContract } from "@/api/serviceManage/serviceContract"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "ServiceContract",
  props: {},
  mixins: [pageMixin],
  components: {
    AddServiceContractDialog
  },
@@ -94,7 +96,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getServiceContractList()
      await getServiceContractList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -105,6 +111,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/service/serviceFeeManage/index.vue
@@ -9,7 +9,7 @@
        :statistics="true"
        :operates-list="operatesList"
      />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList" @getSelectArray="getSelectArray">
      <template slot="tableButton">
@@ -30,10 +30,12 @@
<script>
import AddServiceFeeManageDialog from "@/views/service/serviceFeeManage/AddServiceFeeManageDialog"
import { getServiceFeeManageList, getDelServiceFeeManage } from "@/api/serviceManage/serviceFeeManage"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "ServiceFeeManage",
  props: {},
  mixins: [pageMixin],
  components: {
    AddServiceFeeManageDialog
  },
@@ -103,7 +105,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getServiceFeeManageList()
      await getServiceFeeManageList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -119,6 +125,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }
src/views/service/serviceFollowup/index.vue
@@ -3,7 +3,7 @@
    <SearchCommonView ref="searchCommonView" :query-class-options="queryClassOptions" :search-options="searchOptions" />
    <div class="btn-pager">
      <PublicFunctionBtnView :import-button="false" :operates-list="operatesList" />
      <PagerView class="page" />
      <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" />
    </div>
    <TableCommonView ref="tableListRef" :table-list="tableList">
      <template slot="tableButton">
@@ -23,10 +23,12 @@
<script>
import AddServiceFollowupDialog from "@/views/service/serviceFollowup/AddServiceFollowupDialog"
import { getServiceFollowupList, getDelServiceFollowup } from "@/api/serviceManage/serviceFollowup"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
export default {
  name: "SalesLead",
  props: {},
  mixins: [pageMixin],
  components: {
    AddServiceFollowupDialog
  },
@@ -84,7 +86,11 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getServiceFollowupList()
      await getServiceFollowupList({
        keyword: "",
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        .then((res) => {
          console.log(res)
          if (res.code === 200) {
@@ -95,6 +101,7 @@
                }
              })
              this.tableList.tableInfomation = list || []
              this.pagerOptions.totalCount = res.data.count
            } else {
              this.tableList.tableInfomation = []
            }