From 859005e1c08ec66d34a3843a548c189960a6ce4b Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 25 Jul 2022 10:13:01 +0800 Subject: [PATCH] bug708 --- ...tionOwningDepartmentAndServiceProvider.vue | 34 +++++++++++-------- ...operOwningDepartmentAndServiceProvider.vue | 15 ++++---- .../LayerService/LayerServiceUsageMode.vue | 18 +++++----- 3 files changed, 34 insertions(+), 33 deletions(-) diff --git a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue index e62b74a9..fde98caf 100644 --- a/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue +++ b/front/src/views/detailsAll/components/Application/ApplicationOwningDepartmentAndServiceProvider.vue @@ -38,11 +38,11 @@ englishTitle: 'DEPARTMENT&ERVICE', content: [ { - childrenTitle: '归属部门信息', + childrenTitle: '归属部门', childrenContent: [], }, { - childrenTitle: '服务商信息', + childrenTitle: '服务商', childrenContent: [], }, ], @@ -54,17 +54,17 @@ }) if (props.dataList.infoList) { let obj = { - attrType: '部门名称', + attrType: '归属部门', attrValue: props.dataList.deptName || '------', } dataFrom.value.content[0].childrenContent[0] = obj let deptContacts = { - attrType: '部门联系人', + attrType: '联系人', attrValue: props.dataList.deptContacts || '------', } dataFrom.value.content[0].childrenContent[1] = deptContacts let deptPhone = { - attrType: '部门联系电话', + attrType: '联系人电话', attrValue: props.dataList.deptPhone || '------', } dataFrom.value.content[0].childrenContent[2] = deptPhone @@ -85,11 +85,13 @@ } } else if (item.attrType === '服务商联系人') { dataFrom.value.content[1].childrenContent[1] = item + dataFrom.value.content[1].childrenContent[1].attrType = '联系人' if (dataFrom.value.content[1].childrenContent[1].attrValue == '') { dataFrom.value.content[1].childrenContent[1].attrValue = '------' } } else if (item.attrType === '服务商联系电话') { dataFrom.value.content[1].childrenContent[2] = item + dataFrom.value.content[1].childrenContent[2].attrType = '联系人电话' if (dataFrom.value.content[1].childrenContent[2].attrValue == '') { dataFrom.value.content[1].childrenContent[2].attrValue = '------' } @@ -106,17 +108,17 @@ // dataFrom.value.content[0].childrenContent = [] // dataFrom.value.content[1].childrenContent = [] let obj = { - attrType: '部门名称', + attrType: '归属部门', attrValue: props.dataList.deptName || '------', } dataFrom.value.content[0].childrenContent[0] = obj let deptContacts = { - attrType: '部门联系人', + attrType: '联系人', attrValue: props.dataList.deptContacts || '------', } dataFrom.value.content[0].childrenContent[1] = deptContacts let deptPhone = { - attrType: '部门联系电话', + attrType: '联系人电话', attrValue: props.dataList.deptPhone || '------', } dataFrom.value.content[0].childrenContent[2] = deptPhone @@ -140,6 +142,7 @@ } } else if (item.attrType === '服务商联系人') { dataFrom.value.content[1].childrenContent[1] = item + dataFrom.value.content[1].childrenContent[1].attrType = '联系人' if ( dataFrom.value.content[1].childrenContent[1].attrValue == '' ) { @@ -148,6 +151,8 @@ } } else if (item.attrType === '服务商联系电话') { dataFrom.value.content[1].childrenContent[2] = item + dataFrom.value.content[1].childrenContent[2].attrType = + '联系人电话' if ( dataFrom.value.content[1].childrenContent[2].attrValue == '' ) { @@ -155,9 +160,9 @@ '------' } } - } else if (item.attrType === '部门联系人') { + } else if (item.attrType === '联系人') { deptContacts.attrValue = item.attrValue || '------' - } else if (item.attrType === '部门联系人电话') { + } else if (item.attrType === '联系人电话') { deptPhone.attrValue = item.attrValue || '------' } }) @@ -187,11 +192,10 @@ height: 1.5rem; width: 6.2rem; border-radius: 0.2rem; - background: linear-gradient( - to right, - rgba(113, 132, 252, 0.4), - rgba(148, 163, 252, 0.4) - ); + background: url('~@/assets/detailsAll/business/business_usage_mode_bg.png') + no-repeat; + background-position: center; + background-size: 100% 100%; padding: 0 0.3rem; display: flex; flex-direction: column; diff --git a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue index cd6aa39a..a8132abe 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperOwningDepartmentAndServiceProvider.vue @@ -60,7 +60,7 @@ childrenTitle: '归属部门', childrenContent: [ { - attrType: '归属部门名称', + attrType: '归属部门', attrValue: '------', }, { @@ -74,10 +74,10 @@ ], }, { - childrenTitle: '服务商信息', + childrenTitle: '服务商', childrenContent: [ { - attrType: '服务商名称', + attrType: '服务商', attrValue: '------', }, { @@ -226,11 +226,10 @@ height: 1.8rem; width: 6.6rem; border-radius: 0.2rem; - background: linear-gradient( - to right, - rgba(113, 132, 252, 0.4), - rgba(148, 163, 252, 0.4) - ); + background: url('~@/assets/detailsAll/business/business_usage_mode_bg.png') + no-repeat; + background-position: center; + background-size: 100% 100%; padding: 0 0.3rem; display: flex; align-items: center; diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue index 8ad4b92e..ae406496 100644 --- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue +++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue @@ -247,11 +247,10 @@ .content-left { height: 1.8rem; width: 6.2rem; - background: linear-gradient( - to right, - rgba(113, 132, 252, 0.4), - rgba(148, 163, 252, 0.4) - ); + background: url('~@/assets/detailsAll/business/business_usage_mode_bg.png') + no-repeat; + background-position: center; + background-size: 100% 100%; border-radius: 0.1rem; margin-right: 0.6rem; box-shadow: 0rem 0.05rem 0.15rem rgba(82, 106, 255, 0.4); @@ -310,11 +309,10 @@ .content-right { height: 1.8rem; width: 6.2rem; - background: linear-gradient( - to right, - rgba(113, 132, 252, 0.4), - rgba(148, 163, 252, 0.4) - ); + background: url('~@/assets/detailsAll/business/business_usage_mode_bg.png') + no-repeat; + background-position: center; + background-size: 100% 100%; border-radius: 0.1rem; box-shadow: 0rem 0.05rem 0.15rem rgba(82, 106, 255, 0.4); display: flex;