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 @@ + + + + + + + + + + + + + + 编辑 + 删除 + + + + + + + + {{item.name}} + {{item.describe}} + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + {{scope.row.signCodeStr!=0?scope.row.signCodeStr:""}} + + + + + 普通表单 + 流程表单 + 自定义应用 + 自定义应用表单 + + + + + + {{scope.row.creatername}} + + + + + {{scope.row.creatertimeStr}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ - - - - - - - - - - - - {{item.title}} - - - - - - - - 新增分组 - 添加表单 - 添加应用 - 编辑 - 删除 - - - - - - - - + + + + - - - - - - + + + + 新增分组 + 添加表单 + 添加应用 + 编辑 + 删除 + + + - - - - - + + + + + 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 @@ + + + + + + + + + + + + + + + {{item.title}} + + + + + + + + 新增分组 + 添加表单 + 添加应用 + 编辑 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + {{ appCont.appName }} + + + + + + + + + + + {{ userStore.nickname }}({{ userStore.userInfoCont.number }}) + + + {{ userStore.userInfoCont.companyname }}/{{ userStore.userInfoCont.departmentname }} + + + + + + 退出 + + + + + + + + + + + + + + + + + + + {{node.label}} + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + {{ appCont.appName }} + 已启用 + 已禁用 + + + + + + + + + + + + + + + + + 访问 + 关闭 + + + + + + + + + + + + + + + + + + 新建页面 + + + + 数据收集、事件记录任务协同、业务审批 + + + + + + + + + 新建分组 + + + + 应用项目管理 + + + + + + + + + + + + + + + + + Main + + + + + + 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); }