Browse Source

修复因合并冲突带来的问题2

1.表单id取的不对造成后端空指针问题
2.未配置表格字段时遮罩层无法关闭问题
lwx_v17
liwenxuan 9 months ago
parent
commit
c7fc84070c
  1. 11
      src/components/DesignForm/app/index.vue
  2. 10
      src/components/DesignForm/tableListPage/index.vue
  3. 6
      src/views/sysworkflow/lowcodepage/pageFlow/tableFlow.vue

11
src/components/DesignForm/app/index.vue

@ -517,17 +517,18 @@ const setUpClick = (val: string, id: string) => {
//,
let idArray = state.selectionChecked.map(item => item.id);
if(idArray.length>0){
const loadingInstance1 = ElLoading.service({
fullscreen: true,
text: '正在生成二维码,请稍候...' //
});
//console.log(props.formBasicConfig)
if(props.formBasicConfig.qrCodeFlag==true){
if(props.formBasicConfig.qrCodeInside==true){
if(props.formBasicConfig.qrCodePrintStyle&&props.formBasicConfig.qrCodePrintStyle=="2"&&props.formBasicConfig.qrCodeShowFields.length==0){
alert("未选择表格展示字段")
alert("未配置表格展示字段")
return
}
const loadingInstance1 = ElLoading.service({
fullscreen: true,
text: '正在生成二维码,请稍候...' //
});
//
let getDetailQrCodesData: any = {}
let currentFieldsMapArrObj: any = {}

10
src/components/DesignForm/tableListPage/index.vue

@ -516,10 +516,7 @@ const setUpClick = (val: string, id: string) => {
//,
let idArray = state.selectionChecked.map(item => item.id);
if(idArray.length>0){
const loadingInstance1 = ElLoading.service({
fullscreen: true,
text: '正在生成二维码,请稍候...' //
});
//console.log(props.formBasicConfig)
if(props.formBasicConfig.qrCodeFlag==true){
@ -528,6 +525,10 @@ const setUpClick = (val: string, id: string) => {
alert("未选择表格展示字段")
return
}
const loadingInstance1 = ElLoading.service({
fullscreen: true,
text: '正在生成二维码,请稍候...' //
});
//
let getDetailQrCodesData: any = {}
@ -2023,6 +2024,7 @@ const diGuiJilian = (val: any, options: any[]) => {
:versionid="props.versionid"
:versiontitle="props.versiontitle"
:drawerwith="drawerWith"
:cfid = "props.formId"
@searchquery="getListData"
/>
<!-- 2025 liwenxuan 二维码打印 -->

6
src/views/sysworkflow/lowcodepage/pageFlow/tableFlow.vue

@ -29,6 +29,10 @@ const props = defineProps({
drawerwith:{
type:Number,
default:0
},
cfid:{
type:String,
default:""
}
})
const formLoading = ref(false) //loading
@ -445,7 +449,7 @@ function getQrCodeImgInside() {
url: "/javasys/lowCode/QrCode/getQrCodeImgInside",
method: "post",
data: {
cfid: state.id,
cfid: props.cfid,
},
});
}

Loading…
Cancel
Save