Browse Source

Merge branch 'lwx_v17' into lwx_v19

lwx_v19
liwenxuan 9 months ago
parent
commit
7eb5d187a8
  1. 11
      src/components/DesignForm/app/index.vue
  2. 10
      src/components/DesignForm/tableListPage/index.vue
  3. 34
      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 二维码打印 -->

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

@ -27,25 +27,29 @@ import {
import FlowStep from "@/views/taskplatform/taskmanagement/flowStep.vue"; import FlowStep from "@/views/taskplatform/taskmanagement/flowStep.vue";
const props = defineProps({ const props = defineProps({
isopen: { isopen:{
type: Boolean, type:Boolean,
default: true, default:true
}, },
versionid: { versionid:{
type: String, type:String,
default: "", default:""
}, },
versiontitle: { versiontitle:{
type: String, type:String,
default: "", default:""
}, },
drawerwith: { drawerwith:{
type: Number, type:Number,
default: 0, default:0
}, },
cfid:{
type:String,
default:""
}
}); });
const formLoading = ref(false); //loading const formLoading = ref(false) //loading
const flowLoading = ref(false); //loading const flowLoading = ref(false) //loading
const flowFactor = reactive<conditionInfo[]>([]); // const flowFactor = reactive<conditionInfo[]>([]); //
const flowMap = ref<any[]>(); // const flowMap = ref<any[]>(); //
@ -462,7 +466,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