diff --git a/src/components/DesignForm/tableListPage/index_20240919.vue b/src/components/DesignForm/tableListPage/index_20240919.vue new file mode 100644 index 0000000..da5c9dd --- /dev/null +++ b/src/components/DesignForm/tableListPage/index_20240919.vue @@ -0,0 +1,1386 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + 操作按钮区域 + + {{ item.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.column.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{writeListTitle(scope.row,viewPage.list)}} + + + + + + + + {{ scope.column.label }} + + + + + {{ scope.row[scope.column.property] }} + + + + 启用 + 已禁用 + 已删除 + + + + {{ scope.row[scope.column.property] }} + + + + {{ scope.row[scope.column.property] }} + + + + + + {{ scope.row[scope.column.property] }} + + + + {{ judjeRadio(scope.row[scope.column.property],item.options) }} + + + + + + + + + + + + + + + + 启用 + + + 禁用 + + + + {{scope.row[scope.column.property]}} + + + + + {{scope.row[scope.column.property]}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ tableDataList}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue index eaa78b9..c765eb1 100644 --- a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue +++ b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue @@ -279,7 +279,7 @@ const gainAppFormPageInit = () =>{ } - if(stateData.searchData.length>0){ + if(stateData.searchData && stateData.searchData.length>0){ for(let j = 0;j{ stateList.tableData = stateData.tableData + stateList.searchData = stateData.searchData + if(stateList.searchData == null){ + stateList.searchData = new Array() + } + // console.log("类型",stateList.searchData) stateList.loading = stateData.loading stateList.attrObj = stateData.attrObj stateList.config = stateData.config @@ -369,7 +374,6 @@ defineExpose({ - { // console.log("获取列表内容---->",stateData) state.tableData = stateData.tableData state.searchData = stateData.searchData + if(state.searchData == null){ + state.searchData = new Array() + } state.loading = stateData.loading state.attrObj = stateData.attrObj state.config = stateData.config @@ -622,6 +625,7 @@ const tableListFieldClick = (val:any[]) => { @ 功能: 处理查询条件 */ const addOrDelSearchField = (val:attrButton,isTrue:boolean) => { + console.log("处理查询条件",state.searchData) if(isTrue){ if(state.searchData.length>0){ let isWrite = true; diff --git a/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue b/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue index f9d0a35..3bfb826 100644 --- a/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue +++ b/src/views/sysworkflow/lowcodepage/newLowCode/appLayoutEdit/appContainerPage.vue @@ -105,6 +105,7 @@ const closeAppDraw = () =>{ */ const openAppPageForm = (val:appMenuTreeInfo) => { checkedMenu.value = val + console.log("操作表单页面",val) } /** @ 作者: 秦东 @@ -147,6 +148,11 @@ const addMenu = (key?:string) => { } menuGroupShow.value = true; } +const openAppPageInit = ref(null) +const updataPageInit = () => { + + openAppPageInit.value.gainAppFormPageInit() +} diff --git a/src/views/sysworkflow/lowcodepage/pageFlow/appTableFlow.vue b/src/views/sysworkflow/lowcodepage/pageFlow/appTableFlow.vue index c569de1..d36782d 100644 --- a/src/views/sysworkflow/lowcodepage/pageFlow/appTableFlow.vue +++ b/src/views/sysworkflow/lowcodepage/pageFlow/appTableFlow.vue @@ -507,7 +507,7 @@ function optionsValue3Get3(data: any,fieldName: string){ } - {{drawbox}} + { let stateData = string2json(data.data.appForm.listjson) // console.log("接邂逅的数",stateData) let holeControlAndConfigStateData = string2json(data.data.appForm.mastesformjson) - if(stateData.tableData.columns.length>0){ + if(stateData.tableData.columns && stateData.tableData.columns.length>0){ for(let i = 0;i { } }) } - if(stateData.searchData.length>0){ + if(stateData.searchData && stateData.searchData.length>0){ for(let j = 0;j { } stateList.tableData = stateData.tableData stateList.searchData = stateData.searchData + if(stateList.searchData == null){ + stateList.searchData = new Array() + } stateList.loading = stateData.loading stateList.attrObj = stateData.attrObj stateList.config = stateData.config