|
@@ -4,182 +4,180 @@
|
|
|
<el-col :span="24" class="leftTop"> <span>|</span> <span>事项管理</span> </el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
|
|
|
- <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-row style="padding: 0 20px;">
|
|
|
+ <el-tabs v-model="activeNameFirst" @tab-click="handleClickFirst">
|
|
|
+ <el-tab-pane label="我的全部" name="fgrr">
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" v-for="(item, index) in dinggou3" :key="index">
|
|
|
+ <el-col class="xqborder">
|
|
|
+ <el-col :span="24" class="fbListTop">
|
|
|
+ <el-col :span="20"> </el-col>
|
|
|
+ <el-col :span="4">
|
|
|
+ {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
</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-link :underline="false" @click="deteles(item)">删除</el-link>
|
|
|
- </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="deteles(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="handleCurrentChangefaqi"
|
|
|
- :current-page="currentPage"
|
|
|
- background
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
- :total="totalfaqi"
|
|
|
- :page-size="pageSize"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="page" :span="24">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange3"
|
|
|
+ :current-page="currentPage"
|
|
|
+ background
|
|
|
+ layout="total, prev, pager, next, jumper"
|
|
|
+ :total="total3"
|
|
|
+ :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">
|
|
|
- <el-col class="xqborder">
|
|
|
- <el-col :span="24" class="fbListTop">
|
|
|
- <el-col :span="20"> </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
- </el-col>
|
|
|
+ <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 :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="deteles(item)">删除</el-link>
|
|
|
- <el-link :underline="false" @click="success(item)">审核通过</el-link>
|
|
|
- <el-link :underline="false" @click="shibai(item)">审核失败</el-link>
|
|
|
- </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-link :underline="false" @click="deteles(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"
|
|
|
- background
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
- :total="total1"
|
|
|
- :page-size="pageSize"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
+ </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="fgrraaa">
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" v-for="(item, index) in dinggou2" :key="index">
|
|
|
- <el-col class="xqborder">
|
|
|
- <el-col :span="24" class="fbListTop">
|
|
|
- <el-col :span="20"> </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
- </el-col>
|
|
|
+ <el-tab-pane label="我的意向" name="fgrrsss">
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" v-for="(item, index) in dinggou1" :key="index">
|
|
|
+ <el-col class="xqborder">
|
|
|
+ <el-col :span="24" class="fbListTop">
|
|
|
+ <el-col :span="20"> </el-col>
|
|
|
+ <el-col :span="4">
|
|
|
+ {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
</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="deteles(item)">删除</el-link>
|
|
|
- </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="deteles(item)">删除</el-link>
|
|
|
+ <el-link :underline="false" @click="success(item)">审核通过</el-link>
|
|
|
+ <el-link :underline="false" @click="shibai(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="handleCurrentChange2"
|
|
|
- :current-page="currentPage"
|
|
|
- background
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
- :total="total2"
|
|
|
- :page-size="pageSize"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="page" :span="24">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="currentPage"
|
|
|
+ background
|
|
|
+ layout="total, prev, pager, next, jumper"
|
|
|
+ :total="total1"
|
|
|
+ :page-size="pageSize"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
+ </el-col>
|
|
|
+ </el-tab-pane>
|
|
|
|
|
|
- <el-tab-pane label="交易取消" name="fgrr">
|
|
|
- <el-col :span="24" class="info">
|
|
|
- <el-col :span="24" v-for="(item, index) in dinggou3" :key="index">
|
|
|
- <el-col class="xqborder">
|
|
|
- <el-col :span="24" class="fbListTop">
|
|
|
- <el-col :span="20"> </el-col>
|
|
|
- <el-col :span="4">
|
|
|
- {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
- </el-col>
|
|
|
+ <el-tab-pane label="我的交易" name="fgrraaa">
|
|
|
+ <el-col :span="24" class="info">
|
|
|
+ <el-col :span="24" v-for="(item, index) in dinggou2" :key="index">
|
|
|
+ <el-col class="xqborder">
|
|
|
+ <el-col :span="24" class="fbListTop">
|
|
|
+ <el-col :span="20"> </el-col>
|
|
|
+ <el-col :span="4">
|
|
|
+ {{ item.meta && item.meta.createdAt ? new Date(item.meta.createdAt).toLocaleDateString() : '' || '' }}
|
|
|
</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="deteles(item)">删除</el-link>
|
|
|
- </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="deteles(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="handleCurrentChange3"
|
|
|
- :current-page="currentPage"
|
|
|
- background
|
|
|
- layout="total, prev, pager, next, jumper"
|
|
|
- :total="total3"
|
|
|
- :page-size="pageSize"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </el-col>
|
|
|
- </el-tab-pane>
|
|
|
- </el-tabs>
|
|
|
- </el-row>
|
|
|
- </el-tab-pane>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="page" :span="24">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange2"
|
|
|
+ :current-page="currentPage"
|
|
|
+ background
|
|
|
+ layout="total, prev, pager, next, jumper"
|
|
|
+ :total="total2"
|
|
|
+ :page-size="pageSize"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
+ </el-col>
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </el-row>
|
|
|
</el-tabs>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -270,7 +268,7 @@ export default {
|
|
|
width: 96%;
|
|
|
height: 41px;
|
|
|
line-height: 35px;
|
|
|
- border-bottom: 1px solid #e5e5e5;
|
|
|
+ // border-bottom: 1px solid #e5e5e5;
|
|
|
position: relative;
|
|
|
bottom: 1px;
|
|
|
margin: 10px;
|