sasp-flow-render 1.0.17 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sasp-flow-render",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "业务应用支撑平台-智慧流程渲染组件",
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build"
@@ -109,6 +109,7 @@ let objResult = {
109
109
  getAllFlowInst:"/plFlowInstController/getAllFlowInst", // 获取所有流程实例
110
110
  suspendOrRecover:"/plFlowInstController/suspendOrRecover", // 挂起或恢复选中流程实例
111
111
  getListInfoByResource:"/plFlowInstController/getListInfoByResource", // 根据资源id获取列表视图数据
112
+ getPageInfoByFlowId:"/plFlowInstController/getPageInfoByFlowId", // 根据资源id获取页面配置数据
112
113
  findInstPending:"/plFlowInstController/findInstPending",
113
114
  findInstProcessed:"/plFlowInstController/findInstProcessed",
114
115
  findInstFinished:"/plFlowInstController/findInstFinished",
@@ -249,7 +249,7 @@
249
249
  :key="item.dataId"
250
250
  :label="userMap[item.startUserId]"
251
251
  :name="item.dataId" :closable="batchUpdateFormInfo.dataRows.length > 1" :lazy="true">
252
- <template>
252
+ <template v-if="batchUpdateFormInfo.formShow">
253
253
  <slot name="formInfo"></slot>
254
254
  </template>
255
255
  </el-tab-pane>
@@ -1044,7 +1044,7 @@
1044
1044
  arrRows.push(Object.assign({}, data));
1045
1045
  });
1046
1046
  Object.assign(this.batchUpdateFormInfo, {
1047
- formShow: false,
1047
+ formShow: true,
1048
1048
  dataRows: arrRows,
1049
1049
  pendingNums: arrRows.length,
1050
1050
  activeName: arrRows[0].dataId,
@@ -1053,7 +1053,7 @@
1053
1053
 
1054
1054
  this.flowBatchPendingDialog = true;
1055
1055
  this.initUpdateFlowForm(arrRows[0]).then(()=>{
1056
- this.batchUpdateFormInfo.formShow = true;
1056
+ // this.batchUpdateFormInfo.formShow = true;
1057
1057
  let ref='batchTableForm'+arrRows[0].dataId+'Ref'
1058
1058
 
1059
1059
  this.$nextTick(()=>{
@@ -1595,13 +1595,17 @@
1595
1595
  if (nextTab) {
1596
1596
  this.batchUpdateFormInfo.activeName = nextTab.dataId;
1597
1597
  this.batchUpdateFormInfo.batchDataId =nextTab.dataId;
1598
- this.initUpdateFlowForm(nextTab).then(()=>{
1599
- this.$nextTick(()=>{
1600
- let ref='batchTableForm'+nextTab.dataId+'Ref';
1601
- // this.$refs[ref][0].loadData().then(() => {
1602
- this.exeFlowEvent("handle","afterClick",nextTab.currentNode,ref);
1603
- // })
1604
- })
1598
+ this.batchUpdateFormInfo.formShow = false;
1599
+ this.$nextTick(() => {
1600
+ this.batchUpdateFormInfo.formShow = true;
1601
+ this.initUpdateFlowForm(nextTab).then(()=>{
1602
+ this.$nextTick(()=>{
1603
+ let ref='batchTableForm'+nextTab.dataId+'Ref';
1604
+ // this.$refs[ref][0].loadData().then(() => {
1605
+ this.exeFlowEvent("handle","afterClick",nextTab.currentNode,ref);
1606
+ // })
1607
+ })
1608
+ });
1605
1609
  });
1606
1610
  }
1607
1611