From a6b37441013edb8d5e300e9c97c7df1073db468c Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Wed, 24 Jul 2024 16:29:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=B2=A1=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/calendar/calendar1/calendarPage.vue | 4 +- .../app/calendar/calendar1/dayPage.vue | 12 +-- .../app/calendar/calendar1/monthPage.vue | 6 +- .../app/calendar/calendar1/weekPage.vue | 8 +- src/components/DesignForm/app/cardPage.vue | 6 +- src/components/DesignForm/app/formPage.vue | 54 ++++++------ src/components/DesignForm/app/index.vue | 4 +- src/components/DesignForm/app/timeAxis.vue | 8 +- .../DesignForm/formControlAttres.vue | 2 +- .../DesignForm/formControlPropertiNew.vue | 6 +- .../DesignForm/formControlProperties.vue | 6 +- src/components/DesignForm/formVersion.vue | 4 +- .../DesignForm/layoutPage/index.vue | 4 +- .../DesignForm/public/form/childTable.vue | 10 +-- .../DesignForm/public/form/flexBox.vue | 2 +- .../DesignForm/public/form/form.vue | 20 ++--- .../DesignForm/public/form/form2.vue | 2 +- .../DesignForm/public/form/formGroup.vue | 4 +- .../DesignForm/public/form/formGroup1.vue | 2 +- .../DesignForm/public/form/tinymce.vue | 2 +- .../DesignForm/public/form/tinymce_1.vue | 2 +- .../DesignForm/tableListPage/formPageCont.vue | 18 ++-- .../tableListPage/formPageContApp.vue | 20 ++--- .../DesignForm/tableListPage/index.vue | 26 +++--- src/components/DesignForm/template.vue | 2 +- src/components/IconSelect/appMenuSvgPage.vue | 2 +- src/components/workflow/dialog/common.ts | 6 +- .../workflow/dialog/employeesDialog.vue | 2 +- src/components/workflow/dialog/matrix.vue | 2 +- src/components/workflow/drwer/analysisForm.ts | 6 +- .../workflow/drwer/approverDrawer.vue | 5 +- .../workflow/drwer/conditionDrawer.vue | 20 ++--- src/components/workflow/nodeWrap.vue | 2 +- src/components/workflow/selectResult.vue | 2 +- src/store/modules/user.ts | 2 +- src/utils/DesignForm/formChangeValue.ts | 2 +- src/utils/DesignForm/formatScreen.ts | 2 +- src/utils/workflow/index.ts | 2 +- src/views/appstore/appmarket/ccwl.vue | 2 +- src/views/dashboard/components/allorgyear.vue | 2 +- .../dashboard/components/application.vue | 2 +- src/views/dashboard/components/dltbhb.vue | 8 +- .../dashboard/components/orgeducation.vue | 2 +- src/views/dashboard/components/pageinfo.vue | 2 +- .../dashboard/components/sanlianping.vue | 6 +- src/views/dashboard/index.vue | 2 +- src/views/date/assets.vue | 6 +- src/views/date/editAssets.vue | 10 +-- .../rewardsandpunishments.vue | 4 +- src/views/hr/archives/index.vue | 24 +++--- src/views/hr/displayboards/educationpie.vue | 4 +- .../hr/displayboards/groupdimratepie.vue | 6 +- src/views/hr/orgUserRole/org.vue | 8 +- src/views/hr/orgUserRole/orgrole.vue | 14 ++-- src/views/hr/orgUserRole/rolePage.vue | 4 +- src/views/hr/userBox.vue | 4 +- src/views/knowledge/knowledge/lzq.vue | 2 +- src/views/knowledge/news/detail.vue | 4 +- src/views/login/index.vue | 2 +- src/views/login/silentlogin.vue | 12 +-- .../matrix/matrixcont/setupmatrixfield.vue | 8 +- .../matrix/matrixcont/setupmatrixuser.vue | 16 ++-- src/views/matrix/orgoruser/pickuser.vue | 2 +- src/views/opk/asd/news/bb.vue | 4 +- src/views/opk/asd/news/cc.vue | 2 +- src/views/opk/asd/news/dialog.vue | 2 +- src/views/opk/asd/news/index.vue | 2 +- src/views/opk/yui/new/aa.vue | 4 +- src/views/opk/yui/new/bb.vue | 4 +- src/views/opk/yui/new/daialog.vue | 2 +- src/views/opk/yui/new/dialog.vue | 4 +- src/views/opk/yui/new/diolog.vue | 2 +- src/views/opk/yui/new/eddialog.vue | 2 +- src/views/opk/yui/new/editdialog.vue | 4 +- src/views/opk/yui/new/index.vue | 2 +- src/views/opk/yui/new/lc.vue | 2 +- src/views/opk/yui/new/lzq.vue | 2 +- src/views/opk/yui/new/ta.vue | 2 +- src/views/opk/yui/new/xy.vue | 2 +- src/views/opk/yui/new/zjr.vue | 2 +- src/views/opk/yui/public/aa.vue | 2 +- src/views/opk/yui/public/dialog.vue | 2 +- src/views/opk/yui/public/editduty.vue | 2 +- src/views/opk/zjr/opk/aa.vue | 2 +- .../powermanage/publicrole/setuprole.vue | 6 +- src/views/public/orguser/orguser.vue | 2 +- src/views/sysworkflow/codepage/createform.vue | 26 +++--- .../codepage/datatablestructure.vue | 4 +- src/views/sysworkflow/codepage/page2.vue | 4 +- src/views/sysworkflow/codepage/page_jsgs.vue | 32 +++---- src/views/sysworkflow/codepage/pagemap.vue | 2 +- .../sysworkflow/codepage/setupconfig.vue | 2 +- .../sysworkflow/flow/flowDrawingBoard.vue | 12 +-- src/views/sysworkflow/flow/flowcanvas.vue | 4 +- .../sysworkflow/lowcodepage/appCardPage.vue | 16 ++-- .../sysworkflow/lowcodepage/appFormList.vue | 16 ++-- .../sysworkflow/lowcodepage/appListPage.vue | 16 ++-- .../lowcodepage/appPage/appMenuGroup.vue | 12 +-- .../lowcodepage/appPage/appMenus.vue | 20 ++--- .../appPage/appPageForm/openAppFormPage.vue | 6 +- .../appPage/appPageForm/pageFlow.vue | 8 +- .../appPage/appPageForm/pageForm.vue | 18 ++-- .../appPage/appPageForm/pageList.vue | 83 ++++++++++++++----- .../appPage/appSetUp/appManager.vue | 8 +- .../lowcodepage/appPage/appSetUp/index.vue | 4 +- .../lowcodepage/appPage/appSetUp/looksee.vue | 8 +- .../lowcodepage/appPage/appSetUp/setup.vue | 2 +- .../lowcodepage/appPage/createAppFormPage.vue | 12 +-- .../appPage/editAppMenuNamePage.vue | 2 +- .../sysworkflow/lowcodepage/appPage/index.vue | 4 +- .../lowcodepage/appPage/releaseApp/index.vue | 2 +- src/views/sysworkflow/lowcodepage/index.vue | 2 +- .../lowcodepage/lowCodeFormGroupPage.vue | 2 +- .../lowcodepage/lowCodeFormPage.vue | 4 +- .../newLowCode/appLayout/appContainer.vue | 4 +- .../appLayoutEdit/appContainerPage.vue | 4 +- .../sysworkflow/lowcodepage/pageDesign.vue | 14 ++-- .../sysworkflow/lowcodepage/pageDesignes.vue | 14 ++-- .../lowcodepage/pageFlow/appTableFlow.vue | 20 ++--- .../lowcodepage/pageFlow/tableFlow.vue | 10 +-- .../sysworkflow/lowcodepage/pageList.vue | 53 ++++++++++-- .../pageSetUpDialog/controlSetup.vue | 2 +- .../runApp/operationAction/AppEditPage.vue | 4 +- .../regularPage/completedMattersPage.vue | 2 +- .../runApp/regularPage/myCreate.vue | 10 +-- .../runApp/regularPage/myCreate_20240616.vue | 2 +- .../runApp/regularPage/myDrafts.vue | 4 +- .../runApp/regularPage/myToDoPage.vue | 2 +- .../runApp/regularPage/sendCopy.vue | 2 +- .../sysworkflow/lowcodepage/setUpPage.vue | 6 +- .../sysworkflow/lowcodepage/workFlow.vue | 22 ++--- .../taskmanagement/completedmatters.vue | 2 +- .../taskplatform/taskmanagement/drafts.vue | 2 +- .../taskmanagement/editFlowData.vue | 12 +-- .../taskplatform/taskmanagement/flowStep.vue | 2 +- .../taskmanagement/lookAndOperateLogInfo.vue | 8 +- .../taskmanagement/lookFlowInfo.vue | 18 ++-- .../taskmanagement/lookFlowInfoApp.vue | 14 ++-- .../taskplatform/taskmanagement/myrequest.vue | 2 +- .../taskmanagement/runFlowStep.vue | 6 +- .../taskmanagement/runFlowStepApp.vue | 6 +- .../taskmanagement/runFlowStep_20240411.vue | 6 +- .../taskmanagement/taskcustomerformnew.vue | 16 ++-- .../taskplatform/taskmanagement/todolist.vue | 2 +- .../associatedforms/associatedForms.vue | 2 +- src/widget/associatedforms/index.vue | 4 +- src/widget/baidumap/index.vue | 12 +-- src/widget/baidumap/pickmap.vue | 4 +- src/widget/carousel/lowcodeCarousel.vue | 4 +- src/widget/digitpage/index.vue | 4 +- src/widget/lowcodeimage/lowcodeImage.vue | 4 +- src/widget/number/index.vue | 6 +- src/widget/orgcitys/index.vue | 4 +- src/widget/systemunit/editTime.vue | 4 +- src/widget/systemunit/founder.vue | 8 +- src/widget/urllink/index.vue | 2 +- src/widget/writingboard/index.vue | 4 +- src/widget/writingboard/vueSignature.vue | 2 +- 158 files changed, 622 insertions(+), 549 deletions(-) diff --git a/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue b/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue index 3ddd619..5946736 100644 --- a/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue +++ b/src/components/DesignForm/app/calendar/calendar1/calendarPage.vue @@ -44,7 +44,7 @@ onMounted(() => { if(taday.value.length <= 0){ taday.value = DateClass.getCurrent() } - console.log("系统加载",taday.value) + // console.log("系统加载",taday.value) }) const curttWeek = computed(()=>{ @@ -164,7 +164,7 @@ const calendarSearchData = (val:any) => { default: break; } - console.log("查询数据",props.searchSend) + // console.log("查询数据",props.searchSend) } defineExpose({ calendarSearchData diff --git a/src/components/DesignForm/app/calendar/calendar1/dayPage.vue b/src/components/DesignForm/app/calendar/calendar1/dayPage.vue index 30737a1..20d6223 100644 --- a/src/components/DesignForm/app/calendar/calendar1/dayPage.vue +++ b/src/components/DesignForm/app/calendar/calendar1/dayPage.vue @@ -36,7 +36,7 @@ const drawingBoardHeight = computed(()=>{ }) const curttWeek = computed(()=>{ - console.log("画板高度---------->",props.taDay[0]) + // console.log("画板高度---------->",props.taDay[0]) return DateClass.getWeek(DateClass.solarWeek(props.taDay[0],props.taDay[1],props.taDay[2])) }) @@ -45,7 +45,7 @@ const dayInfo = ref(); onMounted(()=>{ dayInfo.value = Calendar.gainOneDay(props.taDay[0],props.taDay[1],props.taDay[2]) - console.log("初次加载",dayInfo.value,props.searchSend) + // console.log("初次加载",dayInfo.value,props.searchSend) searchatDayList(props.searchSend) nextTick(()=>{ @@ -56,7 +56,7 @@ onMounted(()=>{ watch(()=>props.taDay,(val:any)=>{ dayInfo.value = Calendar.gainOneDay(val[0],val[1],val[2]) - console.log("监听变化",dayInfo.value) + // console.log("监听变化",dayInfo.value) searchatDayList(props.searchSend) },{ deep: true, @@ -85,15 +85,15 @@ const searchatDayList = (val:any) => { dayType:"", mapWord:"" } - console.log("获取每天数据",val) + // console.log("获取每天数据",val) let sendInfo = { search:val, timeAry:[dayInfo.value] } - console.log("获取每天数据条件",sendInfo) + // console.log("获取每天数据条件",sendInfo) gainCalendarList(sendInfo) .then(({data})=>{ - console.log("获取数据",data) + // console.log("获取数据",data) dayInfo.value = data }) .finally(()=>{ loadDay.value = false }) diff --git a/src/components/DesignForm/app/calendar/calendar1/monthPage.vue b/src/components/DesignForm/app/calendar/calendar1/monthPage.vue index ae3a3cd..eaeb40d 100644 --- a/src/components/DesignForm/app/calendar/calendar1/monthPage.vue +++ b/src/components/DesignForm/app/calendar/calendar1/monthPage.vue @@ -82,16 +82,16 @@ const searchatMonthList = (val:any) => { dayType:"", mapWord:"" } - console.log("获取每天数据",val) + // console.log("获取每天数据",val) let sendInfo = { search:val, timeMonthAry:TBody.value, types:1 } - console.log("获取每天数据条件",sendInfo) + // console.log("获取每天数据条件",sendInfo) gainCalendarList(sendInfo) .then(({data})=>{ - console.log("获取月份数据",data) + // console.log("获取月份数据",data) TBody.value = data }) .finally(()=>{ loadMonth.value = false }) diff --git a/src/components/DesignForm/app/calendar/calendar1/weekPage.vue b/src/components/DesignForm/app/calendar/calendar1/weekPage.vue index 8a07f0e..b276b95 100644 --- a/src/components/DesignForm/app/calendar/calendar1/weekPage.vue +++ b/src/components/DesignForm/app/calendar/calendar1/weekPage.vue @@ -77,15 +77,15 @@ const searchatWeekList = (val:any) => { dayType:"", mapWord:"" } - console.log("获取每天数据",val) + // console.log("获取每天数据",val) let sendInfo = { search:val, timeAry:WeekBody.value } - console.log("获取每天数据条件",sendInfo) + // console.log("获取每天数据条件",sendInfo) gainCalendarList(sendInfo) .then(({data})=>{ - console.log("获取数据",data) + // console.log("获取数据",data) WeekBody.value = data }) .finally(()=>{ loadWeek.value = false }) @@ -93,7 +93,7 @@ const searchatWeekList = (val:any) => { watch(()=>props.taDay,(val:any)=>{ WeekBody.value = Calendar.gainDayOfWeek(props.taDay.start[0],props.taDay.start[1],props.taDay.start[2]); - console.log("监听变化",WeekBody.value) + // console.log("监听变化",WeekBody.value) searchatWeekList(props.searchSend) },{ deep: true, diff --git a/src/components/DesignForm/app/cardPage.vue b/src/components/DesignForm/app/cardPage.vue index 573e74a..3fc285b 100644 --- a/src/components/DesignForm/app/cardPage.vue +++ b/src/components/DesignForm/app/cardPage.vue @@ -69,7 +69,7 @@ const imgStyle = computed(() => { }else{ cssStyle['height'] = "50px"; } - console.log("自定义样式",cssStyle) + // console.log("自定义样式",cssStyle) return cssStyle }) @@ -133,7 +133,7 @@ const getCardList = (val:any) => { gainFormPageListCont(val) .then(({data})=>{ totalNum.value = data.total - console.log("卡片获取数据--》",data) + // console.log("卡片获取数据--》",data) cardDataList.value = data.list }) } @@ -147,7 +147,7 @@ defineExpose({ @ 功能: 获取图片显示 */ const imgSrcPath = (val:any) => { - console.log("获取图片显示", val[props.viewSetup.form.imgWork]) + // console.log("获取图片显示", val[props.viewSetup.form.imgWork]) if(val[props.viewSetup.form.imgWork]){ return val[props.viewSetup.form.imgWork] } diff --git a/src/components/DesignForm/app/formPage.vue b/src/components/DesignForm/app/formPage.vue index 6a95a26..27b09c3 100644 --- a/src/components/DesignForm/app/formPage.vue +++ b/src/components/DesignForm/app/formPage.vue @@ -160,7 +160,7 @@ const model = ref({}) //监听是否为流程表单 watch(()=>props.isWorkFlow,(val:number)=>{ - console.log("监听是否为流程表单----->",val,formProps) + // console.log("监听是否为流程表单----->",val,formProps) if(val == 1){ getFlowInitSwps() } @@ -174,7 +174,7 @@ watch(()=>props.isWorkFlow,(val:number)=>{ const getFlowInitSwps = () => { gainRunFlowStart({id:props.flowkey}) .then(({data})=>{ - console.log("获取流程",data) + // console.log("获取流程",data) flowMap.value = data.flowList nextStep.value = data.nextStep currentProgress.value = data.Step @@ -364,7 +364,7 @@ watch(() => props.options,(val:any) => { */ provide(constFormBtnEvent, (obj: any) => { emits('btnClick', obj.key) - console.log("按钮组件事件-----2-------->",obj.key) + // console.log("按钮组件事件-----2-------->",obj.key) if ([3, 4, 5].includes(props.type)) { return ElMessage.error('当前模式不能提交表单') } @@ -407,7 +407,7 @@ provide(constFormBtnEvent, (obj: any) => { */ const appAfreshSubmit = (params = {}) => { let addUrl = props.formData.config?.addUrl || props.addUrl - console.log("自定义App提交表单", props.addUrl) + // console.log("自定义App提交表单", props.addUrl) if (props.isSearch || !addUrl || loading.value) { if (!props.isSearch && !addUrl) { console.error( @@ -441,11 +441,11 @@ const appAfreshSubmit = (params = {}) => { formatParams.status=1 formatParams.flowList=json2string(flowMap.value) - console.log("submitParams--111->",submitParams ) - console.log("formatParams--111->",formatParams) + // console.log("submitParams--111->",submitParams ) + // console.log("formatParams--111->",formatParams) afreshAppSubmit(submitParams??formatParams) .then((data:any)=>{ - console.log("app重新提交表单--112221->",data) + // console.log("app重新提交表单--112221->",data) emits("closePage") }) } @@ -458,7 +458,7 @@ const appAfreshSubmit = (params = {}) => { */ const saveDraftAgainSend = (params = {}) => { let addUrl = props.formData.config?.addUrl || props.addUrl - console.log("自定义App提交表单", props.addUrl) + // console.log("自定义App提交表单", props.addUrl) if (props.isSearch || !addUrl || loading.value) { if (!props.isSearch && !addUrl) { console.error( @@ -492,11 +492,11 @@ const saveDraftAgainSend = (params = {}) => { formatParams.status=1 - console.log("submitParams--111221->",submitParams ) - console.log("formatParams--1112222->",formatParams) + // console.log("submitParams--111221->",submitParams ) + // console.log("formatParams--1112222->",formatParams) saveDraftAgain(submitParams??formatParams) .then((data:any)=>{ - console.log("提交草稿数据--112221->",data) + // console.log("提交草稿数据--112221->",data) emits("closePage") }) }else{ @@ -511,7 +511,7 @@ const saveDraftAgainSend = (params = {}) => { */ const saveDraft = (params = {}) => { let addUrl = props.formData.config?.addUrl || props.addUrl - console.log("自定义App提交表单", props.addUrl) + // console.log("自定义App提交表单", props.addUrl) if (props.isSearch || !addUrl || loading.value) { if (!props.isSearch && !addUrl) { console.error( @@ -547,7 +547,7 @@ const saveDraft = (params = {}) => { createAppTask(submitParams ?? formatParams) .then((data:any) => { - console.log("formatParams--111->",data) + // console.log("formatParams--111->",data) if(props.isWorkFlow == 1){ nextTick(() => { @@ -558,7 +558,7 @@ const saveDraft = (params = {}) => { } startRunFlow(sendInfo) .then((data:any)=>{ - console.log("流程提交成功--------1---------->",data) + // console.log("流程提交成功--------1---------->",data) }) }) } @@ -587,7 +587,7 @@ provide(constControlChange, ({ key, value, data, tProp, type, attribute }: any) }else{ fieldVal[i] = typeof model.value[i]=="number"?model.value[i].toString():model.value[i]; } - console.log("监听表单--constControlChange----------1--------->",i,model.value[i]) + // console.log("监听表单--constControlChange----------1--------->",i,model.value[i]) } //判断是否进行计算 if(type == "digitpage"){ @@ -599,7 +599,7 @@ provide(constControlChange, ({ key, value, data, tProp, type, attribute }: any) "mathsFornula":props.formData.config, "keyVal":fieldVal } - console.log("sendInfoe-1->",sendInfo) + // console.log("sendInfoe-1->",sendInfo) currencyFormApiSubmit("/systemapi/maths/mathematicalCalculations",sendInfo) .then((data:any)=>{ // console.log("结果-->",data) @@ -685,7 +685,7 @@ const setValue = (obj: { [key: string]: any }, filter?: boolean) => { */ const appFormSubmit = (params = {}) => { let addUrl = props.formData.config?.addUrl || props.addUrl - console.log("自定义App提交表单", props.addUrl) + // console.log("自定义App提交表单", props.addUrl) if (props.isSearch || !addUrl || loading.value) { if (!props.isSearch && !addUrl) { console.error( @@ -694,16 +694,16 @@ const appFormSubmit = (params = {}) => { } return } - console.log(params) + // console.log(params) validate((valid: boolean, fields: any) => { if (valid) { const formatParams = Object.assign({}, fields, params) - console.log("params--->",params) - console.log("fields--->",fields) - console.log("自定义A2pp提交表单", formatParams) + // console.log("params--->",params) + // console.log("fields--->",fields) + // console.log("自定义A2pp提交表单", formatParams) let submitParams const beforeSubmit = props.formData.events?.beforeSubmit - console.log("beforeSubmit--->", beforeSubmit) + // console.log("beforeSubmit--->", beforeSubmit) if (beforeSubmit) { if (typeof beforeSubmit === 'function') { submitParams = beforeSubmit(formatParams, route) @@ -722,12 +722,12 @@ const appFormSubmit = (params = {}) => { formatParams.versionId=props.versionId formatParams.appKey=props.groupid formatParams.status=2 - console.log("提交表单-----------1------------>", submitParams) - console.log("提交表单-----------2------------>", formatParams) + // console.log("提交表单-----------1------------>", submitParams) + // console.log("提交表单-----------2------------>", formatParams) createAppTask(submitParams ?? formatParams) .then((data:any) => { - console.log("formatParams--111->",data) + // console.log("formatParams--111->",data) if(props.isWorkFlow == 1){ nextTick(() => { @@ -738,7 +738,7 @@ const appFormSubmit = (params = {}) => { } startRunFlow(sendInfo) .then((data:any)=>{ - console.log("流程提交成功--------1---------->",data) + // console.log("流程提交成功--------1---------->",data) }) .finally(() =>{ afterSubmit('success', data) @@ -997,7 +997,7 @@ const changeKeyVal = (key:any,val:any,type:any,attribute:any) => { }) } } - console.log("isUpdateFlowChart",isUpdateFlowChart) + // console.log("isUpdateFlowChart",isUpdateFlowChart) //更新工作流图 if(isUpdateFlowChart && gainFlowChart.id !=0){ flowLoading.value = true diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue index a8b21c3..56e1032 100644 --- a/src/components/DesignForm/app/index.vue +++ b/src/components/DesignForm/app/index.vue @@ -586,7 +586,7 @@ function showAsfDetailDialog(item: any,scope: any,asfQueryParams: any){ onMounted(()=>{ - console.log("视图数据提交---》",props.viewPage); + // console.log("视图数据提交---》",props.viewPage); getPageData() nextTick(()=>{ drawerWith.value = container.value?.clientWidth @@ -643,7 +643,7 @@ const confirmEvent = (val:any) => { }) } const cancelEvent = (val:any) => { - console.log('cancel!',val) +// console.log('cancel!',val) } const container = ref() //实例化内容容器 const drawerWith = ref(); //编辑表单时抽屉宽度 diff --git a/src/components/DesignForm/app/timeAxis.vue b/src/components/DesignForm/app/timeAxis.vue index 5e7f417..a888e2b 100644 --- a/src/components/DesignForm/app/timeAxis.vue +++ b/src/components/DesignForm/app/timeAxis.vue @@ -76,8 +76,8 @@ const timeInfoList = ref([]) */ const searchTimeList = (val:any,clas?:number) =>{ loadTimePage.value = true - console.log("时间轴数据搜索",val) - console.log("时间轴数据搜索--->",props.columnsFilter) + // console.log("时间轴数据搜索",val) + // console.log("时间轴数据搜索--->",props.columnsFilter) val.viewClass = { class:"time", sortWord:"creater_time", @@ -88,7 +88,7 @@ const searchTimeList = (val:any,clas?:number) =>{ mapWord:"" } if(clas && clas != 1){ - console.log("时间轴数据搜索-11111-->",timeInfoList.value.length) + // console.log("时间轴数据搜索-11111-->",timeInfoList.value.length) if(timeInfoList.value.length > 0){ val.oldData = json2string(timeInfoList.value) }else{ @@ -99,7 +99,7 @@ const searchTimeList = (val:any,clas?:number) =>{ multiViewPage(val) .then((data:any) =>{ - console.log("时间轴数据搜索--1->",data) + // console.log("时间轴数据搜索--1->",data) loadTimePage.value = false total.value = data.data.total count.value = data.data.count diff --git a/src/components/DesignForm/formControlAttres.vue b/src/components/DesignForm/formControlAttres.vue index 4b0631f..2a7144c 100644 --- a/src/components/DesignForm/formControlAttres.vue +++ b/src/components/DesignForm/formControlAttres.vue @@ -1045,7 +1045,7 @@ const getFormFieldBySource = (id?: string) => { } }) .catch(res => { - console.log(res) + // console.log(res) }) } } diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index dc6ebea..cd812ad 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -204,7 +204,7 @@ const formAttr = computed(() => { ] }) const attrList = computed(() => { - console.log("controlData.value-1-->",controlData.value) + // console.log("controlData.value-1-->",controlData.value) if (Object.keys(controlData.value).length) { const { control = {}, @@ -217,8 +217,8 @@ const attrList = computed(() => { mathFormula = {}, unitName }: { control: any;type:any;name:any;item:any;attr:any; config: any,selectvalue:any,mathFormula:any,unitName:any } = controlData.value - console.log("controlData.value--->",controlData.value) - console.log("controlData.value-1-->",unitName) + // console.log("controlData.value--->",controlData.value) + // console.log("controlData.value-1-->",unitName) let columnIndex = false // 是否显示序号列 if (type === 'table') { // 表格时处理 diff --git a/src/components/DesignForm/formControlProperties.vue b/src/components/DesignForm/formControlProperties.vue index 5fa9192..76e1a4a 100644 --- a/src/components/DesignForm/formControlProperties.vue +++ b/src/components/DesignForm/formControlProperties.vue @@ -189,7 +189,7 @@ defineExpose({ getFormFieldBySource }) @ 功能: 表单属性修改 */ const formAttrChange = (obj: any, val?: any) => { - console.log("表单属性修改--->",obj,val,{ [obj.key]: obj.value }) + // console.log("表单属性修改--->",obj,val,{ [obj.key]: obj.value }) if (obj.key === 'source') { getFormFieldBySource(obj.value) // 改变了数据源了,重新请求数据 // 清空设计区已选择的组件,再一次选择时字段标识才会变 @@ -232,7 +232,7 @@ const isNotWrite = (val:any) =>{ } const isNotWriteWord = (val:any) =>{ - console.log("判断输入框是否可写--->",val,props.customerformid) + // console.log("判断输入框是否可写--->",val,props.customerformid) let ary = ["creater","creater_time","edit_time","owner","org"] if (ary.includes(val)){ return true; @@ -262,7 +262,7 @@ const handleAvatarSuccess: UploadProps['onSuccess'] = ( @ 功能: 上传前验证 */ const beforeAvatarUpload: UploadProps['beforeUpload'] = (rawFile) => { - console.log("beforeAvatarUpload",rawFile.type) + // console.log("beforeAvatarUpload",rawFile.type) if (rawFile.type !== 'image/jpeg' && rawFile.type !== 'image/jpg' && rawFile.type !== 'image/png' && rawFile.type !== 'image/gif' && rawFile.type !== 'image/icon') { ElMessage.error('请上传以下格式的图片(jpg、jpeg、png、gif、icon)!'+rawFile.type) return false diff --git a/src/components/DesignForm/formVersion.vue b/src/components/DesignForm/formVersion.vue index 01aa421..2a63f63 100644 --- a/src/components/DesignForm/formVersion.vue +++ b/src/components/DesignForm/formVersion.vue @@ -49,7 +49,7 @@ const lookAppPage = (val:string) => { @ 功能: 打开页面 */ const open = () => { - console.log("open",isOpen) + // console.log("open",isOpen) isOpen.value = true init() } @@ -62,7 +62,7 @@ const init = () => { loading.value= true haveCustomerFormVersion({id:props.tableKey}) .then(({data})=>{ - console.log("加载异常-------------->",data) + // console.log("加载异常-------------->",data) versionList.value = data // if(data.length > 0){ // data.forEach((item:any) => { diff --git a/src/components/DesignForm/layoutPage/index.vue b/src/components/DesignForm/layoutPage/index.vue index a6dd050..6440827 100644 --- a/src/components/DesignForm/layoutPage/index.vue +++ b/src/components/DesignForm/layoutPage/index.vue @@ -28,7 +28,7 @@ const unitIsShow = ref(true) const labelIsShow = ref(true) const inputUnitTitle = (val:string) => { - console.log("inputUnitTitle",val); + // console.log("inputUnitTitle",val); switch (val) { case "radio": return "输入设置" @@ -92,7 +92,7 @@ // }); watch(()=>props.place,(val : any)=>{ - console.log("格式布局-----1--->",val) + // console.log("格式布局-----1--->",val) inputUnitTitle(val); // props.stylesVal[props.place] = val // Object.assign(store.controlAttr.styles.divStyle, val) diff --git a/src/components/DesignForm/public/form/childTable.vue b/src/components/DesignForm/public/form/childTable.vue index 7b94554..d398fff 100644 --- a/src/components/DesignForm/public/form/childTable.vue +++ b/src/components/DesignForm/public/form/childTable.vue @@ -21,10 +21,10 @@ const props = withDefaults( ) const formProps = inject(constFormProps, {}) as any const tableDataNew = computed(() => { - console.log("如果编辑页禁用时-----1123---->",props.data.name) - console.log("如果编辑页禁用时-----1123---->",formProps.value.model[props.data.name]) - console.log("如果编辑页禁用时-----1123---->",formProps.value.model) - console.log("如果编辑页禁用时-----1123---->",formProps.value) + // console.log("如果编辑页禁用时-----1123---->",props.data.name) + // console.log("如果编辑页禁用时-----1123---->",formProps.value.model[props.data.name]) + // console.log("如果编辑页禁用时-----1123---->",formProps.value.model) + // console.log("如果编辑页禁用时-----1123---->",formProps.value) return formProps.value.model[props.data.name] }) const type = computed(() => { @@ -35,7 +35,7 @@ const editDisabled = computed(() => { return formProps.value.type === 2 && props.data.config?.editDisabled }) const addColumn = () => { - console.log("如果编辑页禁用时--------->",tableDataNew.value) + // console.log("如果编辑页禁用时--------->",tableDataNew.value) const temp: any = {} if (props.data.list) { props.data.list.forEach((item: any) => { diff --git a/src/components/DesignForm/public/form/flexBox.vue b/src/components/DesignForm/public/form/flexBox.vue index 1e5bcd6..7ea919a 100644 --- a/src/components/DesignForm/public/form/flexBox.vue +++ b/src/components/DesignForm/public/form/flexBox.vue @@ -29,7 +29,7 @@ const getRow = () => { props.data.list.forEach((item: any) => { temp[item.name] = item.control.modelValue }) - console.log(temp) + // console.log(temp) return temp } const addRow = () => { diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue index 71be18c..0e9dfd1 100644 --- a/src/components/DesignForm/public/form/form.vue +++ b/src/components/DesignForm/public/form/form.vue @@ -171,7 +171,7 @@ const forEachGetFormModel = (list: FormList[], obj: any) => { obj[item.name] = jsonParseStringify(item.control.modelValue) if(['switch'].includes(item.type)){ model.value[item.name] = jsonParseStringify(item.control.inactiveValue) - console.log(model.value) + // console.log(model.value) } } } @@ -986,7 +986,7 @@ const getEditData = (params = {}) => { if (formatRes === false) { return } - console.log("停止数据请求--->",formatRes) + // console.log("停止数据请求--->",formatRes) setValue(formatRes.result || formatRes) nextTick(() => { // 将dict保存,可用于从接口中设置表单组件options。 @@ -1046,7 +1046,7 @@ const getData = (params = {}) => { const result = res.data result.formKey = newParams.id result.formId = newParams.version - console.log("停止数据请求--->",newParams) + // console.log("停止数据请求--->",newParams) if (result) { let formatRes: any = result // 比较适用通用表单,保存在服务端 @@ -1088,7 +1088,7 @@ const submit = (params = {}) => { let editUrl = props.formData.config?.editUrl || props.editUrl let apiUrl = props.type === 1 ? addUrl : editUrl - console.log("新增、查看、保存数据",props.type,props.addUrl,props.editUrl) + // console.log("新增、查看、保存数据",props.type,props.addUrl,props.editUrl) if (props.isSearch || !apiUrl || loading.value) { if (!props.isSearch && !apiUrl) { console.error( @@ -1118,9 +1118,9 @@ const submit = (params = {}) => { if (valid) { const formatParams = Object.assign({}, fields, params) - console.log("params--->",params) - console.log("fields--->",fields) - console.log("formatParams-Object-->",formatParams) + // console.log("params--->",params) + // console.log("fields--->",fields) + // console.log("formatParams-Object-->",formatParams) let submitParams const beforeSubmit = props.formData.events?.beforeSubmit @@ -1152,7 +1152,7 @@ const submit = (params = {}) => { // 提交保存表单 currencyFormApiSubmit(apiUrl, submitParams ?? formatParams) .then((res: any) => { - console.log("formatParams--111->",res) + // console.log("formatParams--111->",res) afterSubmit('success', res) }) .catch(res => { @@ -1231,7 +1231,7 @@ const resetFields = () => { // setValue(Object.assign(model.value, obj || {})) // 这才能清空组件显示的值 } onMounted(() => { - console.log("数据处理结束--->",props.formData) + // console.log("数据处理结束--->",props.formData) getInitModel() nextTick(() => { appendRemoveStyle(true) @@ -1559,7 +1559,7 @@ const sendDraftSubmit = (type: string, res: any) => { if (submitParams === false) { return } - console.log("提交修改数据",apiUrl,submitParams,formatParams) + // console.log("提交修改数据",apiUrl,submitParams,formatParams) // 提交保存表单 currencyFormApiSubmit(apiUrl, submitParams ?? formatParams) .then((res: any) => { diff --git a/src/components/DesignForm/public/form/form2.vue b/src/components/DesignForm/public/form/form2.vue index 3d76b2f..dde4143 100644 --- a/src/components/DesignForm/public/form/form2.vue +++ b/src/components/DesignForm/public/form/form2.vue @@ -100,7 +100,7 @@ const setWindowEvent = (bool?: boolean) => { watch( () => props.formData, () => { - console.log("监听数据----->1",props.formData) + // console.log("监听数据----->1",props.formData) emits('update:issave', false) }, { deep: true } diff --git a/src/components/DesignForm/public/form/formGroup.vue b/src/components/DesignForm/public/form/formGroup.vue index acdc335..23469d1 100644 --- a/src/components/DesignForm/public/form/formGroup.vue +++ b/src/components/DesignForm/public/form/formGroup.vue @@ -145,7 +145,7 @@ const draggableAdd = (evt: any) => { const isNested = evt.target && evt.target.getAttribute('data-type') // 不能嵌套 // console.log("设计拖拽事件-----1------->",newIndex) // console.log("设计拖拽事件-----2------->",key) - console.log("设计拖拽事件-----3------->",obj) + // console.log("设计拖拽事件-----3------->",obj) // console.log("设计拖拽事件-----4------->",isNested) // console.log("设计拖拽事件-----4------->",dataList.value) if ((isNested === 'not-nested' && notNested(obj.type)) || ((isNested === 'not-table' || isNested === 'not-flex') && notNestedTableFlex(obj.type)) || determineDuplicates(obj.type)) { @@ -353,7 +353,7 @@ const linksIf = (obj: FormList) => { //按钮点击事件 const injectBtnEvent:any = inject(constFormBtnEvent) const clickBtn = (control: any) => { - console.log(control) + // console.log(control) // 0: '提交表单', // 1: '重置表单', // 2: '取消返回', diff --git a/src/components/DesignForm/public/form/formGroup1.vue b/src/components/DesignForm/public/form/formGroup1.vue index 5c084f4..33ea6c2 100644 --- a/src/components/DesignForm/public/form/formGroup1.vue +++ b/src/components/DesignForm/public/form/formGroup1.vue @@ -32,7 +32,7 @@ const props = withDefaults( const store = useDesignFormStore() as any const formProps = inject(constFormProps, {}) as any const type = computed(() => { - console.log("11111",formProps.value.type) + // console.log("11111",formProps.value.type) return formProps.value.type }) const state = reactive({ diff --git a/src/components/DesignForm/public/form/tinymce.vue b/src/components/DesignForm/public/form/tinymce.vue index 8eb0b3b..101af52 100644 --- a/src/components/DesignForm/public/form/tinymce.vue +++ b/src/components/DesignForm/public/form/tinymce.vue @@ -66,7 +66,7 @@ const commInit = { const imgUploadFn = (blobInfo: any, progress: number) => new Promise((resolve, reject) => { // https://www.tiny.cloud/docs/tinymce/6/file-image-upload/#images_upload_handler - console.log("图片上传",progress) + // console.log("图片上传",progress) const params = new FormData() params.append('file', blobInfo.blob()) params.append('type',"1") diff --git a/src/components/DesignForm/public/form/tinymce_1.vue b/src/components/DesignForm/public/form/tinymce_1.vue index ce7b5d2..a63cba4 100644 --- a/src/components/DesignForm/public/form/tinymce_1.vue +++ b/src/components/DesignForm/public/form/tinymce_1.vue @@ -65,7 +65,7 @@ const commInit = { const imgUploadFn = (blobInfo: any, progress: number) => new Promise((resolve, reject) => { // https://www.tiny.cloud/docs/tinymce/6/file-image-upload/#images_upload_handler - console.log("图片上传",progress) + // console.log("图片上传",progress) const params = new FormData() params.append('file', blobInfo.blob()) let options = {} diff --git a/src/components/DesignForm/tableListPage/formPageCont.vue b/src/components/DesignForm/tableListPage/formPageCont.vue index 1da39d5..da3d7f0 100644 --- a/src/components/DesignForm/tableListPage/formPageCont.vue +++ b/src/components/DesignForm/tableListPage/formPageCont.vue @@ -136,7 +136,7 @@ const getCustomrrFormInfo = () => { //alert(props.pageInfo.masters_key) gainEditDataLog({id:props.pageInfo.masters_key}) .then(({data})=>{ - console.log("获取修改记录-1111-->",data) + // console.log("获取修改记录-1111-->",data) pageLog.value = data.logAry }); }) @@ -147,7 +147,7 @@ const getCustomrrFormInfo = () => { @ 功能: 表单动作回调 */ const afterSubmit = (type: string) => { - console.log("表单提交成功") + // console.log("表单提交成功") if (type === 'success') { // router.go(-1) // console.log("表单提交成功") @@ -161,13 +161,13 @@ const closeAppSubmit = () => { } //流程执行 const drawerBeforeClose = () => { - console.log("监听打开关闭",false) + // console.log("监听打开关闭",false) // emits("getmytodolist") // emits("update:isshow", false); } //提交审批 const sendDraftSubmit = (type: string,val?:any) => { - console.log("提交审批",type,val) + // console.log("提交审批",type,val) // emits("getmytodolist") if (type === 'success') { if(props.pageInfo.flowIsOpen == 1){ @@ -176,10 +176,10 @@ const sendDraftSubmit = (type: string,val?:any) => { flowList:flowAry.value, state:3 } - console.log("草稿提交审批--1-<",sendInfo) + // console.log("草稿提交审批--1-<",sendInfo) draftsInitiateApproval(sendInfo) .then((data:any) =>{ - console.log("草稿提交审批---<",sendInfo,data) + // console.log("草稿提交审批---<",sendInfo,data) if(data.code == 0){ ElMessage.success(data.msg || '提交成功!') if(runstep.value){ @@ -194,7 +194,7 @@ const sendDraftSubmit = (type: string,val?:any) => { } //保存草稿箱(带流程) const saveEditFormInfo = (type: string,val?:any) => { - console.log("草稿提交审批--1-<",type,val) + // console.log("草稿提交审批--1-<",type,val) if(type == "success"){ runstep.value.gainRunFlowTask() emits("getPageData"); @@ -204,11 +204,11 @@ const saveEditFormInfo = (type: string,val?:any) => { //重新提交审核 const anewSubmit = (type: string,val?:any) => { - console.log("重新提交数据-11--<",type,val) + // console.log("重新提交数据-11--<",type,val) if(type == "success"){ afreshRunWorkflow({id:val.data.runFlowId}) .then((data:any) => { - console.log("重新提交数据---<",data,runstep.value) + // console.log("重新提交数据---<",data,runstep.value) runstep.value.gainRunFlowTask() }) .finally(() => { diff --git a/src/components/DesignForm/tableListPage/formPageContApp.vue b/src/components/DesignForm/tableListPage/formPageContApp.vue index d4a4489..95b6ffa 100644 --- a/src/components/DesignForm/tableListPage/formPageContApp.vue +++ b/src/components/DesignForm/tableListPage/formPageContApp.vue @@ -59,7 +59,7 @@ const openOfClose = computed({ @ 功能: 监听状态变化处理数据 */ watch(()=>props.isShow,(val:bool)=>{ - console.log("监听状态变化处理数据",props.pageInfo) + // console.log("监听状态变化处理数据",props.pageInfo) if(val){ formLoading.value = true; getCustomrrFormInfo(); @@ -130,7 +130,7 @@ const getCustomrrFormInfo = () => { formLoading.value = false; gainEditDataLog({id:props.pageInfo.mastersKeyStr}) .then(({data})=>{ - console.log("获取修改记录-1111-->",data) + // console.log("获取修改记录-1111-->",data) pageLog.value = data.logAry }); }) @@ -141,7 +141,7 @@ const getCustomrrFormInfo = () => { @ 功能: 表单动作回调 */ const afterSubmit = (type: string) => { - console.log("表单提交成功") + // console.log("表单提交成功") if (type === 'success') { // router.go(-1) // console.log("表单提交成功") @@ -155,13 +155,13 @@ const closeAppSubmit = () => { } //流程执行 const drawerBeforeClose = () => { - console.log("监听打开关闭",false) + // console.log("监听打开关闭",false) // emits("getmytodolist") // emits("update:isshow", false); } //提交审批 const sendDraftSubmit = (type: string,val?:any) => { - console.log("提交审批",type,val) + // console.log("提交审批",type,val) // emits("getmytodolist") if (type === 'success') { if(props.pageInfo.types == 1){ @@ -170,10 +170,10 @@ const sendDraftSubmit = (type: string,val?:any) => { flowList:flowAry.value, state:3 } - console.log("草稿提交审批--1-<",sendInfo) + // console.log("草稿提交审批--1-<",sendInfo) draftsInitiateApproval(sendInfo) .then((data:any) =>{ - console.log("草稿提交审批---<",sendInfo,data) + // console.log("草稿提交审批---<",sendInfo,data) if(data.code == 0){ ElMessage.success(data.msg || '提交成功!') if(runstep.value){ @@ -188,7 +188,7 @@ const sendDraftSubmit = (type: string,val?:any) => { } //保存草稿箱(带流程) const saveEditFormInfo = (type: string,val?:any) => { - console.log("草稿提交审批--1-<",type,val) + // console.log("草稿提交审批--1-<",type,val) if(type == "success"){ runstep.value.gainRunFlowTask() emits("getPageData"); @@ -198,11 +198,11 @@ const saveEditFormInfo = (type: string,val?:any) => { //重新提交审核 const anewSubmit = (type: string,val?:any) => { - console.log("重新提交数据-22--<",type,val) + // console.log("重新提交数据-22--<",type,val) if(type == "success"){ afreshRunWorkflow({id:val.data.runFlowId}) .then((data:any) => { - console.log("重新提交数据---<",data,runstep.value) + // console.log("重新提交数据---<",data,runstep.value) runstep.value.gainRunFlowTask() }) .finally(() => { diff --git a/src/components/DesignForm/tableListPage/index.vue b/src/components/DesignForm/tableListPage/index.vue index 73e043d..d0685ba 100644 --- a/src/components/DesignForm/tableListPage/index.vue +++ b/src/components/DesignForm/tableListPage/index.vue @@ -190,7 +190,7 @@ const resetFields = (formEl: FormInstance | undefined) => { @ 功能: 功能按钮动作 */ const setUpClick = (val:string,id:string) =>{ - console.log("功能按钮动作",val,"----id----->",props.versionid,"-----formId---->",props.versiontitle) + // console.log("功能按钮动作",val,"----id----->",props.versionid,"-----formId---->",props.versiontitle) if(val.key == "newAdd"){ drawerWith.value = container.value?.clientWidth openTaskDrawer.value = true @@ -207,7 +207,7 @@ const setUpClick = (val:string,id:string) =>{ } softDeletion(sendData) .then((data)=>{ - console.log('cancel!',data) + // console.log('cancel!',data) ElNotification({ title: '温馨提示!', message: data.mag, @@ -232,16 +232,16 @@ const setUpClick = (val:string,id:string) =>{ const selectionChange = (row: any) => { state.selectionChecked = row emits('selectionChange', row) - console.log('selectionChange', row) + // console.log('selectionChange', row) idList.value.length = 0 - console.log('idList.value-1-->', idList.value) + // console.log('idList.value-1-->', idList.value) if(row && row.length>0){ row.forEach((item:any) => { - console.log('item', item.masters_key) + // console.log('item', item.masters_key) idList.value.push(item.masters_key.toString()) }) } - console.log('idList.value--->', idList.value) + // console.log('idList.value--->', idList.value) } /** @ 作者: 秦东 @@ -264,7 +264,7 @@ const columnsFilter = computed(() => { @ 功能: 翻页操作 */ const handleSizeChange = (page: number) => { - console.log("翻页操作",page) + // console.log("翻页操作",page) state.pageSize = page getListData(1) } @@ -317,7 +317,7 @@ const getPageData = () => { searchData:json2string(props.searchData) //searchData:"id:1" } - console.log("获取列表详细信息",sendData) + // console.log("获取列表详细信息",sendData) switch(viewType.value){ case 2: @@ -597,7 +597,7 @@ const judjeRadio = (val: any, options: any[]) => { if(options && options.length > 0){ options.forEach((item)=>{ if(item.value == val){ - console.log("判断单选值",val, item.value,item.label) + // console.log("判断单选值",val, item.value,item.label) val = item.label } }) @@ -628,7 +628,7 @@ const confirmEvent = (val:any) => { } softDeletion(sendData) .then((data)=>{ - console.log('cancel!',data) + // console.log('cancel!',data) ElNotification({ title: '系统提示!', message: data.mag?data.mag:"删除成功", @@ -638,7 +638,7 @@ const confirmEvent = (val:any) => { }) } const cancelEvent = (val:any) => { - console.log('cancel!',val) +// console.log('cancel!',val) } const container = ref() //实例化内容容器 const drawerWith = ref(); //编辑表单时抽屉宽度 @@ -665,7 +665,7 @@ const lookPageInfo = (val:any) => { */ const editInfo = (val:any) => { - console.log('修改数据!',val) + // console.log('修改数据!',val) operState.value = 5; tablePageClass.value = 2; pageInfoCont.value = val @@ -737,7 +737,7 @@ const tabsView = (val:any,types:number) => { viewType.value = types val.isClick = true viewLayout.value = val - console.log("切换视图展示方式",val) + // console.log("切换视图展示方式",val) switch(types){ case 2: props.viewPage.list.isClick = false diff --git a/src/components/DesignForm/template.vue b/src/components/DesignForm/template.vue index 0d0b615..def65bf 100644 --- a/src/components/DesignForm/template.vue +++ b/src/components/DesignForm/template.vue @@ -22,7 +22,7 @@ const open = () => { } const init = () => { const template = import.meta.globEager('./template/*.ts') - console.log(template) + // console.log(template) state.list = [] Object.keys(template).forEach((key: string) => { const file: any = template[key] diff --git a/src/components/IconSelect/appMenuSvgPage.vue b/src/components/IconSelect/appMenuSvgPage.vue index 2ec6de9..d6ac28c 100644 --- a/src/components/IconSelect/appMenuSvgPage.vue +++ b/src/components/IconSelect/appMenuSvgPage.vue @@ -59,7 +59,7 @@ const handleClose = () => { @ 功能: 确定 */ const handleSelect = (svgName:string) => { - console.log("确定",props.svgId) + // console.log("确定",props.svgId) emits("update:svgName",svgName) handleClose() } diff --git a/src/components/workflow/dialog/common.ts b/src/components/workflow/dialog/common.ts index 0b6be05..2b39b12 100644 --- a/src/components/workflow/dialog/common.ts +++ b/src/components/workflow/dialog/common.ts @@ -47,7 +47,7 @@ export let searchPostName =async (event:any, type = 1) => { let sendData ={ name:event.target.value } - console.log("searchPostName",sendData) + // console.log("searchPostName",sendData) let { data } = await SearchPositionUnify(sendData); positionList.value = data; @@ -70,8 +70,8 @@ export let gainFormTableWorde = async (id:string,types:number) => { id:id, types:types } - console.log("gainFormTableWorde--->",sendData); + // console.log("gainFormTableWorde--->",sendData); let { data } = await gainNodeFactor(sendData) - console.log("gainFormTableWorde",data); + // console.log("gainFormTableWorde",data); formWordList.value = data; } diff --git a/src/components/workflow/dialog/employeesDialog.vue b/src/components/workflow/dialog/employeesDialog.vue index 32c2402..50ba9ae 100644 --- a/src/components/workflow/dialog/employeesDialog.vue +++ b/src/components/workflow/dialog/employeesDialog.vue @@ -54,7 +54,7 @@ let list = computed(()=> { }] }) let resList = computed(()=>{ - console.log("checkedEmployessList.value",checkedEmployessList.value) + // console.log("checkedEmployessList.value",checkedEmployessList.value) let data = [{ type: 'employee', data: checkedEmployessList.value, diff --git a/src/components/workflow/dialog/matrix.vue b/src/components/workflow/dialog/matrix.vue index 34bd902..2599304 100644 --- a/src/components/workflow/dialog/matrix.vue +++ b/src/components/workflow/dialog/matrix.vue @@ -94,7 +94,7 @@ const gainMatrixNeed = (val:any) =>{ loadingVal.value = true getMatrixField({id:val*1}) .then(({data})=>{ - console.log("监听数据---->",data) + // console.log("监听数据---->",data) factorList.value = data.factor outcomeList.value = data.outcome if(data.factor.length>0){ diff --git a/src/components/workflow/drwer/analysisForm.ts b/src/components/workflow/drwer/analysisForm.ts index 8c8ce12..099d985 100644 --- a/src/components/workflow/drwer/analysisForm.ts +++ b/src/components/workflow/drwer/analysisForm.ts @@ -6,7 +6,7 @@ import { formData } from '@/api/DesignForm/types' */ export const AnalysisForm = (formData:formData) => { let mastAry = new Array - console.log("组件---->", formData) + // console.log("组件---->", formData) if(formData.list && formData.list.length > 0) { formData.list.forEach((item:any) => { switch(item.type) { @@ -31,7 +31,7 @@ export const AnalysisForm = (formData:formData) => { case "button": break; default: - console.log("组件", item) + // console.log("组件", item) mastAry.push( { name:item.name, @@ -42,5 +42,5 @@ export const AnalysisForm = (formData:formData) => { } }) } - console.log("mastAry组件", mastAry) + // console.log("mastAry组件", mastAry) } diff --git a/src/components/workflow/drwer/approverDrawer.vue b/src/components/workflow/drwer/approverDrawer.vue index 1b420b2..ef60570 100644 --- a/src/components/workflow/drwer/approverDrawer.vue +++ b/src/components/workflow/drwer/approverDrawer.vue @@ -101,7 +101,7 @@ const matrixIsShow = ref(false) watch(approverConfig1, (val:any)=>{ val.value.attribute = val.value.attribute*1 - console.log("directormaxlevel",val.value) + // console.log("directormaxlevel",val.value) matrixIsShow.value = false approverConfig.value = val.value if(val.type == 3){ @@ -294,8 +294,7 @@ const updateMatrix = (val:any) =>{ @ 功能: 解析表单 */ const jieForm = () => { - console.log("nodeKey:approverConfig1.nodeNumber",approverConfig1.value.value.nodeNumber -); + // console.log("nodeKey:approverConfig1.nodeNumber",approverConfig1.value.value.nodeNumber); analysisForm({nodeKey:approverConfig1.value.value.nodeNumber,nodeJson:JSON.stringify(formData.value)}) .then((data)=>{ if(data.code == 0){ diff --git a/src/components/workflow/drwer/conditionDrawer.vue b/src/components/workflow/drwer/conditionDrawer.vue index 9721003..fddbf48 100644 --- a/src/components/workflow/drwer/conditionDrawer.vue +++ b/src/components/workflow/drwer/conditionDrawer.vue @@ -232,14 +232,14 @@ const saveCondition = () => { if(tableList.value.length>0){ for (var i = 0; i < tableList.value.length; i++) { var {name,type,options,nodeUserList,oneanswer,answers,isCheckbox,customFields} = tableList.value[i] - console.log("conditionConfig.conditionList--1->",name); - console.log("conditionConfig.conditionList--2->",type); - console.log("conditionConfig.conditionList--3->",options); - console.log("conditionConfig.conditionList--4->",nodeUserList); - console.log("conditionConfig.conditionList--5->",answers); - console.log("conditionConfig.conditionList--6->",isCheckbox); - console.log("conditionConfig.conditionList--7->",customFields); - console.log("conditionConfig.conditionList--8->",oneanswer); + // console.log("conditionConfig.conditionList--1->",name); + // console.log("conditionConfig.conditionList--2->",type); + // console.log("conditionConfig.conditionList--3->",options); + // console.log("conditionConfig.conditionList--4->",nodeUserList); + // console.log("conditionConfig.conditionList--5->",answers); + // console.log("conditionConfig.conditionList--6->",isCheckbox); + // console.log("conditionConfig.conditionList--7->",customFields); + // console.log("conditionConfig.conditionList--8->",oneanswer); switch(type){ case 1: if(nodeUserList){ @@ -339,11 +339,11 @@ const addCustomFields = () =>{ } }) } - console.log("添加自定义条件",tableList) + // console.log("添加自定义条件",tableList) } //自定义字段改变选项 const myoptChhange = (val:any) =>{ - console.log("添加自定义条件",val) + // console.log("添加自定义条件",val) } //删除自定义字段条件 const delCuresTiaoJian = (val:any,old:any) => { diff --git a/src/components/workflow/nodeWrap.vue b/src/components/workflow/nodeWrap.vue index 38a65b8..17d53e5 100644 --- a/src/components/workflow/nodeWrap.vue +++ b/src/components/workflow/nodeWrap.vue @@ -136,7 +136,7 @@ const reData = (data: any, addData: any) => { const setPerson = (priorityLevel: any) => { var { type } = props.nodeConfig; -console.log("选中节点--->",type,props.nodeConfig) +// console.log("选中节点--->",type,props.nodeConfig) if (type == 0) { diff --git a/src/components/workflow/selectResult.vue b/src/components/workflow/selectResult.vue index dc14218..3c1e1e5 100644 --- a/src/components/workflow/selectResult.vue +++ b/src/components/workflow/selectResult.vue @@ -15,7 +15,7 @@ let props = defineProps({ } }) let emits = defineEmits(['del']) -console.log("已选择得内容",props.list) +// console.log("已选择得内容",props.list)