| | |
| | | <template> |
| | | <div class="sales-lead"> |
| | | <div class="tab-view"> |
| | | <el-tabs v-model="activeName" @tab-click="tabsClick"> |
| | | <el-tab-pane label="全部" name="first"></el-tab-pane> |
| | | <el-tab-pane label="待分配" name="second"></el-tab-pane> |
| | | <el-tab-pane label="已催单" name="third"></el-tab-pane> |
| | | <el-tab-pane label="处理中" name="fourth"></el-tab-pane> |
| | | <el-tab-pane label="已结单" name="aaa"></el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | | <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" :pager-options="pagerOptions" v-on="pagerEvents" /> |
| | | <!-- <div class="detail-top"> |
| | | </div> --> |
| | | <div class="top"> |
| | | <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" :pager-options="pagerOptions" v-on="pagerEvents" /> |
| | | </div> |
| | | </div> |
| | | <TableCommonView ref="tableListRef" :table-list="tableList"> |
| | | <template slot="tableButton"> |
| | |
| | | return { |
| | | activeName: "first", |
| | | tableList: {}, |
| | | queryClassOptions: [ |
| | | { value: "1", label: "全部" }, |
| | | { value: "2", label: "小程序报修" }, |
| | | { value: "3", label: "面访报修" }, |
| | | { value: "4", label: "今日内创建" }, |
| | | { value: "5", label: "三天内创建" } |
| | | ], |
| | | queryClassOptions: [{ value: "1", label: "本月上门" }], |
| | | searchOptions: [], |
| | | operatesList: [ |
| | | { id: "1", name: "共享" }, |
| | |
| | | this.tableList = { |
| | | tableInfomation: [], |
| | | tableColumn: [ |
| | | { label: "工单编号", prop: "number", min: 100 }, // 工单编号 |
| | | { label: "服务单编号", prop: "number", min: 100 }, // 服务单编号 |
| | | { label: "主题", prop: "name" }, // 主题 |
| | | { label: "客户名称", prop: "clientId", min: 130 }, // 客户名称 |
| | | { label: "联系人姓名", prop: "contactName" }, // 联系人姓名 |
| | | { label: "实际处理时间", prop: "contactName" }, // 实际处理时间 |
| | | { label: "服务人员", prop: "name" }, // 服务人员 |
| | | { label: "工单状态", prop: "orderType" }, // 工单状态 |
| | | { label: "报修来源", prop: "reportSourceId" }, // 报修来源 |
| | | { label: "工单类型", prop: "orderType" } // 工单类型 |
| | | { label: "服务方式", prop: "orderType" }, // 服务方式 |
| | | { label: "产品类别", prop: "reportSourceId" }, // 产品类别 |
| | | { label: "故障类别", prop: "orderType" } // 故障类别 |
| | | ] |
| | | } |
| | | this.searchOptions = [] |
| | |
| | | <!-- Add "scoped" attribute to limit CSS to this component only --> |
| | | <style lang="scss" scoped> |
| | | .sales-lead { |
| | | .btn-pager { |
| | | display: flex; |
| | | .page { |
| | | margin-left: auto; |
| | | .top { |
| | | margin-bottom: 20px; |
| | | .btn-pager { |
| | | display: flex; |
| | | .page { |
| | | margin-left: auto; |
| | | } |
| | | } |
| | | } |
| | | } |