diff --git a/back/src/components/ren-region-tree/src/ren-region-tree.vue b/back/src/components/ren-region-tree/src/ren-region-tree.vue index 9036a245..d49807dd 100644 --- a/back/src/components/ren-region-tree/src/ren-region-tree.vue +++ b/back/src/components/ren-region-tree/src/ren-region-tree.vue @@ -26,7 +26,7 @@ diff --git a/back/src/mixins/view-module.js b/back/src/mixins/view-module.js index fae86b9b..c92ac8e4 100644 --- a/back/src/mixins/view-module.js +++ b/back/src/mixins/view-module.js @@ -95,13 +95,13 @@ export default { this.$http.get('/sys/user/info').then(userRes => { console.log('当前用户信息===========>', userRes.data.data.id) const userId = userRes.data.data.id - this.dataList = this.dataList.filter(item => { - // userId creator - console.log(item.params.creator) - if (!(item.params.creator === userId) && !(item.params.userId === userId)) { - return item - } - }) + // this.dataList = this.dataList.filter(item => { + // // userId creator + // console.log(item.params.creator) + // if (!(item.params.creator === userId) && !(item.params.userId === userId)) { + // return item + // } + // }) this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 }) } else { @@ -355,7 +355,12 @@ export default { }, deleteHandle2(id) { - console.log('删除========================》', id, this.dataListSelections) + if(id==undefined && this.dataListSelections.length < 1){ + this.$message({ + type: 'info', + message: '请选择要删除的数据' + }) + }else{ this.$confirm('确认是否删除?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -385,6 +390,7 @@ export default { // message: '已取消删除' // }); }); + } }, // 导出 exportHandle() { diff --git a/back/src/views/modules/ability/IntegratedServices.vue b/back/src/views/modules/ability/IntegratedServices.vue index d3e39a8f..ecbceb7b 100644 --- a/back/src/views/modules/ability/IntegratedServices.vue +++ b/back/src/views/modules/ability/IntegratedServices.vue @@ -147,7 +147,8 @@ export default { }, // 详情 showDetail(val) { - window.open(window.SITE_CONFIG.previewUrl + '#/packagingDetails?id=' + val.id) + // window.open(window.SITE_CONFIG.previewUrl + '#/packagingDetails?id=' + val.id) + window.open(window.SITE_CONFIG.previewUrl + '#/integrationServicesDetails?id=' + val.id) }, // showDocument(val) { // console.log(val); diff --git a/back/src/views/modules/ability/bsabilityservice.vue b/back/src/views/modules/ability/bsabilityservice.vue index 668a0668..21e55945 100644 --- a/back/src/views/modules/ability/bsabilityservice.vue +++ b/back/src/views/modules/ability/bsabilityservice.vue @@ -354,7 +354,6 @@ export default { // this.disabled = true }, showDocument (val) { - console.log(val) window.open( window.SITE_CONFIG.frontUrl + '?id=' + val.id + '&&type=' + val.type, '_blank' @@ -459,7 +458,6 @@ export default { // }, // 应用与组件 applyAndAssembly (val) { - console.log('vvvv', val) // 根据id和类型查询已关联的组件,将id,type和查出来的数据传递给组件 const type = '组件服务' const id = val.id @@ -475,7 +473,6 @@ export default { if (res.code !== 0) { return this.$message.error(res.msg) } - console.log('rrrrressssz', res.data) this.relateApplicationResourceVisible = true this.relationData = { id: id, @@ -483,13 +480,11 @@ export default { responseData: res.data } this.topNameArray = ['未关联组件名称', '已关联组件名称'] - console.log(' this.relationData', this.relationData) // 将数据传递给引入的组件 }) }, // 应用与数据资源 applyAndDataResource (val) { - console.log('数据资源') }, // 应用与项目 applyAndProject (val) { @@ -507,7 +502,6 @@ export default { if (res.code !== 0) { return this.$message.error(res.msg) } - console.log('rrrrressssx', res.data) this.relateApplicationResourceVisible = true this.relationData = { id: id, @@ -534,7 +528,6 @@ export default { if (res.code !== 0) { return this.$message.error(res.msg) } - console.log('rrrrressssj', res.data) this.relateApplicationResourceVisible = true this.relationData = { id: id, @@ -575,7 +568,6 @@ export default { this.showPutOnTheShelfFlag2 = true this.$http.get('/category/getCategoryTree').then(res => { this.insertList = res.data.data.filter(item => item.name === '应用资源一')[0] - console.log(this.insertList, this, this.radio, 'hhhhhhhhhhh') this.putOnTheShelfList = this.insertList.children }) }, @@ -670,7 +662,6 @@ export default { }) this.submitFrom.infoList = this.submitFrom.infoList.sort((a, b) => arr.indexOf(a.attrType) - arr.indexOf(b.attrType)) this.notFilled = [] - console.log(this.submitFrom, '表单验证') if (!this.submitFrom.name) { this.notFilled.push('应用名称') } @@ -711,7 +702,6 @@ export default { val.attrValue = this.radio } }) - console.log('编辑===============>', this.submitFrom) // 检验是否有空值 this.submitFrom.infoList = this.submitFrom.infoList.filter(item => item.attrValue) this.$http diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue index f3d58a61..cfc70af3 100644 --- a/back/src/views/modules/abilityStatistics/index.vue +++ b/back/src/views/modules/abilityStatistics/index.vue @@ -68,6 +68,12 @@ + + + + + + @@ -341,6 +347,7 @@ export default { abilityType: '', // 能力 beginTime: '', // 开始时间 endTime: '', // 结束时间 + resourceName:'',//资源名称 typeOptions: [ { name: '智能算法', value: 1 }, { name: '图层服务', value: 2 }, @@ -523,7 +530,8 @@ export default { approveStatus: this.status, deptId: this.abilityDepartment, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName }) }) }, @@ -589,7 +597,9 @@ export default { approveStatus: this.status, deptId: this.abilityDepartment, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName + }) }) }, @@ -658,7 +668,8 @@ export default { deptId: this.abilityDepartment, type: this.abilityType, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName } }) .then((res) => { @@ -670,7 +681,8 @@ export default { approveStatus: this.status, deptId: this.abilityDepartment, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName }) }) }, @@ -697,7 +709,8 @@ export default { deptId: this.abilityDepartment, type: this.abilityType, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName } }) .then((res) => { @@ -708,7 +721,8 @@ export default { approveStatus: this.status, deptId: this.abilityDepartment, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName }) }) }, @@ -952,7 +966,8 @@ export default { approveStatus: this.status, deptId: this.abilityDepartment, startDate: this.startDate, - endDate: this.endDate + endDate: this.endDate, + resourceName:this.resourceName }) if (this.departmentId === 1) { // if (this.detailFlag) { diff --git a/back/src/views/modules/activiti/my-work-dynamics.vue b/back/src/views/modules/activiti/my-work-dynamics.vue index 83c0809c..7e1bbb0a 100644 --- a/back/src/views/modules/activiti/my-work-dynamics.vue +++ b/back/src/views/modules/activiti/my-work-dynamics.vue @@ -508,7 +508,12 @@ export default { }, // 删除数据 deleteData (row) { - console.log(row) + if (this.deleteDataArr.length < 1) { + this.$message({ + type: 'info', + message: '请选择要删除的数据' + }) + }else{ this.$confirm('此操作将删除当前数据, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -542,7 +547,7 @@ export default { type: 'info', message: '已取消删除' }) - }) + })} }, // 预览工作动态信息 async openPreviewData (row) { diff --git a/back/src/views/modules/myAgent/ConferenceRoom.vue b/back/src/views/modules/myAgent/ConferenceRoom.vue index 33422707..5c7bb638 100644 --- a/back/src/views/modules/myAgent/ConferenceRoom.vue +++ b/back/src/views/modules/myAgent/ConferenceRoom.vue @@ -252,8 +252,8 @@ export default { { required: true, message: '请填写描述内容', trigger: 'blur' }, { min: 1, - max: 500, - message: '长度在 1 到 500 个字符', + max: 255, + message: '长度在 1 到 255 个字符', trigger: 'blur' } ] diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue index a5741a02..dd1f572c 100644 --- a/front/src/views/home/AbilityToApplyFor.vue +++ b/front/src/views/home/AbilityToApplyFor.vue @@ -29,7 +29,8 @@ p-id="5928" > - 展开 + 展开 + (共{{totalDataNum}}条数据)
- 收起 + 收起
+ const getDataTotalNum = () =>{ + let totalNum =0; + dataForm.value.forEach((item)=>{ + totalNum = totalNum +item.arr.length; + }); + totalDataNum.value = totalNum; + } + getDataTotalNum(); + //获取数据的总条数 + +