| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加客户管理 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加联系人 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加跟进记录 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加销售线索 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加合同管理 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加生成计划 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加主订单 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加报价单 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加销售退款单 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加销售明细 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加销售机会 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加销售退货单 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加销售子单 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加工单管理 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加服务合同 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加服务收费管理 |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | // 添加服务回访单 |
| | |
| | | <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> |
| | |
| | | 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 = [ |
| | | { |
| | |
| | | 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 = [ |
| | | { |
| | |
| | | :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"> |
| | |
| | | :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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | return { |
| | | ...item, |
| | | contact_name: contact_name, |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | }, |
| | | // 请求数据 |
| | | 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 { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err) |
| | |
| | | ::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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | /> |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | :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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | :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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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 |
| | | }, |
| | |
| | | // 请求数据 |
| | | 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) { |
| | |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | | this.pagerOptions.totalCount = res.data.count |
| | | } else { |
| | | this.tableList.tableInfomation = [] |
| | | } |