This commit is contained in:
@@ -72,7 +72,8 @@ todo: attachment - rename a file or add notes after already uploaded
|
|||||||
todo: attachment EVENTLOG user download file, maybe it's event on object attached to but textra says file name
|
todo: attachment EVENTLOG user download file, maybe it's event on object attached to but textra says file name
|
||||||
todo: History icon for attachments, make them all paperclips?
|
todo: History icon for attachments, make them all paperclips?
|
||||||
- Maybe red paperclip for delete, green paperclip for attach??
|
- Maybe red paperclip for delete, green paperclip for attach??
|
||||||
|
todo: clean up recently added translation keys, some are not being used and were added willy nilly
|
||||||
|
- "File" I think might be one
|
||||||
|
|
||||||
https://medium.com/js-dojo/upload-files-to-cloudinary-using-vue-vuetify-dd45472c4fd6
|
https://medium.com/js-dojo/upload-files-to-cloudinary-using-vue-vuetify-dd45472c4fd6
|
||||||
1578595824571
|
1578595824571
|
||||||
|
|||||||
@@ -173,7 +173,8 @@ export default {
|
|||||||
"ImageDescription",
|
"ImageDescription",
|
||||||
"AttachFile",
|
"AttachFile",
|
||||||
"AttachmentNotes",
|
"AttachmentNotes",
|
||||||
"Upload"
|
"Upload",
|
||||||
|
"AttachmentFileName"
|
||||||
],
|
],
|
||||||
|
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<span class="v-label v-label--active theme--light">
|
<span class="v-label v-label--active theme--light">
|
||||||
{{ $ay.t("Attachments") }}
|
{{ $ay.t("Attachments") }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<v-tabs v-model="tab" color="primary">
|
<v-tabs v-model="tab" color="primary">
|
||||||
<v-tabs-slider></v-tabs-slider>
|
<v-tabs-slider></v-tabs-slider>
|
||||||
<v-tab key="list"><v-icon>fa-folder</v-icon></v-tab>
|
<v-tab key="list"><v-icon>fa-folder</v-icon></v-tab>
|
||||||
@@ -61,6 +62,36 @@
|
|||||||
</v-tab-item>
|
</v-tab-item>
|
||||||
</v-tabs-items>
|
</v-tabs-items>
|
||||||
</v-tabs>
|
</v-tabs>
|
||||||
|
<v-menu
|
||||||
|
min-width="360"
|
||||||
|
v-model="editMenu"
|
||||||
|
:close-on-content-click="false"
|
||||||
|
offset-y
|
||||||
|
:position-x="menuX"
|
||||||
|
:position-y="menuY"
|
||||||
|
absolute
|
||||||
|
>
|
||||||
|
<v-card>
|
||||||
|
<v-card-title>{{ $ay.t("FileAttachment") }}</v-card-title>
|
||||||
|
<div class="ma-6">
|
||||||
|
<v-text-field
|
||||||
|
v-model="editName"
|
||||||
|
:label="$ay.t('AttachmentFileName')"
|
||||||
|
></v-text-field>
|
||||||
|
<v-text-field
|
||||||
|
v-model="editNotes"
|
||||||
|
:label="$ay.t('AttachmentNotes')"
|
||||||
|
></v-text-field>
|
||||||
|
</div>
|
||||||
|
<v-card-actions>
|
||||||
|
<v-spacer></v-spacer>
|
||||||
|
<v-btn text @click="editMenu = false">{{ $ay.t("Cancel") }}</v-btn>
|
||||||
|
<v-btn color="primary" text @click="editClick()">{{
|
||||||
|
$ay.t("OK")
|
||||||
|
}}</v-btn>
|
||||||
|
</v-card-actions>
|
||||||
|
</v-card>
|
||||||
|
</v-menu>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -75,7 +106,11 @@ export default {
|
|||||||
displayList: [],
|
displayList: [],
|
||||||
notes: null,
|
notes: null,
|
||||||
tab: null,
|
tab: null,
|
||||||
uploadFiles: []
|
uploadFiles: [],
|
||||||
|
editMenu: false,
|
||||||
|
editNotes: null,
|
||||||
|
editName: null,
|
||||||
|
editId: null
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
Reference in New Issue
Block a user