[WIP] Добавил аватары на страницу календаря

This commit is contained in:
megavrilinvv
2022-12-01 12:34:30 +03:00
parent 17db21306a
commit e24f301e44
11 changed files with 38 additions and 22 deletions

View File

@@ -3,7 +3,8 @@
:open-form="openForm",
:is-open-form="isOpenForm",
:updated-clients="updatedClients",
@reset-updated-clients="transmitReset"
@reset-updated-clients="transmitReset",
:url="url"
)
</template>
@@ -16,6 +17,7 @@ export default {
openForm: Function,
isOpenForm: Boolean,
updatedClients: Boolean,
url: String,
},
methods: {
transmitReset() {

View File

@@ -12,6 +12,7 @@
v-for="client in dataClients",
:key="client.id",
:id="client.id",
:url="url",
:is-check="marked.includes(client.id)",
:check="selectedCheck",
:client="client",
@@ -64,6 +65,7 @@ export default {
openForm: Function,
isOpenForm: Boolean,
updatedClients: Boolean,
url: String,
},
data() {

View File

@@ -26,7 +26,8 @@
:value="dataClient",
:avatar="dataClient.avatar",
:avatar-color="dataClient.color",
:photo="dataClient.photo"
:photo="dataClient.photo",
:url="url",
:is-open-change="isOpenChange",
:width="columnBody.find(el => el.name === 'fullName').width"
)
@@ -172,6 +173,7 @@ export default {
isCheck: Boolean,
client: Object,
rowOverlay: Boolean,
url: String,
},
computed: {
rowSize() {

View File

@@ -4,7 +4,8 @@
:open-form="openForm",
:is-open-form="isOpenForm",
:updated-clients="updatedClients",
@reset-updated-clients="transmitReset"
@reset-updated-clients="transmitReset",
:url="url"
)
</template>
@@ -17,6 +18,7 @@ export default {
openForm: Function,
isOpenForm: Boolean,
updatedClients: Boolean,
url: String,
},
methods: {
transmitReset() {

View File

@@ -18,14 +18,9 @@ export default {
avatar: String,
photo: String,
width: Number,
imgUrl: String,
isOpenChange: Boolean,
avatarColor: String,
},
data() {
return {
url: "http://45.84.227.122:8080",
};
url: String,
},
};
</script>