|
@@ -137,16 +137,49 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column align="center" width="150">
|
|
|
+
|
|
|
+ </el-table>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="合作产品" name="second">
|
|
|
+ <el-table :data="cooperatorProduct" style="width: 100%;">
|
|
|
+ <el-table-column align="center" label="产品编号" width="130">
|
|
|
+ <template v-slot="{row}">
|
|
|
+ <span>{{ row.productNum}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="产品名称" width="130">
|
|
|
<template v-slot="{row}">
|
|
|
- <el-button type="primary" round @click="onButtonClick(row.cooperatorName)" size="small" >查看</el-button>
|
|
|
+ <span>{{ row.productName}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="业务笔数" width="130">
|
|
|
+ <template v-slot="{row}">
|
|
|
+ <span>未知</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="产品状态" width="130">
|
|
|
+ <template v-slot="{row}">
|
|
|
+ <span>{{ row.productStatus}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="对应模型" width="130">
|
|
|
+ <template v-slot="{row}">
|
|
|
+ <span>{{ row.modelName}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column align="center" label="创建日期" width="130">
|
|
|
+ <template v-slot="{row}">
|
|
|
+ <span>{{ row.createTime}}</span>
|
|
|
</template>
|
|
|
-
|
|
|
</el-table-column>
|
|
|
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="合作产品" name="second">合作产品</el-tab-pane>
|
|
|
<el-tab-pane label="历史记录" name="third">历史记录</el-tab-pane>
|
|
|
|
|
|
</el-tabs>
|
|
@@ -166,7 +199,7 @@
|
|
|
|
|
|
import {
|
|
|
getList,
|
|
|
- userInfo, partnerList, roleDel,findCooperatorListByName, findCooperatorFieldByNum
|
|
|
+ userInfo, partnerList, roleDel,findCooperatorListByName, findCooperatorFieldByNum, findCooperatorProductByNum
|
|
|
} from '@/api/index.js'
|
|
|
import store from "@/store";
|
|
|
import request from '@/utils/request.js'
|
|
@@ -199,6 +232,8 @@ export default {
|
|
|
selected6: false,
|
|
|
input:'',
|
|
|
cooperatorField : [],
|
|
|
+ cooperatorProduct : [],
|
|
|
+ productStatus : "",
|
|
|
}
|
|
|
},
|
|
|
watch: {},
|
|
@@ -213,6 +248,12 @@ export default {
|
|
|
{
|
|
|
this.cooperatorField=res.data.cooperator_field;
|
|
|
}
|
|
|
+ ),
|
|
|
+ findCooperatorProductByNum(this.cooperatorNum).then(
|
|
|
+ res=>
|
|
|
+ {
|
|
|
+ this.cooperatorProduct=res.data.cooperator_product;
|
|
|
+ }
|
|
|
)
|
|
|
},
|
|
|
beforeUpdate() {},
|