|
@@ -17,7 +17,9 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="fbListCenter">
|
|
|
<el-col :span="6" class="fimage">
|
|
|
- <el-image style="width:100px;height:100px" :src="item.image.url"></el-image>
|
|
|
+ <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
|
|
|
+ <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="fbListCenterC">
|
|
|
<p class="textOver">产品:{{ item.name }}</p>
|
|
@@ -45,14 +47,16 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
+ background
|
|
|
layout="total, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
+ :page-size="pageSize"
|
|
|
>
|
|
|
</el-pagination>
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="审核中信息" name="second">
|
|
|
- <el-col :span="24" v-for="(item, index) in recruitData" :key="index">
|
|
|
+ <el-col :span="24" v-for="(item, index) in shenheList" :key="index">
|
|
|
<el-col class="xqborder">
|
|
|
<el-col :span="24" class="fbListTop">
|
|
|
<el-col :span="20"> {{ item.name }} </el-col>
|
|
@@ -62,7 +66,9 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="fbListCenter">
|
|
|
<el-col :span="6" class="fimage">
|
|
|
- <el-image style="width:100px;height:100px" :src="item.image.url"></el-image>
|
|
|
+ <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
|
|
|
+ <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="fbListCenterC">
|
|
|
<p class="textOver">产品:{{ item.name }}</p>
|
|
@@ -88,13 +94,13 @@
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
layout="total, prev, pager, next, jumper"
|
|
|
- :total="total"
|
|
|
+ :total="tatalstatus1"
|
|
|
>
|
|
|
</el-pagination>
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="交易成功信息" name="thirth">
|
|
|
- <el-col :span="24" v-for="(item, index) in recruitData" :key="index">
|
|
|
+ <el-tab-pane label="未交易" name="thirth">
|
|
|
+ <el-col :span="24" v-for="(item, index) in successlist" :key="index">
|
|
|
<el-col class="xqborder">
|
|
|
<el-col :span="24" class="fbListTop">
|
|
|
<el-col :span="20"> {{ item.name }} </el-col>
|
|
@@ -104,7 +110,9 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="fbListCenter">
|
|
|
<el-col :span="6" class="fimage">
|
|
|
- <el-image style="width:100px;height:100px" :src="item.image.url"></el-image>
|
|
|
+ <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
|
|
|
+ <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="fbListCenterC">
|
|
|
<p class="textOver">产品:{{ item.name }}</p>
|
|
@@ -128,7 +136,50 @@
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="currentPage"
|
|
|
layout="total, prev, pager, next, jumper"
|
|
|
- :total="total"
|
|
|
+ :total="tatalstatus2"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
+ </el-col>
|
|
|
+ </el-tab-pane>
|
|
|
+
|
|
|
+ <el-tab-pane label="交易完成" name="thirth">
|
|
|
+ <el-col :span="24" v-for="(item, index) in successlist" :key="index">
|
|
|
+ <el-col class="xqborder">
|
|
|
+ <el-col :span="24" class="fbListTop">
|
|
|
+ <el-col :span="20"> {{ item.name }} </el-col>
|
|
|
+ <el-col :span="4">
|
|
|
+ {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="fbListCenter">
|
|
|
+ <el-col :span="6" class="fimage">
|
|
|
+ <el-col :span="24" v-for="(acm, index) in item.image" :key="index">
|
|
|
+ <el-image style="width:100px;height:100px" :src="acm.url"></el-image>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="fbListCenterC">
|
|
|
+ <p class="textOver">产品:{{ item.name }}</p>
|
|
|
+ <p>类别:{{ item.totaltype === '0' ? '技术' : item.totaltype === '1' ? '产品' : item.totaltype === '2' ? '服务' : 'underdind' }}</p>
|
|
|
+ <p class="listMoney">{{ item.price }}/{{ item.priceunit }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="fbListCenterTwo">
|
|
|
+ <el-col :span="24">最新申请:</el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="fbListCenterR">
|
|
|
+ <el-col :span="24" class="bainji">
|
|
|
+ <el-link :underline="false" @click="handleDelete(item)">彻底删除</el-link>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="page" :span="24">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="currentPage"
|
|
|
+ layout="total, prev, pager, next, jumper"
|
|
|
+ :total="tatalstatus2"
|
|
|
>
|
|
|
</el-pagination>
|
|
|
</el-col>
|
|
@@ -136,11 +187,11 @@
|
|
|
</el-tabs>
|
|
|
</el-row>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="我的供给" name="second">
|
|
|
+ <!-- <el-tab-pane label="我的供给" name="second">
|
|
|
<el-row style="padding: 0 20px;">
|
|
|
<el-tabs v-model="activeNameFirst" @tab-click="handleClickFirst">
|
|
|
<el-tab-pane label="已经审核信息" name="first">
|
|
|
- <el-col :span="24" v-for="(item, index) in recruitData" :key="index">
|
|
|
+ <el-col :span="24" v-for="(item, index) in gonggeiData" :key="index">
|
|
|
<el-col class="xqborder">
|
|
|
<el-col :span="24" class="fbListTop">
|
|
|
<el-col :span="20"> {{ item.name }} </el-col>
|
|
@@ -165,9 +216,9 @@
|
|
|
<el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link
|
|
|
><br />
|
|
|
<el-link :underline="false" @click="handleDelete(item)">彻底删除</el-link>
|
|
|
- <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })"
|
|
|
+ <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })"
|
|
|
>查看申请</el-link
|
|
|
- > -->
|
|
|
+ >
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -185,7 +236,7 @@
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="审核中信息" name="second">
|
|
|
- <el-col :span="24" v-for="(item, index) in recruitData" :key="index">
|
|
|
+ <el-col :span="24" v-for="(item, index) in gonggeiData" :key="index">
|
|
|
<el-col class="xqborder">
|
|
|
<el-col :span="24" class="fbListTop">
|
|
|
<el-col :span="20"> {{ item.name }} </el-col>
|
|
@@ -229,7 +280,7 @@
|
|
|
</el-col>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="交易成功信息" name="thirth">
|
|
|
- <el-col :span="24" v-for="(item, index) in recruitData" :key="index">
|
|
|
+ <el-col :span="24" v-for="(item, index) in gonggeiData" :key="index">
|
|
|
<el-col class="xqborder">
|
|
|
<el-col :span="24" class="fbListTop">
|
|
|
<el-col :span="20"> {{ item.name }} </el-col>
|
|
@@ -271,7 +322,7 @@
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</el-row>
|
|
|
- </el-tab-pane>
|
|
|
+ </el-tab-pane> -->
|
|
|
</el-tabs>
|
|
|
<el-link :underline="false" class="fabuBtn" @click="messFabu()">信息发布</el-link>
|
|
|
</el-col>
|
|
@@ -286,12 +337,18 @@ export default {
|
|
|
recruitData: null,
|
|
|
columnName: null,
|
|
|
total: null,
|
|
|
+ successlist: null,
|
|
|
+ shenheList: null,
|
|
|
+ tatalstatus2: null,
|
|
|
+ tatalstatus1: null,
|
|
|
+ // gonggeiData: null,
|
|
|
},
|
|
|
components: {},
|
|
|
data: () => ({
|
|
|
- currentPage: 1,
|
|
|
+ currentPage: 0,
|
|
|
activeName: 'first',
|
|
|
activeNameFirst: 'first',
|
|
|
+ pageSize: 3,
|
|
|
}),
|
|
|
created() {},
|
|
|
computed: {},
|
|
@@ -308,11 +365,19 @@ export default {
|
|
|
handleClickFirst(tab, event) {
|
|
|
console.log(tab, event);
|
|
|
},
|
|
|
- handleSizeChange(val) {
|
|
|
- console.log(`每页 ${val} 条`);
|
|
|
+ // handleSizeChange(val) {
|
|
|
+ // console.log(`每页 ${val} 条`);
|
|
|
+ // },
|
|
|
+ // handleCurrentChange(val) {
|
|
|
+ // console.log(`当前页: ${val}`);
|
|
|
+ // },
|
|
|
+
|
|
|
+ handleSizeChange(pageSize) {
|
|
|
+ // this.$emit('handleSizeChange', pageSize);
|
|
|
},
|
|
|
- handleCurrentChange(val) {
|
|
|
- console.log(`当前页: ${val}`);
|
|
|
+ handleCurrentChange(currentPage) {
|
|
|
+ console.log(currentPage);
|
|
|
+ this.$emit('handleCurrentChange', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
|
|
|
},
|
|
|
},
|
|
|
};
|