| | |
| | | <PagerView class="page" :pager-options="pagerOptions" v-on="pagerEvents" /> |
| | | </div> |
| | | </div> |
| | | <TableCommonView ref="tableListRef" :table-list="tableList"> |
| | | <TableCommonView ref="tableListRef" :table-list="tableList" @selCommonClick="selCommonClick"> |
| | | <template slot="tableButton"> |
| | | <el-table-column label="操作" width="100"> |
| | | <template slot-scope="scope"> |
| | |
| | | </TableCommonView> |
| | | <!-- 新建/编辑 --> |
| | | <AddContractManageDialog v-if="editConfig.visible" :edit-common-config="editConfig" /> |
| | | <!-- 机会详情 --> |
| | | <DetailContractManage v-if="contractDetail.visible" :contract-detail="contractDetail" /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import AddContractManageDialog from "@/views/sales/contractManage/AddContractManageDialog" |
| | | import { getContractList, getDelContract } from "@/api/sales/contractManage" |
| | | import pageMixin from "@/components/makepager/pager/mixin/pageMixin" |
| | | import DetailContractManage from "@/views/sales/contractManage/DetailContractManage" |
| | | |
| | | export default { |
| | | name: "ContractManage", |
| | | props: {}, |
| | | mixins: [pageMixin], |
| | | components: { |
| | | AddContractManageDialog |
| | | AddContractManageDialog, |
| | | DetailContractManage |
| | | }, |
| | | computed: { |
| | | searchCommonHeight() { |
| | |
| | | visible: false, |
| | | title: "新建", |
| | | infomation: {} |
| | | }, |
| | | contractDetail: { |
| | | visible: false, |
| | | infomation: {} |
| | | } |
| | | } |
| | | }, |
| | |
| | | this.tableList = { |
| | | tableInfomation: [], |
| | | tableColumn: [ |
| | | { label: "单据编号", prop: "number", min: 120 }, |
| | | { label: "单据编号", prop: "number", min: 120, isCommonClick: true }, |
| | | { label: "负责人", prop: "memberId", min: 90 }, |
| | | { label: "审批状态", prop: "approvalStatus" }, |
| | | { label: "创建人", prop: "creator", min: 100 }, |
| | |
| | | }, |
| | | getSelectArray(val) { |
| | | console.log(val) |
| | | }, |
| | | // 合同管理详情 |
| | | selCommonClick(row) { |
| | | console.log(row) |
| | | this.contractDetail.visible = true |
| | | this.contractDetail.infomation = { ...row } |
| | | } |
| | | } |
| | | } |