diff --git a/src/api/DesignForm/requestapi.ts b/src/api/DesignForm/requestapi.ts index 57292bcb2..21966cae5 100644 --- a/src/api/DesignForm/requestapi.ts +++ b/src/api/DesignForm/requestapi.ts @@ -561,3 +561,11 @@ export function gainListTableField(data: any) { data: data }); } +//多视图数据处理 +export function multiViewPage(data: any) { + return request({ + url: '/systemapi/customer_form/multiViewPage', + method: 'post', + data: data + }); +} diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue index da8a1fcdd..dd89e6f62 100644 --- a/src/components/DesignForm/app/index.vue +++ b/src/components/DesignForm/app/index.vue @@ -294,7 +294,12 @@ watch(()=>props.formId,(val:any)=>{ }) const timeAxisRef = ref(null) - +const searchSend = reactive({ + formId:props.formId, + page:state.currentPage, + pagesize:state.pageSize, + searchData:json2string(props.searchData) +}) /** @ 作者: 秦东 @@ -303,13 +308,13 @@ const timeAxisRef = ref(null) */ const getPageData = () => { - let sendData = { - formId:props.formId, - page:state.currentPage, - pagesize:state.pageSize, - searchData:json2string(props.searchData) - } - console.log("获取列表详细信息",sendData) + // let sendData = { + // formId:props.formId, + // page:state.currentPage, + // pagesize:state.pageSize, + // searchData:json2string(props.searchData) + // } + // console.log("获取列表详细信息",sendData) switch(viewType.value){ @@ -318,7 +323,7 @@ const getPageData = () => { case 3: nextTick(()=>{ console.log("获取列表详细信息-------222---------->",timeAxisRef.value) - timeAxisRef.value.searchTimeList(sendData) + // timeAxisRef.value.searchTimeList(searchSend) }) break; @@ -328,7 +333,7 @@ const getPageData = () => { break; default: state.loading = true; - gainFormPageListCont(sendData) + gainFormPageListCont(searchSend) .then((data)=>{ console.log("获取列表详细信息----------------->",data) tableDataList.value = data.data.list @@ -851,7 +856,7 @@ const tabsView = (val:any,types:number) => { - + diff --git a/src/components/DesignForm/app/timeAxis.vue b/src/components/DesignForm/app/timeAxis.vue index c9900a18d..99c703ce4 100644 --- a/src/components/DesignForm/app/timeAxis.vue +++ b/src/components/DesignForm/app/timeAxis.vue @@ -4,7 +4,10 @@ @ 备注: 自定义应用时间轴视图 -->