|
@@ -6,33 +6,52 @@
|
|
|
统计数据
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="left">
|
|
|
- <el-col class="box" :span="20">
|
|
|
+ <el-col class="box" :span="10">
|
|
|
<el-col :span="24" class="one">
|
|
|
<p>企业注册数量</p>
|
|
|
<p>{{ detail.num1 }}</p>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
- <el-col class="box" :span="20">
|
|
|
+ <el-col class="box" :span="10">
|
|
|
<el-col :span="24" class="two one">
|
|
|
<p>个人注册数量</p>
|
|
|
<p>{{ detail.num2 }}</p>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12" class="right">
|
|
|
- <el-col class="box" :span="20" style="margin:50px 10px 10px 15px;">
|
|
|
+ <el-col class="box" :span="10" style="margin:50px 10px 10px 15px;">
|
|
|
<el-col :span="24" class="three one">
|
|
|
<p>专家注册数量</p>
|
|
|
<p>{{ detail.num3 }}</p>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
- <el-col class="box" :span="20">
|
|
|
+
|
|
|
+ <el-col class="box" :span="10">
|
|
|
<el-col :span="24" class="four one">
|
|
|
<p>发布需求数量</p>
|
|
|
<p>{{ detail.num4 }}</p>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12" class="right">
|
|
|
+ <el-col class="box" :span="10" style="margin:30px 10px 10px 15px;">
|
|
|
+ <el-col :span="24" class="three one">
|
|
|
+ <p>正在洽谈</p>
|
|
|
+ <p>{{ transaction1 }}</p>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="box" :span="10" style="margin:50px 10px 10px 15px;">
|
|
|
+ <el-col :span="24" class="four one">
|
|
|
+ <p>达成意向</p>
|
|
|
+ <p>{{ transaction2 }}</p>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col class="box" :span="10">
|
|
|
+ <el-col :span="24" class="two one">
|
|
|
+ <p>对接完成</p>
|
|
|
+ <p>{{ transaction3 }}</p>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -43,6 +62,7 @@ import { mapState, mapActions, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: users } = createNamespacedHelpers('users');
|
|
|
const { mapActions: expertsuser } = createNamespacedHelpers('expertsuser');
|
|
|
const { mapActions: marketproduct } = createNamespacedHelpers('marketproduct');
|
|
|
+const { mapActions: transaction } = createNamespacedHelpers('transaction');
|
|
|
export default {
|
|
|
name: 'userTwo',
|
|
|
props: {},
|
|
@@ -52,6 +72,9 @@ export default {
|
|
|
dynamic2: require('@/assets/dynamic2.png'),
|
|
|
dynamic3: require('@/assets/dynamic3.png'),
|
|
|
dynamic4: require('@/assets/dynamic4.png'),
|
|
|
+ transaction1: '',
|
|
|
+ transaction2: '',
|
|
|
+ transaction3: '',
|
|
|
detail: {
|
|
|
num1: 0,
|
|
|
num2: 0,
|
|
@@ -66,6 +89,8 @@ export default {
|
|
|
...users({ userQuery: 'query' }),
|
|
|
...expertsuser({ expertsuserQurty: 'query' }),
|
|
|
...marketproduct({ marketproductQuery: 'query' }),
|
|
|
+ ...transaction({ transactionQuery: 'query' }),
|
|
|
+
|
|
|
async searchInfo({} = {}) {
|
|
|
// 个人,企业
|
|
|
let res = await this.userQuery();
|
|
@@ -78,6 +103,13 @@ export default {
|
|
|
let productNum = await this.marketproductQuery();
|
|
|
let listData = { num1: s2.length, num2: s1.length, num3: exportNum.data.length, num4: productNum.data.length };
|
|
|
this.$set(this, `detail`, listData);
|
|
|
+ //交易
|
|
|
+ let transaction1 = await this.transactionQuery({ status: 0 });
|
|
|
+ let transaction2 = await this.transactionQuery({ status: 1 });
|
|
|
+ let transaction3 = await this.transactionQuery({ status: 2 });
|
|
|
+ this.$set(this, `transaction1`, transaction1.total);
|
|
|
+ this.$set(this, `transaction2`, transaction2.total);
|
|
|
+ this.$set(this, `transaction3`, transaction3.total);
|
|
|
},
|
|
|
},
|
|
|
computed: {
|