diff --git a/src/api/business/study/study.js b/src/api/business/study/study.js
new file mode 100644
index 0000000..da26c50
--- /dev/null
+++ b/src/api/business/study/study.js
@@ -0,0 +1,33 @@
+import request from '@/utils/request'
+
+export function study_list(query) {
+ return request({
+ url: '/system/business/study/list',
+ method: 'get',
+ params: query
+ })
+}
+
+export function study_info(query) {
+ return request({
+ url: '/system/business/study/info',
+ method: 'get',
+ params: query
+ })
+}
+
+export function study_save(data) {
+ return request({
+ url: '/system/business/study/save',
+ method: 'post',
+ data: data
+ })
+}
+
+export function study_delete(data) {
+ return request({
+ url: '/system/business/study/delete',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/lang/en.js b/src/lang/en.js
index c46de33..86626f2 100644
--- a/src/lang/en.js
+++ b/src/lang/en.js
@@ -10,6 +10,9 @@ import user from './en/system/user'
// 模板管理
import template from './en/system/template'
+// 试验管理
+import study from './en/business/study/study'
+
//资源库管理
// 仪器管理
import yq from './en/business/resource/yq/yq'
@@ -123,7 +126,8 @@ export default {
mjy,
yq,
sj
- }
+ },
+ study: study
}
}
}
diff --git a/src/lang/en/business/study/study.js b/src/lang/en/business/study/study.js
new file mode 100644
index 0000000..1bb4762
--- /dev/null
+++ b/src/lang/en/business/study/study.js
@@ -0,0 +1,39 @@
+export default {
+ name: 'Study Name',
+ sn: 'Study ID',
+ dateRange: 'Date Range',
+ status: 'Status',
+ startDate: 'Start Date',
+ endDate: 'End Date',
+
+ leader: 'Study Director',
+ add: 'Create',
+ sort: 'Num',
+ borrowStatus: 'Check-out Status',
+ formCount: 'Records',
+ formFinishCount: 'Completed Records',
+ createDate: 'Creation Date',
+ remark: 'Remark',
+
+ statusCg: 'Draft',
+ statusSyz: 'On-going',
+ statusYsd: 'Locked',
+ statusDgd: 'Pending Archiving',
+ statusGd: 'Archived',
+ statusDjd: 'Pending De-archiving',
+
+ borrowStatusWjy: '未借阅',
+ borrowStatusJyz: 'In Review',
+ borrowStatusDjy: 'Pending Review',
+
+ edit: 'Edit',
+ enter: 'Enter',
+ delete: 'Remove',
+ detail: 'Detail',
+ gd: 'Archive',
+ jy: 'Check out',
+ jd: 'De-archive',
+ js: 'Unlock',
+
+ notEmpty: ' Can Not Be Empty'
+}
diff --git a/src/lang/zh.js b/src/lang/zh.js
index 66a3afe..deb8d07 100644
--- a/src/lang/zh.js
+++ b/src/lang/zh.js
@@ -10,6 +10,9 @@ import user from './zh/system/user'
// 模板管理
import template from './zh/system/template'
+// 试验管理
+import study from './zh/business/study/study'
+
//资源库管理
// 仪器管理
import yq from './zh/business/resource/yq/yq'
@@ -120,7 +123,8 @@ export default {
mjy,
yq,
sj
- }
+ },
+ study: study
}
}
}
diff --git a/src/lang/zh/business/study/study.js b/src/lang/zh/business/study/study.js
new file mode 100644
index 0000000..90a0bad
--- /dev/null
+++ b/src/lang/zh/business/study/study.js
@@ -0,0 +1,39 @@
+export default {
+ name: '试验名称',
+ sn: '试验编号',
+ dateRange: '试验时间范围',
+ status: '试验状态',
+ startDate: '开始时间',
+ endDate: '结束时间',
+
+ leader: '负责人',
+ add: '新增试验',
+ sort: '序号',
+ borrowStatus: '借阅状态',
+ formCount: '试验表单数',
+ formFinishCount: '试验完成表单数',
+ createDate: '创建时间',
+ remark: '试验简述',
+
+ statusCg: '草稿',
+ statusSyz: '试验中',
+ statusYsd: '已锁定',
+ statusDgd: '待归档',
+ statusGd: '归档',
+ statusDjd: '待解档',
+
+ borrowStatusWjy: '未借阅',
+ borrowStatusJyz: '借阅中',
+ borrowStatusDjy: '待借阅',
+
+ edit: '编辑',
+ enter: '进入试验',
+ delete: '删除',
+ detail: '详情',
+ gd: '归档',
+ jy: '借阅',
+ jd: '解档',
+ js: '解锁',
+
+ notEmpty: '不能为空'
+}
diff --git a/src/views/business/study/list.vue b/src/views/business/study/list.vue
new file mode 100644
index 0000000..8a71410
--- /dev/null
+++ b/src/views/business/study/list.vue
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('form.search') }}
+ {{ $t('form.reset') }}
+
+
+
+
+
+ {{ $t('page.business.study.add') }}
+
+
+
+
+
+
+
+
+
+ {{$t('page.business.study.statusCg')}}
+ {{$t('page.business.study.statusSyz')}}
+ {{$t('page.business.study.statusYsd')}}
+ {{$t('page.business.study.statusDgd')}}
+ {{$t('page.business.study.statusGd')}}
+ {{$t('page.business.study.statusDjd')}}
+
+
+
+
+
+ {{$t('page.business.study.borrowStatusWjy')}}
+ {{$t('page.business.study.borrowStatusJyz')}}
+ {{$t('page.business.study.borrowStatusDjy')}}
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('page.business.study.edit')}}
+
+ {{$t('page.business.study.delete')}}
+
+ {{$t('page.business.study.detail')}}
+
+ {{$t('page.business.study.enter')}}
+
+ {{$t('page.business.study.gd')}}
+
+ {{$t('page.business.study.js')}}
+
+ {{$t('page.business.study.jd')}}
+
+ {{$t('page.business.study.jy')}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 6784580..b65007a 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -239,7 +239,7 @@
show-checkbox
ref="menu"
node-key="id"
- :check-strictly="!form.menuCheckStrictly"
+ :check-strictly="false"
empty-text="loading"
:props="defaultProps"
>