|
|
@@ -134,13 +134,16 @@
|
|
|
>
|
|
|
{{ data.contact_signnum === 0 ? 0 : data.contact_signnum }}
|
|
|
</el-descriptions-item>
|
|
|
- <el-descriptions-item
|
|
|
- label-class-name="my-label"
|
|
|
- :label="$t('合作状态')"
|
|
|
- >
|
|
|
- <span :style="statusStyle">{{
|
|
|
- data.status ? $t(data.status) : "--"
|
|
|
- }}</span>
|
|
|
+<!-- <el-descriptions-item-->
|
|
|
+<!-- label-class-name="my-label"-->
|
|
|
+<!-- :label="$t('合作状态')"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <span :style="statusStyle">{{-->
|
|
|
+<!-- data.status ? $t(data.status) : "--"-->
|
|
|
+<!-- }}</span>-->
|
|
|
+<!-- </el-descriptions-item>-->
|
|
|
+ <el-descriptions-item :label="$t('合作状态')">
|
|
|
+ <span :style="statusStyle">{{ data.status?$t(data.status):"--" }}</span>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item
|
|
|
label-class-name="my-label"
|
|
|
@@ -227,6 +230,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
system: [],
|
|
|
+ basic:[],
|
|
|
sa_customersid: "",
|
|
|
tradingstatusStyle: {
|
|
|
color: "",
|
|
|
@@ -240,8 +244,8 @@ export default {
|
|
|
mounted() {
|
|
|
// this.dataData(this.$route.query.id)
|
|
|
this.systemData();
|
|
|
- this.style(this.data);
|
|
|
- this.styleStatus(this.data);
|
|
|
+ this.style(this.data.tradingstatus);
|
|
|
+ this.styleStatus(this.data.status);
|
|
|
},
|
|
|
methods: {
|
|
|
/*基本信息*/
|
|
|
@@ -276,6 +280,7 @@ export default {
|
|
|
return style;
|
|
|
},
|
|
|
styleStatus(val) {
|
|
|
+ console.log(val,'bal数据')
|
|
|
let style = {};
|
|
|
switch (val) {
|
|
|
case "潜在":
|
|
|
@@ -284,13 +289,17 @@ export default {
|
|
|
case "合作中":
|
|
|
style = { color: "#52c41a" };
|
|
|
break;
|
|
|
+ case "暂缓":
|
|
|
+ style = { color: "#d90a0a" };
|
|
|
+ break;
|
|
|
case "已终止":
|
|
|
style = { color: "#999999" };
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
- this.statusStyle.color = style.color;
|
|
|
+ this.statusStyle.color = style.color
|
|
|
+ console.log(style,'style')
|
|
|
return style;
|
|
|
},
|
|
|
/*系统信息*/
|