From be10d49922400ca9d08ecf412ed4c1ceb2e2d1d7 Mon Sep 17 00:00:00 2001 From: xiaobai <857694115@qq.com> Date: Mon, 16 Aug 2021 15:02:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E6=94=B9=E5=8E=9F=E5=A7=8B=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E9=99=84=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/views/task/list.vue | 17 +++++- src/views/ysjl/3000/dj/common/zdftFb.vue | 8 +-- src/views/ysjl/3000/jj/zdft/index.vue | 73 ++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 7 deletions(-) create mode 100644 src/views/ysjl/3000/jj/zdft/index.vue diff --git a/.env.development b/.env.development index 49cdc66..9ee891d 100644 --- a/.env.development +++ b/.env.development @@ -4,10 +4,10 @@ VUE_APP_PROJECT_NAME = 'SJJY' # 微服务IP -VUE_APP_SERVER_ADDRESS = '192.168.1.130' +VUE_APP_SERVER_ADDRESS = 'test.sdma.mingansei.com' # 微服务地址 -VUE_APP_SERVER_API = 'http://${VUE_APP_SERVER_ADDRESS}:9100' +VUE_APP_SERVER_API = 'http://${VUE_APP_SERVER_ADDRESS}' # 省局数据后台IP VUE_APP_SJ_BASE_IP_ADDRESS = '192.168.1.130' diff --git a/src/views/task/list.vue b/src/views/task/list.vue index f86054e..4b67df9 100644 --- a/src/views/task/list.vue +++ b/src/views/task/list.vue @@ -31,6 +31,9 @@ + + + @@ -229,7 +232,7 @@ 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', @@ -288,11 +291,23 @@ export default { isSysUser: this.$store.getters.clientType === 'System' } }, + filters: { + screen(value) { + console.log(value,254444) + return value.charAt(0).toUpperCase() + value.slice(1) + } +}, 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/dj/common/zdftFb.vue b/src/views/ysjl/3000/dj/common/zdftFb.vue index b7fe5fd..6a83677 100644 --- a/src/views/ysjl/3000/dj/common/zdftFb.vue +++ b/src/views/ysjl/3000/dj/common/zdftFb.vue @@ -1,7 +1,7 @@