Centralize API base URL in config and add missing ant-design icons.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-15 11:30:51 +03:30
co-authored by Cursor
parent 7ea97b922b
commit e78b2865c5
15 changed files with 32 additions and 21 deletions
+4 -4
View File
@@ -269,7 +269,7 @@
<div class="dropbox">
<a-upload-dragger
:disabled="!$getAccess('personnel.basic.update')"
action="http://hr.asco-intl.com:2020/kernel/api/register/upload"
:action="$apiBase + '/register/upload'"
:file-list="documentFileList"
:default-file-list="documentFileList"
@change="changeDocumentUpload"
@@ -619,7 +619,7 @@
<div class="dropbox">
<a-upload-dragger
:multiple="true"
action="http://hr.asco-intl.com:2020/kernel/api/register/upload"
:action="$apiBase + '/register/upload'"
:file-list="prsonalFileList"
:default-file-list="prsonalFileList"
@change="fileUpload"
@@ -1243,7 +1243,7 @@
<a-upload-dragger
:disabled="!$getAccess('personnel.basic.update')"
:multiple="false"
action="http://hr.asco-intl.com:2020/kernel/api/register/upload"
:action="$apiBase + '/register/upload'"
:file-list="contractFileList"
:default-file-list="contractFileList"
@change="contractFileUpload"
@@ -1881,7 +1881,7 @@ export default {
}
},*/
/* printContract(event, id) {
window.open(`http://hr.asco-intl.com:2020/kernel/api/personnel/print?type=${event.key}&id=${id}`, '_blank').focus()
window.open(`${this.$apiBase}/personnel/print?type=${event.key}&id=${id}`, '_blank').focus()
},*/
/* contractFileUpload({fileList, event, file}) {
if (file.response && file.response.id) {