ecinc-cloud-yoabase 9.6.265 → 9.6.266
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/lib/ecyoabase.common.js +38 -39
- package/lib/ecyoabase.umd.js +38 -39
- package/lib/ecyoabase.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecyoabase.common.js
CHANGED
|
@@ -240114,8 +240114,8 @@ var InlineTextEditor_component = normalizeComponent(
|
|
|
240114
240114
|
)
|
|
240115
240115
|
|
|
240116
240116
|
/* harmony default export */ var InlineTextEditor = (InlineTextEditor_component.exports);
|
|
240117
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/PrintFile.vue?vue&type=template&id=
|
|
240118
|
-
var
|
|
240117
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/PrintFile.vue?vue&type=template&id=21370a6c&scoped=true
|
|
240118
|
+
var PrintFilevue_type_template_id_21370a6c_scoped_true_render = function render() {
|
|
240119
240119
|
var _vm = this,
|
|
240120
240120
|
_c = _vm._self._c;
|
|
240121
240121
|
return _c('div', [_c('el-button', {
|
|
@@ -240154,7 +240154,7 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_render = function render(
|
|
|
240154
240154
|
}
|
|
240155
240155
|
})], 1);
|
|
240156
240156
|
};
|
|
240157
|
-
var
|
|
240157
|
+
var PrintFilevue_type_template_id_21370a6c_scoped_true_staticRenderFns = [];
|
|
240158
240158
|
|
|
240159
240159
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/PrintFile.vue?vue&type=script&lang=js
|
|
240160
240160
|
/* harmony default export */ var PrintFilevue_type_script_lang_js = ({
|
|
@@ -240184,39 +240184,38 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
|
|
|
240184
240184
|
this.$bus.on('btnToDuBan', this.btnToDuBan);
|
|
240185
240185
|
this.$bus.on('dataurl', function (res) {
|
|
240186
240186
|
if (res) {
|
|
240187
|
-
|
|
240188
|
-
|
|
240189
|
-
|
|
240190
|
-
|
|
240191
|
-
|
|
240192
|
-
|
|
240193
|
-
|
|
240194
|
-
|
|
240195
|
-
|
|
240196
|
-
|
|
240197
|
-
|
|
240198
|
-
|
|
240199
|
-
|
|
240200
|
-
|
|
240201
|
-
|
|
240202
|
-
|
|
240203
|
-
|
|
240204
|
-
|
|
240205
|
-
|
|
240206
|
-
|
|
240207
|
-
|
|
240208
|
-
|
|
240209
|
-
|
|
240210
|
-
|
|
240211
|
-
|
|
240212
|
-
|
|
240213
|
-
|
|
240214
|
-
|
|
240215
|
-
|
|
240216
|
-
|
|
240217
|
-
|
|
240218
|
-
|
|
240219
|
-
}
|
|
240187
|
+
var _this = _this2;
|
|
240188
|
+
_this2.dataURL = res;
|
|
240189
|
+
_this2.$nextTick(function () {
|
|
240190
|
+
if (_this2.dataURL) {
|
|
240191
|
+
// this.dataURL = this.dataURL.split('data:image/png;base64,')[1]
|
|
240192
|
+
_this2.$http({
|
|
240193
|
+
method: 'POST',
|
|
240194
|
+
url: '/gwgl/webForm/saveWebformBase64data',
|
|
240195
|
+
params: {
|
|
240196
|
+
busiDataId: $scope.wfInstance.busiDataId
|
|
240197
|
+
},
|
|
240198
|
+
data: {
|
|
240199
|
+
formBase64data: _this2.dataURL
|
|
240200
|
+
}
|
|
240201
|
+
}).then(function (res) {
|
|
240202
|
+
if (res.code === 'success') {
|
|
240203
|
+
_this.$parent.isShow = false;
|
|
240204
|
+
var url = "/apigw" + '/' + $scope.wfEngineUrl.split('/')[0] + '/webForm/download?module=' + $scope.wfInstance.module + '&busiDataId=' + $scope.wfInstance.busiDataId;
|
|
240205
|
+
if ($scope.wfInstance.module !== 'fawen') url += 'doc=true';
|
|
240206
|
+
url += '&httpPort=' + location.port;
|
|
240207
|
+
window.open(url);
|
|
240208
|
+
} else {
|
|
240209
|
+
_this2.$message({
|
|
240210
|
+
message: res.message,
|
|
240211
|
+
type: 'warning'
|
|
240212
|
+
});
|
|
240213
|
+
}
|
|
240214
|
+
}, function (err) {
|
|
240215
|
+
_this2.$message.error(err);
|
|
240216
|
+
});
|
|
240217
|
+
}
|
|
240218
|
+
});
|
|
240220
240219
|
}
|
|
240221
240220
|
});
|
|
240222
240221
|
},
|
|
@@ -240373,11 +240372,11 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
|
|
|
240373
240372
|
;
|
|
240374
240373
|
var PrintFile_component = normalizeComponent(
|
|
240375
240374
|
components_PrintFilevue_type_script_lang_js,
|
|
240376
|
-
|
|
240377
|
-
|
|
240375
|
+
PrintFilevue_type_template_id_21370a6c_scoped_true_render,
|
|
240376
|
+
PrintFilevue_type_template_id_21370a6c_scoped_true_staticRenderFns,
|
|
240378
240377
|
false,
|
|
240379
240378
|
null,
|
|
240380
|
-
"
|
|
240379
|
+
"21370a6c",
|
|
240381
240380
|
null
|
|
240382
240381
|
|
|
240383
240382
|
)
|
package/lib/ecyoabase.umd.js
CHANGED
|
@@ -240124,8 +240124,8 @@ var InlineTextEditor_component = normalizeComponent(
|
|
|
240124
240124
|
)
|
|
240125
240125
|
|
|
240126
240126
|
/* harmony default export */ var InlineTextEditor = (InlineTextEditor_component.exports);
|
|
240127
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/PrintFile.vue?vue&type=template&id=
|
|
240128
|
-
var
|
|
240127
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/PrintFile.vue?vue&type=template&id=21370a6c&scoped=true
|
|
240128
|
+
var PrintFilevue_type_template_id_21370a6c_scoped_true_render = function render() {
|
|
240129
240129
|
var _vm = this,
|
|
240130
240130
|
_c = _vm._self._c;
|
|
240131
240131
|
return _c('div', [_c('el-button', {
|
|
@@ -240164,7 +240164,7 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_render = function render(
|
|
|
240164
240164
|
}
|
|
240165
240165
|
})], 1);
|
|
240166
240166
|
};
|
|
240167
|
-
var
|
|
240167
|
+
var PrintFilevue_type_template_id_21370a6c_scoped_true_staticRenderFns = [];
|
|
240168
240168
|
|
|
240169
240169
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/PrintFile.vue?vue&type=script&lang=js
|
|
240170
240170
|
/* harmony default export */ var PrintFilevue_type_script_lang_js = ({
|
|
@@ -240194,39 +240194,38 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
|
|
|
240194
240194
|
this.$bus.on('btnToDuBan', this.btnToDuBan);
|
|
240195
240195
|
this.$bus.on('dataurl', function (res) {
|
|
240196
240196
|
if (res) {
|
|
240197
|
-
|
|
240198
|
-
|
|
240199
|
-
|
|
240200
|
-
|
|
240201
|
-
|
|
240202
|
-
|
|
240203
|
-
|
|
240204
|
-
|
|
240205
|
-
|
|
240206
|
-
|
|
240207
|
-
|
|
240208
|
-
|
|
240209
|
-
|
|
240210
|
-
|
|
240211
|
-
|
|
240212
|
-
|
|
240213
|
-
|
|
240214
|
-
|
|
240215
|
-
|
|
240216
|
-
|
|
240217
|
-
|
|
240218
|
-
|
|
240219
|
-
|
|
240220
|
-
|
|
240221
|
-
|
|
240222
|
-
|
|
240223
|
-
|
|
240224
|
-
|
|
240225
|
-
|
|
240226
|
-
|
|
240227
|
-
|
|
240228
|
-
|
|
240229
|
-
}
|
|
240197
|
+
var _this = _this2;
|
|
240198
|
+
_this2.dataURL = res;
|
|
240199
|
+
_this2.$nextTick(function () {
|
|
240200
|
+
if (_this2.dataURL) {
|
|
240201
|
+
// this.dataURL = this.dataURL.split('data:image/png;base64,')[1]
|
|
240202
|
+
_this2.$http({
|
|
240203
|
+
method: 'POST',
|
|
240204
|
+
url: '/gwgl/webForm/saveWebformBase64data',
|
|
240205
|
+
params: {
|
|
240206
|
+
busiDataId: $scope.wfInstance.busiDataId
|
|
240207
|
+
},
|
|
240208
|
+
data: {
|
|
240209
|
+
formBase64data: _this2.dataURL
|
|
240210
|
+
}
|
|
240211
|
+
}).then(function (res) {
|
|
240212
|
+
if (res.code === 'success') {
|
|
240213
|
+
_this.$parent.isShow = false;
|
|
240214
|
+
var url = "/apigw" + '/' + $scope.wfEngineUrl.split('/')[0] + '/webForm/download?module=' + $scope.wfInstance.module + '&busiDataId=' + $scope.wfInstance.busiDataId;
|
|
240215
|
+
if ($scope.wfInstance.module !== 'fawen') url += 'doc=true';
|
|
240216
|
+
url += '&httpPort=' + location.port;
|
|
240217
|
+
window.open(url);
|
|
240218
|
+
} else {
|
|
240219
|
+
_this2.$message({
|
|
240220
|
+
message: res.message,
|
|
240221
|
+
type: 'warning'
|
|
240222
|
+
});
|
|
240223
|
+
}
|
|
240224
|
+
}, function (err) {
|
|
240225
|
+
_this2.$message.error(err);
|
|
240226
|
+
});
|
|
240227
|
+
}
|
|
240228
|
+
});
|
|
240230
240229
|
}
|
|
240231
240230
|
});
|
|
240232
240231
|
},
|
|
@@ -240383,11 +240382,11 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
|
|
|
240383
240382
|
;
|
|
240384
240383
|
var PrintFile_component = normalizeComponent(
|
|
240385
240384
|
components_PrintFilevue_type_script_lang_js,
|
|
240386
|
-
|
|
240387
|
-
|
|
240385
|
+
PrintFilevue_type_template_id_21370a6c_scoped_true_render,
|
|
240386
|
+
PrintFilevue_type_template_id_21370a6c_scoped_true_staticRenderFns,
|
|
240388
240387
|
false,
|
|
240389
240388
|
null,
|
|
240390
|
-
"
|
|
240389
|
+
"21370a6c",
|
|
240391
240390
|
null
|
|
240392
240391
|
|
|
240393
240392
|
)
|