[WIP] Добавил аватары на страницу календаря
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user