diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index 704e4c78..bc35e440 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -27,7 +27,7 @@ 日期: + end-placeholder="结束日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd"> @@ -43,7 +43,8 @@ - 部门名称: + 上架部门: + 申请部门: - + 类型: - + + + + + + @@ -129,9 +135,9 @@ - + - + @@ -148,14 +154,14 @@ - + - + - + @@ -342,11 +348,19 @@ export default { typeOptions: [ { name: '智能算法', value: 1 }, { name: '图层服务', value: 2 }, - { name: '通用开发组件', value: 3 }, - { name: '页面开发组件', value: 4 }, + { name: '开发组件', value: 3 }, + { name: '业务组件', value: 4 }, { name: '应用资源', value: 5 }, { name: '会议室', value: 6 } ], // 类型备选列表 + typeOptions1: [//能力上架隐藏会议室 + { name: '智能算法', value: 1 }, + { name: '图层服务', value: 2 }, + { name: '开发组件', value: 3 }, + { name: '业务组件', value: 4 }, + { name: '应用资源', value: 5 }, + + ], // 类型备选列表 detailFlag: false, // 明细返回按钮显示标志位 startDate: '', // 开始时间 endDate: '' // 结束时间 @@ -462,6 +476,7 @@ export default { this.$http .get('/census/center/selectDeptDetailTypeCountList/', { params: { + type: this.abilityType, page: page || 1, limit: 5, approveStatus: this.status, @@ -527,6 +542,7 @@ export default { this.$http .get('/census/center/selectApplyDeptDetailTypeCountList', { params: { + type: this.abilityType, page: page || 1, limit: this.pageSize, approveStatus: this.status, @@ -702,6 +718,7 @@ export default { limit: 5, // page: page || 1, approveStatus: '', + type: '', deptId: '', params: '', startDate: '' @@ -881,8 +898,8 @@ export default { // 点击查询按钮查询数据 getDataList () { if (this.value1 && this.value1.length > 0) { - this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd HH:mm:ss') - this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd HH:mm:ss') + this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd') + this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd') } else { this.startDate = '' this.endDate = '' diff --git a/back/src/views/modules/myAgent/demo/competency-application.vue b/back/src/views/modules/myAgent/demo/competency-application.vue index 22c27afb..873a10ec 100644 --- a/back/src/views/modules/myAgent/demo/competency-application.vue +++ b/back/src/views/modules/myAgent/demo/competency-application.vue @@ -1,8 +1,8 @@ @@ -94,7 +94,7 @@ 退回 --> - {{ $t('process.entrustTask') }} + 转办 同意 驳回 ', item); console.log('typeText类型------------>', typeText); - // 是后台,跳转到后台相关页面 - if (typeText.indexOf('后台') !== -1) { - let _applyState = item.applyState - let _page = pageObj[typeText][_applyState] - window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`) - } else if (typeText.indexOf('前台') !== -1) { - if (typeText == '会议室前台') { - router.push({ - path: '/DetailsPageconetent', - query: { - select: '基础设施', - formPage: 'noticePage' - }, - }) - } else { + // "http://192.168.124.236:9796/#/personalCenter?tabTypeName=能力申请" + let _url = item.jumpUrl && item.jumpUrl.split('#') + let openType = '_self'; + // 如果是跳转到后台管理,重新打开页面 + if (typeText && typeText.indexOf('后台') !== -1) { + openType = '_blank' + } else { + if (_url[1] && _url[1].indexOf('personalCenter') !== -1) { window.sessionStorage.setItem('type', JSON.stringify('apply')) - router.push({ - path: '/personalCenter', - query: { - tabTypeName: tabTypeObj[typeText] || '能力申请', - } - }) } - } + window.open(item.jumpUrl, openType) + } + return; + // if (typeText) { + // console.log('typeText类型------------>', typeText); + // // 是后台,跳转到后台相关页面 + // if (typeText.indexOf('后台') !== -1) { + // let _applyState = item.applyState + // let _page = pageObj[typeText][_applyState] + // window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`) + // } else if (typeText.indexOf('前台') !== -1) { + // if (typeText == '会议室前台') { + // router.push({ + // path: '/DetailsPageconetent', + // query: { + // select: '基础设施', + // formPage: 'noticePage' + // }, + // }) + // } else { + // window.sessionStorage.setItem('type', JSON.stringify('apply')) + // router.push({ + // path: '/personalCenter', + // query: { + // tabTypeName: tabTypeObj[typeText] || '能力申请', + // } + // }) + // } + + // } + // } } // 更改消息状态