parent
2c990d8f38
commit
ab3497449c
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=5e4a6c5d0ae398c7ee59",
|
"/js/vue/Authentication/app.js": "/js/vue/Authentication/app.js?id=c518f6702a3d6b999912",
|
||||||
"/js/vue/Home/app.js": "/js/vue/Home/app.js?id=7d2de4f2c69a8160396c",
|
"/js/vue/Home/app.js": "/js/vue/Home/app.js?id=4134097cbd2afcf6e5c6",
|
||||||
"/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=e592a7ab2ecc42a35ac2",
|
"/js/vue/Modules/CRM/app.js": "/js/vue/Modules/CRM/app.js?id=6399210ae58926ddd29a",
|
||||||
"/js/vue/Product/app.js": "/js/vue/Product/app.js?id=1940f3ac8bcadb54cf0d",
|
"/js/vue/Product/app.js": "/js/vue/Product/app.js?id=f7e7fc8a864db113e246",
|
||||||
"/js/vue/SMS/app.js": "/js/vue/SMS/app.js?id=05c7408a0a7800b8565b",
|
"/js/vue/SMS/app.js": "/js/vue/SMS/app.js?id=cbcd9382b92018456d3c",
|
||||||
"/js/vue/Service/app.js": "/js/vue/Service/app.js?id=d22095ca59cae53ffcd6",
|
"/js/vue/Service/app.js": "/js/vue/Service/app.js?id=55d984e997ac17be1da4",
|
||||||
"/js/vue/User/app.js": "/js/vue/User/app.js?id=20f1e4d6a21d09a5f295"
|
"/js/vue/User/app.js": "/js/vue/User/app.js?id=34524bfe2b8492ced23a"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import CKEditor from "@ckeditor/ckeditor5-vue";
|
import CKEditor from "@ckeditor/ckeditor5-vue";
|
||||||
import "@ckeditor/ckeditor5-build-classic/build/translations/fa.js";
|
import "@ckeditor/ckeditor5-build-decoupled-document/build/translations/fa.js";
|
||||||
|
// import "@ckeditor/ckeditor5-build-classic/build/translations/fa.js";
|
||||||
Vue.use(CKEditor);
|
Vue.use(CKEditor);
|
||||||
|
@ -1,73 +0,0 @@
|
|||||||
export default {
|
|
||||||
indexTask: "index-task",
|
|
||||||
storeTask: "store-task",
|
|
||||||
receiveTask: "receive-task",
|
|
||||||
updateTask: "update-task",
|
|
||||||
deleteTask: "delete-task",
|
|
||||||
|
|
||||||
indexTaskCategory: "index-task-category",
|
|
||||||
storeTaskCategory: "store-task-category",
|
|
||||||
updateTaskCategory: "update-task-category",
|
|
||||||
deleteTaskCategory: "delete-task-category",
|
|
||||||
|
|
||||||
indexTaskStatus: "index-task-status",
|
|
||||||
storeTaskStatus: "store-task-status",
|
|
||||||
updateTaskStatus: "update-task-status",
|
|
||||||
deleteTaskStatus: "delete-task-status",
|
|
||||||
|
|
||||||
indexEvent: "index-event",
|
|
||||||
storeEvent: "store-event",
|
|
||||||
updateEvent: "update-event",
|
|
||||||
deleteEvent: "delete-event",
|
|
||||||
|
|
||||||
indexEventCategory: "index-event-category",
|
|
||||||
storeEventCategory: "store-event-category",
|
|
||||||
updateEventCategory: "update-event-category",
|
|
||||||
deleteEventCategory: "delete-event-category",
|
|
||||||
|
|
||||||
indexComment: "index-comment",
|
|
||||||
storeComment: "store-comment",
|
|
||||||
updateComment: "update-comment",
|
|
||||||
deleteComment: "delete-comment",
|
|
||||||
|
|
||||||
indexClient: "index-client",
|
|
||||||
storeClient: "store-client",
|
|
||||||
showClient: "show-client",
|
|
||||||
updateClient: "update-client",
|
|
||||||
deleteClient: "delete-client",
|
|
||||||
|
|
||||||
indexClientCategory: "index-client-category",
|
|
||||||
storeClientCategory: "store-client-category",
|
|
||||||
updateClientCategory: "update-client-category",
|
|
||||||
deleteClientCategory: "delete-client-category",
|
|
||||||
|
|
||||||
indexClientTitle: "index-client-title",
|
|
||||||
storeClientTitle: "store-client-title",
|
|
||||||
updateClientTitle: "update-client-title",
|
|
||||||
deleteClientTitle: "delete-client-title",
|
|
||||||
|
|
||||||
indexClientStatus: "index-client-status",
|
|
||||||
storeClientStatus: "store-client-status",
|
|
||||||
updateClientStatus: "update-client-status",
|
|
||||||
deleteClientStatus: "delete-client-status",
|
|
||||||
|
|
||||||
indexUser: "index-user",
|
|
||||||
showUser: "show-user",
|
|
||||||
storeUser: "store-user",
|
|
||||||
updateUser: "update-user",
|
|
||||||
deleteUser: "delete-user",
|
|
||||||
|
|
||||||
indexDepartment: "index-department",
|
|
||||||
storeDepartment: "store-department",
|
|
||||||
updateDepartment: "update-department",
|
|
||||||
deleteDepartment: "delete-department",
|
|
||||||
|
|
||||||
indexRole: "assign-role",
|
|
||||||
assignRole: "assign-role",
|
|
||||||
storeRole: "store-role",
|
|
||||||
updateRole: "update-role",
|
|
||||||
deleteRole: "delete-role",
|
|
||||||
|
|
||||||
sendEmail: "send-email",
|
|
||||||
sendSMS: "send-sms"
|
|
||||||
};
|
|
@ -0,0 +1,8 @@
|
|||||||
|
import CRM from './modules/crm';
|
||||||
|
import Common from './modules/common';
|
||||||
|
export default {
|
||||||
|
modules: {
|
||||||
|
crm: CRM,
|
||||||
|
common: Common,
|
||||||
|
},
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
export default {
|
||||||
|
task: {
|
||||||
|
my_task: {name: '', name_en: ''},
|
||||||
|
my_request: {name: '', name_en: ''},
|
||||||
|
name: 'وظیفه',
|
||||||
|
name_en: 'Task',
|
||||||
|
category: {name: 'دسته بندی', name_en: 'Caegory'},
|
||||||
|
status: {name: 'وضعیت', name_en: 'Status'},
|
||||||
|
},
|
||||||
|
transaction: {
|
||||||
|
name: 'تراکنش',
|
||||||
|
name_en: 'Transaction',
|
||||||
|
},
|
||||||
|
comment: {
|
||||||
|
name:'',
|
||||||
|
name_en:'',
|
||||||
|
},
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
import Name from './index';
|
||||||
|
// $_name in text replace
|
||||||
|
export default (path, text = '$_name') => {
|
||||||
|
let arrayPath = path.split('.');
|
||||||
|
//should be get from storage
|
||||||
|
let name = Name.modules;
|
||||||
|
|
||||||
|
for (const component of arrayPath) {
|
||||||
|
if (name[component]) {
|
||||||
|
name = name[component];
|
||||||
|
} else {
|
||||||
|
return defaultName(path, text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return text.replace('$_name', name);
|
||||||
|
}
|
||||||
|
|
||||||
|
function defaultName(path, text) {
|
||||||
|
let arrayPath = path.split('.');
|
||||||
|
let name = Name.modules;
|
||||||
|
|
||||||
|
for (const component of arrayPath) {
|
||||||
|
if (name[component]) {
|
||||||
|
name = name[component];
|
||||||
|
} else {
|
||||||
|
return 'DissMiss';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return text.replace('$_name', name);
|
||||||
|
}
|
Loading…
Reference in new issue