diff --git a/src/components/user-select/index.vue b/src/components/user-select/index.vue index 073951c..92e437c 100644 --- a/src/components/user-select/index.vue +++ b/src/components/user-select/index.vue @@ -29,17 +29,18 @@ export default { dataList: [] } }, - watch: { - deptId(newVal, oldval) { - if (newVal) { - this.getDataList() - } else { - this.dataList = [] - } - } - }, + // watch: { + // deptId(newVal, oldval) { + // if (newVal) { + // this.getDataList() + // } else { + // this.dataList = [] + // } + // } + // }, mounted() { this.getDataList() + this.getDataList() }, methods: { // 添加项目时,获取人员列表 diff --git a/src/page-subspecialty/router/index.js b/src/page-subspecialty/router/index.js index 22f3f59..214bfdb 100644 --- a/src/page-subspecialty/router/index.js +++ b/src/page-subspecialty/router/index.js @@ -74,7 +74,7 @@ export const moduleRoutes = { { path: '/subjectMgt', name: 'subjectMgt', - meta: { title: '样本库', isTab: true }, + meta: { title: '科研工作台 / 课题 / 课题列表', isTab: true }, component: () => import('@/page-subspecialty/views/modules/scientificManagement/subjectMgt/index') }, { diff --git a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/log/index.vue b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/log/index.vue index 0f63a2e..6a249d0 100644 --- a/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/log/index.vue +++ b/src/page-subspecialty/views/modules/scientificManagement/subjectMgt/log/index.vue @@ -5,10 +5,9 @@ - - - - + + + {{ $t('query') }} @@ -21,14 +20,12 @@ style="width: 100%;" @sort-change="dataListSortChangeHandle" > - - - - - - + + + + + - { // console.log(item, item.response.data.filePath[0]) @@ -303,9 +301,7 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function() { - console.log(123) this.$refs.dataForm.validate((valid) => { - console.log(valid) if (!valid) { return false } this.$http[!this.dataForm.id ? 'post' : 'put']('/project', this.dataForm) .then(({ data: res }) => {