diff --git a/src/components/drawerDialog/index.vue b/src/components/drawerDialog/index.vue index 2842fe1..a83b70e 100644 --- a/src/components/drawerDialog/index.vue +++ b/src/components/drawerDialog/index.vue @@ -251,6 +251,7 @@ @current-change="rowClick" > + - + @@ -232,7 +232,6 @@ import Pagination from '@/components/Pagination' import Utils from '../../utils/contact.js' import { getOwnList, terminateRenwu, completeRenwuFn } from '@/api/renwu' import { cancelRenwuFn } from '@/api/common' -import { mapGetters } from 'vuex' import Enclosure from '@/views/common/Enclosure' export default { name: 'MyTask', @@ -291,23 +290,17 @@ export default { isSysUser: this.$store.getters.clientType === 'System' } }, - filters: { - screen(value) { - console.log(value,254444) - return value.charAt(0).toUpperCase() + value.slice(1) - } -}, + computed: { + // 使用对象展开运算符将 getter 混入 computed 对象中 + searchNblbList() { + return this.$store.getters.allCategory.filter(row => row.parentId) + } + }, created() { this.getList() this.getSbList(undefined, undefined, 1) this.jylbList = this.$store.getters.allCategory }, - computed: { - // 使用对象展开运算符将 getter 混入 computed 对象中 - searchNblbList(){ - return this.$store.getters.allCategory - } - }, mounted() { const that = this this.common.$on('task-list', function() { diff --git a/src/views/ysjl/3000/common/inspection-items.vue b/src/views/ysjl/3000/common/inspection-items.vue index ce57d39..d059ae6 100644 --- a/src/views/ysjl/3000/common/inspection-items.vue +++ b/src/views/ysjl/3000/common/inspection-items.vue @@ -1,4 +1,3 @@ -