diff --git a/src/components/DesignForm/tableListPage/index.vue b/src/components/DesignForm/tableListPage/index.vue
index d63ca47..2bcc89c 100644
--- a/src/components/DesignForm/tableListPage/index.vue
+++ b/src/components/DesignForm/tableListPage/index.vue
@@ -863,7 +863,7 @@ const tabsView = (val:any,types:number) => {
- 查1询
+ 查询
重置
diff --git a/src/views/sysworkflow/lowcodepage/appListPage.vue b/src/views/sysworkflow/lowcodepage/appListPage.vue
index f5ca326..d06a36c 100644
--- a/src/views/sysworkflow/lowcodepage/appListPage.vue
+++ b/src/views/sysworkflow/lowcodepage/appListPage.vue
@@ -13,7 +13,8 @@ import {
Edit,
Share,
View,
- Star
+ Star,
+ Hide
} from '@element-plus/icons-vue'
//引入组件
import AppContainer from '@/views/sysworkflow/lowcodepage/newLowCode/appLayout/appContainer.vue'
@@ -97,7 +98,20 @@ const delFormApp = (val:customerFormCont) => {
loadingApp.value = false
})
}
-
+/**
+@ 作者: 秦东
+@ 时间: 2024-07-24 09:36:37
+@ 功能: 改变App状态
+*/
+const editAppFormState = (val:customerFormCont) => {
+ let stateVal = val.states==1?2:1;
+ editProductionFormStatus({id:[val.id.toString()],status:stateVal,is_delete:false})
+ .then(({data})=>{
+ getFormAppList(props.searchQuery)
+ })
+ .finally(() => {
+ })
+}
/**
@ 作者: 秦东
@@ -381,11 +395,22 @@ defineExpose({
{{scope.row.creatertimeStr}}
+
+
+
+
+
-
+
diff --git a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue
index f9533af..40469d6 100644
--- a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue
+++ b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/openAppFormPage.vue
@@ -184,6 +184,8 @@ const emits = defineEmits(["editAppInfo"]);
@ 功能: 获取App页面预览信息
*/
const editAppPage = (signCode:string) => {
+ console.log("获取App页面预览信息",signCode)
+
emits("editAppInfo",signCode)
}
@@ -454,7 +456,7 @@ defineExpose({
}
}
.suojing{
- height: calc(100vh - 135px);
+ height: calc(100vh - 190px);
}
.demo-image__error{
margin-top: 15px;
diff --git a/src/views/sysworkflow/lowcodepage/appPage/index.vue b/src/views/sysworkflow/lowcodepage/appPage/index.vue
index 4734332..10ee1bf 100644
--- a/src/views/sysworkflow/lowcodepage/appPage/index.vue
+++ b/src/views/sysworkflow/lowcodepage/appPage/index.vue
@@ -69,8 +69,8 @@ const handleClick = () =>{}
@ 功能: 关闭
*/
const closeAppDraw = () =>{
+ emits("refreshPage","formPage1")
emits("update:isShow",false)
- emits("refreshPage")
tabsActive.value = 1
checkedMenu.value = ""
appPageKey.value = ""
diff --git a/src/views/sysworkflow/lowcodepage/index.vue b/src/views/sysworkflow/lowcodepage/index.vue
index 23f517c..c6e2e60 100644
--- a/src/views/sysworkflow/lowcodepage/index.vue
+++ b/src/views/sysworkflow/lowcodepage/index.vue
@@ -12,7 +12,9 @@ import { Search } from '@element-plus/icons-vue'
//引入页面
import AppCardPage from "@/views/sysworkflow/lowcodepage/appCardPage.vue"
import AppListPage from "@/views/sysworkflow/lowcodepage/appListPage.vue"
-
+import LowCodeFormGroupPage from "@/views/sysworkflow/lowcodepage/lowCodeFormGroupPage.vue"
+import DesignAPPpage from "@/views/sysworkflow/lowcodepage/appPage/index.vue" //自建应用
+import LowCodeFormPage from "@/views/sysworkflow/lowcodepage/lowCodeFormPage.vue"
const contbody = ref() //实例化内容容器
const carPage = ref()
@@ -23,6 +25,12 @@ const pageSize = ref(12000) //每页显示几个
const pageTotal = ref(0) //总记录数
const groupFormList = ref([]) //记录数组
const drawerWith = ref(); //抽屉宽度
+const groupKey = ref("") //分组标识
+const drawerGroupWith = ref(); //编辑表单时抽屉宽度
+const addFormGroupIsShow = ref(false)
+const formKey = ref("") //表单标识
+const appPageShow = ref(false)
+const formGroupKey = ref("") //表单标识
const searchQuery = reactive({
page:1,
@@ -117,6 +125,111 @@ const searchSub = () =>{
*/
const getRongQiAttr = () => {
drawerWith.value = contbody.value?.clientWidth
+}
+/**
+@ 作者: 秦东
+@ 时间: 2024-03-21 13:53:29
+@ 功能: 编辑分组
+*/
+const editFormGroup = (id: string) =>{
+ console.log("换挡",appGroup.value,id)
+
+ if(id.value == "100"){
+
+ }else{
+ groupKey.value = id
+ addFormGroupIsShow.value = true
+ drawerGroupWith.value = 400
+ }
+
+}
+/**
+@ 作者: 秦东
+@ 时间: 2024-03-09 09:06:44
+@ 功能: 刷新页面
+*/
+const refreshPage = (pageType:string) =>{
+ console.log("refreshPage",pageType)
+ if(pageType == "formPage"){
+ addFormIsShow.value = false;
+ }else{
+ addFormGroupIsShow.value = false;
+ }
+ gainFormGroup()
+ searchSub()
+}
+/**
+@ 作者: 秦东
+@ 时间: 2024-03-09 09:06:32
+@ 功能: 选择添加项目
+*/
+const handleCommand = (command: string,groupId: string) => {
+ // ElMessage(`click on item ${command}`)
+ if(groupId == ""){
+ groupId = "";
+ }
+ if (command == "addForm"){
+ formKey.value = ""
+ formGroupKey.value = groupId
+ // addFormIsShow.value = true
+ drawerWith.value = contbody.value?.clientWidth
+ addFormIsShow.value = true;
+ }else if(command == "addFormApp"){
+ drawerWith.value = contbody.value?.clientWidth
+ let sendInfo = {
+ id:groupId.toString()
+ }
+ createApp(sendInfo)
+ .then((data)=>{
+ formKey.value = data.data.uuid
+ groupKey.value = groupId.toString()
+ nextTick(() =>{
+ appPageShow.value = true
+ });
+ })
+ .finally(() => {
+
+ })
+
+ }else{
+ addFormGroupIsShow.value = true
+ drawerGroupWith.value = 400
+ groupKey.value = ""
+ }
+}
+/**
+@ 作者: 秦东
+@ 时间: 2024-03-21 14:22:58
+@ 功能: 改变分组状态
+*/
+const eidtGroupStatus = (id: string, state: number) => {
+
+ElMessageBox.confirm(
+ '您确定要删除此分组吗?一经删除!数据将不可恢复!请慎重执行此操作!!!',
+ '温馨提示',
+ {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning',
+ }
+)
+.then(() => {
+ let sendInfo = {
+ id: id.toString(),
+ status: state
+ }
+ editFormGroupState(sendInfo)
+ .then((data) =>{
+ ElMessageBox.alert(data.msg, '温馨提示!', {
+ confirmButtonText: '确定',
+ callback: (action: Action) => {
+ gainFormGroup()
+ }
+ });
+ })
+})
+
+
}
@@ -146,11 +259,11 @@ const getRongQiAttr = () => {
- 新增分组
+ 新增分组
添加表单
- 添加应用
- 编辑
- 删除
+ 添加应用
+ 编辑
+ 删除
@@ -161,6 +274,9 @@ const getRongQiAttr = () => {
+
+
+