|
@@ -0,0 +1,64 @@
|
|
|
+<template>
|
|
|
+ <div id="index">
|
|
|
+ <el-col :span="24" class="debt">
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ <topInfo :topTitle="topTitle" :display="display"></topInfo>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="search">
|
|
|
+ <searchInfo></searchInfo>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="main">
|
|
|
+ <companyuserList :debtTable="debtTable" @deleteRow="deleteRow"></companyuserList>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import topInfo from '@/layout/common/topInfo.vue';
|
|
|
+import searchInfo from '@/layout/common/searchInfo.vue';
|
|
|
+import companyuserList from '@/layout/companyuser/companyuserList.vue';
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'index',
|
|
|
+ props: {},
|
|
|
+ components: {
|
|
|
+ topInfo, //头部导航
|
|
|
+ searchInfo, //搜素
|
|
|
+ companyuserList, //其他用户列表
|
|
|
+ },
|
|
|
+ data: () => ({
|
|
|
+ topTitle: '企业用户',
|
|
|
+ display: 'none',
|
|
|
+ debtTable: [
|
|
|
+ {
|
|
|
+ company_name: '测试企业1',
|
|
|
+ institution_name: '推荐单位1',
|
|
|
+ phone: '123456789',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ company_name: '测试企业2',
|
|
|
+ institution_name: '推荐单位2',
|
|
|
+ phone: '123456789',
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ }),
|
|
|
+ created() {},
|
|
|
+ computed: {},
|
|
|
+ methods: {
|
|
|
+ // 删除
|
|
|
+ deleteRow(id) {
|
|
|
+ console.log(id);
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less" scoped>
|
|
|
+.debt {
|
|
|
+ padding: 20px;
|
|
|
+}
|
|
|
+.top {
|
|
|
+ border-bottom: 1px solid #ccc;
|
|
|
+}
|
|
|
+</style>
|