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.
- package/package.json +1 -1
- package/src/SearchList.vue +4 -4
- package/src/centaline/api/index.js +27 -6
- package/src/centaline/dynamicBtn/src/dynamicBtn.vue +5 -1
- package/src/centaline/dynamicEditPictures/src/dynamicEditPictures.vue +10 -2
- package/src/centaline/dynamicFile/src/dynamicFile.vue +30 -6
- package/src/centaline/dynamicForm/src/dynamicForm.vue +61 -13
- package/src/centaline/dynamicForm/src/dynamicFormList.vue +12 -2
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +25 -5
- package/src/centaline/dynamicHyperLink/src/dynamicHyperLink.vue +5 -1
- package/src/centaline/dynamicHyperLinkList/src/dynamicHyperLinkList.vue +5 -1
- package/src/centaline/dynamicMo/src/dynamicMo.vue +5 -1
- package/src/centaline/dynamicPhotoSelect/src/dynamicPhotoSelect.vue +11 -6
- package/src/centaline/dynamicPhotoSelectList/src/dynamicPhotoSelectList.vue +15 -3
- package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchListTable.vue +10 -2
- package/src/centaline/dynamicRepeat/src/dynamicRepeat.vue +5 -1
- package/src/centaline/dynamicRichText/src/dynamicRichText.vue +5 -1
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +7 -7
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +15 -3
- package/src/centaline/dynamicSo/src/dynamicSo.vue +5 -1
- package/src/centaline/dynamicSos/src/dynamicSos.vue +5 -1
- package/src/centaline/dynamicSosTt/src/dynamicSosTt.vue +5 -1
- package/src/centaline/dynamicTags/src/dynamicTags.vue +5 -1
- package/src/centaline/dynamicTree/src/dynamicSearchTree.vue +5 -1
- package/src/centaline/index.js +0 -2
- package/src/centaline/loader/src/ctl/File.js +5 -1
- package/src/centaline/loader/src/ctl/FormList.js +5 -1
- package/src/centaline/loader/src/ctl/SearchScreen.js +3 -0
- package/wwwroot/static/centaline/centaline-data-driven.js +3 -3
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
187
|
+
self.$message({
|
|
188
|
+
message: data.rtnMsg,
|
|
189
|
+
type: 'warning',
|
|
190
|
+
showClose:true,
|
|
191
|
+
});
|
|
188
192
|
}
|
|
189
193
|
}
|
|
190
194
|
}]
|
package/src/centaline/index.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
}
|