update database

This commit is contained in:
manhlab
2021-04-09 10:42:08 -04:00
parent 43ce9eebd5
commit 8c4ad4aabf
106 changed files with 545 additions and 545 deletions

View File

@@ -25,15 +25,15 @@ class DocumentCriteria implements CriteriaInterface
{
$model = $model->where(function($model){
$model = $model->where(function($model){
if(auth()->user()->hasPermissionTo('Quản lý văn bản đến')){
if(auth()->user()->hasPermissionTo('Разрешении входящие документы')){
$model->orWhere('book_id', Book::DEN);
}
if(auth()->user()->hasPermissionTo('Quản lý văn bản đi')){
if(auth()->user()->hasPermissionTo('Разрешении исходящие документы')){
$model->orWhere('book_id', Book::DI);
}
if(auth()->user()->hasPermissionTo('Quản lý văn bản nội bộ')){
if(auth()->user()->hasPermissionTo('Разрешении внутренние документы')){
$model->orWhere('book_id', Book::NOIBO);
}
});

View File

@@ -24,6 +24,6 @@ class UserIdIncorrectFormat extends Exception
*/
public function render($request)
{
return $this->respondError("Mã người dùng " . $this->user->id . " không đúng định dạng.", 500);
return $this->respondError("Код пользователя " . $this->user->id . " Неправилный Формат", 500);
}
}

View File

@@ -9,12 +9,12 @@ class ComeInDocumentsExport extends BaseDocumentsExport
public function headings(): array
{
return [
'Ngày nhận',
'Nơi ban hành',
'Дата получения',
'Место выдачи',
'Ký hiệu',
'Loại',
'Trích yếu',
'Người nhận',
'Тип документа',
'Краткое содержание',
'Получатель',
];
}

View File

@@ -9,11 +9,11 @@ class ComeOutDocumentsExport extends BaseDocumentsExport
public function headings(): array
{
return [
'Ngày ban hành',
'Дата выдачи',
'Ký hiệu',
'Loại',
'Trích yếu',
'Nơi nhận',
'Тип документа',
'Краткое содержание',
'Место получения',
];
}

View File

@@ -9,11 +9,11 @@ class PrivateDocumentsExport extends BaseDocumentsExport
public function headings(): array
{
return [
'Ngày ban hành',
'Дата выдачи',
'Ký hiệu',
'Loại',
'Trích yếu',
'Người nhận',
'Тип документа',
'Краткое содержание',
'Получатель',
];
}

View File

@@ -43,14 +43,14 @@ implements
public function headings(): array
{
return [
'',
'Tên',
'Email',
'Số điện thoại',
'Ngày sinh',
'Chức danh',
'Phòng ban',
'Kích hoạt',
'Код',
'Имя',
'Электронный адрес',
'Номер телефон',
'Дата рождения',
'Должность',
'Подразделение',
'Активирован',
];
}
@@ -70,7 +70,7 @@ implements
public function title(): string
{
return 'Danh sách người dùng';
return 'Список пользавателя';
}
public function startCell(): string

View File

@@ -138,7 +138,7 @@ class UsersController extends Controller
{
$users = $this->repository->all();
$exporter = new \App\Exports\UsersExport($users);
$fileName = 'Danh sách người dùng.' . $request->export;
$fileName = 'Список пользавателя.' . $request->export;
return \Excel::download($exporter, $fileName, $request->export);
}

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý sổ văn bản');
return $this->user()->hasPermissionTo('Разрешении книги');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý sổ văn bản');
return $this->user()->hasPermissionTo('Разрешении книги');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý sổ văn bản');
return $this->user()->hasPermissionTo('Разрешении книги');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý phòng ban');
return $this->user()->hasPermissionTo('Разрешении подразделение');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý phòng ban');
return $this->user()->hasPermissionTo('Разрешении подразделение');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý phòng ban');
return $this->user()->hasPermissionTo('Разрешении подразделение');
}
/**

View File

@@ -16,7 +16,7 @@ class CreateRequest extends FormRequest
public function authorize()
{
$typeName = Str::lower(Book::find($this->book_id)->name);
return $this->user()->hasPermissionTo('Quản lý '. $typeName);
return $this->user()->hasPermissionTo('Разрешении '. $typeName);
}
/**

View File

@@ -13,7 +13,7 @@ class ExportRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Báo cáo thống kê');
return $this->user()->hasPermissionTo('Статистическая');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý loại văn bản');
return $this->user()->hasPermissionTo('Разрешении вид документа');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý loại văn bản');
return $this->user()->hasPermissionTo('Разрешении вид документа');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý loại văn bản');
return $this->user()->hasPermissionTo('Разрешении вид документа');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý nơi ban hành');
return $this->user()->hasPermissionTo('Разрешении место выдачи');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý nơi ban hành');
return $this->user()->hasPermissionTo('Разрешении место выдачи');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý nơi ban hành');
return $this->user()->hasPermissionTo('Разрешении место выдачи');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý quyền');
return $this->user()->hasPermissionTo('Разрешении разрешение');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý quyền');
return $this->user()->hasPermissionTo('Разрешении разрешение');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý quyền');
return $this->user()->hasPermissionTo('Разрешении разрешение');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý nhóm');
return $this->user()->hasPermissionTo('Разрешении');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý nhóm');
return $this->user()->hasPermissionTo('Разрешении');
}
/**

View File

@@ -13,7 +13,7 @@ class GivePermissionRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Phân quyền');
return $this->user()->hasPermissionTo('Право');
}
/**

View File

@@ -13,7 +13,7 @@ class RevokePermissionRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Phân quyền');
return $this->user()->hasPermissionTo('Право');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý nhóm');
return $this->user()->hasPermissionTo('Разрешении');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người ký');
return $this->user()->hasPermissionTo('Разрешении подписал');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người ký');
return $this->user()->hasPermissionTo('Разрешении подписал');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người ký');
return $this->user()->hasPermissionTo('Разрешении подписал');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý chức danh');
return $this->user()->hasPermissionTo('Разрешении должность');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý chức danh');
return $this->user()->hasPermissionTo('Разрешении должность');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý chức danh');
return $this->user()->hasPermissionTo('Разрешении должность');
}
/**

View File

@@ -13,7 +13,7 @@ class CreateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người dùng');
return $this->user()->hasPermissionTo('Разрешении пользователь');
}
/**

View File

@@ -13,7 +13,7 @@ class DestroyRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người dùng');
return $this->user()->hasPermissionTo('Разрешении пользователь');
}
/**

View File

@@ -13,7 +13,7 @@ class ExportRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người dùng');
return $this->user()->hasPermissionTo('Разрешении пользователь');
}
/**

View File

@@ -13,7 +13,7 @@ class GivePermissionRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Phân quyền');
return $this->user()->hasPermissionTo('Право');
}
/**

View File

@@ -13,7 +13,7 @@ class GiveRoleRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Phân quyền');
return $this->user()->hasPermissionTo('Право');
}
/**

View File

@@ -13,7 +13,7 @@ class ImportRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người dùng');
return $this->user()->hasPermissionTo('Разрешении пользователь');
}
/**

View File

@@ -13,7 +13,7 @@ class UpdateRequest extends FormRequest
*/
public function authorize()
{
return $this->user()->hasPermissionTo('Quản lý người dùng');
return $this->user()->hasPermissionTo('Разрешении пользователь');
}
/**

View File

@@ -49,8 +49,8 @@ class DocumentReceived extends Notification implements ShouldQueue
return (new MailMessage)
->subject($this->document->type->name)
->greeting($this->document->type->name)
->line('Trích yếu: '. $this->document->abstract)
->action('Chi tiết', url($this->getPathToDocument()));
->line('Краткое содержание: '. $this->document->abstract)
->action('Деталь', url($this->getPathToDocument()));
}
/**

View File

@@ -12,9 +12,9 @@ class BookSeeder extends Seeder
public function run()
{
DB::table('books')->insert([
['name' => 'Inbox'],
['name' => 'Văn bản đi'],
['name' => 'Văn bản nội bộ'],
['name' => 'Входящие документы'],
['name' => 'Исходящие документы'],
['name' => 'Внутренние документы'],
]);
}
}

View File

@@ -12,13 +12,13 @@ class DocumentTypeSeeder extends Seeder
public function run()
{
DB::table('document_types')->insert([
['id' => 'BC', 'name' => 'Báo cáo'],
['id' => 'CV', 'name' => 'Công văn'],
['id' => 'HD', 'name' => 'Hướng dẫn'],
['id' => 'KH', 'name' => 'Kế hoạch'],
['id' => 'NQ', 'name' => 'Nghị quyết'],
['id' => 'ND', 'name' => 'Nghị định'],
['id' => 'QD', 'name' => 'Quyết định'],
['id' => 'BC', 'name' => 'Отчет'],
['id' => 'CV', 'name' => 'Приказ'],
['id' => 'HD', 'name' => 'Интрукция'],
['id' => 'KH', 'name' => 'Справка'],
['id' => 'NQ', 'name' => 'Положение'],
['id' => 'ND', 'name' => 'Заявление'],
['id' => 'QD', 'name' => 'Договор'],
]);
}
}

View File

@@ -16,64 +16,64 @@ class PermissionSeeder extends Seeder
$guard = config('auth.defaults.guard');
DB::table(config('permission.table_names.permissions'))->insert([
['name' => 'Quản lý chức danh', 'guard_name' => $guard],
['name' => 'Quản lý người dùng', 'guard_name' => $guard],
['name' => 'Quản lý phòng ban', 'guard_name' => $guard],
['name' => 'Quản lý nhóm', 'guard_name' => $guard],
['name' => 'Quản lý người ký', 'guard_name' => $guard],
['name' => 'Quản lý nơi ban hành', 'guard_name' => $guard],
['name' => 'Quản lý loại văn bản', 'guard_name' => $guard],
['name' => 'Quản lý quyền', 'guard_name' => $guard],
['name' => 'Phân quyền', 'guard_name' => $guard],
['name' => 'Báo cáo thống kê', 'guard_name' => $guard],
['name' => 'Quản lý văn bản đến', 'guard_name' => $guard],
['name' => 'Quản lý văn bản đi', 'guard_name' => $guard],
['name' => 'Quản lý văn bản nội bộ', 'guard_name' => $guard],
['name' => 'Quản lý sổ văn bản', 'guard_name' => $guard],
['name' => 'Разрешении должность', 'guard_name' => $guard],
['name' => 'Разрешении пользователь', 'guard_name' => $guard],
['name' => 'Разрешении подразделение', 'guard_name' => $guard],
['name' => 'Разрешении', 'guard_name' => $guard],
['name' => 'Разрешении подписал', 'guard_name' => $guard],
['name' => 'Разрешении место выдачи', 'guard_name' => $guard],
['name' => 'Разрешении вид документа', 'guard_name' => $guard],
['name' => 'Разрешении разрешение', 'guard_name' => $guard],
['name' => 'Право', 'guard_name' => $guard],
['name' => 'Статистическая', 'guard_name' => $guard],
['name' => 'Разрешении входящие документы', 'guard_name' => $guard],
['name' => 'Разрешении исходящие документы', 'guard_name' => $guard],
['name' => 'Разрешении внутренние документы', 'guard_name' => $guard],
['name' => 'Разрешении книги', 'guard_name' => $guard],
]);
DB::table(config('permission.table_names.roles'))->insert([
['name' => 'Lãnh đạo phòng', 'guard_name' => $guard],
['name' => 'Chuyên viên', 'guard_name' => $guard],
['name' => 'Quản trị hệ thống', 'guard_name' => $guard],
['name' => 'Văn thư', 'guard_name' => $guard],
['name' => 'Руководитель подразделения', 'guard_name' => $guard],
['name' => 'Ведущий специалист', 'guard_name' => $guard],
['name' => 'Администратор', 'guard_name' => $guard],
['name' => 'Секретарь', 'guard_name' => $guard],
]);
Role::find(1)->syncPermissions([
'Quản lý chức danh',
'Quản lý người dùng',
'Quản lý phòng ban',
'Quản lý người ký',
'Quản lý nơi ban hành',
'Quản lý quyền',
'Phân quyền',
'Báo cáo thống kê',
'Разрешении должность',
'Разрешении пользователь',
'Разрешении подразделение',
'Разрешении подписал',
'Разрешении место выдачи',
'Разрешении разрешение',
'Право',
'Статистическая',
]);
Role::find(3)->syncPermissions([
'Quản lý chức danh',
'Quản lý người dùng',
'Quản lý phòng ban',
'Quản lý người ký',
'Quản lý nơi ban hành',
'Phân quyền',
'Quản lý quyền',
'Quản lý nhóm',
'Báo cáo thống kê',
'Quản lý văn bản đến',
'Quản lý văn bản đi',
'Quản lý văn bản nội bộ',
'Quản lý loại văn bản',
'Quản lý sổ văn bản',
'Разрешении должность',
'Разрешении пользователь',
'Разрешении подразделение',
'Разрешении подписал',
'Разрешении место выдачи',
'Право',
'Разрешении разрешение',
'Разрешении',
'Статистическая',
'Разрешении входящие документы',
'Разрешении исходящие документы',
'Разрешении внутренние документы',
'Разрешении вид документа',
'Разрешении книги',
]);
Role::find(4)->syncPermissions([
'Báo cáo thống kê',
'Quản lý văn bản đến',
'Quản lý văn bản đi',
'Quản lý văn bản nội bộ',
'Quản lý loại văn bản',
'Quản lý sổ văn bản',
'Статистическая',
'Разрешении входящие документы',
'Разрешении исходящие документы',
'Разрешении внутренние документы',
'Разрешении вид документа',
'Разрешении книги',
]);
for ($i=0; $i < 10; $i++) {
@@ -91,6 +91,6 @@ class PermissionSeeder extends Seeder
->assignRole(Role::all()->random()->id);
}
User::find('PKTCN-TP-1')->assignRole('Quản trị hệ thống');
User::find('PKTCN-TP-1')->assignRole('Администратор');
}
}

View File

@@ -12,11 +12,11 @@ class SignerSeeder extends Seeder
public function run()
{
DB::table('signers')->insert([
['name' => 'Nguyễn Thanh Toàn', 'description' => 'Trưởng phòng tài chính'],
['name' => 'Đào Thị Xa', 'description' => 'Giám đốc sở'],
['name' => 'Hoàng Công', 'description' => 'Giám đốc công ty MACD'],
['name' => 'Nguyễn Thanh Toàn', 'description' => 'Главный финансовый директор'],
['name' => 'Đào Thị Xa', 'description' => 'Генеральный директор'],
['name' => 'Hoàng Công', 'description' => 'Руководитель компание'],
['name' => 'Nguyễn Công Quân', 'description' => null],
['name' => 'Nguyễn Đức Tiên', 'description' => 'Phó giám đốc điều hành Hải Sơn'],
['name' => 'Nguyễn Đức Tiên', 'description' => 'Замдиректор'],
]);
}
}

View File

@@ -12,11 +12,11 @@ class TitleSeeder extends Seeder
public function run()
{
DB::table('titles')->insert([
['id' => 'GD', 'name' => 'Giám đốc'],
['id' => 'PGD', 'name' => 'Phó giám đốc'],
['id' => 'TP', 'name' => 'Trưởng phòng'],
['id' => 'PP', 'name' => 'Phó phòng'],
['id' => 'CV', 'name' => 'Chuyên viên'],
['id' => 'GD', 'name' => 'Директор'],
['id' => 'PGD', 'name' => 'ЗамДиректор'],
['id' => 'TP', 'name' => 'Менеджер'],
['id' => 'PP', 'name' => 'ЗамМенеджер'],
['id' => 'CV', 'name' => 'Ведущий специалист'],
]);
}
}

View File

@@ -99,7 +99,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
title: {
required: false,
type: String,
"default": "Danh sách"
"default": "Список"
},
canCreate: {
required: false,
@@ -254,8 +254,8 @@ var render = function() {
{
name: "c-tooltip",
rawName: "v-c-tooltip",
value: "Tạo mới",
expression: "'Tạo mới'"
value: "Создать новый",
expression: "'Создать новый'"
}
],
staticClass: "float-right",
@@ -321,7 +321,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-plus" } }),
_vm._v(" Tạo mới\n ")
_vm._v(" Создать новый\n ")
],
1
)

View File

@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
"default": function _default() {
return [{
value: "",
label: "Tất cả"
label: "Все"
}];
}
}
@@ -237,56 +237,56 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
fields: function fields() {
return [{
key: "symbol",
label: "Số ký hiệu"
label: "Номер регистрации"
}, {
key: "abstract",
label: "Trích yếu",
label: "Краткое содержание",
_classes: "w-50 font-weight-bold"
}, {
key: "type",
label: "Loại"
label: "Тип документа"
}, {
key: "publisher",
label: "Nơi ban hành"
label: "Место выдачи"
}, {
key: "effective_at",
label: this.isDocumentsIncome ? "Ngày nhận" : "Ngày ban hành"
label: this.isDocumentsIncome ? "Дата получения" : "Дата выдачи"
}];
},
searchFields: function searchFields() {
return [{
value: "symbol",
label: "Số ký hiệu"
label: "Номер регистрации"
}, {
value: "abstract",
label: "Trích yếu"
label: "Краткое содержание"
}, {
value: "type.name",
label: "Loại"
label: "Тип документа"
}, {
value: "creator.name",
label: "Người soạn"
label: "Создатель"
}, {
value: "signer.name",
label: "Người ký"
label: "Подписал"
}, {
value: "effective_at",
label: this.isDocumentsIncome ? "Ngày nhận" : "Ngày ban hành"
label: this.isDocumentsIncome ? "Дата получения" : "Дата выдачи"
}, {
value: "sign_at",
label: "Ngày ký"
label: "Дата подписания"
}, {
value: "publisher.name",
label: "Nơi ban hành"
label: "Место выдачи"
}, {
value: "organizes.name",
label: "Nơi nhận"
label: "Место получения"
}, {
value: "linkTo.symbol",
label: "Liên kết văn bản đến"
label: "Разрешении входящие документы"
}, {
value: "receivers.seen",
label: "Chưa xem",
label: "Непрочитанные",
defaultValue: 0
}];
},
@@ -392,7 +392,7 @@ var render = function() {
{ attrs: { sm: "9" } },
[
_c("CInput", {
attrs: { placeholder: "Tìm kiếm", value: _vm.value },
attrs: { placeholder: "Искать", value: _vm.value },
on: {
"update:value": [
function($event) {
@@ -445,7 +445,7 @@ var render = function() {
"CCardHeader",
[
_c("CIcon", { attrs: { name: "cil-grid" } }),
_vm._v("Danh sách văn bản\n "),
_vm._v("Книга\n "),
_c(
"CButton",
{
@@ -453,8 +453,8 @@ var render = function() {
{
name: "c-tooltip",
rawName: "v-c-tooltip",
value: "Tạo mới",
expression: "'Tạo mới'"
value: "Создать новый",
expression: "'Создать новый'"
}
],
staticClass: "float-right",

View File

@@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
"default": function _default() {
return [{
value: "",
label: "Tất cả"
label: "Все"
}];
}
}
@@ -190,51 +190,51 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
items: null,
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên",
label: "Имя",
_classes: "font-weight-bold"
}, {
key: "email",
label: "Email"
}, {
key: "tel",
label: "Số điện thoại"
label: "Номер телефон"
}, {
key: "title",
label: "Chức danh"
label: "Должность"
}, {
key: "department",
label: "Phòng ban"
label: "Подразделение"
}],
searchFields: [{
value: "",
label: "Tất cả"
label: "Все"
}, {
value: "id",
label: ""
label: "Код"
}, {
value: "name",
label: "Tên"
label: "Имя"
}, {
value: "email",
label: "Email"
}, {
value: "tel",
label: "Số điện thoại"
label: "Номер телефон"
}, {
value: "birthday",
label: "Ngày sinh"
label: "Дата рождения"
}, {
value: "title.name",
label: "Chức danh"
label: "Должность"
}, {
value: "department.name",
label: "Phòng ban"
label: "Подразделение"
}, {
value: "created_at",
label: "Ngày tạo"
label: "Дата создания"
}],
currentPage: 1,
pages: 0,
@@ -372,7 +372,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
search: this.searchValue,
searchFields: this.searchField
}).then(function (response) {
_this3.$toast.success("Đã xuất");
_this3.$toast.success("Exported");
})["catch"](function (error) {
_this3.toastHttpError(error);
});
@@ -417,7 +417,7 @@ var render = function() {
{ attrs: { sm: "9" } },
[
_c("CInput", {
attrs: { placeholder: "Tìm kiếm", value: _vm.value },
attrs: { placeholder: "Искать", value: _vm.value },
on: {
"update:value": [
function($event) {
@@ -470,7 +470,7 @@ var render = function() {
"CCardHeader",
[
_c("CIcon", { attrs: { name: "cil-grid" } }),
_vm._v("Danh sách người dùng\n "),
_vm._v("Список пользавателя\n "),
_c(
"CButton",
{
@@ -478,8 +478,8 @@ var render = function() {
{
name: "c-tooltip",
rawName: "v-c-tooltip",
value: "Tạo mới",
expression: "'Tạo mới'"
value: "Создать новый",
expression: "'Создать новый'"
}
],
staticClass: "float-right",
@@ -501,8 +501,8 @@ var render = function() {
{
name: "c-tooltip",
rawName: "v-c-tooltip",
value: "Xuất",
expression: "'Xuất'"
value: "Export",
expression: "'Export'"
}
],
staticClass: "float-right mr-2",
@@ -528,8 +528,8 @@ var render = function() {
{
name: "c-tooltip",
rawName: "v-c-tooltip",
value: "Nhập",
expression: "'Nhập'"
value: "Import",
expression: "'Import'"
}
],
staticClass: "float-right mr-2",
@@ -584,7 +584,7 @@ var render = function() {
_c("td", [
_vm._v(
_vm._s(
item.title ? item.title.name : "Chưa xác định"
item.title ? item.title.name : "Неопределено"
)
)
])
@@ -601,7 +601,7 @@ var render = function() {
_vm._s(
item.department
? item.department.name
: "Chưa xác định"
: "Неопределено"
)
)
])

View File

@@ -105,17 +105,17 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
fields: function fields() {
return [{
key: "symbol",
label: "Số ký hiệu"
label: "Номер регистрации"
}, {
key: "abstract",
label: "Trích yếu",
label: "Краткое содержание",
_classes: "w-50 font-weight-bold"
}, {
key: "type",
label: "Loại"
label: "Тип документа"
}, {
key: "book",
label: "Sổ"
label: "Книга"
}];
},
highlightStyle: function highlightStyle() {
@@ -219,9 +219,9 @@ var render = function() {
attrs: {
color: "white",
"right-header": "" + book.unread,
"right-footer": "Chưa xem",
"right-footer": "Непрочитанные",
"left-header": "" + book.count,
"left-footer": "Đã nhận"
"left-footer": "Полученные"
}
},
[
@@ -253,7 +253,7 @@ var render = function() {
"CCardHeader",
[
_c("CIcon", { attrs: { name: "cil-grid" } }),
_vm._v(" Văn bản gần đây\n ")
_vm._v(" Недавно смотреть\n ")
],
1
),

View File

@@ -584,7 +584,7 @@ var render = function() {
return _c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Thông tin")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Информация")])]),
_vm._v(" "),
_c(
"CCardBody",
@@ -594,7 +594,7 @@ var render = function() {
[
_c("CInput", {
attrs: {
label: "",
label: "Код",
value: _vm.user.id,
horizontal: "",
readonly: true
@@ -609,7 +609,7 @@ var render = function() {
_c("CInput", {
attrs: {
placeholder: "Let us know your full name.",
label: "Tên",
label: "Имя",
value: _vm.user.name,
horizontal: ""
},
@@ -638,7 +638,7 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
label: "Số điện thoại",
label: "Номер телефон",
placeholder: "Enter your tel",
value: _vm.user.tel,
horizontal: "",
@@ -653,7 +653,7 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
label: "Ngày sinh",
label: "Дата рождения",
type: "date",
value: _vm.user.birthday,
horizontal: ""
@@ -667,7 +667,7 @@ var render = function() {
_vm._v(" "),
_c("CSelect", {
attrs: {
label: "Chức danh",
label: "Должность",
horizontal: "",
value: _vm.user.title_id,
options: _vm.titles,
@@ -682,7 +682,7 @@ var render = function() {
_vm._v(" "),
_c("CSelect", {
attrs: {
label: "Phòng ban",
label: "Подразделение",
horizontal: "",
value: _vm.user.department_id,
options: _vm.departments,
@@ -707,7 +707,7 @@ var render = function() {
_c(
"label",
{ staticClass: "col-form-label col-sm-3" },
[_vm._v("Kích hoạt")]
[_vm._v("Активирован")]
)
])
]
@@ -794,7 +794,7 @@ var render = function() {
return _c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Thay đổi mật khẩu")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Измененить пароль")])]),
_vm._v(" "),
_c(
"CCardBody",
@@ -804,8 +804,8 @@ var render = function() {
[
_c("CInput", {
attrs: {
placeholder: "Nhập mật khẩu.",
label: "Mật khẩu",
placeholder: "Вводите пароль.",
label: "Пароль",
type: "password",
horizontal: ""
}
@@ -813,8 +813,8 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
placeholder: "Nhập mật khẩu mới.",
label: "Mật khẩu mới",
placeholder: "Вводите новый пароль.",
label: "Новый пароль",
type: "password",
value: _vm.password.password,
horizontal: ""
@@ -828,8 +828,8 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
placeholder: "Nhập lại mật khẩu mới.",
label: "Xác nhận",
placeholder: "Подтверждение пароля.",
label: "Подтверждить",
type: "password",
value: _vm.password.password_confirmation,
horizontal: ""
@@ -904,7 +904,7 @@ var render = function() {
"CCol",
{ attrs: { sm: "12" } },
[
_c("label", [_vm._v("Phân theo chức năng")]),
_c("label", [_vm._v("По функциям")]),
_vm._v(" "),
_c("treeselect", {
attrs: {
@@ -958,7 +958,7 @@ var render = function() {
"CCol",
{ attrs: { sm: "12" } },
[
_c("label", [_vm._v("Phân theo nhóm")]),
_c("label", [_vm._v("По группам")]),
_vm._v(" "),
_c("treeselect", {
attrs: {

View File

@@ -69,10 +69,10 @@ __webpack_require__.r(__webpack_exports__);
password: this.password
}).then(function (response) {
_this.$router.push(_this.$route.query.redirectFrom || {
name: "Trang chủ"
name: "Домашняя страница"
});
}).then(function (response) {
_this.$toast.success("Đăng nhập thành công");
_this.$toast.success("Успешно войти");
})["catch"](function (error) {
_this.toastHttpError(error);
});
@@ -122,7 +122,7 @@ var render = function() {
"CForm",
[
_c("h1", { staticClass: "pb-4" }, [
_vm._v("Đăng nhập")
_vm._v("Войти")
]),
_vm._v(" "),
_c(
@@ -205,7 +205,7 @@ var render = function() {
attrs: { color: "primary" },
on: { click: _vm.login }
},
[_vm._v("Đăng nhập")]
[_vm._v("Войти")]
)
],
1
@@ -221,7 +221,7 @@ var render = function() {
_c(
"CButton",
{ attrs: { color: "link" } },
[_vm._v("Quên mật khẩu?")]
[_vm._v("Забыли пароль?")]
)
],
1

View File

@@ -198,7 +198,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
var _this3 = this;
_services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].statistic.download(this.statistic).then(function (response) {
_this3.$toast.success("Đã xuất báo cáo");
_this3.$toast.success("Exported báo cáo");
})["catch"](function (error) {
_this3.toastHttpError(error);
});
@@ -226,7 +226,7 @@ var render = function() {
return _c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Thống kê")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Статистическая")])]),
_vm._v(" "),
_c(
"CCardBody",
@@ -251,7 +251,7 @@ var render = function() {
fn: function() {
return [
_vm._t("label", [
_c("label", [_vm._v("Sổ văn bản")])
_c("label", [_vm._v("Документы")])
])
]
},
@@ -266,7 +266,7 @@ var render = function() {
multiple: false,
options: _vm.books,
clearable: true,
placeholder: "Tất cả"
placeholder: "Все"
},
model: {
value: _vm.statistic.book,
@@ -302,7 +302,7 @@ var render = function() {
fn: function() {
return [
_vm._t("label", [
_c("label", [_vm._v("Loại văn bản")])
_c("label", [_vm._v("Вид документа")])
])
]
},
@@ -317,7 +317,7 @@ var render = function() {
multiple: false,
options: _vm.types,
clearable: true,
placeholder: "Tất cả"
placeholder: "Все"
},
model: {
value: _vm.statistic.type,
@@ -354,7 +354,7 @@ var render = function() {
_c("CInput", {
staticClass: "mb-0",
attrs: {
label: "Từ ngày",
label: "с",
type: "date",
value: _vm.statistic.from
},
@@ -375,7 +375,7 @@ var render = function() {
_c("CInput", {
staticClass: "mb-0",
attrs: {
label: "Đến ngày",
label: "по",
type: "date",
value: _vm.statistic.to
},
@@ -414,7 +414,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-vertical-align-bottom" } }),
_vm._v("Xuất\n ")
_vm._v("Export\n ")
],
1
)

View File

@@ -30,13 +30,13 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].book,
title: "Sổ văn bản"
title: "Документы"
};
}
});

View File

@@ -30,16 +30,16 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}, {
key: "tel",
label: "Số điện thoại"
label: "Номер телефон"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].department,
title: "Phòng ban"
title: "Подразделение"
};
}
});

View File

@@ -30,13 +30,13 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].documentType,
title: "Loại văn bản"
title: "Вид документа"
};
}
});

View File

@@ -62,13 +62,13 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].role,
title: "Nhóm",
title: "Группа",
permissionOptions: [],
permissions: [],
role: {}
@@ -188,7 +188,7 @@ var render = function() {
key: "append-body",
fn: function() {
return [
_c("label", [_vm._v("Quyền")]),
_c("label", [_vm._v("Разрешение")]),
_vm._v(" "),
_c("treeselect", {
attrs: {

View File

@@ -30,13 +30,13 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].permission,
title: "Quyền"
title: "Разрешение"
};
}
});

View File

@@ -30,13 +30,13 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].publisher,
title: "Nơi ban hành"
title: "Место выдачи"
};
}
});

View File

@@ -30,16 +30,16 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}, {
key: "description",
label: "Mô tả"
label: "Описание"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].signer,
title: "Người ký"
title: "Подписал"
};
}
});

View File

@@ -30,13 +30,13 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].title,
title: "Chức danh"
title: "Должность"
};
}
});

View File

@@ -168,7 +168,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
path: "/users/".concat(response.data.id)
});
_this2.$toast.success("Đã tạo tài khoản");
_this2.$toast.success("Аккаунт создан");
})["catch"](function (error) {
_this2.toastHttpError(error);
});
@@ -211,7 +211,7 @@ var render = function() {
_c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Tạo mới người dùng")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Создать новый пользователь")])]),
_vm._v(" "),
_c(
"CCardBody",
@@ -222,7 +222,7 @@ var render = function() {
_c("CInput", {
attrs: {
placeholder: "Let us know your full name.",
label: "Tên",
label: "Имя",
value: _vm.user.name,
horizontal: ""
},
@@ -251,7 +251,7 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
label: "Số điện thoại",
label: "Номер телефон",
placeholder: "Enter your tel",
value: _vm.user.tel,
horizontal: "",
@@ -266,7 +266,7 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
label: "Ngày sinh",
label: "Дата рождения",
type: "date",
value: _vm.user.birthday,
horizontal: ""
@@ -280,7 +280,7 @@ var render = function() {
_vm._v(" "),
_c("CSelect", {
attrs: {
label: "Chức danh",
label: "Должность",
horizontal: "",
value: _vm.user.title_id,
options: _vm.titles,
@@ -295,7 +295,7 @@ var render = function() {
_vm._v(" "),
_c("CSelect", {
attrs: {
label: "Phòng ban",
label: "Подразделение",
horizontal: "",
value: _vm.user.department_id,
options: _vm.departments,
@@ -322,7 +322,7 @@ var render = function() {
{
staticClass: "col-form-label col-sm-3"
},
[_vm._v("Kích hoạt")]
[_vm._v("Активирован")]
)
])
]
@@ -363,8 +363,8 @@ var render = function() {
_vm._v(" "),
_c("CInput", {
attrs: {
placeholder: "Nhập mật khẩu.",
label: "Mật khẩu",
placeholder: "Вводите пароль.",
label: "Пароль",
type: "password",
value: _vm.user.password,
horizontal: ""
@@ -379,7 +379,7 @@ var render = function() {
_c("CInput", {
attrs: {
placeholder: "Nhập lại mật khẩu.",
label: "Xác nhận",
label: "Подтверждить",
type: "password",
value: _vm.user.password_confirmation,
horizontal: ""
@@ -413,7 +413,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-medical-cross" } }),
_vm._v(" Tạo\n ")
_vm._v(" Создать\n ")
],
1
)

View File

@@ -103,7 +103,7 @@ var render = function() {
_c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Phân quyền")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Право")])]),
_vm._v(" "),
_c(
"CCardBody",

View File

@@ -113,7 +113,7 @@ var render = function() {
_c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Phân quyền")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Право")])]),
_vm._v(" "),
_c(
"CCardBody",

View File

@@ -454,7 +454,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
path: "/documents/".concat(response.data.id)
});
_this8.$toast.success("Đã tạo văn bản");
_this8.$toast.success("Уже создал документ");
})["catch"](function (error) {
_this8.toastHttpError(error);
});
@@ -488,8 +488,8 @@ var render = function() {
[
_c("CCardHeader", [
_vm.documentId
? _c("strong", [_vm._v("Chi tiết văn bản")])
: _c("strong", [_vm._v("Tạo văn bản")])
? _c("strong", [_vm._v("О документе")])
: _c("strong", [_vm._v("Создать документ")])
]),
_vm._v(" "),
_c(
@@ -509,7 +509,7 @@ var render = function() {
_c("CSelect", {
staticClass: "mb-0",
attrs: {
label: "Sổ văn bản",
label: "Документы",
options: _vm.books,
value: _vm.document.book_id,
placeholder: "Please select"
@@ -537,7 +537,7 @@ var render = function() {
fn: function() {
return [
_vm._t("label", [
_c("label", [_vm._v("Loại văn bản")])
_c("label", [_vm._v("Вид документа")])
])
]
},
@@ -588,7 +588,7 @@ var render = function() {
_c("CInput", {
staticClass: "mb-0",
attrs: {
label: "Số ký hiệu",
label: "Номер регистрации",
value: _vm.document.symbol
},
on: {
@@ -621,7 +621,7 @@ var render = function() {
fn: function() {
return [
_vm._t("label", [
_c("label", [_vm._v("Người soạn")])
_c("label", [_vm._v("Создатель")])
])
]
},
@@ -687,7 +687,7 @@ var render = function() {
_c("CInput", {
staticClass: "mb-0",
attrs: {
label: "Người tạo",
label: "Автор",
value: _vm.document.creator.name,
readonly: ""
}
@@ -701,7 +701,7 @@ var render = function() {
_vm._v(" "),
_c("CTextarea", {
attrs: {
label: "Trích yếu",
label: "Краткое содержание",
placeholder: "Content...",
rows: "5",
value: _vm.document.abstract
@@ -730,7 +730,7 @@ var render = function() {
fn: function() {
return [
_vm._t("label", [
_c("label", [_vm._v("Nơi ban hành")])
_c("label", [_vm._v("Место выдачи")])
])
]
},
@@ -778,7 +778,7 @@ var render = function() {
_c("CInput", {
staticClass: "mb-0",
attrs: {
label: _vm.isIncome ? "Ngày nhận" : "Ngày ban hành",
label: _vm.isIncome ? "Дата получения" : "Дата выдачи",
type: "date",
value: _vm.document.effective_at
},
@@ -816,7 +816,7 @@ var render = function() {
fn: function() {
return [
_vm._t("label", [
_c("label", [_vm._v("Người ký")])
_c("label", [_vm._v("Подписал")])
])
]
},
@@ -879,7 +879,7 @@ var render = function() {
_c("CInput", {
staticClass: "mb-0",
attrs: {
label: "Ngày ký",
label: "Дата подписания",
type: "date",
value: _vm.document.sign_at
},
@@ -928,7 +928,7 @@ var render = function() {
},
[
_c("CIcon", { attrs: { name: "cil-plus" } }),
_vm._v("Tạo\n ")
_vm._v("Создать\n ")
],
1
)

View File

@@ -53,13 +53,13 @@ __webpack_require__.r(__webpack_exports__);
return {
fields: [{
key: "id",
label: ""
label: "Код"
}, {
key: "name",
label: "Tên"
label: "Имя"
}],
service: _services_factory__WEBPACK_IMPORTED_MODULE_0__["default"].role,
title: "Nhóm"
title: "Группа"
};
},
method: {

File diff suppressed because one or more lines are too long

View File

@@ -59,17 +59,17 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
loading: true,
fields: [{
key: "name",
label: "Tên",
label: "Имя",
_classes: "w-50"
}, {
key: "size",
label: "Kích thước (KB)"
label: "Размер(KB)"
}, {
key: "downloads",
label: "Lượt tải"
label: "Количество скачиваний"
}, {
key: "id",
label: "Hành động"
label: "Действие"
}],
attachments: [{
id: "",
@@ -130,7 +130,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
_services_factory__WEBPACK_IMPORTED_MODULE_1__["default"].attachment.download(item.id, item.name).then(function (response) {
item.downloads++;
_this2.$toast.success("Đã tải xuống");
_this2.$toast.success("Downloaded");
})["catch"](function (error) {
_this2.toastHttpError(error);
});
@@ -163,7 +163,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
}).then(function (response) {
_this4.attachments.push(response.data);
_this4.$toast.success("Đã tải lên");
_this4.$toast.success("Uploaded");
})["catch"](function (error) {
_this4.toastHttpError(error);
});
@@ -362,7 +362,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
},
getSymbol: function getSymbol(id) {
this.fetchSymbol(id);
return "Không có quyền truy cập";
return "Нет права доступ";
},
fetchSymbol: function fetchSymbol(id) {
var _this4 = this;
@@ -1057,7 +1057,7 @@ var render = function() {
return _c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Tệp đính kèm")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Вложения файлов")])]),
_vm._v(" "),
_c(
"CCardBody",
@@ -1162,7 +1162,7 @@ var render = function() {
return _c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Văn bản liên kết")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Связанный документ")])]),
_vm._v(" "),
_c(
"CCardBody",
@@ -1223,7 +1223,7 @@ var render = function() {
"CCol",
{ attrs: { sm: "12" } },
[
_c("label", [_vm._v("Danh sách đã liên kết")]),
_c("label", [_vm._v("Список документа")]),
_vm._v(" "),
_c("treeselect", {
attrs: {
@@ -1304,7 +1304,7 @@ var render = function() {
_c(
"CCardHeader",
[
_c("strong", [_vm._v("Người nhận")]),
_c("strong", [_vm._v("Получатель")]),
_vm._v(" "),
_c(
"CBadge",
@@ -1404,7 +1404,7 @@ var render = function() {
return _c(
"CCard",
[
_c("CCardHeader", [_c("strong", [_vm._v("Nơi nhận")])]),
_c("CCardHeader", [_c("strong", [_vm._v("Место получения")])]),
_vm._v(" "),
_c(
"CCardBody",

View File

@@ -11,7 +11,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Quản lý văn bản và điều hành</title>
<title>Система электронного документооборота</title>
<!-- favicons for all devices -->
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">

View File

@@ -119638,7 +119638,7 @@ function configRoutes() {
return [{
path: '/',
redirect: '/dashboard',
name: 'Trang chủ',
name: 'Домашняя страница',
component: TheContainer,
meta: {
authRequired: true
@@ -119650,7 +119650,7 @@ function configRoutes() {
{
path: 'books',
meta: {
label: 'Sổ văn bản'
label: 'Документы'
},
component: {
render: function render(c) {
@@ -119659,15 +119659,15 @@ function configRoutes() {
},
children: [{
path: '',
name: 'Sổ văn bản',
name: 'Документы',
component: Books
}, {
path: ':book',
name: 'Chi tiết sổ',
name: 'Детали',
component: Documents,
children: [{
path: 'documents',
name: 'Danh sách văn bản',
name: 'Книга',
component: Documents
}]
}]
@@ -119675,7 +119675,7 @@ function configRoutes() {
{
path: 'documents',
meta: {
label: 'Văn bản'
label: 'Документ'
},
component: {
render: function render(c) {
@@ -119684,21 +119684,21 @@ function configRoutes() {
},
children: [{
path: '',
name: 'Danh sách',
name: 'Список',
component: Documents
}, {
path: 'create',
name: 'Tạo mới',
name: 'Создать новый',
component: DocumentCreate
}, {
path: ':document',
name: 'Chi tiết',
name: 'Деталь',
component: Document
}]
}, // Statistic
{
path: 'statistic',
name: 'Thống kê',
name: 'Статистическая',
component: Statistic
}, //
{
@@ -119735,13 +119735,13 @@ function configRoutes() {
path: 'me',
name: 'Profile',
meta: {
label: 'Cá nhân'
label: 'Личный кабинет'
},
component: Me
}, {
path: 'users',
meta: {
label: 'Người dùng'
label: 'Пользователь'
},
component: {
render: function render(c) {
@@ -119750,50 +119750,50 @@ function configRoutes() {
},
children: [{
path: '',
name: 'Danh sách',
name: 'Список',
component: Users
}, {
path: 'create',
meta: {
label: 'Tạo mới'
label: 'Создать новый'
},
name: 'Create User',
component: CreateUser
}, {
path: ':id',
meta: {
label: 'Chi tiết'
label: 'Деталь'
},
name: 'User',
component: User
}]
}, {
path: 'titles',
name: 'Chức danh',
name: 'Должность',
component: Titles
}, {
path: 'departments',
name: 'Phòng ban',
name: 'Подразделение',
component: Departments
}, {
path: 'signers',
name: 'Người ký',
name: 'Подписал',
component: Signers
}, {
path: 'publishers',
name: 'Nơi ban hành',
name: 'Место выдачи',
component: Publishers
}, {
path: 'document-types',
name: 'Loại văn bản',
name: 'Вид документа',
component: DocumentTypes
}, {
path: 'roles',
name: 'Nhóm',
name: 'Группа',
component: Groups
}, {
path: 'permissions',
name: 'Quyền',
name: 'Разрешение',
component: Permissions
}, {
path: 'base',

View File

@@ -4,7 +4,7 @@
<CSelect :options="fields" @update:value="fieldChanged" />
</CCol>
<CCol sm="9">
<CInput placeholder="Tìm kiếm" :value.sync="value" @update:value="valueChanged" />
<CInput placeholder="Искать" :value.sync="value" @update:value="valueChanged" />
</CCol>
</CRow>
</template>
@@ -16,7 +16,7 @@ export default {
fields: {
type: Array,
default: function () {
return [{ value: "", label: "Tất cả" }];
return [{ value: "", label: "Все" }];
},
},
},

View File

@@ -1,7 +1,7 @@
<template>
<CCard>
<CCardHeader>
<strong>Tệp đính kèm</strong>
<strong>Вложения файлов</strong>
</CCardHeader>
<CCardBody>
<CDataTable :loading="loading" :items="attachments" :fields="fields">
@@ -40,10 +40,10 @@ export default {
return {
loading: true,
fields: [
{ key: "name", label: "Tên", _classes: "w-50" },
{ key: "size", label: "Kích thước (KB)" },
{ key: "downloads", label: "Lượt tải" },
{ key: "id", label: "Hành động" }
{ key: "name", label: "Имя", _classes: "w-50" },
{ key: "size", label: "Размер(KB)" },
{ key: "downloads", label: "Количество скачиваний" },
{ key: "id", label: "Действие" }
],
attachments: [
{
@@ -85,7 +85,7 @@ export default {
.download(item.id, item.name)
.then(response => {
item.downloads++;
this.$toast.success("Đã tải xuống");
this.$toast.success("Downloaded");
})
.catch(error => {
this.toastHttpError(error);
@@ -118,7 +118,7 @@ export default {
})
.then(response => {
this.attachments.push(response.data);
this.$toast.success("Đã tải lên");
this.$toast.success("Uploaded");
})
.catch(error => {
this.toastHttpError(error);

View File

@@ -1,7 +1,7 @@
<template>
<CCard>
<CCardHeader>
<strong>Văn bản liên kết</strong>
<strong>Связанный документ</strong>
</CCardHeader>
<CCardBody>
<CRow class="form-group">
@@ -22,7 +22,7 @@
</treeselect>
</CCol>
<CCol v-else sm="12">
<label>Danh sách đã liên kết</label>
<label>Список документа</label>
<treeselect
v-model="documentsLinked"
:options="linkedDocuments"
@@ -121,7 +121,7 @@ export default {
},
getSymbol(id) {
this.fetchSymbol(id);
return "Không có quyền truy cập";
return "Нет права доступ";
},
async fetchSymbol(id) {
const response = await services.document.get(id);

View File

@@ -1,8 +1,8 @@
<template>
<CCard>
<CCardHeader>
<strong v-if="documentId">Chi tiết văn bản</strong>
<strong v-else>Tạo văn bản</strong>
<strong v-if="documentId">О документе</strong>
<strong v-else>Создать документ</strong>
</CCardHeader>
<CCardBody>
<CForm>
@@ -10,7 +10,7 @@
<CCol sm="6">
<CSelect
class="mb-0"
label="Sổ văn bản"
label="Документы"
:options="books"
:value.sync="document.book_id"
placeholder="Please select"
@@ -20,7 +20,7 @@
<CFormGroup class="form-group mb-0">
<template #label>
<slot name="label">
<label>Loại văn bản</label>
<label>Вид документа</label>
</slot>
</template>
<template #input>
@@ -36,7 +36,7 @@
</CRow>
<CRow class="form-group">
<CCol sm="12">
<CInput label="Số ký hiệu" :value.sync="document.symbol" class="mb-0" />
<CInput label="Номер регистрации" :value.sync="document.symbol" class="mb-0" />
</CCol>
</CRow>
<CRow class="form-group">
@@ -44,7 +44,7 @@
<CFormGroup class="form-group mb-0">
<template #label>
<slot name="label">
<label>Người soạn</label>
<label>Создатель</label>
</slot>
</template>
<template #input>
@@ -64,11 +64,11 @@
</CFormGroup>
</CCol>
<CCol sm="6">
<CInput label="Người tạo" :value="document.creator.name" readonly class="mb-0" />
<CInput label="Автор" :value="document.creator.name" readonly class="mb-0" />
</CCol>
</CRow>
<CTextarea
label="Trích yếu"
label="Краткое содержание"
placeholder="Content..."
rows="5"
:value.sync="document.abstract"
@@ -78,7 +78,7 @@
<CFormGroup class="form-group mb-0">
<template #label>
<slot name="label">
<label>Nơi ban hành</label>
<label>Место выдачи</label>
</slot>
</template>
<template #input>
@@ -93,7 +93,7 @@
</CCol>
<CCol sm="6">
<CInput
:label="isIncome ? 'Ngày nhận' : 'Ngày ban hành'"
:label="isIncome ? 'Дата получения' : 'Дата выдачи'"
type="date"
:value.sync="document.effective_at"
class="mb-0"
@@ -105,7 +105,7 @@
<CFormGroup class="form-group mb-0">
<template #label>
<slot name="label">
<label>Người </label>
<label>Подписал</label>
</slot>
</template>
<template #input>
@@ -124,7 +124,7 @@
</CFormGroup>
</CCol>
<CCol sm="6">
<CInput label="Ngày ký" type="date" :value.sync="document.sign_at" class="mb-0" />
<CInput label="Дата подписания" type="date" :value.sync="document.sign_at" class="mb-0" />
</CCol>
</CRow>
</CForm>
@@ -140,7 +140,7 @@
<CIcon name="cil-check" />Lưu
</CButton>
<CButton v-else size="sm" @click="createDocument" class="float-right" color="success">
<CIcon name="cil-plus" />Tạo
<CIcon name="cil-plus" />Создать
</CButton>
</CCardFooter>
</CCard>
@@ -290,7 +290,7 @@ export default {
.create(this.document)
.then(response => {
this.$router.push({ path: `/documents/${response.data.id}` });
this.$toast.success("Đã tạo văn bản");
this.$toast.success("Уже создал документ");
})
.catch(error => {
this.toastHttpError(error);

View File

@@ -1,7 +1,7 @@
<template>
<CCard>
<CCardHeader>
<strong>Người nhận</strong>
<strong>Получатель</strong>
<CBadge
color="success"
class="float-right"

View File

@@ -1,7 +1,7 @@
<template>
<CCard>
<CCardHeader>
<strong>Nơi nhận</strong>
<strong>Место получения</strong>
</CCardHeader>
<CCardBody>
<CRow class="form-group">

View File

@@ -10,7 +10,7 @@
class="float-right"
color="primary"
variant="outline"
v-c-tooltip="'Tạo mới'"
v-c-tooltip="'Создать новый'"
@click="showCreate"
>
<CIcon name="cil-plus" />
@@ -45,7 +45,7 @@
color="success"
@click="onClickCreate"
>
<CIcon name="cil-plus" /> Tạo mới
<CIcon name="cil-plus" /> Создать новый
</CButton>
<CButton
v-if="canUpdate && !createMode"
@@ -81,7 +81,7 @@ export default {
title: {
required: false,
type: String,
default: "Danh sách"
default: "Список"
},
canCreate: {
required: false,

View File

@@ -1,14 +1,14 @@
<template>
<CCard>
<CCardHeader>
<strong>Thông tin</strong>
<strong>Информация</strong>
</CCardHeader>
<CCardBody>
<CForm>
<CInput label="" :value.sync="user.id" horizontal :readonly="true" />
<CInput label="Код" :value.sync="user.id" horizontal :readonly="true" />
<CInput
placeholder="Let us know your full name."
label="Tên"
label="Имя"
:value.sync="user.name"
horizontal
/>
@@ -21,22 +21,22 @@
autocomplete="email"
/>
<CInput
label="Số điện thoại"
label="Номер телефон"
placeholder="Enter your tel"
:value.sync="user.tel"
horizontal
autocomplete="tel"
/>
<CInput label="Ngày sinh" type="date" :value.sync="user.birthday" horizontal />
<CInput label="Дата рождения" type="date" :value.sync="user.birthday" horizontal />
<CSelect
label="Chức danh"
label="Должность"
horizontal
:value.sync="user.title_id"
:options="titles"
placeholder="Please select"
/>
<CSelect
label="Phòng ban"
label="Подразделение"
horizontal
:value.sync="user.department_id"
:options="departments"
@@ -45,7 +45,7 @@
<CFormGroup class="form-group form-row">
<template #label>
<slot name="label">
<label class="col-form-label col-sm-3">Kích hoạt</label>
<label class="col-form-label col-sm-3">Активирован</label>
</slot>
</template>
<template #input>

View File

@@ -1,21 +1,21 @@
<template>
<CCard>
<CCardHeader>
<strong>Thay đổi mật khẩu</strong>
<strong>Измененить пароль</strong>
</CCardHeader>
<CCardBody>
<CForm>
<CInput placeholder="Nhập mật khẩu." label="Mật khẩu" type="password" horizontal />
<CInput placeholder="Вводите пароль." label="Пароль" type="password" horizontal />
<CInput
placeholder="Nhập mật khẩu mới."
label="Mật khẩu mới"
placeholder="Вводите новый пароль."
label="Новый пароль"
type="password"
:value.sync="password.password"
horizontal
/>
<CInput
placeholder="Nhập lại mật khẩu mới."
label="Xác nhận"
placeholder="Подтверждение пароля."
label="Подтверждить"
type="password"
:value.sync="password.password_confirmation"
horizontal

View File

@@ -1,7 +1,7 @@
<template>
<CCard>
<CCardHeader>
<strong>Phân quyền</strong>
<strong>Право</strong>
</CCardHeader>
<CCardBody>
<CForm>

View File

@@ -1,7 +1,7 @@
<template>
<CRow class="form-group">
<CCol sm="12">
<label>Phân theo chức năng</label>
<label>По функциям</label>
<treeselect
@select="addPermission"
@deselect="removePermission"

View File

@@ -1,7 +1,7 @@
<template>
<CRow class="form-group">
<CCol sm="12">
<label>Phân theo nhóm</label>
<label>По группам</label>
<treeselect
@select="addRole"
@deselect="removeRole"

View File

@@ -5,11 +5,11 @@
color="info"
@click="goProfile"
variant="outline"
v-c-tooltip="'Thông tin cá nhân'"
v-c-tooltip="'Персональная информация'"
>
<CIcon name="cil-user" class="m-0" />
</CButton>
<CButton size="sm" color="danger" @click="logout" variant="outline" v-c-tooltip="'Đăng xuất'">
<CButton size="sm" color="danger" @click="logout" variant="outline" v-c-tooltip="'Выход'">
<CIcon name="cil-power-standby" class="m-0" />
</CButton>
</div>

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@ export default [
_children: [
{
_name: 'CSidebarNavItem',
name: 'Trang chủ',
name: 'Домашняя страница',
to: '/dashboard',
icon: 'cil-home',
},

View File

@@ -162,7 +162,7 @@ function configRoutes () {
{
path: '/',
redirect: '/dashboard',
name: 'Trang chủ',
name: 'Домашняя страница',
component: TheContainer,
meta: {
authRequired: true
@@ -176,7 +176,7 @@ function configRoutes () {
{
path: 'books',
meta: {
label: 'Sổ văn bản',
label: 'Документы',
},
component: {
render(c) {
@@ -186,17 +186,17 @@ function configRoutes () {
children: [
{
path: '',
name: 'Sổ văn bản',
name: 'Документы',
component: Books
},
{
path: ':book',
name: 'Chi tiết sổ',
name: 'Детали',
component: Documents,
children: [
{
path: 'documents',
name: 'Danh sách văn bản',
name: 'Книга',
component: Documents,
},
]
@@ -207,7 +207,7 @@ function configRoutes () {
{
path: 'documents',
meta: {
label: 'Văn bản',
label: 'Документ',
},
component: {
render(c) {
@@ -217,17 +217,17 @@ function configRoutes () {
children: [
{
path: '',
name: 'Danh sách',
name: 'Список',
component: Documents
},
{
path: 'create',
name: 'Tạo mới',
name: 'Создать новый',
component: DocumentCreate
},
{
path: ':document',
name: 'Chi tiết',
name: 'Деталь',
component: Document,
},
]
@@ -235,7 +235,7 @@ function configRoutes () {
// Statistic
{
path: 'statistic',
name: 'Thống kê',
name: 'Статистическая',
component: Statistic
},
@@ -279,14 +279,14 @@ function configRoutes () {
path: 'me',
name: 'Profile',
meta: {
label: 'Cá nhân'
label: 'Личный кабинет'
},
component: Me
},
{
path: 'users',
meta: {
label: 'Người dùng'
label: 'Пользователь'
},
component: {
render(c) {
@@ -296,13 +296,13 @@ function configRoutes () {
children: [
{
path: '',
name: 'Danh sách',
name: 'Список',
component: Users
},
{
path: 'create',
meta: {
label: 'Tạo mới'
label: 'Создать новый'
},
name: 'Create User',
component: CreateUser
@@ -310,7 +310,7 @@ function configRoutes () {
{
path: ':id',
meta: {
label: 'Chi tiết'
label: 'Деталь'
},
name: 'User',
component: User
@@ -319,37 +319,37 @@ function configRoutes () {
},
{
path: 'titles',
name: 'Chức danh',
name: 'Должность',
component: Titles
},
{
path: 'departments',
name: 'Phòng ban',
name: 'Подразделение',
component: Departments
},
{
path: 'signers',
name: 'Người ký',
name: 'Подписал',
component: Signers
},
{
path: 'publishers',
name: 'Nơi ban hành',
name: 'Место выдачи',
component: Publishers
},
{
path: 'document-types',
name: 'Loại văn bản',
name: 'Вид документа',
component: DocumentTypes
},
{
path: 'roles',
name: 'Nhóm',
name: 'Группа',
component: Groups
},
{
path: 'permissions',
name: 'Quyền',
name: 'Разрешение',
component: Permissions
},
{

View File

@@ -5,9 +5,9 @@
<CWidgetBrand
color="white"
:right-header="''+book.unread"
right-footer="Chưa xem"
right-footer="Непрочитанные"
:left-header="''+book.count"
left-footer="Đã nhận"
left-footer="Полученные"
>
<h3 style="color:#3c4b64" class="m-3">{{book.name}}</h3>
</CWidgetBrand>
@@ -17,7 +17,7 @@
<CCol col="12">
<CCard>
<CCardHeader>
<CIcon name="cil-grid" /> Văn bản gần đây
<CIcon name="cil-grid" /> Недавно смотреть
</CCardHeader>
<CCardBody class="p-0">
<CDataTable
@@ -83,14 +83,14 @@ export default {
},
fields() {
return [
{ key: "symbol", label: "Số ký hiệu" },
{ key: "symbol", label: "Номер регистрации" },
{
key: "abstract",
label: "Trích yếu",
label: "Краткое содержание",
_classes: "w-50 font-weight-bold",
},
{ key: "type", label: "Loại" },
{ key: "book", label: "Sổ" },
{ key: "type", label: "Тип документа" },
{ key: "book", label: "Книга" },
];
},
highlightStyle() {

View File

@@ -3,14 +3,14 @@
<CCol col="12">
<CCard>
<CCardHeader>
<CIcon name="cil-grid" />Danh sách văn bản
<CIcon name="cil-grid" />Книга
<CButton
size="sm"
@click="goCreate"
class="float-right"
color="primary"
variant="outline"
v-c-tooltip="'Tạo mới'"
v-c-tooltip="'Создать новый'"
>
<CIcon name="cil-plus" />
</CButton>
@@ -137,36 +137,36 @@ export default {
},
fields() {
return [
{ key: "symbol", label: "Số ký hiệu" },
{ key: "symbol", label: "Номер регистрации" },
{
key: "abstract",
label: "Trích yếu",
label: "Краткое содержание",
_classes: "w-50 font-weight-bold",
},
{ key: "type", label: "Loại" },
{ key: "publisher", label: "Nơi ban hành" },
{ key: "type", label: "Тип документа" },
{ key: "publisher", label: "Место выдачи" },
{
key: "effective_at",
label: this.isDocumentsIncome ? "Ngày nhận" : "Ngày ban hành",
label: this.isDocumentsIncome ? "Дата получения" : "Дата выдачи",
},
];
},
searchFields() {
return [
{ value: "symbol", label: "Số ký hiệu" },
{ value: "abstract", label: "Trích yếu" },
{ value: "type.name", label: "Loại" },
{ value: "creator.name", label: "Người soạn" },
{ value: "signer.name", label: "Người ký" },
{ value: "symbol", label: "Номер регистрации" },
{ value: "abstract", label: "Краткое содержание" },
{ value: "type.name", label: "Тип документа" },
{ value: "creator.name", label: "Создатель" },
{ value: "signer.name", label: "Подписал" },
{
value: "effective_at",
label: this.isDocumentsIncome ? "Ngày nhận" : "Ngày ban hành",
label: this.isDocumentsIncome ? "Дата получения" : "Дата выдачи",
},
{ value: "sign_at", label: "Ngày ký" },
{ value: "publisher.name", label: "Nơi ban hành" },
{ value: "organizes.name", label: "Nơi nhận" },
{ value: "linkTo.symbol", label: "Liên kết văn bản đến" },
{ value: "receivers.seen", label: "Chưa xem", defaultValue: 0 },
{ value: "sign_at", label: "Дата подписания" },
{ value: "publisher.name", label: "Место выдачи" },
{ value: "organizes.name", label: "Место получения" },
{ value: "linkTo.symbol", label: "Разрешении входящие документы" },
{ value: "receivers.seen", label: "Непрочитанные", defaultValue: 0 },
];
},
highlightStyle() {

View File

@@ -6,7 +6,7 @@
<CCard class="p-4 px-5">
<CCardBody>
<CForm>
<h1 class="pb-4">Đăng nhập</h1>
<h1 class="pb-4">Войти</h1>
<CAlert :show="!!error" color="warning">{{error}}</CAlert>
<CInput autocomplete="email" placeholder="Email or Username..." v-model="email" required>
<template #prepend-content>
@@ -25,10 +25,10 @@
</CInput>
<CRow>
<CCol col="6" class="text-left">
<CButton color="primary" @click="login">Đăng nhập</CButton>
<CButton color="primary" @click="login">Войти</CButton>
</CCol>
<CCol col="6" class="text-right">
<CButton color="link">Quên mật khẩu?</CButton>
<CButton color="link">Забыли пароль?</CButton>
</CCol>
</CRow>
</CForm>
@@ -56,11 +56,11 @@ export default {
.dispatch("auth/login", { email: this.email, password: this.password })
.then(response => {
this.$router.push(
this.$route.query.redirectFrom || { name: "Trang chủ" }
this.$route.query.redirectFrom || { name: "Домашняя страница" }
);
})
.then(response => {
this.$toast.success("Đăng nhập thành công");
this.$toast.success("Успешно войти");
})
.catch(error => {
this.toastHttpError(error);

View File

@@ -1,7 +1,7 @@
<template>
<CCard>
<CCardHeader>
<strong>Thống </strong>
<strong>Статистическая</strong>
</CCardHeader>
<CCardBody>
<CForm>
@@ -10,7 +10,7 @@
<CFormGroup class="form-group mb-0">
<template #label>
<slot name="label">
<label>Sổ văn bản</label>
<label>Документы</label>
</slot>
</template>
<template #input>
@@ -19,7 +19,7 @@
:multiple="false"
:options="books"
:clearable="true"
placeholder="Tất cả"
placeholder="Все"
></treeselect>
</template>
</CFormGroup>
@@ -28,7 +28,7 @@
<CFormGroup class="form-group mb-0">
<template #label>
<slot name="label">
<label>Loại văn bản</label>
<label>Вид документа</label>
</slot>
</template>
<template #input>
@@ -37,7 +37,7 @@
:multiple="false"
:options="types"
:clearable="true"
placeholder="Tất cả"
placeholder="Все"
></treeselect>
</template>
</CFormGroup>
@@ -45,10 +45,10 @@
</CRow>
<CRow class="form-group">
<CCol sm="6">
<CInput label="Từ ngày" type="date" :value.sync="statistic.from" class="mb-0" />
<CInput label="с" type="date" :value.sync="statistic.from" class="mb-0" />
</CCol>
<CCol sm="6">
<CInput label="Đến ngày" type="date" :value.sync="statistic.to" class="mb-0" />
<CInput label="по" type="date" :value.sync="statistic.to" class="mb-0" />
</CCol>
</CRow>
<CRow class="form-group" v-if="false">
@@ -66,7 +66,7 @@
</CCardBody>
<CCardFooter>
<CButton size="sm" @click="download" class="float-right" color="success">
<CIcon name="cil-vertical-align-bottom" />Xuất
<CIcon name="cil-vertical-align-bottom" />Export
</CButton>
</CCardFooter>
</CCard>
@@ -129,7 +129,7 @@ export default {
services.statistic
.download(this.statistic)
.then(response => {
this.$toast.success("Đã xuất báo cáo");
this.$toast.success("Exported báo cáo");
})
.catch(error => {
this.toastHttpError(error);

View File

@@ -18,11 +18,11 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" }
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" }
],
service: services.book,
title: "Sổ văn bản"
title: "Документы"
};
}
};

View File

@@ -18,12 +18,12 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" },
{ key: "tel", label: "Số điện thoại" }
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" },
{ key: "tel", label: "Номер телефон" }
],
service: services.department,
title: "Phòng ban"
title: "Подразделение"
};
}
};

View File

@@ -18,11 +18,11 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" },
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" },
],
service: services.documentType,
title: "Loại văn bản"
title: "Вид документа"
};
}
};

View File

@@ -8,7 +8,7 @@
@show="fetchRolePermissions"
>
<template #append-body>
<label>Quyền</label>
<label>Разрешение</label>
<treeselect
@select="addPermission"
@deselect="removePermission"
@@ -38,11 +38,11 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" },
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" },
],
service: services.role,
title: "Nhóm",
title: "Группа",
permissionOptions: [],
permissions: [],
role: {}

View File

@@ -18,11 +18,11 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" }
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" }
],
service: services.permission,
title: "Quyền"
title: "Разрешение"
};
}
};

View File

@@ -18,11 +18,11 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" },
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" },
],
service: services.publisher,
title: "Nơi ban hành"
title: "Место выдачи"
};
}
};

View File

@@ -18,12 +18,12 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" },
{ key: "description", label: "Mô tả" }
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" },
{ key: "description", label: "Описание" }
],
service: services.signer,
title: "Người ký"
title: "Подписал"
};
}
};

View File

@@ -18,11 +18,11 @@ export default {
data() {
return {
fields: [
{ key: "id", label: "" },
{ key: "name", label: "Tên" }
{ key: "id", label: "Код" },
{ key: "name", label: "Имя" }
],
service: services.title,
title: "Chức danh"
title: "Должность"
};
}
};

Some files were not shown because too many files have changed in this diff Show More