diff --git a/back/src/mixins/process-module.js b/back/src/mixins/process-module.js index 0d303cd2..95fc3287 100644 --- a/back/src/mixins/process-module.js +++ b/back/src/mixins/process-module.js @@ -47,20 +47,31 @@ export default { } }, // 获取流程定义的表单路由配置信息 - getProcDefRouteSet (data, callback) { - this.$http.get(`/act/process/getProcDefBizRoute/${data.processDefinitionId}`).then(({ data: res }) => { - if (res.code !== 0) { - return this.$message.error(res.msg) + getProcDefRouteSet (data, callback, str) { + if (data.resourceName && !data.processDefinitionId) { + switch (str) { + case '待办': + this.$router.push({ name: 'activiti-RoomExamineAdmin' }) + break + case '已办': + this.$router.push({ name: 'activiti-RoomExamineAdminDone' }) + break } - if (!res.data || !res.data.bizRoute) { - return this.$message.error(this.$t('process.routeError')) - } - var param = { - ...data, - ...res.data - } - callback(param) - }).catch(() => { }) + } else { + this.$http.get(`/act/process/getProcDefBizRoute/${data.processDefinitionId}`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + if (!res.data || !res.data.bizRoute) { + return this.$message.error(this.$t('process.routeError')) + } + var param = { + ...data, + ...res.data + } + callback(param) + }).catch(() => { }) + } }, getProcDefBizRouteAndProcessInstance (params, callback) { this.$http.get('/act/process/getProcDefBizRouteAndProcessInstance', { diff --git a/back/src/views/modules/ability/bsabilityai.vue b/back/src/views/modules/ability/bsabilityai.vue index 53dd6b22..b0af3265 100644 --- a/back/src/views/modules/ability/bsabilityai.vue +++ b/back/src/views/modules/ability/bsabilityai.vue @@ -300,7 +300,9 @@ export default { infoList: [], delFlag: 0, type: '组件服务', - name: '' + name: '', + deptIds: [], + region: true }, // qp: false, // 关联应用弹窗 @@ -326,7 +328,7 @@ export default { this.dataForm.name = '' this.dataForm.type = '组件服务' this.$http.get('/sys/user/info').then(res => { - console.log('res', res.data.data) + console.log('res', res.data.data, !res.data.data.superAdmin, this.$store.state.user.roleIdList) this.superAdmin = res.data.data.superAdmin }) }, @@ -391,7 +393,9 @@ export default { infoList: [], delFlag: 0, type: '组件服务', - name: '' + name: '', + deptIds: [], + region: true } ) .then(({ data: res }) => { @@ -546,7 +550,9 @@ export default { infoList: [], delFlag: 0, type: '组件服务', - name: names + name: names, + deptIds: [], + region: true } ) .then(({ data: res }) => { diff --git a/back/src/views/modules/ability/bsabilityservice.vue b/back/src/views/modules/ability/bsabilityservice.vue index a9886b3c..1a90ce73 100644 --- a/back/src/views/modules/ability/bsabilityservice.vue +++ b/back/src/views/modules/ability/bsabilityservice.vue @@ -260,7 +260,8 @@ export default { creator: '', selectType: 0, delFlag: 0, - type: '应用资源' + type: '应用资源', + region: true }, qp: false, relateApplicationResourceVisible: false, @@ -319,7 +320,8 @@ export default { delFlag: 0, creator: '', type: '应用资源', - name: '' + name: '', + region: true }) ) .then(({ data: res }) => { @@ -405,7 +407,8 @@ export default { creator: '', selectType: 0, delFlag: 0, - name: names + name: names, + region: true }) ) .then(({ data: res }) => { diff --git a/back/src/views/modules/myAgent/CompetencyApplication.vue b/back/src/views/modules/myAgent/CompetencyApplication.vue index 941afd35..bfb11a81 100644 --- a/back/src/views/modules/myAgent/CompetencyApplication.vue +++ b/back/src/views/modules/myAgent/CompetencyApplication.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-06-27 11:27:22 * @LastEditors: Light - * @LastEditTime: 2022-12-06 10:18:28 + * @LastEditTime: 2022-12-15 10:28:03 * @Description: 能力申请 --> diff --git a/front/src/views/home/integrationServices.vue b/front/src/views/home/integrationServices.vue index f0d84e89..b9f8efb6 100644 --- a/front/src/views/home/integrationServices.vue +++ b/front/src/views/home/integrationServices.vue @@ -121,6 +121,7 @@ const pageSizeOptions = ref(['2', '5', '10', '20', '50']) const router = useRouter() const select = router.currentRoute.value.query.select + const returnType = router.currentRoute.value.query.returnType const searchValue = ref('') const Cardsname = ref(select) const resourceList = reactive({ data: [] }) @@ -290,11 +291,22 @@ } onMounted(() => { - if (storageSearchInfo) { + if(returnType=='典型赋能场景'){ + changeCards(0) + }else if(returnType=='打包模式'){ + changeCards(1) + }else{ + if (storageSearchInfo) { handleSetSearchData() } else { getIntegrationList() } + } + // if (storageSearchInfo) { + // handleSetSearchData() + // } else { + // getIntegrationList() + // } }) return { @@ -312,6 +324,7 @@ loading, titleName, changeCards, + returnType, number, loadingData, onShowSizeChange, @@ -366,7 +379,7 @@ height: 17px; background: url('~@/assets/home/searchInner.png'); position: absolute; - top: 139px; + top: 119px; left: 500px; } } diff --git a/front/src/views/home/integrationServicesDetails.vue b/front/src/views/home/integrationServicesDetails.vue index e331b162..8ca335e1 100644 --- a/front/src/views/home/integrationServicesDetails.vue +++ b/front/src/views/home/integrationServicesDetails.vue @@ -2,7 +2,7 @@