调整结果
This commit is contained in:
@@ -152,22 +152,21 @@ export default {
|
|||||||
let {kind, id, tagIdList} = e
|
let {kind, id, tagIdList} = e
|
||||||
console.log([result[e.corpId], {kind, id}].flat())
|
console.log([result[e.corpId], {kind, id}].flat())
|
||||||
result[e.corpId] = [result[e.corpId], {kind, id}].flat()
|
result[e.corpId] = [result[e.corpId], {kind, id}].flat()
|
||||||
|
tagIdList = tagIdList.map(e => e.id).filter(e => !!e)
|
||||||
if (tagIdList) {
|
if (tagIdList) {
|
||||||
tags[e.corpId] = [tags[e.corpId], {tagIdList}].flat()
|
tags[e.corpId] = [...new Set([tags[e.corpId], tagIdList].flat())]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(result, tags)
|
console.log(result, tags)
|
||||||
|
|
||||||
var deptList = Object.keys(result).map(corpId => {
|
var deptList = Object.keys(result).map(corpId => {
|
||||||
let res
|
let res
|
||||||
if (result[corpId]) {
|
if (result[corpId]) {
|
||||||
res = {
|
res = {
|
||||||
corpId,
|
corpId,
|
||||||
objList: result[corpId]
|
objList: result[corpId].filter(e => !!e)
|
||||||
}
|
}
|
||||||
if (tags[corpId]?.tagIdList) {
|
if (tags[corpId]?.length > 0) {
|
||||||
res.tagId = tags[corpId]?.tagIdList
|
res.tagId = tags[corpId]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
@@ -252,27 +251,33 @@ export default {
|
|||||||
.AppMessageNotification {
|
.AppMessageNotification {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #f3f6f9;
|
background-color: #f3f6f9;
|
||||||
|
|
||||||
.fw500 {
|
.fw500 {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 32px !important;
|
font-size: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-666 {
|
.color-666 {
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
color: #f46 !important;
|
color: #f46 !important;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mar-b32 {
|
.mar-b32 {
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
// background-color: #fff;
|
// background-color: #fff;
|
||||||
padding: 32px 32px 20px 32px;
|
padding: 32px 32px 20px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
@@ -281,6 +286,7 @@ export default {
|
|||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.select-user {
|
.select-user {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 34px 32px;
|
padding: 34px 32px;
|
||||||
@@ -288,51 +294,63 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 44px;
|
width: 44px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-999 {
|
.color-999 {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-1365DD {
|
.color-1365DD {
|
||||||
color: #1365DD;
|
color: #1365DD;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
width: calc(100% - 160px);
|
width: calc(100% - 160px);
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.pad-lr0 {
|
.pad-lr0 {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mini-title {
|
.mini-title {
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textarea {
|
.textarea {
|
||||||
padding: 16px 32px;
|
padding: 16px 32px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
|
||||||
.hint {
|
.hint {
|
||||||
padding: 4px 0 8px 0;
|
padding: 4px 0 8px 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// .upload{
|
// .upload{
|
||||||
// padding: 16px 32px;
|
// padding: 16px 32px;
|
||||||
// line-height: 44px;
|
// line-height: 44px;
|
||||||
@@ -344,13 +362,16 @@ export default {
|
|||||||
// }
|
// }
|
||||||
.type {
|
.type {
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.type-content {
|
.type-content {
|
||||||
margin-top: 32px;
|
margin-top: 32px;
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
@@ -359,21 +380,26 @@ export default {
|
|||||||
color: #666;
|
color: #666;
|
||||||
width: 130px;
|
width: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.value {
|
.value {
|
||||||
width: calc(100% - 130px);
|
width: calc(100% - 130px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ai-uploader {
|
.ai-uploader {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: calc(100% - 130px);
|
width: calc(100% - 130px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex {
|
.flex {
|
||||||
padding: 34px 0;
|
padding: 34px 0;
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-b {
|
.border-b {
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-label {
|
.flex-label {
|
||||||
.label {
|
.label {
|
||||||
width: 260px;
|
width: 260px;
|
||||||
@@ -381,9 +407,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-144 {
|
.bg-144 {
|
||||||
height: 144px;
|
height: 144px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@@ -395,24 +423,29 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
|
||||||
.confirm {
|
.confirm {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #1365dd;
|
background: #1365dd;
|
||||||
}
|
}
|
||||||
|
|
||||||
div {
|
div {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup {
|
.popup {
|
||||||
padding-top: 32px;
|
padding-top: 32px;
|
||||||
background-color: #f3f6f9;
|
background-color: #f3f6f9;
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 32px 0;
|
padding: 32px 0;
|
||||||
|
|
||||||
.icon-bg {
|
.icon-bg {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
@@ -422,10 +455,12 @@ export default {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
||||||
.u-icon {
|
.u-icon {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
|||||||
Reference in New Issue
Block a user