ecinc-cloud-yoabase 9.6.265 → 9.6.267

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.
@@ -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=50d6bb8c&scoped=true
240118
- var PrintFilevue_type_template_id_50d6bb8c_scoped_true_render = function render() {
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=db84b5ba&scoped=true
240118
+ var PrintFilevue_type_template_id_db84b5ba_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 PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
240157
+ var PrintFilevue_type_template_id_db84b5ba_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,41 @@ 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
- if (res) {
240188
- var _this = _this2;
240189
- _this2.dataURL = res;
240190
- _this2.$nextTick(function () {
240191
- if (_this2.dataURL) {
240192
- // this.dataURL = this.dataURL.split('data:image/png;base64,')[1]
240193
- _this2.$http({
240194
- method: 'POST',
240195
- url: '/gwgl/webForm/saveWebformBase64data',
240196
- params: {
240197
- busiDataId: $scope.wfInstance.busiDataId
240198
- },
240199
- data: {
240200
- formBase64data: _this2.dataURL
240201
- }
240202
- }).then(function (res) {
240203
- if (res.code === 'success') {
240204
- _this.$parent.isShow = false;
240205
- var url = "/apigw" + '/' + $scope.wfEngineUrl.split('/')[0] + '/webForm/download?module=' + $scope.wfInstance.module + '&busiDataId=' + $scope.wfInstance.busiDataId;
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
- });
240219
- }
240187
+ var _this = _this2;
240188
+ _this2.dataURL = res;
240189
+ _this2.$nextTick(function () {
240190
+ if (_this2.dataURL) {
240191
+ _this2.$bus.emit('showDoingDialog');
240192
+
240193
+ // this.dataURL = this.dataURL.split('data:image/png;base64,')[1]
240194
+ _this2.$http({
240195
+ method: 'POST',
240196
+ url: '/gwgl/webForm/saveWebformBase64data',
240197
+ params: {
240198
+ busiDataId: $scope.wfInstance.busiDataId
240199
+ },
240200
+ data: {
240201
+ formBase64data: _this2.dataURL
240202
+ }
240203
+ }).then(function (res) {
240204
+ _this2.$bus.emit('closeDoingDialog');
240205
+ if (res.code === 'success') {
240206
+ _this.$parent.isShow = false;
240207
+ var url = "/apigw" + '/' + $scope.wfEngineUrl.split('/')[0] + '/webForm/download?module=' + $scope.wfInstance.module + '&busiDataId=' + $scope.wfInstance.busiDataId;
240208
+ if ($scope.wfInstance.module !== 'fawen') url += '&doc=true';
240209
+ url += '&httpPort=' + location.port;
240210
+ window.open(url);
240211
+ } else {
240212
+ _this2.$message({
240213
+ message: res.message,
240214
+ type: 'warning'
240215
+ });
240216
+ }
240217
+ }, function (err) {
240218
+ _this2.$message.error(err);
240219
+ });
240220
+ }
240221
+ });
240220
240222
  }
240221
240223
  });
240222
240224
  },
@@ -240373,11 +240375,11 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
240373
240375
  ;
240374
240376
  var PrintFile_component = normalizeComponent(
240375
240377
  components_PrintFilevue_type_script_lang_js,
240376
- PrintFilevue_type_template_id_50d6bb8c_scoped_true_render,
240377
- PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns,
240378
+ PrintFilevue_type_template_id_db84b5ba_scoped_true_render,
240379
+ PrintFilevue_type_template_id_db84b5ba_scoped_true_staticRenderFns,
240378
240380
  false,
240379
240381
  null,
240380
- "50d6bb8c",
240382
+ "db84b5ba",
240381
240383
  null
240382
240384
 
240383
240385
  )
@@ -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=50d6bb8c&scoped=true
240128
- var PrintFilevue_type_template_id_50d6bb8c_scoped_true_render = function render() {
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=db84b5ba&scoped=true
240128
+ var PrintFilevue_type_template_id_db84b5ba_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 PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
240167
+ var PrintFilevue_type_template_id_db84b5ba_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,41 @@ 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
- if (res) {
240198
- var _this = _this2;
240199
- _this2.dataURL = res;
240200
- _this2.$nextTick(function () {
240201
- if (_this2.dataURL) {
240202
- // this.dataURL = this.dataURL.split('data:image/png;base64,')[1]
240203
- _this2.$http({
240204
- method: 'POST',
240205
- url: '/gwgl/webForm/saveWebformBase64data',
240206
- params: {
240207
- busiDataId: $scope.wfInstance.busiDataId
240208
- },
240209
- data: {
240210
- formBase64data: _this2.dataURL
240211
- }
240212
- }).then(function (res) {
240213
- if (res.code === 'success') {
240214
- _this.$parent.isShow = false;
240215
- var url = "/apigw" + '/' + $scope.wfEngineUrl.split('/')[0] + '/webForm/download?module=' + $scope.wfInstance.module + '&busiDataId=' + $scope.wfInstance.busiDataId;
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
- });
240229
- }
240197
+ var _this = _this2;
240198
+ _this2.dataURL = res;
240199
+ _this2.$nextTick(function () {
240200
+ if (_this2.dataURL) {
240201
+ _this2.$bus.emit('showDoingDialog');
240202
+
240203
+ // this.dataURL = this.dataURL.split('data:image/png;base64,')[1]
240204
+ _this2.$http({
240205
+ method: 'POST',
240206
+ url: '/gwgl/webForm/saveWebformBase64data',
240207
+ params: {
240208
+ busiDataId: $scope.wfInstance.busiDataId
240209
+ },
240210
+ data: {
240211
+ formBase64data: _this2.dataURL
240212
+ }
240213
+ }).then(function (res) {
240214
+ _this2.$bus.emit('closeDoingDialog');
240215
+ if (res.code === 'success') {
240216
+ _this.$parent.isShow = false;
240217
+ var url = "/apigw" + '/' + $scope.wfEngineUrl.split('/')[0] + '/webForm/download?module=' + $scope.wfInstance.module + '&busiDataId=' + $scope.wfInstance.busiDataId;
240218
+ if ($scope.wfInstance.module !== 'fawen') url += '&doc=true';
240219
+ url += '&httpPort=' + location.port;
240220
+ window.open(url);
240221
+ } else {
240222
+ _this2.$message({
240223
+ message: res.message,
240224
+ type: 'warning'
240225
+ });
240226
+ }
240227
+ }, function (err) {
240228
+ _this2.$message.error(err);
240229
+ });
240230
+ }
240231
+ });
240230
240232
  }
240231
240233
  });
240232
240234
  },
@@ -240383,11 +240385,11 @@ var PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns = [];
240383
240385
  ;
240384
240386
  var PrintFile_component = normalizeComponent(
240385
240387
  components_PrintFilevue_type_script_lang_js,
240386
- PrintFilevue_type_template_id_50d6bb8c_scoped_true_render,
240387
- PrintFilevue_type_template_id_50d6bb8c_scoped_true_staticRenderFns,
240388
+ PrintFilevue_type_template_id_db84b5ba_scoped_true_render,
240389
+ PrintFilevue_type_template_id_db84b5ba_scoped_true_staticRenderFns,
240388
240390
  false,
240389
240391
  null,
240390
- "50d6bb8c",
240392
+ "db84b5ba",
240391
240393
  null
240392
240394
 
240393
240395
  )