|
@@ -6,6 +6,48 @@
|
|
|
<el-tab-pane label="我的订购" name="first">
|
|
|
<el-row style="padding: 0 20px;">
|
|
|
<el-tabs v-model="activeNameFirst" @tab-click="handleClickFirst">
|
|
|
+ <el-tab-pane label="发起交易" name="fgffadqdfa">
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" v-for="(item, index) in faqilist" :key="index">
|
|
|
+ <el-col class="xqborder">
|
|
|
+ <el-col :span="24" class="fbListTop">
|
|
|
+ <el-col :span="21"> </el-col>
|
|
|
+ <el-col :span="3">
|
|
|
+ {{ 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="fbListCenterC">
|
|
|
+ <p class="textOver">产品:{{ item.product_name }}</p>
|
|
|
+ <p>营销人名称:{{ item.market_username }}</p>
|
|
|
+ <p>购买人名称:{{ item.username }}</p>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="fbListCenterTwo">
|
|
|
+ <el-col :span="24">说明:{{ item.description }}</el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" class="fbListCenterR">
|
|
|
+ <el-col :span="24" class="bainji">
|
|
|
+ <el-link :underline="false" @click="jiaoyisuccess(item)">同意交易</el-link>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="page" :span="24">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChangefaqi"
|
|
|
+ :current-page="currentPage"
|
|
|
+ background
|
|
|
+ layout="total, prev, pager, next, jumper"
|
|
|
+ :total="totalfaqi"
|
|
|
+ :page-size="pageSize"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
+ </el-col>
|
|
|
+ </el-tab-pane>
|
|
|
+
|
|
|
<el-tab-pane label="交易中" name="fgrrsss">
|
|
|
<el-col :span="24" class="info">
|
|
|
<el-col :span="24" v-for="(item, index) in dinggou1" :key="index">
|
|
@@ -157,6 +199,8 @@ export default {
|
|
|
total1: null,
|
|
|
total2: null,
|
|
|
total3: null,
|
|
|
+ faqilist: null,
|
|
|
+ totalfaqi: null,
|
|
|
|
|
|
// gonggeiData: null,
|
|
|
},
|
|
@@ -197,6 +241,10 @@ export default {
|
|
|
console.log(currentPage);
|
|
|
this.$emit('handleCurrentChange2', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
|
|
|
},
|
|
|
+ handleCurrentChangefaqi(currentPage) {
|
|
|
+ console.log(currentPage);
|
|
|
+ this.$emit('handleCurrentChangefaqi', { skip: (currentPage - 1) * this.pageSize, limit: this.pageSize, currentPage });
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|