centaline-data-driven 1.4.71 → 1.4.72

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.
Files changed (30) hide show
  1. package/package.json +1 -1
  2. package/src/SearchList.vue +4 -4
  3. package/src/centaline/api/index.js +27 -6
  4. package/src/centaline/dynamicBtn/src/dynamicBtn.vue +5 -1
  5. package/src/centaline/dynamicEditPictures/src/dynamicEditPictures.vue +10 -2
  6. package/src/centaline/dynamicFile/src/dynamicFile.vue +30 -6
  7. package/src/centaline/dynamicForm/src/dynamicForm.vue +61 -13
  8. package/src/centaline/dynamicForm/src/dynamicFormList.vue +12 -2
  9. package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +25 -5
  10. package/src/centaline/dynamicHyperLink/src/dynamicHyperLink.vue +5 -1
  11. package/src/centaline/dynamicHyperLinkList/src/dynamicHyperLinkList.vue +5 -1
  12. package/src/centaline/dynamicMo/src/dynamicMo.vue +5 -1
  13. package/src/centaline/dynamicPhotoSelect/src/dynamicPhotoSelect.vue +11 -6
  14. package/src/centaline/dynamicPhotoSelectList/src/dynamicPhotoSelectList.vue +15 -3
  15. package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchListTable.vue +10 -2
  16. package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +5 -1
  17. package/src/centaline/dynamicRichText/src/dynamicRichText.vue +5 -1
  18. package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +7 -7
  19. package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +15 -3
  20. package/src/centaline/dynamicSo/src/dynamicSo.vue +5 -1
  21. package/src/centaline/dynamicSos/src/dynamicSos.vue +5 -1
  22. package/src/centaline/dynamicSosTt/src/dynamicSosTt.vue +5 -1
  23. package/src/centaline/dynamicTags/src/dynamicTags.vue +5 -1
  24. package/src/centaline/dynamicTree/src/dynamicSearchTree.vue +5 -1
  25. package/src/centaline/index.js +0 -2
  26. package/src/centaline/loader/src/ctl/File.js +5 -1
  27. package/src/centaline/loader/src/ctl/FormList.js +5 -1
  28. package/src/centaline/loader/src/ctl/SearchScreen.js +3 -0
  29. package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
  30. package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
@@ -1044,7 +1044,11 @@ export default {
1044
1044
  },
1045
1045
  error(data) {
1046
1046
  self.$common.closeDialog(dialogOption.dialog);
1047
- self.$message.warning(data.rtnMsg);
1047
+ self.$message({
1048
+ message: data.rtnMsg,
1049
+ type: 'warning',
1050
+ showClose:true,
1051
+ });
1048
1052
  }
1049
1053
  }
1050
1054
  }]
@@ -1588,7 +1592,11 @@ export default {
1588
1592
  },
1589
1593
  error(data) {
1590
1594
  self.$common.closeDialog(dialogOption.dialog);
1591
- self.$message.warning(data.rtnMsg);
1595
+ self.$message({
1596
+ message: data.rtnMsg,
1597
+ type: 'warning',
1598
+ showClose:true,
1599
+ });
1592
1600
  }
1593
1601
  }
1594
1602
  }]
@@ -1731,7 +1739,11 @@ export default {
1731
1739
  this.$emit('popupClickHandler', tempListData);
1732
1740
  }
1733
1741
  else {
1734
- this.$message.error("请先选择数据");
1742
+ this.$message({
1743
+ message: "请先选择数据",
1744
+ type: 'error',
1745
+ showClose:true,
1746
+ });
1735
1747
  }
1736
1748
  },
1737
1749
  },
@@ -181,7 +181,11 @@
181
181
  this.popupSearchListHandle();
182
182
  }
183
183
  else if ((this.model.popupSearchListType === 0)){
184
- this.$message.warning("请配置参数paramName1");
184
+ this.$message({
185
+ message: "请配置参数paramName1",
186
+ type: 'warning',
187
+ showClose:true,
188
+ });
185
189
  }
186
190
  },
187
191
  popupSearchListHandle: function () {
@@ -188,7 +188,11 @@
188
188
  this.popupSearchListHandle();
189
189
  }
190
190
  else if ((this.model.popupSearchListType === 0)) {
191
- this.$message.warning("请配置参数paramName1");
191
+ this.$message({
192
+ message: "请配置参数paramName1",
193
+ type: 'warning',
194
+ showClose:true,
195
+ });
192
196
  }
193
197
  },
194
198
  popupSearchListHandle: function () {
@@ -200,7 +200,11 @@
200
200
  this.popupSearchListHandle();
201
201
  }
202
202
  else if ((this.model.popupSearchListType === 0)) {
203
- this.$message.warning("请配置参数paramName1");
203
+ this.$message({
204
+ message: "请配置参数paramName1",
205
+ type: 'warning',
206
+ showClose:true,
207
+ });
204
208
  }
205
209
  },
206
210
  popupSearchListHandle: function () {
@@ -204,7 +204,11 @@
204
204
  this.popupSearchListHandle();
205
205
  }
206
206
  else if ((this.model.popupSearchListType === 0)) {
207
- this.$message.warning("请配置参数paramName1");
207
+ this.$message({
208
+ message: "请配置参数paramName1",
209
+ type: 'warning',
210
+ showClose:true,
211
+ });
208
212
  }
209
213
  },
210
214
  popupSearchListHandle: function () {
@@ -184,7 +184,11 @@ export default {
184
184
  },
185
185
  error(data) {
186
186
  self.$common.closeDialog(dialogOption.dialog);
187
- self.$message.warning(data.rtnMsg);
187
+ self.$message({
188
+ message: data.rtnMsg,
189
+ type: 'warning',
190
+ showClose:true,
191
+ });
188
192
  }
189
193
  }
190
194
  }]
@@ -1,6 +1,4 @@
1
1
  const paths = require('../../build/centaline/centaline.path').default;
2
- //import './css/common.css'
3
- import babelpolyfill from 'babel-polyfill'
4
2
  import BaiduMap from 'vue-baidu-map'
5
3
 
6
4
  let defaultInstallOpt = {
@@ -303,7 +303,11 @@ const box = function (source, fileSourceList, router, optionApi,videoPlayIconUrl
303
303
  fileList.splice(i, 1);
304
304
  }
305
305
  }
306
- Vue.prototype.$message.error(res.rtnMsg);
306
+ Vue.prototype.$message({
307
+ message: res.rtnMsg,
308
+ type: 'error',
309
+ showClose:true,
310
+ });
307
311
  }
308
312
  },
309
313
  addfileItem(file) {
@@ -292,7 +292,11 @@ const FormList = function (source, master) {
292
292
 
293
293
  if (temp >= rtn.primaryKeys.length) {
294
294
  isDuplicated = true;
295
- Vue.prototype.$message.error('错误,字段:' + tempLabel + '已存在!');
295
+ Vue.prototype.$message({
296
+ message: '错误,字段:' + tempLabel + '已存在!',
297
+ type: 'error',
298
+ showClose:true,
299
+ });
296
300
  break;
297
301
  }
298
302
  }
@@ -297,6 +297,7 @@ const SearchScreen = function (source, callBack, screenPara) {
297
297
  if (item instanceof Object) {
298
298
  item.form = rtn;
299
299
  item.isScreen=true;
300
+ item.keyScreen=item.id+Math.random();
300
301
  rtn.hiddenHandle(item);//是否隐藏关联组件
301
302
  rtnscreens.push(item);
302
303
  }
@@ -389,6 +390,7 @@ const SearchScreen = function (source, callBack, screenPara) {
389
390
  else {
390
391
  field.show = true;
391
392
  }
393
+ field.keyScreen=field.id+Math.random();
392
394
  }
393
395
  }
394
396
  }
@@ -407,6 +409,7 @@ const SearchScreen = function (source, callBack, screenPara) {
407
409
  else {
408
410
  field.show = true;
409
411
  }
412
+ field.keyScreen=field.id+Math.random();
410
413
  }
411
414
  }
412
415
  }