diff --git a/src/views/formTable/pageInfo.vue b/src/views/formTable/pageInfo.vue index 8e2b499..da5856b 100644 --- a/src/views/formTable/pageInfo.vue +++ b/src/views/formTable/pageInfo.vue @@ -117,7 +117,7 @@ watch(() => openPage.value,(val:boolean) => { //liwenxuan 修复 子表日期选择器 区间情况bug end props.stateForm.dict = string2json(data.structure.dict); if(props.stateForm.type != 3){ - judgeSubmitCancel({ name: data.structure.mastesformjson }).then((data: any) => { + judgeSubmitCancel({ name: data.structure.mastesformjson }).then((dataesv: any) => { if (props.stateForm.type == 1) { // console.log("添加按钮---------------->",props.stateForm.type,submitButtonEs); props.stateForm.formData.list.push(submitButton); diff --git a/src/views/formTable/taskListPage.vue b/src/views/formTable/taskListPage.vue index f233d23..d4818a0 100644 --- a/src/views/formTable/taskListPage.vue +++ b/src/views/formTable/taskListPage.vue @@ -417,9 +417,9 @@ const getNewAppForm = () => { judgeSubmitCancel({ name: data.data.appForm.mastesformjson }) .then( (datajud: any) => { - + console.log("获取初始化表单数据:===1=======>",datajud) if (datajud.code == 0) { - if (datajud.data == 3 || datajud.data == 4) { + if (datajud.data.buttonIsTrue == 3 || datajud.data.buttonIsTrue == 4) { if(data.data.appFlow){ stateForm.formData.list.push(submitFlowButton); }else{