From 6e2d146ca89ccafa0ddf03d4f3e1783b18637d7d Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Wed, 10 Aug 2022 14:54:45 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E7=AE=97=E6=B3=95=E5=B9=BF=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/capacitySquare/components/algorithm.vue | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue index c83f48e8..b947db0a 100644 --- a/front/src/views/capacitySquare/components/algorithm.vue +++ b/front/src/views/capacitySquare/components/algorithm.vue @@ -56,17 +56,11 @@ pageWithAttrsFunction() //图片显示 const algorithmCardPhoto = (List) => { - 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' + let obj = List.filter((item) => item.attrType === '应用场景')[0] + if (obj && obj.attrValue != '') { + obj = JSON.parse(obj.attrValue)[0].img } - return url.value + return obj || '' } //跳转详情页 const detailFunction = (id) => { From b99ec35e904b9aed9583b115e9dfb8a48c5fa5e7 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Wed, 10 Aug 2022 14:55:56 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E8=83=BD=E5=8A=9B=E5=B9=BF=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/capacitySquare/components/application.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: 应用资源 --> - - -
-
-
- -
- {{ 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({ From dc1b55de2923e0ce68c5ea97114a3cb5a9b58869 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Wed, 10 Aug 2022 15:47:29 +0800 Subject: [PATCH 04/10] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/capacitySquare/components/algorithm.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/front/src/views/capacitySquare/components/algorithm.vue b/front/src/views/capacitySquare/components/algorithm.vue index b947db0a..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" > { + 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 obj || '' From 0b718307d8864bb1dda5863f663a6e4d348879f8 Mon Sep 17 00:00:00 2001 From: guoyue Date: Wed, 10 Aug 2022 17:52:49 +0800 Subject: [PATCH 05/10] =?UTF-8?q?fix=20=E8=9E=8D=E5=90=88=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/integrationServices.vue | 32 ++++++++++++++------ front/src/views/home/packagingDetails.vue | 16 +++++----- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/front/src/views/home/integrationServices.vue b/front/src/views/home/integrationServices.vue index a1083b41..112fd4c4 100644 --- a/front/src/views/home/integrationServices.vue +++ b/front/src/views/home/integrationServices.vue @@ -19,17 +19,22 @@
- - -
- +
+ + +
+ +
+ @@ -58,6 +63,7 @@ export default defineComponent({ const resourceList = reactive({ data: [] }) const resourceTotal = ref(0) const current = ref(1) + const loadingData = ref(false) // 选项卡 const titleName = ref([ { @@ -120,6 +126,8 @@ export default defineComponent({ // 获取融合服务列表 const getIntegrationList = () => { + loadingData.value = true; + console.log('获取融合服务列表------------>'); let postData = { limit: currentPageSize.value, page: currentPage.value, @@ -130,13 +138,17 @@ export default defineComponent({ } getIntegrationServicesList(postData).then( (res) => { + loadingData.value = false; if (res.data.code !== 0) { return message.error(res.data.msg) } + console.log('res.data------------>', res.data); + resourceList.data = res.data.data.list || [] resourceTotal.value = res.data.data.total || 0 }, (err) => { + loadingData.value = false; message.error(err) } ) @@ -180,6 +192,7 @@ export default defineComponent({ } onMounted(() => { + console.log('222----onMounted-------->', 222); listKey2.value++ getAppResources() }) @@ -215,6 +228,7 @@ export default defineComponent({ titleName, changeCards, number, + loadingData, } }, components: { diff --git a/front/src/views/home/packagingDetails.vue b/front/src/views/home/packagingDetails.vue index 6cf964cc..d1a293ca 100644 --- a/front/src/views/home/packagingDetails.vue +++ b/front/src/views/home/packagingDetails.vue @@ -20,7 +20,9 @@
-
描述:{{ detailInfoObj.description || '--' }}
+ +
描述:{{ detailInfoObj.description || '--' }}
+
@@ -29,12 +31,11 @@ 申请使用 - + - 收藏 + {{ detailInfoObj.isCollect == 'true' ? '已收藏' : '收藏' }}
@@ -299,12 +300,10 @@ getIntegrationServicesDeatil(id) .name { font-size: 0.16rem; - margin-bottom: 0.2rem; - margin-top: 0.2rem; } .area { - margin-bottom: 0.2rem; + margin: 0.1rem 0; } .desc { @@ -319,7 +318,7 @@ getIntegrationServicesDeatil(id) .btn-box { position: absolute; - bottom: 0; + bottom: -15px; left: 0.2rem; .btn-text { @@ -341,5 +340,4 @@ getIntegrationServicesDeatil(id) .list-box { padding: 0.4rem; } - From 810e1836117692b2565d9fe2b79d4c5de576131f Mon Sep 17 00:00:00 2001 From: guoyue Date: Thu, 11 Aug 2022 09:33:21 +0800 Subject: [PATCH 06/10] =?UTF-8?q?ifx:=20=E9=97=A8=E6=88=B7=E8=AF=A6?= =?UTF-8?q?=E6=83=85=20--=E8=B5=84=E6=BA=90key=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/home/components/packageAbilityList.vue | 4 +--- front/src/views/home/packagingDetails.vue | 12 ++++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/front/src/views/home/components/packageAbilityList.vue b/front/src/views/home/components/packageAbilityList.vue index d72eeaa8..92727a4e 100644 --- a/front/src/views/home/components/packageAbilityList.vue +++ b/front/src/views/home/components/packageAbilityList.vue @@ -3,7 +3,7 @@
- {{ item }}
+ {{ (item || item === 0) ? item : '--' }}
@@ -15,8 +15,6 @@ const props = defineProps({ abilityInfo: { type: Object, default: () => { } }, }) -console.log('abilityInfo------------>', props.abilityInfo); - 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 0000000000000000000000000000000000000000..965bae32b3e21e736446396b0fd50ca42bcdd911 GIT binary patch literal 705 zcmV;y0zUnTP)Oki#WHTAxsa2h~%TVj9$97p6m#`n(VzCxurKs?x% z4>bhuemMI20DvE-%20_)Hao?D5B59$Q36H$mVnDiz7IJ&@Xhg0hoMDFj*!Yk-c_UF zKr^2^0(!=GE)4V==||2!Pe=-C#TdPKxcC;{)yZnQ%iR z;F2Y_0fT2*NA)(RR_uj7!$B5Y_#6gPNhGPB)!-k?JMgMui-5}(KM2T%v#!6Rxvs^O zIL{30&Q`t4&9<^FCbTw>^VQ&fOE5BahMKW+3D{0tLIYhn*SpYcE7@Wkw3*0NgL|>y zq6J%#iKkSGB&DJvHEsc}Pe<97Gs2h?8CSiG1ur&l0S)f%cm1j5fEWAnL^vv)0r(vY zu0K+p4*_Sp=I8w3!H{YKoTJMkbFR7?ofdf;jebLAxZ85v8isl^jMkI6s=m?g9+Yf; z1c46)j(52EcEoO8sR!0EDMvNHPo$OpUQ<(zWvP$XY)Wp@pik0DuK~{+$u7W`Wvz7G z>F<16e81uB8cl;XU_O!xiiI1%wV<4J&3eZ8;+8Bdcl3dD-%s<;1i nHrv&=ldYrTPJmYS6$AeP8t(fSMaSsI00000NkvXXu0mjf6-zuD literal 0 HcmV?d00001 diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index a43b2eaf..9b7ec2b5 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -6,7 +6,7 @@
- +
@@ -178,7 +178,7 @@
- +
@@ -742,6 +742,12 @@ export default defineComponent({ setup() { + //会议室传的标识6 + const flag = ref('') + + const handleAdd = (value) => { + flag.value = value + } const titleName = ref(titleNameArray) const openMonitor = () => { @@ -1446,6 +1452,8 @@ getShoppingCartList, whoShow1, applyAll, + handleAdd, + flag, abilitySquare, visibleAbilitySquare, showAbilitySquare, diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 99519f49..f0b4b50a 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -27,201 +27,537 @@
- -
- -
- -
- -
-

- 备选 - {{ pagination.total }} - 个 -

- -

- 已选 - {{ selectedRowKeys.length }} - 个 -

+ +
+
+
+ 会议室预约 +
+
+ 预约结果 +
- -
- +
+ 会议室搜索
重置
- - - - 批量预览 - - - - 添加至申购车 - - - - 一键申请 -
-
- -
- - - -
-
- - - -
- - - -
-
- -
-
-
- - - -
-
-

- -
-
- -
- - - + + +