diff --git a/back/src/views/modules/ability/components/combine-ability.vue b/back/src/views/modules/ability/components/combine-ability.vue index 5da84a14..55c9fb28 100644 --- a/back/src/views/modules/ability/components/combine-ability.vue +++ b/back/src/views/modules/ability/components/combine-ability.vue @@ -23,20 +23,7 @@ - - -
-
-
- -
- {{ item.name || '--' }} -
-
-
-
-
- + @@ -149,8 +136,8 @@ let keyObj = { nameKey: 'zyname' }, '组件服务': { - idKey: 'zycode', - nameKey: 'zyname' + idKey: 'id', + nameKey: 'name' }, } @@ -204,15 +191,15 @@ export default { let attrValue = dataForm.fuseResourceList.filter(v => v.type == this.type); if (attrValue.length > 0) { attrValue.map(val => { - let item = this.allData.find(v => v.id == val.resourceId) || {}; let _obj = { type: val.type, id: val.resourceId, - name: item.name + name: val.resource && val.resource.name }; arr.push(_obj); }); } + // 展示 this.displayList = JSON.parse(JSON.stringify(arr)); // 已选中 @@ -223,27 +210,17 @@ export default { }, // 获取列表 getData() { - // this.allData = []; - // this.transferData = []; - // let arr = JSON.parse(JSON.stringify(sjzyArray)); - // arr.map(v => { - // this.transferData.push({ - // type: this.type, - // id: v[keyObj[this.type].idKey], - // name: v[keyObj[this.type].nameKey] || "--" - // }); - // }); - // this.allData = JSON.parse(JSON.stringify(this.transferData)); - // return; if (this.getDataParams.url === '') { return; } - this.$http[this.getDataParams.methods](this.getDataParams.url, this.getDataParams.postData).then(res => { + this.$http[this.getDataParams.methods](this.getDataParams.url, { + params: this.getDataParams.postData + }).then(res => { console.log('res.data----获取列表-------->', res.data); if (res.data.code !== 0) { return this.$message.error(res.msg); } - this.transferData = []; // allData + this.transferData = []; this.allData = []; (res.data.data || []).map(v => { this.transferData.push({ diff --git a/back/src/views/modules/activiti/RoomExamineAdmin.vue b/back/src/views/modules/activiti/RoomExamineAdmin.vue new file mode 100644 index 00000000..ac6de099 --- /dev/null +++ b/back/src/views/modules/activiti/RoomExamineAdmin.vue @@ -0,0 +1,330 @@ + + + diff --git a/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue b/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue index 0da3a386..9733e857 100644 --- a/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue +++ b/back/src/views/modules/hasToDoTasks/AbilityResourceShelf.vue @@ -86,11 +86,8 @@ width="150" > diff --git a/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue b/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue index 3c0a1ed3..1b54ab9b 100644 --- a/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue +++ b/back/src/views/modules/hasToDoTasks/AbilityResourcesRemoved.vue @@ -86,11 +86,8 @@ width="150" > diff --git a/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue b/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue index 6f936524..be222352 100644 --- a/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue +++ b/back/src/views/modules/hasToDoTasks/ApplicationForCompetencyRequirements.vue @@ -86,11 +86,8 @@ width="150" > diff --git a/back/src/views/modules/hasToDoTasks/CommentModeration.vue b/back/src/views/modules/hasToDoTasks/CommentModeration.vue index 2de57bdc..cbb0d0fb 100644 --- a/back/src/views/modules/hasToDoTasks/CommentModeration.vue +++ b/back/src/views/modules/hasToDoTasks/CommentModeration.vue @@ -86,11 +86,8 @@ width="150" > diff --git a/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue b/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue index 1cf2d2b5..d91d7604 100644 --- a/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue +++ b/back/src/views/modules/hasToDoTasks/CompetencyApplication.vue @@ -86,11 +86,8 @@ width="150" > diff --git a/back/src/views/modules/myAgent/ConferenceRoom.vue b/back/src/views/modules/myAgent/ConferenceRoom.vue new file mode 100644 index 00000000..547c02ea --- /dev/null +++ b/back/src/views/modules/myAgent/ConferenceRoom.vue @@ -0,0 +1,381 @@ + + + diff --git a/front/src/api/home.js b/front/src/api/home.js index ca2b548a..fdf6774b 100644 --- a/front/src/api/home.js +++ b/front/src/api/home.js @@ -370,6 +370,39 @@ export function getDevelopDocTree(params) { params, }) } + +//会议室查询接口 +export function getRoomSearch(params) { + return request({ + url: '/bookMeeting/list', + method: 'get', + params, + }) +} +//预约弹框选择日期接口 +export function getDate(params) { + return request({ + url: '/bookMeeting/availableDate', + method: 'get', + params, + }) +} +//预约提交 +export function setSubmit(data) { + return request({ + url: '/bookMeeting', + method: 'post', + data, + }) +} +//预约结果查询按钮 +export function getYuyue(params) { + return request({ + url: '/bookMeeting/page', + method: 'get', + params, + }) +} // 能力广场 应用资源 export function selectAppList(params) { return request({ diff --git a/front/src/assets/home/jingao.png b/front/src/assets/home/jingao.png new file mode 100644 index 00000000..965bae32 Binary files /dev/null and b/front/src/assets/home/jingao.png differ diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue index c83f48e8..0f3e6405 100644 --- a/front/src/views/capacitySquare/components/algorithm.vue +++ b/front/src/views/capacitySquare/components/algorithm.vue @@ -8,7 +8,7 @@ class="algorithm-card" > { - let obj = List.filter((item) => item.attrType === '图层缩略图')[0] - if (obj) { - List.map((item) => { - if (item.attrType === '图层缩略图') { - url.value = item.attrValue - } - }) - } else { - url.value = '@/assets/capacitySquare/algorithm-photo.jpg' + const algorithmCardPhoto = (List, item) => { + let obj = List.filter((item) => item.attrType === '应用场景')[0] + if (obj && obj.attrValue != '') { + console.log( + item.name, + item.id, + obj.attrValue, + '----------------------------' + ) + obj = JSON.parse(obj.attrValue)[0].img } - return url.value + return obj || '' } //跳转详情页 const detailFunction = (id) => { diff --git a/front/src/views/capacitySquare/components/application.vue b/front/src/views/capacitySquare/components/application.vue index 17711d46..b21d5686 100644 --- a/front/src/views/capacitySquare/components/application.vue +++ b/front/src/views/capacitySquare/components/application.vue @@ -2,7 +2,7 @@ * @Author: hisense.liangjunhua * @Date: 2022-08-09 09:31:25 * @LastEditors: hisense.liangjunhua - * @LastEditTime: 2022-08-09 18:25:06 + * @LastEditTime: 2022-08-10 14:29:05 * @Description: 应用资源 -->