项目新增里面补充普通成员
This commit is contained in:
parent
a9234a69b2
commit
c26256f098
|
|
@ -174,12 +174,20 @@
|
||||||
</label>
|
</label>
|
||||||
<label
|
<label
|
||||||
class="role-option"
|
class="role-option"
|
||||||
:class="{ active: member.role !== 'OWNER' }"
|
:class="{ active: member.role === 'FOLLOWER' }"
|
||||||
@click="updateMemberRole(member.userId, 'NORMAL')"
|
@click="updateMemberRole(member.userId, 'FOLLOWER')"
|
||||||
>
|
>
|
||||||
<text class="radio"></text>
|
<text class="radio"></text>
|
||||||
<text>跟进人</text>
|
<text>跟进人</text>
|
||||||
</label>
|
</label>
|
||||||
|
<label
|
||||||
|
class="role-option"
|
||||||
|
:class="{ active: member.role === 'NORMAL' }"
|
||||||
|
@click="updateMemberRole(member.userId, 'NORMAL')"
|
||||||
|
>
|
||||||
|
<text class="radio"></text>
|
||||||
|
<text>普通成员</text>
|
||||||
|
</label>
|
||||||
</view>
|
</view>
|
||||||
<text class="col action action-btn" @click="removeMember(member.userId)">
|
<text class="col action action-btn" @click="removeMember(member.userId)">
|
||||||
删除
|
删除
|
||||||
|
|
@ -950,7 +958,8 @@ const formatDate = (timestamp) => {
|
||||||
|
|
||||||
.role-options {
|
.role-options {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 16px;
|
gap: 12px;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.role-option {
|
.role-option {
|
||||||
|
|
@ -1012,7 +1021,7 @@ const formatDate = (timestamp) => {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
max-height: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-header {
|
.modal-header {
|
||||||
|
|
@ -1033,7 +1042,7 @@ const formatDate = (timestamp) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-box {
|
.search-box {
|
||||||
//margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-input {
|
.search-input {
|
||||||
|
|
@ -1045,7 +1054,7 @@ const formatDate = (timestamp) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-list {
|
.member-list {
|
||||||
height: 600px;
|
height: 600px;
|
||||||
margin: 12px 0;
|
margin: 12px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1088,7 +1097,8 @@ const formatDate = (timestamp) => {
|
||||||
.modal-actions {
|
.modal-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
gap: 12px;
|
||||||
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user