Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
a0049873 2022-07-25 10:17:20 +08:00
commit dc4b16d04d
3 changed files with 34 additions and 33 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;