|
|
@@ -3,7 +3,7 @@
|
|
|
<template #title>
|
|
|
<a-page-header
|
|
|
style="padding: 0 20px 0 0;"
|
|
|
- :title="Language.getNameTrl($i18n.locale, window)"
|
|
|
+ :title="Language.getNameTrl($i18n.locale, curdWindow)"
|
|
|
:sub-title="subTitle()"
|
|
|
>
|
|
|
<template #extra>
|
|
|
@@ -13,22 +13,25 @@
|
|
|
</template>
|
|
|
</a-button>
|
|
|
|
|
|
- <a-button key="2" title="下一页" @click="next">
|
|
|
+ <a-button key="2">
|
|
|
+ {{ currIndex }}/{{ totalCount }}
|
|
|
+ </a-button>
|
|
|
+
|
|
|
+ <a-button key="3" title="下一页" @click="next">
|
|
|
<template #icon>
|
|
|
<CaretRightOutlined />
|
|
|
</template>
|
|
|
</a-button>
|
|
|
|
|
|
- <a-button key="3" title="历史记录" @click="auditData">
|
|
|
+ <a-button key="4" title="历史记录" @click="auditData">
|
|
|
<template #icon>
|
|
|
<SmallDashOutlined />
|
|
|
</template>
|
|
|
- {{ currIndex }}/{{ totalCount }}
|
|
|
</a-button>
|
|
|
|
|
|
|
|
|
- <a-tooltip v-if="!(window.htmlHelpUrl != null && window.htmlHelpUrl != '')" title="帮助">
|
|
|
- <QuestionCircleOutlined style="font-size: 2rem;" @click="openHtmlHelp(window.htmlHelpUrl)" />
|
|
|
+ <a-tooltip v-if="!(curdWindow.htmlHelpUrl != null && curdWindow.htmlHelpUrl != '')" title="帮助">
|
|
|
+ <QuestionCircleOutlined style="font-size: 2rem;" @click="openHtmlHelp(curdWindow.htmlHelpUrl)" />
|
|
|
</a-tooltip>
|
|
|
</template>
|
|
|
</a-page-header>
|
|
|
@@ -76,6 +79,20 @@
|
|
|
<a-button v-if="showRedrawButton" @click="abandonWorkflow">
|
|
|
{{ $t("lang.tabFormView.redraw") }}
|
|
|
</a-button>
|
|
|
+
|
|
|
+ <TabButton
|
|
|
+ :show-tab-dto="tab" :model-data="modelData" :uuid="uuid" :view-type="'Form'"
|
|
|
+ :tab-buttons="tab.tabFormView ? tab.tabFormView.tabButtons : null"
|
|
|
+ :curd-window-function-access="curdWindowFunctionAccess" @save-view="backupView"
|
|
|
+ @process-execute-finish="refresh" @model-data-changed="modelDataChanged"
|
|
|
+ />
|
|
|
+
|
|
|
+ <FormFieldDef
|
|
|
+ :tab-form-fields="tabFormFields" :window-no="windowNo" :tab-index="tabIndex"
|
|
|
+ @tab-form-field-property-changed="
|
|
|
+ tabFormFieldPropertyChanged($event)
|
|
|
+ "
|
|
|
+ />
|
|
|
</a-space>
|
|
|
|
|
|
|
|
|
@@ -88,25 +105,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div ref="fixedButtonGroup" class="row m-row fixed-btn-group">
|
|
|
- <div class="col-md-12">
|
|
|
- <div class="btn-group">
|
|
|
- <TabButton
|
|
|
- :show-tab-dto="tab" :model-data="modelData" :uuid="uuid" :view-type="'Form'"
|
|
|
- :tab-buttons="tab.tabFormView ? tab.tabFormView.tabButtons : null"
|
|
|
- :curd-window-function-access="curdWindowFunctionAccess" @save-view="backupView"
|
|
|
- @process-execute-finish="refresh" @model-data-changed="modelDataChanged"
|
|
|
- />
|
|
|
-
|
|
|
- <FormFieldDef
|
|
|
- :tab-form-fields="tabFormFields" :window-no="windowNo" :tab-index="tabIndex"
|
|
|
- @tab-form-field-property-changed="
|
|
|
- tabFormFieldPropertyChanged($event)
|
|
|
- "
|
|
|
- />
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div ref="fixedButtonGroup" />
|
|
|
<img
|
|
|
v-if="processInstanceId != undefined" style="
|
|
|
position: absolute;
|
|
|
@@ -144,7 +143,7 @@
|
|
|
<TabFormFieldView
|
|
|
ref="fieldItem1" :class-name="tab.tabDataSource.className" :field="fieldItem"
|
|
|
:model-data="modelData" :multiple-column="tab.tabFormView.multipleColumn" :js-url="jsUrl"
|
|
|
- :is-chinese-english="window.isChineseEnglish" @execute-callout="executeCallout(fieldItem)"
|
|
|
+ :is-chinese-english="curdWindow.isChineseEnglish" @execute-callout="executeCallout(fieldItem)"
|
|
|
/>
|
|
|
</template>
|
|
|
</div>
|
|
|
@@ -196,11 +195,11 @@
|
|
|
fieldItem.entityFieldIndex
|
|
|
"
|
|
|
>
|
|
|
- {{ window.isChineseEnglish }}
|
|
|
+ {{ curdWindow.isChineseEnglish }}
|
|
|
<TabFormFieldView
|
|
|
ref="fieldItem2" :class-name="tab.tabDataSource.className" :field="fieldItem"
|
|
|
:model-data="modelData" :multiple-column="tab.tabFormView.multipleColumn" :js-url="jsUrl"
|
|
|
- :is-chinese-english="window.isChineseEnglish" @execute-callout="executeCallout(fieldItem)"
|
|
|
+ :is-chinese-english="curdWindow.isChineseEnglish" @execute-callout="executeCallout(fieldItem)"
|
|
|
/>
|
|
|
</template>
|
|
|
</div>
|
|
|
@@ -223,7 +222,7 @@
|
|
|
:ref="'subTab' + subTab.tabIndex" :window-no="windowNo" :tab-index="subTab.tabIndex"
|
|
|
:fixed-button-group-height="fixedButtonGroupHeight" :is-show-edit="false" :tab="subTab"
|
|
|
:parent-model-data="modelData" :parent-tab="tab" :js-url="jsUrl"
|
|
|
- :is-chinese-english="window.isChineseEnglish" @save-view="backupView"
|
|
|
+ :is-chinese-english="curdWindow.isChineseEnglish" @save-view="backupView"
|
|
|
@process-execute-finish="refresh"
|
|
|
/>
|
|
|
</div>
|
|
|
@@ -250,18 +249,18 @@
|
|
|
</div>
|
|
|
|
|
|
<div v-if="showApply" class="row clearfix">
|
|
|
- <div v-if="window.workflow.workflowType === 'UserDefine'" class="col-md-12">
|
|
|
+ <div v-if="curdWindow.workflow.workflowType === 'UserDefine'" class="col-md-12">
|
|
|
<WorkflowUserDefine
|
|
|
- ref="workflowUserDefine" :work-flow="window.workflow"
|
|
|
+ ref="workflowUserDefine" :work-flow="curdWindow.workflow"
|
|
|
:process-definition-id="processDefinitionId" :model-data="modelData" @apply="apply"
|
|
|
/>
|
|
|
</div>
|
|
|
- <div v-else-if="window.workflow.workflowType === 'OTHER'" class="col-md-12">
|
|
|
- <WorkflowStart :work-flow="window.workflow" :process-definition-id="processDefinitionId" @apply="apply" />
|
|
|
+ <div v-else-if="curdWindow.workflow.workflowType === 'OTHER'" class="col-md-12">
|
|
|
+ <WorkflowStart :work-flow="curdWindow.workflow" :process-definition-id="processDefinitionId" @apply="apply" />
|
|
|
</div>
|
|
|
<div v-else class="col-md-12">
|
|
|
<WorkflowSelectUser
|
|
|
- ref="workflow" :work-flow="window.workflow" :window-no="windowNo"
|
|
|
+ ref="workflow" :work-flow="curdWindow.workflow" :window-no="windowNo"
|
|
|
:process-definition-id="processDefinitionId" :model-data="modelData" :record-id="recordId" @apply="apply"
|
|
|
/>
|
|
|
</div>
|
|
|
@@ -271,7 +270,7 @@
|
|
|
<div class="col-md-12">
|
|
|
<ApproveComment
|
|
|
ref="approveComment" :parent-widget="'TabFormView'" :workflow-type="workflowType"
|
|
|
- :work-flow="window.workflow" :window-no="windowNo" :process-definition-id="processDefinitionId"
|
|
|
+ :work-flow="curdWindow.workflow" :window-no="windowNo" :process-definition-id="processDefinitionId"
|
|
|
:show-choice-button="showChoiceButton" :process-instance-id="processInstanceId" :task-info-id="taskInfoId"
|
|
|
:record-id="modelData.id" :show-tab-dto="tab" :model-data="modelData" :uuid="uuid"
|
|
|
:workflow-class-name="tab.tabDataSource.className" @save-view="backupView"
|
|
|
@@ -289,10 +288,10 @@
|
|
|
|
|
|
<div
|
|
|
v-if="
|
|
|
- window != null &&
|
|
|
+ curdWindow != null &&
|
|
|
tab != null &&
|
|
|
tab.tabDataSource != null &&
|
|
|
- !window.hideCreateRecordButton && showAttachmentPanel == true
|
|
|
+ !curdWindow.hideCreateRecordButton && showAttachmentPanel == true
|
|
|
"
|
|
|
>
|
|
|
<AttachmentPanel
|
|
|
@@ -436,7 +435,7 @@ export default {
|
|
|
type: Number,
|
|
|
default: null,
|
|
|
},
|
|
|
- // 窗口类型(view:视图数据,restore:恢复数据)
|
|
|
+ // 窗口类型(view:视图数据,viewRestore:恢复数据)
|
|
|
type: {
|
|
|
type: String,
|
|
|
default: '',
|
|
|
@@ -478,7 +477,7 @@ export default {
|
|
|
data: function () {
|
|
|
this.Language = Language;
|
|
|
return {
|
|
|
- window: {}, // 窗口数据
|
|
|
+ curdWindow: {}, // 窗口数据
|
|
|
tab: {}, // 父页签
|
|
|
tabFormFields: [],
|
|
|
multipeColumnFields: [],
|
|
|
@@ -524,11 +523,11 @@ export default {
|
|
|
*/
|
|
|
showApply: function () {
|
|
|
// 判断是否显示审批按钮
|
|
|
- if (this.window == undefined) {
|
|
|
+ if (this.curdWindow == undefined) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- if (this.window.workflow == undefined) {
|
|
|
+ if (this.curdWindow.workflow == undefined) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -558,8 +557,8 @@ export default {
|
|
|
showApproveComment: function () {
|
|
|
// 判断是否显示审批按钮
|
|
|
if (
|
|
|
- this.window != undefined &&
|
|
|
- this.window.hasWorkflow != undefined &&
|
|
|
+ this.curdWindow != undefined &&
|
|
|
+ this.curdWindow.hasWorkflow != undefined &&
|
|
|
this.modelData != undefined &&
|
|
|
this.modelData.data != undefined &&
|
|
|
this.modelData.data.processInstanceId != undefined &&
|
|
|
@@ -578,8 +577,8 @@ export default {
|
|
|
*/
|
|
|
showHistoryApproveComment: function () {
|
|
|
if (
|
|
|
- this.window != null &&
|
|
|
- this.window.workflow != null &&
|
|
|
+ this.curdWindow != null &&
|
|
|
+ this.curdWindow.workflow != null &&
|
|
|
this.modelData != null
|
|
|
) {
|
|
|
return true;
|
|
|
@@ -593,8 +592,8 @@ export default {
|
|
|
*/
|
|
|
showChoiceButton: function () {
|
|
|
if (
|
|
|
- this.window != undefined &&
|
|
|
- this.window.workflow != undefined &&
|
|
|
+ this.curdWindow != undefined &&
|
|
|
+ this.curdWindow.workflow != undefined &&
|
|
|
this.modelData != undefined &&
|
|
|
this.modelData.data != undefined &&
|
|
|
this.modelData.data.processInstanceId != undefined &&
|
|
|
@@ -619,9 +618,9 @@ export default {
|
|
|
* 审批完成的单据,显示审批评论面板
|
|
|
*/
|
|
|
showEditButton: function () {
|
|
|
- if (this.window == undefined || this.window.tabs == undefined) {
|
|
|
+ if (this.curdWindow == undefined || this.curdWindow.tabs == undefined) {
|
|
|
return false;
|
|
|
- } else if (this.window.readOnly) {
|
|
|
+ } else if (this.curdWindow.readOnly) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -630,8 +629,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (
|
|
|
- this.window != undefined &&
|
|
|
- this.window.workflow != undefined &&
|
|
|
+ this.curdWindow != undefined &&
|
|
|
+ this.curdWindow.workflow != undefined &&
|
|
|
this.modelData != undefined &&
|
|
|
this.modelData.data != undefined &&
|
|
|
this.modelData.data.documentStatus != undefined &&
|
|
|
@@ -663,9 +662,9 @@ export default {
|
|
|
* 是否显示新建按钮
|
|
|
*/
|
|
|
showCreateButton: function () {
|
|
|
- if (this.window == undefined || this.window.tabs == undefined) {
|
|
|
+ if (this.curdWindow == undefined || this.curdWindow.tabs == undefined) {
|
|
|
return false;
|
|
|
- } else if (this.window.readOnly) {
|
|
|
+ } else if (this.curdWindow.readOnly) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -691,9 +690,9 @@ export default {
|
|
|
* 是否显示删除按钮
|
|
|
*/
|
|
|
showDeleteButton: function () {
|
|
|
- if (this.window == undefined || this.window.tabs == undefined) {
|
|
|
+ if (this.curdWindow == undefined || this.curdWindow.tabs == undefined) {
|
|
|
return false;
|
|
|
- } else if (this.window.readOnly) {
|
|
|
+ } else if (this.curdWindow.readOnly) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -719,9 +718,9 @@ export default {
|
|
|
* 是否显示弃审按钮
|
|
|
*/
|
|
|
showRedrawButton: function () {
|
|
|
- if (this.window == undefined || this.window.tabs == undefined) {
|
|
|
+ if (this.curdWindow == undefined || this.curdWindow.tabs == undefined) {
|
|
|
return false;
|
|
|
- } else if (this.window.readOnly) {
|
|
|
+ } else if (this.curdWindow.readOnly) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -753,7 +752,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (
|
|
|
- _self.window.workflow != undefined &&
|
|
|
+ _self.curdWindow.workflow != undefined &&
|
|
|
_self.processInstanceId != undefined &&
|
|
|
_self.processInstanceId != ''
|
|
|
) {
|
|
|
@@ -767,6 +766,11 @@ export default {
|
|
|
},
|
|
|
|
|
|
watch: {
|
|
|
+ open: function(currentValue, oldValue){
|
|
|
+ if(currentValue === true){
|
|
|
+ this.initView();
|
|
|
+ }
|
|
|
+ },
|
|
|
|
|
|
modelData: {
|
|
|
deep: true,
|
|
|
@@ -793,8 +797,8 @@ export default {
|
|
|
// _self.$nextTick(function () {
|
|
|
// var fixedButtonGroup = $(_self.$refs.fixedButtonGroup);
|
|
|
// _self.computerButtonGroupLeftTop();
|
|
|
- // $(window).scroll(function (){
|
|
|
- // if ($(window).scrollTop() > _self.buttonGroupInitTop) {
|
|
|
+ // $(curdWindow).scroll(function (){
|
|
|
+ // if ($(curdWindow).scrollTop() > _self.buttonGroupInitTop) {
|
|
|
// _self.showSpaceRow = true;
|
|
|
// _self.$nextTick(function (){
|
|
|
// fixedButtonGroup.addClass('btn-group-fixed');
|
|
|
@@ -808,7 +812,7 @@ export default {
|
|
|
// });
|
|
|
// }
|
|
|
|
|
|
- // if ($(window).scrollTop() <= 10){
|
|
|
+ // if ($(curdWindow).scrollTop() <= 10){
|
|
|
// _self.computerButtonGroupLeftTop();
|
|
|
// }
|
|
|
// });
|
|
|
@@ -819,8 +823,8 @@ export default {
|
|
|
// _self.fixedButtonGroupHeight = fixedButtonGroup.outerHeight();
|
|
|
|
|
|
// // 按钮组实现悬浮
|
|
|
- // $(window).scroll(function () {
|
|
|
- // var windowTop = $(window).scrollTop();
|
|
|
+ // $(curdWindow).scroll(function () {
|
|
|
+ // var windowTop = $(curdWindow).scrollTop();
|
|
|
// if (windowTop > buttonInitTop + fixedButtonGroup.outerHeight()) {
|
|
|
// fixedButtonGroup.offset({
|
|
|
// top: windowTop,
|
|
|
@@ -834,7 +838,7 @@ export default {
|
|
|
// });
|
|
|
// });
|
|
|
|
|
|
- // $(window).resize(function () {
|
|
|
+ // $(curdWindow).resize(function () {
|
|
|
// _self.$nextTick(function () {
|
|
|
// _self.computerButtonGroupLeftTop();
|
|
|
// });
|
|
|
@@ -1055,7 +1059,7 @@ export default {
|
|
|
var obj = {
|
|
|
className: _self.tab.tabDataSource.className,
|
|
|
tabIndex: _self.tabIndex,
|
|
|
- windowNo: _self.window.no,
|
|
|
+ windowNo: _self.curdWindow.no,
|
|
|
recordId: _self.modelData.id,
|
|
|
};
|
|
|
$.ajax({
|
|
|
@@ -1097,7 +1101,7 @@ export default {
|
|
|
|
|
|
if (this.type == 'view') {
|
|
|
this.initReadView();
|
|
|
- } else if (this.type == 'restore') {
|
|
|
+ } else if (this.type == 'viewRestore') {
|
|
|
// 恢复视图
|
|
|
this.restoreView();
|
|
|
}
|
|
|
@@ -1144,8 +1148,8 @@ export default {
|
|
|
} else {
|
|
|
WindowServerUtil.getWindowById(
|
|
|
_self.windowNo,
|
|
|
- function (window) {
|
|
|
- initWindowAfterLoaded(window);
|
|
|
+ function (curdWindow) {
|
|
|
+ initWindowAfterLoaded(curdWindow);
|
|
|
_self.uniqueByNoAccessControl();
|
|
|
},
|
|
|
function () {
|
|
|
@@ -1154,15 +1158,15 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- function initWindowAfterLoaded(window) {
|
|
|
- WindowClientUtil.parseFilterSchema(window);
|
|
|
- var tab = WindowClientUtil.getTab(window, _self.tabIndex);
|
|
|
- WindowClientUtil.parseSubTab(window, tab);
|
|
|
+ function initWindowAfterLoaded(curdWindow) {
|
|
|
+ WindowClientUtil.parseFilterSchema(curdWindow);
|
|
|
+ var tab = WindowClientUtil.getTab(curdWindow, _self.tabIndex);
|
|
|
+ WindowClientUtil.parseSubTab(curdWindow, tab);
|
|
|
WindowClientUtil.parseFieldGroup(tab);
|
|
|
- WindowClientUtil.restoreWindowTabFieldGroupsVisible(window);
|
|
|
+ WindowClientUtil.restoreWindowTabFieldGroupsVisible(curdWindow);
|
|
|
_self.tabFormFields = WindowClientUtil.getDetailField(tab);
|
|
|
- _self.window = window;
|
|
|
- _self.jsUrl = window.jsUrl;
|
|
|
+ _self.curdWindow = curdWindow;
|
|
|
+ _self.jsUrl = curdWindow.jsUrl;
|
|
|
_self.tab = tab;
|
|
|
TabFormView.restoreTabFormFieldDef(
|
|
|
_self.windowNo,
|
|
|
@@ -1171,19 +1175,19 @@ export default {
|
|
|
);
|
|
|
_self.loadData();
|
|
|
|
|
|
- if (_self.window.workflow != undefined) {
|
|
|
- _self.processDefinitionId = _self.window.workflow.deploymentId;
|
|
|
+ if (_self.curdWindow.workflow != undefined) {
|
|
|
+ _self.processDefinitionId = _self.curdWindow.workflow.deploymentId;
|
|
|
}
|
|
|
_self.initHeaderAndFooterApiUrl();
|
|
|
_self.loadHeaderAndFooterContent(_self.recordId);
|
|
|
_self.loading = false;
|
|
|
if (
|
|
|
- _self.window.reportViewDto != null &&
|
|
|
- _self.window.reportViewDto.reportViewItemDtos != null &&
|
|
|
- _self.window.reportViewDto.reportViewItemDtos.length > 0
|
|
|
+ _self.curdWindow.reportViewDto != null &&
|
|
|
+ _self.curdWindow.reportViewDto.reportViewItemDtos != null &&
|
|
|
+ _self.curdWindow.reportViewDto.reportViewItemDtos.length > 0
|
|
|
) {
|
|
|
var isflag = false;
|
|
|
- _self.window.reportViewDto.reportViewItemDtos.forEach(function (item) {
|
|
|
+ _self.curdWindow.reportViewDto.reportViewItemDtos.forEach(function (item) {
|
|
|
if (item.defaultDisplayReport) {
|
|
|
isflag = true;
|
|
|
}
|
|
|
@@ -1208,15 +1212,15 @@ export default {
|
|
|
_self.loading = true;
|
|
|
WindowServerUtil.getWindowById(
|
|
|
_self.windowNo,
|
|
|
- function (window) {
|
|
|
- WindowClientUtil.parseFilterSchema(window);
|
|
|
- var tab = WindowClientUtil.getTab(window, _self.tabIndex);
|
|
|
- WindowClientUtil.parseSubTab(window, tab);
|
|
|
+ function (curdWindow) {
|
|
|
+ WindowClientUtil.parseFilterSchema(curdWindow);
|
|
|
+ var tab = WindowClientUtil.getTab(curdWindow, _self.tabIndex);
|
|
|
+ WindowClientUtil.parseSubTab(curdWindow, tab);
|
|
|
WindowClientUtil.parseFieldGroup(tab);
|
|
|
- WindowClientUtil.restoreWindowTabFieldGroupsVisible(window);
|
|
|
+ WindowClientUtil.restoreWindowTabFieldGroupsVisible(curdWindow);
|
|
|
_self.tabFormFields = WindowClientUtil.getDetailField(tab);
|
|
|
- _self.window = window;
|
|
|
- _self.jsUrl = window.jsUrl;
|
|
|
+ _self.curdWindow = curdWindow;
|
|
|
+ _self.jsUrl = curdWindow.jsUrl;
|
|
|
_self.tab = tab;
|
|
|
TabFormView.restoreTabFormFieldDef(
|
|
|
_self.windowNo,
|
|
|
@@ -1269,8 +1273,8 @@ export default {
|
|
|
},
|
|
|
);
|
|
|
|
|
|
- if (_self.window.workflow != undefined) {
|
|
|
- _self.processDefinitionId = _self.window.workflow.deploymentId;
|
|
|
+ if (_self.curdWindow.workflow != undefined) {
|
|
|
+ _self.processDefinitionId = _self.curdWindow.workflow.deploymentId;
|
|
|
}
|
|
|
_self.loading = false;
|
|
|
},
|
|
|
@@ -1313,7 +1317,7 @@ export default {
|
|
|
if (successData.errorCode === 0) {
|
|
|
this.curdWindowFunctionAccess = successData.data;
|
|
|
if (this.curdWindowFunctionAccess.readOnly != null && this.curdWindowFunctionAccess.readOnly === true) {
|
|
|
- this.window.readOnly = true;
|
|
|
+ this.curdWindow.readOnly = true;
|
|
|
}
|
|
|
}
|
|
|
}, errorData => {
|
|
|
@@ -1702,7 +1706,7 @@ export default {
|
|
|
var copyUsers = null;
|
|
|
var userTaskDtos = null;
|
|
|
let userSelectDtos = null;
|
|
|
- if (this.window.workflow.workflowType === 'UserDefine') {
|
|
|
+ if (this.curdWindow.workflow.workflowType === 'UserDefine') {
|
|
|
try {
|
|
|
let param = this.$refs.workflowUserDefine.getData();
|
|
|
userSelectDtos = param.userSelectDtos;
|
|
|
@@ -1711,7 +1715,7 @@ export default {
|
|
|
Notify.error(_self.$t('lang.tabFormView.describe6'), exception.message, false);
|
|
|
return;
|
|
|
}
|
|
|
- } else if (this.window.workflow.workflowType === 'OTHER') {
|
|
|
+ } else if (this.curdWindow.workflow.workflowType === 'OTHER') {
|
|
|
userSelectDtos = null;
|
|
|
copyUsers = null;
|
|
|
} else {
|
|
|
@@ -1736,7 +1740,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- var deploymentId = _self.window.workflow.deploymentId;
|
|
|
+ var deploymentId = _self.curdWindow.workflow.deploymentId;
|
|
|
var recordId = _self.recordId;
|
|
|
var windowNo = _self.windowNo;
|
|
|
|
|
|
@@ -2074,15 +2078,15 @@ export default {
|
|
|
|
|
|
|
|
|
if (
|
|
|
- _self.window.reportViewDto != null &&
|
|
|
- _self.window.reportViewDto.reportViewItemDtos != null
|
|
|
+ _self.curdWindow.reportViewDto != null &&
|
|
|
+ _self.curdWindow.reportViewDto.reportViewItemDtos != null
|
|
|
) {
|
|
|
_self.processReportResult = undefined;
|
|
|
for (
|
|
|
- let index = 0; index < _self.window.reportViewDto.reportViewItemDtos.length; index++
|
|
|
+ let index = 0; index < _self.curdWindow.reportViewDto.reportViewItemDtos.length; index++
|
|
|
) {
|
|
|
let reportViewItemDto =
|
|
|
- _self.window.reportViewDto.reportViewItemDtos[index];
|
|
|
+ _self.curdWindow.reportViewDto.reportViewItemDtos[index];
|
|
|
var logic = reportViewItemDto.showLogical;
|
|
|
if (logic == null || logic == '') {
|
|
|
reportViewItemDto.invisible = false;
|