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

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

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

Loading…
Cancel
Save