|
@@ -6,14 +6,17 @@
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClicks">
|
|
|
<el-tab-pane label="审核中" name="first">
|
|
|
<el-col :span="24" class="info">
|
|
|
- <el-col :span="10" class="input">
|
|
|
- <el-input placeholder="请输入企业名称" v-model="input"> </el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" class="btn">
|
|
|
- <el-button type="primary" icon="el-icon-search" circle></el-button>
|
|
|
- </el-col>
|
|
|
+ <searchInfo></searchInfo>
|
|
|
</el-col>
|
|
|
- <el-table ref="debtTable" :data="debtTable" style="width: 100%" border>
|
|
|
+ <el-table
|
|
|
+ ref="debtTable"
|
|
|
+ :data="debtTable"
|
|
|
+ tooltip-effect="dark"
|
|
|
+ :default-sort="{ prop: 'date', order: 'descending' }"
|
|
|
+ style="width: 100%"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ >
|
|
|
+ <el-table-column type="selection" align="center"> </el-table-column>
|
|
|
<el-table-column type="index" label="序号" width="50" align="center"> </el-table-column>
|
|
|
<el-table-column property="company_name" label="企业名称" align="center"> </el-table-column>
|
|
|
<el-table-column label="状态" align="center">
|
|
@@ -25,18 +28,28 @@
|
|
|
<el-table-column property="contact_position" label="联系人职位" align="center"> </el-table-column>
|
|
|
<el-table-column property="contact_email" label="联系人邮箱" align="center"> </el-table-column>
|
|
|
<el-table-column property="telephone" label="固定电话" align="center"> </el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" align="center">
|
|
|
+ <el-table-column fixed="right" label="操作" align="center" width="300px">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-view"></i></el-button>
|
|
|
+ <!-- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-view"></i></el-button> -->
|
|
|
+ <el-button size="mini" type="text" @click="handleClick(scope.row)" class="view" icon="el-icon-view"></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <!--
|
|
|
+ <el-table-column label="操作" align="center" width="300px">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button size="mini" type="text" class="view" icon="el-icon-view"></el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
<el-col class="page" :span="24">
|
|
|
<el-pagination
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
+ :page-sizes="[10, 20, 30, 40]"
|
|
|
+ :page-size="10"
|
|
|
+ background
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
>
|
|
|
</el-pagination>
|
|
@@ -44,14 +57,18 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="审核通过" name="second">
|
|
|
<el-col :span="24" class="info">
|
|
|
- <el-col :span="10" class="input">
|
|
|
- <el-input placeholder="请输入企业名称" v-model="input"> </el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" class="btn">
|
|
|
- <el-button type="primary" icon="el-icon-search" circle></el-button>
|
|
|
- </el-col>
|
|
|
+ <searchInfo></searchInfo>
|
|
|
</el-col>
|
|
|
- <el-table ref="shenheTable" :data="shenheTable" style="width: 100%" border>
|
|
|
+ <el-table
|
|
|
+ ref="shenheTable"
|
|
|
+ :data="shenheTable"
|
|
|
+ tooltip-effect="dark"
|
|
|
+ :default-sort="{ prop: 'date', order: 'descending' }"
|
|
|
+ style="width: 100%"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ >
|
|
|
+ <el-table-column type="selection" align="center"> </el-table-column>
|
|
|
+
|
|
|
<el-table-column type="index" label="序号" width="50" align="center"> </el-table-column>
|
|
|
<el-table-column property="company_name" label="企业名称" align="center"> </el-table-column>
|
|
|
<el-table-column label="状态" align="center">
|
|
@@ -63,9 +80,10 @@
|
|
|
<el-table-column property="contact_position" label="联系人职位" align="center"> </el-table-column>
|
|
|
<el-table-column property="contact_email" label="联系人邮箱" align="center"> </el-table-column>
|
|
|
<el-table-column property="telephone" label="固定电话" align="center"> </el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" align="center">
|
|
|
+ <el-table-column fixed="right" label="操作" align="center" width="300px">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-view"></i></el-button>
|
|
|
+ <!-- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-view"></i></el-button> -->
|
|
|
+ <el-button size="mini" type="text" @click="handleClick(scope.row)" class="view" icon="el-icon-view"></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -74,7 +92,10 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
+ :page-sizes="[10, 20, 30, 40]"
|
|
|
+ :page-size="10"
|
|
|
+ background
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
>
|
|
|
</el-pagination>
|
|
@@ -82,14 +103,18 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="审核拒绝" name="third">
|
|
|
<el-col :span="24" class="info">
|
|
|
- <el-col :span="10" class="input">
|
|
|
- <el-input placeholder="请输入企业名称" v-model="input"> </el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="2" class="btn">
|
|
|
- <el-button type="primary" icon="el-icon-search" circle></el-button>
|
|
|
- </el-col>
|
|
|
+ <searchInfo></searchInfo>
|
|
|
</el-col>
|
|
|
- <el-table ref="noshenhetable" :data="noshenhetable" style="width: 100%" border>
|
|
|
+ <el-table
|
|
|
+ ref="noshenhetable"
|
|
|
+ :data="noshenhetable"
|
|
|
+ tooltip-effect="dark"
|
|
|
+ :default-sort="{ prop: 'date', order: 'descending' }"
|
|
|
+ style="width: 100%"
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
+ >
|
|
|
+ <el-table-column type="selection" align="center"> </el-table-column>
|
|
|
+
|
|
|
<el-table-column type="index" label="序号" width="50" align="center"> </el-table-column>
|
|
|
<el-table-column property="company_name" label="企业名称" align="center"> </el-table-column>
|
|
|
<el-table-column label="状态" align="center">
|
|
@@ -101,9 +126,10 @@
|
|
|
<el-table-column property="contact_position" label="联系人职位" align="center"> </el-table-column>
|
|
|
<el-table-column property="contact_email" label="联系人邮箱" align="center"> </el-table-column>
|
|
|
<el-table-column property="telephone" label="固定电话" align="center"> </el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" align="center">
|
|
|
+ <el-table-column fixed="right" label="操作" align="center" width="300px">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-view"></i></el-button>
|
|
|
+ <!-- <el-button @click="handleClick(scope.row)" type="text"><i class="el-icon-view"></i></el-button> -->
|
|
|
+ <el-button size="mini" type="text" @click="handleClick(scope.row)" class="view" icon="el-icon-view"></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -113,7 +139,10 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
+ :page-sizes="[10, 20, 30, 40]"
|
|
|
+ :page-size="10"
|
|
|
+ background
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
>
|
|
|
</el-pagination> </el-col
|
|
@@ -126,6 +155,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import searchInfo from '@/layout/common/searchInfo.vue';
|
|
|
export default {
|
|
|
name: 'newsInfo',
|
|
|
props: {
|
|
@@ -134,7 +164,9 @@ export default {
|
|
|
noshenhetable: null,
|
|
|
total: null,
|
|
|
},
|
|
|
- components: {},
|
|
|
+ components: {
|
|
|
+ searchInfo,
|
|
|
+ },
|
|
|
data: () => ({
|
|
|
currentPage: 1,
|
|
|
activeName: 'first',
|
|
@@ -147,6 +179,9 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ handleSelectionChange(val) {
|
|
|
+ this.multipleSelection = val;
|
|
|
+ },
|
|
|
handleSizeChange(val) {
|
|
|
console.log(`每页 ${val} 条`);
|
|
|
},
|
|
@@ -166,17 +201,37 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-.info {
|
|
|
- padding: 15px 0;
|
|
|
+/deep/.el-checkbox__input.is-checked .el-checkbox__inner {
|
|
|
+ background-color: red;
|
|
|
+ border-color: red;
|
|
|
+}
|
|
|
+/deep/.el-checkbox__input.is-indeterminate .el-checkbox__inner {
|
|
|
+ background-color: red;
|
|
|
+ border-color: red;
|
|
|
+}
|
|
|
+/deep/.el-table th {
|
|
|
+ background-color: #f5f6fa;
|
|
|
+ padding: 8px 0;
|
|
|
+}
|
|
|
+/deep/.el-table td {
|
|
|
+ padding: 11px 0;
|
|
|
+}
|
|
|
+.other {
|
|
|
+ color: #f36302;
|
|
|
+}
|
|
|
+.view {
|
|
|
+ color: #f36302;
|
|
|
+}
|
|
|
+.edit {
|
|
|
+ color: #2ccc02;
|
|
|
}
|
|
|
-.info .input {
|
|
|
- padding: 6px 0;
|
|
|
+.delete {
|
|
|
+ color: #e9021d;
|
|
|
}
|
|
|
-.info .btn {
|
|
|
- text-align: center;
|
|
|
+/deep/.el-pagination {
|
|
|
+ padding: 26px 20px;
|
|
|
}
|
|
|
-/deep/.el-input__inner {
|
|
|
- height: 30px;
|
|
|
- line-height: 30px;
|
|
|
+/deep/.el-pagination.is-background .el-pager li:not(.disabled).active {
|
|
|
+ background-color: red;
|
|
|
}
|
|
|
</style>
|