bug
This commit is contained in:
parent
681dceaa47
commit
3968d6a7de
|
@ -176,29 +176,30 @@ export default {
|
||||||
itemViewSon.children.map((itemSon, indexSon) => {
|
itemViewSon.children.map((itemSon, indexSon) => {
|
||||||
// console.log('itemSon', itemSon)
|
// console.log('itemSon', itemSon)
|
||||||
if (itemSon.name.indexOf('描述') != -1) {
|
if (itemSon.name.indexOf('描述') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.description
|
].note1 = this.dataForm.description
|
||||||
} else if (itemSon.name.indexOf('名称') != -1) {
|
} else if (itemSon.name.indexOf('名称') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.name
|
].note1 = this.dataForm.name
|
||||||
} else if (itemSon.name.indexOf('能力类型') != -1) {
|
} else if (itemSon.name.indexOf('能力类型') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.type
|
].note1 = this.dataForm.type
|
||||||
|
} else if (itemSon.name === '部门联系人') {
|
||||||
|
console.log('itemSon.name', itemSon.name)
|
||||||
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
|
indexSon
|
||||||
|
].note1 = this.dataForm.deptContacts
|
||||||
} else if (itemSon.name.indexOf('属部门') != -1) {
|
} else if (itemSon.name.indexOf('属部门') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.unit
|
].note1 = this.unit
|
||||||
} else if (itemSon.name.indexOf('共享条件') != -1) {
|
} else if (itemSon.name === '部门联系人电话') {
|
||||||
this.dataView.children[indexView].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexViewSon
|
indexSon
|
||||||
].children[indexSon].note1 = this.dataForm.shareCondition
|
].note1 = this.dataForm.deptPhone
|
||||||
} else if (itemSon.name.indexOf('共享类型') != -1) {
|
|
||||||
this.dataView.children[indexView].children[
|
|
||||||
indexViewSon
|
|
||||||
].children[indexSon].note1 = this.dataForm.shareType
|
|
||||||
} else if (
|
} else if (
|
||||||
itemSon.name === '关联组件信息' &&
|
itemSon.name === '关联组件信息' &&
|
||||||
item.attrType === '关联组件信息'
|
item.attrType === '关联组件信息'
|
||||||
|
@ -247,39 +248,40 @@ export default {
|
||||||
itemViewSon.children.map((itemSon, indexSon) => {
|
itemViewSon.children.map((itemSon, indexSon) => {
|
||||||
console.log('itemSon', itemSon)
|
console.log('itemSon', itemSon)
|
||||||
if (itemSon.name.indexOf('描述') != -1) {
|
if (itemSon.name.indexOf('描述') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.description
|
].note1 = this.dataForm.description
|
||||||
} else if (itemSon.name.indexOf('名称') != -1) {
|
} else if (itemSon.name.indexOf('名称') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.name
|
].note1 = this.dataForm.name
|
||||||
} else if (itemSon.name.indexOf('共享条件') != -1) {
|
} else if (itemSon.name.indexOf('共享条件') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.shareCondition
|
].note1 = this.dataForm.shareCondition
|
||||||
} else if (itemSon.name.indexOf('共享方式') != -1) {
|
} else if (itemSon.name.indexOf('共享方式') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.shareMode
|
].note1 = this.dataForm.shareMode
|
||||||
} else if (itemSon.name.indexOf('共享类型') != -1) {
|
} else if (itemSon.name.indexOf('共享类型') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.shareType
|
].note1 = this.dataForm.shareType
|
||||||
} else if (itemSon.name.indexOf('部门联系人') != -1) {
|
} else if (itemSon.name === '部门联系人') {
|
||||||
this.dataView.children[indexView].children[0].children[
|
console.log('itemSon.name', itemSon.name)
|
||||||
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.deptContacts
|
].note1 = this.dataForm.deptContacts
|
||||||
} else if (itemSon.name.indexOf('属部门') != -1) {
|
} else if (itemSon.name.indexOf('属部门') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.unit
|
].note1 = this.unit
|
||||||
} else if (itemSon.name.indexOf('部门联系人电话') != -1) {
|
} else if (itemSon.name === '部门联系人电话') {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.deptPhone
|
].note1 = this.dataForm.deptPhone
|
||||||
} else if (itemSon.name.indexOf('接口请求方式') != -1) {
|
} else if (itemSon.name.indexOf('接口请求方式') != -1) {
|
||||||
this.dataView.children[indexView].children[0].children[
|
this.dataView.children[indexView].children[indexViewSon].children[
|
||||||
indexSon
|
indexSon
|
||||||
].note1 = this.dataForm.apiMethodType
|
].note1 = this.dataForm.apiMethodType
|
||||||
} else if (
|
} else if (
|
||||||
|
@ -403,7 +405,7 @@ export default {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
background: url('~@/assets/img/sj-jx.png') no-repeat;
|
background: url("~@/assets/img/sj-jx.png") no-repeat;
|
||||||
background-position-x: 15px;
|
background-position-x: 15px;
|
||||||
}
|
}
|
||||||
.multipleAdditionsClass {
|
.multipleAdditionsClass {
|
||||||
|
@ -445,6 +447,14 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
& > div {
|
||||||
|
-webkit-line-clamp: 5;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
& > div:first-child {
|
& > div:first-child {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="data-list-right-table-list-content"
|
class="data-list-right-table-list-content"
|
||||||
v-if="dataList.tota > 0"
|
v-if="dataList.total > 0"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in dataList.list"
|
v-for="(item, index) in dataList.list"
|
||||||
|
@ -326,150 +326,150 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.TheShelvesAbility {
|
.TheShelvesAbility {
|
||||||
.title-h1 {
|
.title-h1 {
|
||||||
|
font-size: 0.22rem;
|
||||||
|
line-height: 0.22rem;
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
color: #212121;
|
||||||
|
}
|
||||||
|
.title-h2 {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
font-size: 0.16rem;
|
||||||
|
color: #212121;
|
||||||
|
line-height: 0.16rem;
|
||||||
|
border-bottom: 0.01rem #dddee1 solid;
|
||||||
|
margin: 0 0.6rem 0.2rem 0.6rem;
|
||||||
|
padding-bottom: 0.1rem;
|
||||||
|
}
|
||||||
|
.TheShelvesAbility-top {
|
||||||
|
margin: 0 0.6rem 0 0.6rem;
|
||||||
|
.deptName {
|
||||||
|
color: #0558e1;
|
||||||
font-size: 0.22rem;
|
font-size: 0.22rem;
|
||||||
line-height: 0.22rem;
|
|
||||||
margin-bottom: 0.25rem;
|
|
||||||
color: #212121;
|
|
||||||
}
|
|
||||||
.title-h2 {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
align-items: center;
|
||||||
font-size: 0.16rem;
|
line-height: 0.22rem;
|
||||||
color: #212121;
|
margin-bottom: 0.2rem;
|
||||||
line-height: 0.16rem;
|
span {
|
||||||
border-bottom: 0.01rem #dddee1 solid;
|
display: inline-block;
|
||||||
margin: 0 0.6rem 0.2rem 0.6rem;
|
width: 0.05rem;
|
||||||
padding-bottom: 0.1rem;
|
height: 0.05rem;
|
||||||
}
|
background: #0558e1;
|
||||||
.TheShelvesAbility-top {
|
border-radius: 0.05rem;
|
||||||
margin: 0 0.6rem 0 0.6rem;
|
margin-right: 0.05rem;
|
||||||
.deptName {
|
|
||||||
color: #0558e1;
|
|
||||||
font-size: 0.22rem;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
line-height: 0.22rem;
|
|
||||||
margin-bottom: 0.2rem;
|
|
||||||
span {
|
|
||||||
display: inline-block;
|
|
||||||
width: 0.05rem;
|
|
||||||
height: 0.05rem;
|
|
||||||
background: #0558e1;
|
|
||||||
border-radius: 0.05rem;
|
|
||||||
margin-right: 0.05rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.data-list {
|
}
|
||||||
display: flex;
|
.data-list {
|
||||||
border-bottom: 1px solid #dddee1;
|
display: flex;
|
||||||
margin-bottom: 0.1rem;
|
border-bottom: 1px solid #dddee1;
|
||||||
.data-list-left {
|
margin-bottom: 0.1rem;
|
||||||
width: 0.8rem;
|
.data-list-left {
|
||||||
height: 1.1rem;
|
width: 0.8rem;
|
||||||
background: url('~@/assets/personalCenter/Capabilitydiagram.png')
|
height: 1.1rem;
|
||||||
no-repeat;
|
background: url('~@/assets/personalCenter/Capabilitydiagram.png')
|
||||||
background-size: 0.8rem 0.8rem;
|
no-repeat;
|
||||||
background-position: center;
|
background-size: 0.8rem 0.8rem;
|
||||||
margin-left: 0.1rem;
|
background-position: center;
|
||||||
padding-bottom: 0.3rem;
|
margin-left: 0.1rem;
|
||||||
}
|
padding-bottom: 0.3rem;
|
||||||
.data-list-right {
|
}
|
||||||
width: calc(100% - 0.83rem);
|
.data-list-right {
|
||||||
margin-left: 0.1rem;
|
width: calc(100% - 0.83rem);
|
||||||
padding-bottom: 0.2rem;
|
margin-left: 0.1rem;
|
||||||
border-left: 1px solid #dddee1;
|
padding-bottom: 0.2rem;
|
||||||
font-size: 0.18rem;
|
border-left: 1px solid #dddee1;
|
||||||
color: #000000;
|
font-size: 0.18rem;
|
||||||
.data-list-right-titleAndDescription {
|
color: #000000;
|
||||||
padding-left: 0.1rem;
|
.data-list-right-titleAndDescription {
|
||||||
padding-right: 0.2rem;
|
padding-left: 0.1rem;
|
||||||
border-bottom: 1px solid #dddee1;
|
padding-right: 0.2rem;
|
||||||
padding-bottom: 0.1rem;
|
border-bottom: 1px solid #dddee1;
|
||||||
.data-list-right-title {
|
padding-bottom: 0.1rem;
|
||||||
display: flex;
|
.data-list-right-title {
|
||||||
justify-content: space-between;
|
display: flex;
|
||||||
margin-bottom: 0.2rem;
|
justify-content: space-between;
|
||||||
.title-left {
|
margin-bottom: 0.2rem;
|
||||||
span:first-child {
|
.title-left {
|
||||||
font-weight: 600;
|
span:first-child {
|
||||||
}
|
font-weight: 600;
|
||||||
span:last-child {
|
}
|
||||||
font-size: 0.14rem;
|
span:last-child {
|
||||||
display: inline-block;
|
font-size: 0.14rem;
|
||||||
margin-left: 0.08rem;
|
display: inline-block;
|
||||||
padding: 0 0.05rem;
|
margin-left: 0.08rem;
|
||||||
border-radius: 0.3rem;
|
padding: 0 0.05rem;
|
||||||
background: #00b8e6;
|
border-radius: 0.3rem;
|
||||||
color: #fff;
|
background: #00b8e6;
|
||||||
}
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.data-list-right-table {
|
}
|
||||||
.data-list-right-table-title {
|
.data-list-right-table {
|
||||||
margin-left: 0.1rem;
|
.data-list-right-table-title {
|
||||||
margin-top: 0.2rem;
|
margin-left: 0.1rem;
|
||||||
margin-bottom: 0.2rem;
|
margin-top: 0.2rem;
|
||||||
font-size: 0.14rem;
|
margin-bottom: 0.2rem;
|
||||||
display: inline-block;
|
font-size: 0.14rem;
|
||||||
margin-left: 0.08rem;
|
display: inline-block;
|
||||||
padding: 0 0.05rem;
|
margin-left: 0.08rem;
|
||||||
border-radius: 0.3rem;
|
padding: 0 0.05rem;
|
||||||
background: #00b8e6;
|
border-radius: 0.3rem;
|
||||||
color: #fff;
|
background: #00b8e6;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.data-list-right-table-list {
|
||||||
|
padding: 0 0.05rem;
|
||||||
|
.data-list-right-table-list-tab {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(4, 25%);
|
||||||
|
background: rgba(191, 191, 191, 0.1);
|
||||||
|
span {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
padding: 0.05rem 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.data-list-right-table-list {
|
.data-list-right-table-list-content {
|
||||||
padding: 0 0.05rem;
|
& > div {
|
||||||
.data-list-right-table-list-tab {
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(4, 25%);
|
grid-template-columns: repeat(4, 25%);
|
||||||
background: rgba(191, 191, 191, 0.1);
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0.05rem 0;
|
padding: 0.05rem 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.data-list-right-table-list-content {
|
div:nth-child(even) {
|
||||||
& > div {
|
background: rgba(191, 191, 191, 0.1);
|
||||||
display: grid;
|
}
|
||||||
grid-template-columns: repeat(4, 25%);
|
div:nth-child(odd) {
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
padding: 0.2rem 0;
|
||||||
text-align: center;
|
|
||||||
padding: 0.05rem 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
div:nth-child(even) {
|
|
||||||
background: rgba(191, 191, 191, 0.1);
|
|
||||||
}
|
|
||||||
div:nth-child(odd) {
|
|
||||||
span {
|
|
||||||
padding: 0.2rem 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.zanwu {
|
}
|
||||||
margin-top: 0.2rem;
|
.zanwu {
|
||||||
text-align: center;
|
margin-top: 0.2rem;
|
||||||
}
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.TheShelvesAbility-bottom {
|
}
|
||||||
margin: 0.5rem 0.6rem 0 0.6rem;
|
.TheShelvesAbility-bottom {
|
||||||
.base-info {
|
margin: 0.5rem 0.6rem 0 0.6rem;
|
||||||
display: flex;
|
.base-info {
|
||||||
justify-content: space-between;
|
display: flex;
|
||||||
}
|
justify-content: space-between;
|
||||||
.button-bottom {
|
}
|
||||||
display: flex;
|
.button-bottom {
|
||||||
justify-content: center;
|
display: flex;
|
||||||
}
|
justify-content: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue