ru.coon 3.0.50 → 3.0.51

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 3.0.51, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/64e72d95cacc2f81ab46d1d6d36728f73d0fa68e)
2
+ * ## Features
3
+ * <span style='color:green'>feat: NEVA-974: Доработка передачи в сервиз загрузки файлов обязательного параметра fileTypeId</span> ([5154fb], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5154fbb972d7b84a0d880babe97b81fb16f9001c))
4
+
5
+ * update: CHANGELOG.md ([5d7a42], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5d7a428cd48fd8b9d51cc830171812f0efba13ed))
6
+
1
7
  # Version 3.0.50, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/afdbae38fc7d35cb8df2ad696dc242e0ef3019b1)
2
8
  * ## Fixes
3
9
  * <span style='color:red'>HT-13994: fix column setVisible bug</span> ([b33727], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b33727b0f0a19ec9a9d502540684ebbc739d4a45))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "3.0.50",
7
+ "version": "3.0.51",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -98,6 +98,8 @@ Ext.define('Coon.common.panel.dropzone.UniversalMultiUploadForm', {
98
98
  * @param {Object}
99
99
  */
100
100
  headers: {},
101
+
102
+ fileTypeId: 'UNKNOWN',
101
103
  },
102
104
 
103
105
  layout: {
@@ -129,7 +129,13 @@ Ext.define('Coon.common.panel.dropzone.UniversalMultiUploadFormController', {
129
129
  submitFunction: async function() {
130
130
  if (this.validate()) {
131
131
  const parameters = this.collectParams();
132
+ const fileTypeId = this.getView().getFileTypeId();
133
+ if (!fileTypeId) {
134
+ Ext.Msg.alert('Сообщение системы', 'Не определен параметр fileTypeId');
135
+ return;
136
+ }
132
137
  const formData = new FormData();
138
+ formData.append('fileTypeId', fileTypeId);
133
139
  for (const key in parameters) {
134
140
  formData.append(key, parameters[key]);
135
141
  }
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '3.0.50',
3
+ number: '3.0.51',
4
4
  });