From df25df70190f6f6c8a2b01e5c5aa8d56767d2793 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Tue, 23 Jul 2024 09:36:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../powermanage/publicrole/setuprole.vue | 17 +- .../sysworkflow/lowcodepage/appCardPage.vue | 238 ++++++++++++ .../sysworkflow/lowcodepage/appListPage.vue | 203 ++++++++++ src/views/sysworkflow/lowcodepage/index.vue | 351 +++++++----------- .../lowcodepage/index_20240720.vue | 293 +++++++++++++++ .../newLowCode/appLayout/appContainer.vue | 254 +++++++++++++ .../appLayoutEdit/appContainerPage.vue | 254 +++++++++++++ .../runApp/regularPage/myToDoPage.vue | 5 +- 8 files changed, 1384 insertions(+), 231 deletions(-) create mode 100644 src/views/sysworkflow/lowcodepage/appCardPage.vue create mode 100644 src/views/sysworkflow/lowcodepage/appListPage.vue create mode 100644 src/views/sysworkflow/lowcodepage/index_20240720.vue create mode 100644 src/views/sysworkflow/lowcodepage/newLowCode/appLayout/appContainer.vue create mode 100644 src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue diff --git a/src/views/powermanage/publicrole/setuprole.vue b/src/views/powermanage/publicrole/setuprole.vue index a691fe6..dab8b4f 100644 --- a/src/views/powermanage/publicrole/setuprole.vue +++ b/src/views/powermanage/publicrole/setuprole.vue @@ -69,7 +69,7 @@ const enterClick = () => { }) grantSystemPostPoewr({systemname:systemTabs.value,ordid:props.orgid,postid:props.postid,level:manageScope.value*1,power:checkedMenuTrue}) .then((data)=>{ - // console.log("确定授权返回----》", data); + console.log("确定授权返回----》", data); emits("update:isShow", false); initData(); }) @@ -120,8 +120,10 @@ function getSysMenuTree(sysKey:string){ systemPowerMenusTree.value = data getGrantPowers({name:sysKey,ordid:props.orgid,postid:props.postid}) .then(({data})=>{ + console.log("获取菜单----1111---->",data); if(data != null){ - gainPowerAry.value= data + manageScope.value = data.level + gainPowerAry.value= data.powerList } }) .finally(()=>{ @@ -135,10 +137,13 @@ function getSysMenuTree(sysKey:string){ * 设置已经授权的权限 */ function setCheckedKeys(){ - // console.log("设置已经授权的权限",gainPowerAry.value) - gainPowerAry.value.forEach((menuId) => - menuRef.value.setChecked(menuId, true, false) - ); + console.log("设置已经授权的权限",gainPowerAry.value) + if(gainPowerAry && gainPowerAry.value){ + gainPowerAry.value.forEach((menuId) => + menuRef.value.setChecked(menuId, true, false) + ); + } + } const systemMenuTreeProps = { diff --git a/src/views/sysworkflow/lowcodepage/appCardPage.vue b/src/views/sysworkflow/lowcodepage/appCardPage.vue new file mode 100644 index 0000000..d962266 --- /dev/null +++ b/src/views/sysworkflow/lowcodepage/appCardPage.vue @@ -0,0 +1,238 @@ + + + + diff --git a/src/views/sysworkflow/lowcodepage/appListPage.vue b/src/views/sysworkflow/lowcodepage/appListPage.vue new file mode 100644 index 0000000..e22071f --- /dev/null +++ b/src/views/sysworkflow/lowcodepage/appListPage.vue @@ -0,0 +1,203 @@ + + + + diff --git a/src/views/sysworkflow/lowcodepage/index.vue b/src/views/sysworkflow/lowcodepage/index.vue index afe974f..6a87961 100644 --- a/src/views/sysworkflow/lowcodepage/index.vue +++ b/src/views/sysworkflow/lowcodepage/index.vue @@ -1,98 +1,34 @@ diff --git a/src/views/sysworkflow/lowcodepage/index_20240720.vue b/src/views/sysworkflow/lowcodepage/index_20240720.vue new file mode 100644 index 0000000..afe974f --- /dev/null +++ b/src/views/sysworkflow/lowcodepage/index_20240720.vue @@ -0,0 +1,293 @@ + + + + diff --git a/src/views/sysworkflow/lowcodepage/newLowCode/appLayout/appContainer.vue b/src/views/sysworkflow/lowcodepage/newLowCode/appLayout/appContainer.vue new file mode 100644 index 0000000..f1350e3 --- /dev/null +++ b/src/views/sysworkflow/lowcodepage/newLowCode/appLayout/appContainer.vue @@ -0,0 +1,254 @@ + + + + diff --git a/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue b/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue new file mode 100644 index 0000000..8689aea --- /dev/null +++ b/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue @@ -0,0 +1,254 @@ + + + + diff --git a/src/views/sysworkflow/lowcodepage/runApp/regularPage/myToDoPage.vue b/src/views/sysworkflow/lowcodepage/runApp/regularPage/myToDoPage.vue index 7451e20..50bd5e2 100644 --- a/src/views/sysworkflow/lowcodepage/runApp/regularPage/myToDoPage.vue +++ b/src/views/sysworkflow/lowcodepage/runApp/regularPage/myToDoPage.vue @@ -205,6 +205,9 @@ const searchQuery = () =>{} width:100%; overflow: hidden; overflow-y: auto; + .app-container{ + margin: 10px; + } .search{ display: flex; align-items: center; @@ -220,6 +223,6 @@ const searchQuery = () =>{} } .table_box{ width: 100%; - height: calc(100vh - 260px); + height: calc(100vh - 230px); }