diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 0e6fde52c..929183694 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -653,7 +653,7 @@ if (res.type) { this.columns.push({ dataIndex: res.db_field_name, - align: 'center', + align: 'left', ellipsis: true, sorter: res.sort, width: 500 @@ -669,7 +669,7 @@ this.columns.push({ title: res.db_field_txt, dataIndex: res.db_field_name, - align: 'center', + align: 'left', // ellipsis: true, fixed: res.click5 ? 'left' : '', sorter: res.sort, diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 7207a8b67..75e5b15d9 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -44,6 +44,7 @@ + @@ -103,6 +105,10 @@ :fieldList="fieldList"/> {{$t('query')}} {{$t('reset')}} + + {{ !toggleSearchStatus ? $t('open') : $t('away') }} + + @@ -545,6 +551,7 @@ // R&H Manager manager // 系统管理员 admin // 游客 guest + toggleSearchStatus: false, columns: [ { title: this.$t('title'), @@ -719,6 +726,9 @@ }, methods: { ...mapGetters(['userInfo']), + handleToggleSearch() { + this.toggleSearchStatus = !this.toggleSearchStatus + }, handleCancelRoleSwitching() { this.visibleRoleSwitching = false }, diff --git a/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue b/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue index c9c06c08c..3ef7d1afb 100644 --- a/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue +++ b/jero-web/src/views/toDoCenter/projectParameterTasks/index.vue @@ -101,21 +101,21 @@ columns: [ { title: this.$t('RelatedItems'), - align: 'center', + align: 'left', dataIndex: 'projectName', ellipsis: true, width: 170 }, { title: this.$t('ListTitle'), - align: 'center', + align: 'left', dataIndex: 'title', ellipsis: true, width: 170 }, { title: this.$t('relatedVersion'), - align: 'center', + align: 'left', dataIndex: 'version', ellipsis: true, width: 170, @@ -123,7 +123,7 @@ }, { title: this.$t('completednum'), - align: 'center', + align: 'left', dataIndex: 'waitFillNum', ellipsis: true, width: 170, @@ -131,7 +131,7 @@ }, { title: this.$t('filledBynum'), - align: 'center', + align: 'left', dataIndex: 'waitSdtNum', ellipsis: true, width: 170, @@ -139,7 +139,7 @@ }, { title: this.$t('parameterToBeInitiatednum'), - align: 'center', + align: 'left', dataIndex: 'waitCollectNum', ellipsis: true, width: 170,