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: 能力申请
-->
@@ -83,11 +83,22 @@
+
+ {{
+ scope.row.assigneeName + (scope.row.synergism ? '('+scope.row.auditTeamName+')':'')
+ }}
+
+
+
下载
@@ -362,6 +364,7 @@
xhr.responseType = 'blob'
xhr.send()
xhr.onload = function () {
+ console.log('下载', path, this.status, navigator)
if (this.status === 200 || this.status === 304) {
// 如果是IE10及以上,不支持download属性,采用msSaveOrOpenBlob方法,但是IE10以下也不支持msSaveOrOpenBlob
if ('msSaveOrOpenBlob' in navigator) {
@@ -379,6 +382,8 @@
a.click()
document.body.removeChild(a)
URL.revokeObjectURL(url)
+ } else {
+ message.warning('下载失败')
}
}
}
diff --git a/front/src/views/home/components/CanAssignCase.vue b/front/src/views/home/components/CanAssignCase.vue
index 9070763f..a3b8676d 100644
--- a/front/src/views/home/components/CanAssignCase.vue
+++ b/front/src/views/home/components/CanAssignCase.vue
@@ -58,6 +58,7 @@ function toView(item) {
path: '/integrationServicesDetails',
query: {
id: item.id,
+ type:'典型赋能场景'
},
})
}
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 851592a9..2b51a89d 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -557,6 +557,7 @@
justify-content: center;
.img {
+ cursor: pointer;
width: 0.3rem;
height: 0.3rem;
border-radius: 0.1rem;
diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue
index e5f91849..75ae67f6 100644
--- a/front/src/views/home/components/searchResultList.vue
+++ b/front/src/views/home/components/searchResultList.vue
@@ -627,6 +627,7 @@
path: '/integrationServicesDetails',
query: {
id: item.id,
+ type:'打包模式'
},
})
} else {
diff --git a/front/src/views/home/detailBack.vue b/front/src/views/home/detailBack.vue
index ffb21602..6caeb975 100644
--- a/front/src/views/home/detailBack.vue
+++ b/front/src/views/home/detailBack.vue
@@ -17,66 +17,79 @@
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 @@