diff --git a/back/src/components/ren-process-detail/src/ren-process-detail.vue b/back/src/components/ren-process-detail/src/ren-process-detail.vue
index 6215354e..860655f2 100644
--- a/back/src/components/ren-process-detail/src/ren-process-detail.vue
+++ b/back/src/components/ren-process-detail/src/ren-process-detail.vue
@@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-04-11 16:30:04
* @LastEditors: Light
- * @LastEditTime: 2022-10-26 11:05:07
+ * @LastEditTime: 2022-12-13 11:10:46
* @Description: 告诉大家这是什么
-->
@@ -103,7 +103,7 @@ export default {
padding-left: 20px;
color: #212121;
font-size: 16px;
- margin-bottom: 10px;
+ margin-bottom: 10px;
margin-top: 10px;
background: url("~@/assets/img/biaoti.png") no-repeat;
background-position-y: 2px;
diff --git a/back/src/mixins/process-module.js b/back/src/mixins/process-module.js
index 14a06306..0d303cd2 100644
--- a/back/src/mixins/process-module.js
+++ b/back/src/mixins/process-module.js
@@ -14,19 +14,21 @@ export default {
var showType = this.$route.params.processShowType
this.processVisible = true
this.$nextTick(() => {
- if (this.$route.params.processDefinitionKey) {
+ if (this.$route.params.processDefinitionKey && this.$refs.renProcessMultiple) {
this.$refs.renProcessMultiple.dataForm.processDefinitionKey = this.$route.params.processDefinitionKey
}
- if (this.$route.params.taskId) {
+ if (this.$route.params.taskId && this.$refs.renProcessMultiple) {
this.$refs.renProcessMultiple.dataForm.taskId = this.$route.params.taskId
}
- if (this.$route.params.processInstanceId) {
+ if (this.$route.params.processInstanceId && this.$refs.renProcessMultiple) {
this.$refs.renProcessMultiple.dataForm.processInstanceId = this.$route.params.processInstanceId
}
- this.$refs.renProcessMultiple.dataForm.businessKey = this.$route.params.businessKey
- this.$refs.renProcessMultiple.showType = showType
- this.$refs.renProcessMultiple.parentObj = this
- this.$refs.renProcessMultiple.callbacks = callbacks
+ if (this.$refs.renProcessMultiple) {
+ this.$refs.renProcessMultiple.dataForm.businessKey = this.$route.params.businessKey
+ this.$refs.renProcessMultiple.showType = showType
+ this.$refs.renProcessMultiple.parentObj = this
+ this.$refs.renProcessMultiple.callbacks = callbacks
+ }
})
},
// 关闭当前窗口
diff --git a/back/src/views/main-sidebar.vue b/back/src/views/main-sidebar.vue
index f11275cf..46514640 100644
--- a/back/src/views/main-sidebar.vue
+++ b/back/src/views/main-sidebar.vue
@@ -1,8 +1,8 @@
@@ -88,12 +88,14 @@ export default {
} if (children.id == '1545313754106699777') { // 评论审核
children.total = Number(this.numObject.comment_review)
daibanNum = Number(daibanNum) + Number(children.total)
- } if (children.id == '1554294862931562498') { // 会客厅 暂无
- children.total = 0
+ } if (children.id == '1554294862931562498') { // 会客厅
+ // children.total = 0
+ children.total = Number(this.numObject.meetingroom_book)
daibanNum = Number(daibanNum) + Number(children.total)
}
}
menu.total = daibanNum
+ console.log('menu', menu)
}
}
this.$store.state.sidebarMenuList = menuList
diff --git a/back/src/views/modules/ability/knowledgeBase.vue b/back/src/views/modules/ability/knowledgeBase.vue
new file mode 100644
index 00000000..76dc4fbf
--- /dev/null
+++ b/back/src/views/modules/ability/knowledgeBase.vue
@@ -0,0 +1,568 @@
+
+
+
+
+
+
+
+
+
+ {{
+ $t('query')
+ }}
+
+
+ {{
+ $t('export')
+ }}
+
+
+ 上架
+
+
+ {{
+ $t('deleteBatch')
+ }}
+
+
+ 重置
+
+
+
+
+
+
+
+
+
+
+ {{ findValue(scope.row.infoList2, item.attrType) }}
+
+
+
+
+
+
+ {{ $t('update') }}
+ {{ $t('delete') }}
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue
index 4e9ed28a..5ba4e2af 100644
--- a/back/src/views/modules/abilityStatistics/index.vue
+++ b/back/src/views/modules/abilityStatistics/index.vue
@@ -12,12 +12,19 @@
-
- 上架部门:
- 申请部门:
+
+ 上架部门:
-
+
+
+
+ 申请部门:
+
+
+
@@ -192,7 +199,11 @@
-
+
+
+
+
+
@@ -265,6 +276,8 @@ export default {
checked: false,
provideSelects: [],
departmentSelects: [],
+ departmentSelects1: [],
+ provideSelects1:[],
exportExcel: CONFIGITEM.configData[CONFIGITEM.version].apiURL + '/census/center/export',
exportExcelCondition: '',
exportExcelType: '',
@@ -381,7 +394,9 @@ export default {
{ name: '开发组件', value: 3 },
{ name: '业务组件', value: 4 },
{ name: '应用资源', value: 5 },
- { name: '会客厅', value: 6 }
+ { name: '会客厅', value: 6 },
+ { name: '云资源', value: 7 },
+ { name: '云视频', value: 8 }
], // 类型备选列表
typeOptions1: [// 能力上架隐藏会客厅
{ name: '智能算法', value: 1 },
@@ -401,7 +416,9 @@ export default {
this.departmentSelects = []
this.provideSelects = []
res.data.data.map(val => {
- this.departmentSelects.push({ label: val.name, value: val.id })
+ this.departmentSelects.push({ label: val.name, value: val.name })
+ this.departmentSelects1.push({ label: val.name, value: val.id })
+ this.provideSelects1.push({ label: val.name, value: val.name })
this.provideSelects.push({ label: val.name, value: val.name })
})
})
@@ -451,7 +468,7 @@ export default {
this.detailsVisible = false
},
handleCurrentChange (val) {
- console.log('val------------>', val)
+
this.currentPage = val
// todo
if (this.departmentId === 3) {
@@ -461,41 +478,9 @@ export default {
this.getTwoDetail(val)
}
- // if (this.choseId === 0) {
- // this.getFirstTree(val)
- // } else if (this.choseId === 1) {
- // this.getReleaseTree(val)
- // }
},
- getTreeName (data) {
- this.$http
- .get('/census/center/v3/treeList/', {
- params: {
- keywords: data.name,
- deptId: '1067246875800000066'
- // pageNo: pageNo || 1,
- // pageSize: 20
- }
- })
- .then((res) => {
- this.tableData = res.data.data
- })
- },
- // // 获取部门列表
- // getALLTree () {
- // this.$http.get('/census/center/v3/treeList/' ,{
- // params : {
- // keywords:this.inputTxt,
- // deptId:'1067246875800000066',
- // // pageNo: pageNo || 1,
- // // pageSize: 20
- // }
- // }).then(res => {
- // this.treeData =res.data.data
- // // this.tableData =res.data.data
- // })
- // },
+
// 组件服务部门发布情况--改为能力上架统计
getFirstTree (page) {
if (this.examineStatus == '-1') {
@@ -523,6 +508,14 @@ export default {
}
})
.then((res) => {
+
+ if (res.data.code !== 0) {
+ this.tableData =[]
+ this.tableDataClone = []
+ this.total = 0
+ return this.$message.error("服务器内部异常")
+
+ }else{
const result = res.data.data
for (let i = 0; i < result.length; i++) {
if (!result[i].hasOwnProperty('yyzy')) {
@@ -561,7 +554,9 @@ export default {
endDate: this.endDate,
resourceName: this.resourceName
})
+ }
})
+
},
// 组件服务部门使用情况列表-改为能力使用统计
getSecondTree (page) {
@@ -590,6 +585,13 @@ export default {
}
})
.then((res) => {
+ if (res.data.code !== 0) {
+ this.tableData =[]
+ this.tableDataClone = []
+ this.total = 0
+ return this.$message.error("服务器内部异常")
+
+ }else{
const result = res.data.data
for (let i = 0; i < result.length; i++) {
if (!result[i].hasOwnProperty('yyzy')) {
@@ -629,6 +631,7 @@ export default {
resourceName: this.resourceName
})
+ }
})
},
// 点击查看详情
@@ -701,7 +704,13 @@ export default {
}
})
.then((res) => {
- console.log('111111', this.tableData, res.data.data)
+ if (res.data.code !== 0) {
+ this.tableData =[]
+ this.tableDataClone = []
+ this.total = 0
+ return this.$message.error("服务器内部异常")
+
+ }else{
this.tableData = res.data.data.list
this.tableDataClone = res.data.data.list
this.total = res.data.data.total
@@ -712,10 +721,12 @@ export default {
endDate: this.endDate,
resourceName: this.resourceName
})
+ }
})
},
// 能力使用明细
getTwoDetail (page) {
+
var passAndReview = '' // 转变"通过"字段为通过
if (this.examineStatus == '-1') {
this.status = ''
@@ -745,6 +756,14 @@ export default {
}
})
.then((res) => {
+
+ if (res.data.code !== 0) {
+ this.tableData =[]
+ this.tableDataClone = []
+ this.total = 0
+ return this.$message.error("服务器内部异常")
+
+ }else{
this.tableData = res.data.data.list
this.tableDataClone = res.data.data.list
this.total = res.data.data.total
@@ -756,69 +775,12 @@ export default {
resourceName: this.resourceName,
provideDept: this.provideDepartment
})
+ }
+
})
},
- getReleaseTree (page) {
- this.$http
- .get('/census/center/selectApplyDeptDetailTypeCountList/', {
- params: {
- limit: 5,
- // page: page || 1,
- approveStatus: '',
- type: '',
- deptId: '',
- params: '',
- startDate: ''
- }
- })
- .then((res) => {
- const result = res.data.data
- for (let i = 0; i < result.length; i++) {
- if (!result[i].hasOwnProperty('yyzy')) {
- result[i].yyzy = 0
- }
- if (!result[i].hasOwnProperty('kfzj')) {
- result[i].kfzj = 0
- }
- if (!result[i].hasOwnProperty('znsf')) {
- result[i].znsf = 0
- }
- if (!result[i].hasOwnProperty('tcfw')) {
- result[i].tcfw = 0
- }
- if (!result[i].hasOwnProperty('ywzj')) {
- result[i].ywzj = 0
- }
- if (!result[i].hasOwnProperty('hys')) {
- result[i].hys = 0
- }
- result[i].zj =
- parseInt(result[i].yyzy) +
- parseInt(result[i].kfzj) +
- parseInt(result[i].znsf) +
- parseInt(result[i].ywzj) +
- parseInt(result[i].tcfw) +
- parseInt(result[i].hys)
- }
- this.tableData = res.data.data
- this.total = res.data.data.total
- })
- },
- // 应用资源部门使用情况列表
- getUsedTree () {
- this.$http
- .get('/census/center/v3/resourceReleaseDetails/', {
- params: {
- limit: 5,
- page: 1,
- // id:'1067246875800000066',
- resourceType: '应用资源'
- }
- })
- .then((res) => {
- this.tableData = res.data.data.list
- })
- },
+
+
handleClick (row) {
if (this.choseId === 0) {
if (this.departmentId === 1) {
@@ -847,6 +809,8 @@ export default {
// 根据不同的type查询不同的表格数据
handleChose (index) {
+
+
this.checked = false
this.departmentId = index
this.currentPage = 1
@@ -914,6 +878,9 @@ export default {
},
// 明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数
goToDetail () {
+ this.abilityDepartment=''
+ this.provideDepartment=''
+
this.currentPage = 1
this.pageSize = 10
this.detailFlag = !this.detailFlag
@@ -928,6 +895,9 @@ export default {
},
// 返回按钮
goToBack () {
+ this.abilityDepartment=''
+ this.provideDepartment=''
+
this.checked = false
this.currentPage = 1,
this.pageSize = 10,
diff --git a/back/src/views/modules/activiti/demo/abilitydemandapply.vue b/back/src/views/modules/activiti/demo/abilitydemandapply.vue
index b725343e..80b9ba3e 100644
--- a/back/src/views/modules/activiti/demo/abilitydemandapply.vue
+++ b/back/src/views/modules/activiti/demo/abilitydemandapply.vue
@@ -59,8 +59,8 @@
>
-
- -->
+ 附件下载
@@ -139,6 +151,12 @@ export default {
// 表单属性是否可编辑
fieldDisabled: false,
dataForm: {
+ applyUserName: '',
+ applyUserPhone: '',
+ applyUserDeptName: '',
+ demandSubject: '',
+ detailsField: '',
+ demandDetails: '',
id: '',
user: '',
phone: '',
@@ -146,7 +164,8 @@ export default {
area: '',
system: '',
scene: '',
- basis: ''
+ basis: '',
+ enclosure: ''
},
// 审批
dialogVisible: false,
@@ -159,7 +178,7 @@ export default {
created () {
// 将业务KEY赋值给表单
this.dataForm.id = this.$route.params.businessKey
- console.log(this.$route.params)
+ // console.log(this.$route.params)
this.init()
// 流程回调
var callbacks = {
@@ -202,8 +221,10 @@ export default {
init () {
this.visible = true
this.$nextTick(() => {
- this.$refs.dataForm.resetFields()
- if (this.dataForm.id) {
+ if (this.$refs.dataForm) {
+ this.$refs.dataForm.resetFields()
+ }
+ if (this.dataForm && this.dataForm.id) {
// 如业务KEY已存在,不允许编辑
this.fieldDisabled = true
this.getInfo()
diff --git a/back/src/views/modules/activiti/my-join-task.vue b/back/src/views/modules/activiti/my-join-task.vue
index 1e5731c0..0772b1a5 100644
--- a/back/src/views/modules/activiti/my-join-task.vue
+++ b/back/src/views/modules/activiti/my-join-task.vue
@@ -109,31 +109,31 @@
diff --git a/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue b/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue
index 9733e857..0b2fbbc3 100644
--- a/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue
+++ b/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue
@@ -115,7 +115,7 @@ export default {
data () {
return {
mixinViewModuleOptions: {
- getDataListURL: '/act/his/getMyHandledInstancePage',
+ getDataListURL: '/act/his/getMyHandledInstancePage?ended=1',
getDataListIsPage: true,
deleteIsBatch: true,
deleteIsBatchKey: 'deploymentId'
diff --git a/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue b/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue
index 1b54ab9b..a2eb4a62 100644
--- a/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue
+++ b/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue
@@ -115,7 +115,7 @@ export default {
data () {
return {
mixinViewModuleOptions: {
- getDataListURL: '/act/his/getMyHandledInstancePage',
+ getDataListURL: '/act/his/getMyHandledInstancePage?ended=1',
getDataListIsPage: true,
deleteIsBatch: true,
deleteIsBatchKey: 'deploymentId'
diff --git a/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue b/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue
index be222352..f0aebf5b 100644
--- a/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue
+++ b/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue
@@ -115,7 +115,7 @@ export default {
data () {
return {
mixinViewModuleOptions: {
- getDataListURL: '/act/his/getMyHandledInstancePage',
+ getDataListURL: '/act/his/getMyHandledInstancePage?ended=1',
getDataListIsPage: true,
deleteIsBatch: true,
deleteIsBatchKey: 'deploymentId'
diff --git a/back/src/views/modules/hasToDoTasks/CommentModeration.vue b/back/src/views/modules/hasToDoTasks/CommentModeration.vue
index cbb0d0fb..9f9597ae 100644
--- a/back/src/views/modules/hasToDoTasks/CommentModeration.vue
+++ b/back/src/views/modules/hasToDoTasks/CommentModeration.vue
@@ -115,7 +115,7 @@ export default {
data () {
return {
mixinViewModuleOptions: {
- getDataListURL: '/act/his/getMyHandledInstancePage',
+ getDataListURL: '/act/his/getMyHandledInstancePage?ended=1',
getDataListIsPage: true,
deleteIsBatch: true,
deleteIsBatchKey: 'deploymentId'
diff --git a/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue b/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue
index 26de944d..99bc8075 100644
--- a/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue
+++ b/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue
@@ -116,7 +116,7 @@ export default {
data () {
return {
mixinViewModuleOptions: {
- getDataListURL: '/act/his/getMyHandledInstancePage',
+ getDataListURL: '/act/his/getMyHandledInstancePage?ended=1',
getDataListIsPage: true,
deleteIsBatch: true,
deleteIsBatchKey: 'deploymentId'
diff --git a/back/src/views/modules/notice/PortalAnnouncement.vue b/back/src/views/modules/notice/PortalAnnouncement.vue
index 1fe26f22..9de92679 100644
--- a/back/src/views/modules/notice/PortalAnnouncement.vue
+++ b/back/src/views/modules/notice/PortalAnnouncement.vue
@@ -3,7 +3,7 @@
-
+
{{ $t('query') }}
@@ -23,10 +23,17 @@
-
- 详情
+
+ 修改
- {{ $t('delete') }}
+
+ {{ $t('delete') }}
+
@@ -38,7 +45,7 @@
@@ -60,10 +67,11 @@
:visible.sync="dialogVisible2"
width="30%"
:close-on-click-modal="false">
- 天
+