centaline-data-driven 1.4.71 → 1.4.73

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 +31 -11
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven",
3
- "version": "1.4.71",
3
+ "version": "1.4.73",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -4,17 +4,17 @@
4
4
 
5
5
  <!-- <ct-searchlist :searchConditionApi="'/PropertyRETList/getLayoutOfSearch'" :searchDataApi="'/PropertyRETList/getListOfSearchModel'" :searchCategoryApi="'/PropertyRETList/getLayoutOfSearchCategory'"></ct-searchlist> -->
6
6
 
7
- <!-- <ct-searchlist :apiParam="para"
7
+ <ct-searchlist :apiParam="para"
8
8
  :searchConditionApi="'/ProfileWorklistList/getLayoutOfSearch'"
9
9
  :searchCategoryApi="'/ProfileWorklistList/getLayoutOfSearchCategory'"
10
10
  :searchDataApi="'/ProfileWorklistList/getListOfSearchModel'"
11
11
  :searchStatsApi="'/ProfileWorklistList/getListStats'">
12
- </ct-searchlist> -->
12
+ </ct-searchlist>
13
13
 
14
- <ct-searchlist :apiParam="para"
14
+ <!-- <ct-searchlist :apiParam="para"
15
15
  :searchConditionApi="'/RightValueList/getLayoutOfSearch'"
16
16
  :searchDataApi="'/RightValueList/getListOfSearchModel'">
17
- </ct-searchlist>
17
+ </ct-searchlist> -->
18
18
 
19
19
  <!-- <ct-searchlist
20
20
  :searchCategoryApi="'/PropertyPublishList/getLayoutOfSearchCategory'"
@@ -213,7 +213,8 @@ const api = {
213
213
  Vue.prototype.$common.closeDialog(dialogOption.dialog);
214
214
  Vue.prototype.$message({
215
215
  message: data.rtnMsg,
216
- type: 'info'
216
+ type: 'info',
217
+ showClose:true,
217
218
  });
218
219
  }
219
220
  }
@@ -230,7 +231,11 @@ const api = {
230
231
  common.confirm(data.rtnMsg, '信息', { confirmButtonText: '确定', flagShowcCancelButton: '0' });
231
232
  }
232
233
  else {
233
- Vue.prototype.$message.error(response.data.rtnMsg);
234
+ Vue.prototype.$message({
235
+ message: response.data.rtnMsg,
236
+ type: 'error',
237
+ showClose:true,
238
+ });
234
239
  }
235
240
  }
236
241
  return Promise.reject(response);
@@ -249,10 +254,18 @@ const api = {
249
254
  return this.postThenHandler(response, scripts);
250
255
  }).catch((ex) => {
251
256
  if (ex.message) {
252
- Vue.prototype.$message.error(ex.message);
257
+ Vue.prototype.$message({
258
+ message: ex.message,
259
+ type: 'error',
260
+ showClose:true,
261
+ });
253
262
  }
254
263
  else if (typeof ex.data === "string") {
255
- Vue.prototype.$message.error(ex.data);
264
+ Vue.prototype.$message({
265
+ message: ex.data,
266
+ type: 'error',
267
+ showClose:true,
268
+ });
256
269
  }
257
270
  return Promise.resolve(ex.data ? ex.data : ex);//错误处理了,直接返回成功,要判断response.rtnCode=200再处理
258
271
  });
@@ -264,10 +277,18 @@ const api = {
264
277
  return this.postThenHandler(response, scripts);
265
278
  }).catch((ex) => {
266
279
  if (ex.message) {
267
- Vue.prototype.$message.error(ex.message);
280
+ Vue.prototype.$message({
281
+ message: ex.message,
282
+ type: 'error',
283
+ showClose:true,
284
+ });
268
285
  }
269
286
  else if (typeof ex.data === "string") {
270
- Vue.prototype.$message.error(ex.data);
287
+ Vue.prototype.$message({
288
+ message: ex.data,
289
+ type: 'error',
290
+ showClose:true,
291
+ });
271
292
  }
272
293
  return Promise.resolve(ex.data ? ex.data : ex);//错误处理了,直接返回成功,要判断response.rtnCode=200再处理
273
294
  });
@@ -123,7 +123,11 @@
123
123
  });
124
124
  },
125
125
  handleAvatarError(info) {
126
- this.$message.warning("失败,请重试");
126
+ this.$message({
127
+ message: "失败,请重试",
128
+ type: 'warning',
129
+ showClose:true,
130
+ });
127
131
  },
128
132
  dropClick(event) {
129
133
  var self = this;
@@ -482,12 +482,20 @@
482
482
  },
483
483
  uploadpro(filesize, res, xhr, flagError) {
484
484
  if (flagError) {
485
- this.$message.error(res);
485
+ this.$message({
486
+ message: res,
487
+ type: 'error',
488
+ showClose:true,
489
+ });
486
490
  return false;
487
491
  }
488
492
  else if (xhr.status == 200) {
489
493
  if (res.rtnCode != 200 && res.rtnMsg != "") {
490
- this.$message.error(res.rtnMsg);
494
+ this.$message({
495
+ message: res.rtnMsg,
496
+ type: 'error',
497
+ showClose:true,
498
+ });
491
499
  return false;
492
500
  }
493
501
  const Progress = Math.min(100, Math.floor(1E4 * parseInt(res.content.nextOffSet) / parseInt(filesize)) / 100);
@@ -223,13 +223,21 @@
223
223
  if (this.model.action === '' && !this.model.lock) {
224
224
  this.validMessage = "必须配置上传的URL";
225
225
  this.valid = false;
226
- this.$message.error(this.validMessage);
226
+ this.$message({
227
+ message: this.validMessage,
228
+ type: 'error',
229
+ showClose:true,
230
+ });
227
231
  }
228
232
  },
229
233
  handleExceed() {
230
234
  this.validMessage = "附件数量最多" + this.model.max + "张";
231
235
  this.valid = false;
232
- this.$message.error(this.validMessage);
236
+ this.$message({
237
+ message: this.validMessage,
238
+ type: 'error',
239
+ showClose:true,
240
+ });
233
241
  },
234
242
  //删除
235
243
  handleRemove(file) {
@@ -359,7 +367,11 @@
359
367
  if (res.status === 404) {
360
368
  let m = JSON.parse(res.message);
361
369
  if (m.error) {
362
- this.$message.warning("path(" + m.path + ") " + m.error);
370
+ this.$message({
371
+ message: "path(" + m.path + ") " + m.error,
372
+ type: 'warning',
373
+ showClose:true,
374
+ });
363
375
  }
364
376
  }
365
377
  },
@@ -519,7 +531,11 @@
519
531
  if (this.model.action === '' && !this.model.lock) {
520
532
  this.validMessage = "必须配置上传的URL";
521
533
  this.valid = false;
522
- this.$message.error(this.validMessage);
534
+ this.$message({
535
+ message: this.validMessage,
536
+ type: 'error',
537
+ showClose:true,
538
+ });
523
539
  }
524
540
  // data是上传时附带的额外参数,file是文件
525
541
  let url = this.model.action; //上传文件接口
@@ -546,7 +562,11 @@
546
562
  var refupload = this.$refs.refupload;
547
563
  if (refupload) {
548
564
  if (flagError) {
549
- this.$message.error(res);
565
+ this.$message({
566
+ message: res,
567
+ type: 'error',
568
+ showClose:true,
569
+ });
550
570
  file.source = { "actionType": 2 };
551
571
  this.model.deleteFile(file, false);
552
572
  this.selfValidExcute("remove");
@@ -554,7 +574,11 @@
554
574
  }
555
575
  else if (xhr.status == 200) {
556
576
  if (res.rtnCode != 200 && res.rtnMsg != "") {
557
- this.$message.error(res.rtnMsg);
577
+ this.$message({
578
+ message: res.rtnMsg,
579
+ type: 'error',
580
+ showClose:true,
581
+ });
558
582
  return false;
559
583
  }
560
584
  const Progress = Math.min(100, Math.floor(1E4 * parseInt(res.content.nextOffSet) / parseInt(file.size)) / 100);
@@ -347,7 +347,11 @@
347
347
  field.disabled = false;
348
348
  self.model.pageDisabled = false;
349
349
  self.$common.closeDialog(dialogOption.dialog);
350
- self.$message.warning(data.rtnMsg);
350
+ self.$message({
351
+ message: data.rtnMsg,
352
+ type: 'warning',
353
+ showClose:true,
354
+ });
351
355
  }
352
356
  }
353
357
  }]
@@ -600,7 +604,11 @@
600
604
  },
601
605
  error(data) {
602
606
  self.$common.closeDialog(dialogOption.dialog);
603
- self.$message.warning(data.rtnMsg);
607
+ self.$message({
608
+ message: data.rtnMsg,
609
+ type: 'warning',
610
+ showClose:true,
611
+ });
604
612
  }
605
613
  }
606
614
  }]
@@ -724,7 +732,11 @@
724
732
  finished(data) {
725
733
  self.$common.closeDialog(dialogOption.dialog);
726
734
  if (data.rtnMsg) {
727
- self.$message.info(data.rtnMsg);
735
+ self.$message({
736
+ message: data.rtnMsg,
737
+ type: 'info',
738
+ showClose:true,
739
+ });
728
740
  }
729
741
  if (field && field.changeCallBackFunName) {
730
742
  self.changeCallBackHandler(field, field.changeCallBackFunName, data.content);
@@ -735,7 +747,11 @@
735
747
  },
736
748
  error(data) {
737
749
  self.$common.closeDialog(dialogOption.dialog);
738
- self.$message.warning(data.rtnMsg);
750
+ self.$message({
751
+ message: data.rtnMsg,
752
+ type: 'warning',
753
+ showClose:true,
754
+ });
739
755
  }
740
756
  }
741
757
  }]
@@ -842,15 +858,27 @@
842
858
  if (typeof f.validExcute !== 'undefined') {
843
859
  if (!f.validExcute()) {
844
860
  if (f.validMessage) {
845
- if (f.validMessage == '必填') {
846
- self.$message.error('【' + f.model.label + '】' + f.validMessage);
861
+ if (f.validMessage == '必填') {
862
+ self.$message({
863
+ message: '【' + f.model.label + '】' + f.validMessage,
864
+ type: 'error',
865
+ showClose:true,
866
+ });
847
867
  }
848
868
  else {
849
- self.$message.error(f.validMessage);
869
+ self.$message({
870
+ message: f.validMessage,
871
+ type: 'error',
872
+ showClose:true,
873
+ });
850
874
  }
851
875
  }
852
876
  else {
853
- self.$message.error('【' + f.model.label + '】不能为空!');
877
+ self.$message({
878
+ message: '【' + f.model.label + '】不能为空!',
879
+ type: 'error',
880
+ showClose:true,
881
+ });
854
882
  }
855
883
  verified = false;
856
884
  return;
@@ -877,7 +905,11 @@
877
905
  return;
878
906
  }
879
907
  if (!check) {
880
- self.$message.warning(checkMsg);
908
+ self.$message({
909
+ message: checkMsg,
910
+ type: 'warning',
911
+ showClose:true,
912
+ });
881
913
  return;
882
914
  }
883
915
  if (router.id.indexOf('_') === 0) {
@@ -926,20 +958,36 @@
926
958
  if (!f.validExcute()) {
927
959
  if (i === 0) {
928
960
  if (f.model.is == "ct-file") {
929
- self.$message.error(f.validMessage);
961
+ self.$message({
962
+ message: f.validMessage,
963
+ type: 'error',
964
+ showClose:true,
965
+ });
930
966
  }
931
967
  else {
932
968
  if (f.validMessage) {
933
969
  if (f.validMessage == '必填' && f.model.label) {
934
- self.$message.error('【' + f.model.label + '】' + f.validMessage);
970
+ self.$message({
971
+ message: '【' + f.model.label + '】' + f.validMessage,
972
+ type: 'error',
973
+ showClose:true,
974
+ });
935
975
  }
936
976
  else {
937
- self.$message.error(f.validMessage);
977
+ self.$message({
978
+ message: f.validMessage,
979
+ type: 'error',
980
+ showClose:true,
981
+ });
938
982
  }
939
983
  }
940
984
  else {
941
985
  if (f.model.label) {
942
- self.$message.error('【' + f.model.label + '】不能为空!');
986
+ self.$message({
987
+ message: '【' + f.model.label + '】不能为空!',
988
+ type: 'error',
989
+ showClose:true,
990
+ });
943
991
  }
944
992
  }
945
993
  }
@@ -110,7 +110,13 @@
110
110
  }
111
111
  else {
112
112
  for (let i of self.model.rows) {
113
- if (i.isSet) return self.$message.warning("请先保存当前编辑项");
113
+ if (i.isSet) {
114
+ return self.$message({
115
+ message: "请先保存当前编辑项",
116
+ type: 'warning',
117
+ showClose:true,
118
+ });
119
+ }
114
120
  }
115
121
  let newRow = self.model.getCloneRowData(0);
116
122
  newRow.isSet = true;
@@ -131,7 +137,11 @@
131
137
  //点击修改 判断是否已经保存所有操作
132
138
  for (let i of self.model.rows) {
133
139
  if (i.isSet && app.model.currentRow.index !== index) {
134
- app.$message.warning("请先保存当前编辑项");
140
+ app.$message({
141
+ message: "请先保存当前编辑项",
142
+ type: 'warning',
143
+ showClose:true,
144
+ });
135
145
  return false;
136
146
  }
137
147
  }
@@ -43,7 +43,7 @@
43
43
  </el-table-column>
44
44
 
45
45
  <!--操作列-->
46
- <el-table-column label="操作" v-if="model.rows[0].edit || model.rows[0].delete || model.buttons.length > 0">
46
+ <el-table-column label="操作" v-if="model.rows[0].edit || model.rows[0].delete || model.buttons.length > 0" :render-header="renderHeader" :min-width="tableColumnWith">
47
47
  <template slot-scope="scope">
48
48
  <span v-if="scope.row.edit || scope.row.isSet" class="el-tag el-tag--info el-tag--mini" style="cursor: pointer;" @click="saveRow(scope.row,scope.$index,true)">
49
49
  {{scope.row.isSet?'保存':"修改"}}
@@ -130,7 +130,7 @@
130
130
  },
131
131
  //添加账号
132
132
  addRow() {
133
- var app = this;
133
+ var app = this;
134
134
  if (app.model.dialogEdit) {
135
135
  app.model.addRow(() => {
136
136
  app.$forceUpdate();
@@ -138,7 +138,11 @@
138
138
  }
139
139
  else {
140
140
  for (let i of app.model.tableData) {
141
- if (i.isSet) return app.$message.warning("请先保存当前编辑项");
141
+ if (i.isSet) return app.$message({
142
+ message: "请先保存当前编辑项",
143
+ type: 'warning',
144
+ showClose:true,
145
+ });
142
146
  }
143
147
  let newRow = app.model.getCloneRowData(0);
144
148
  newRow.isSet = true;
@@ -160,7 +164,11 @@
160
164
  //点击修改 判断是否已经保存所有操作
161
165
  for (let i of app.model.tableData) {
162
166
  if (i.isSet && app.model.currentRow.index !== index) {
163
- app.$message.warning("请先保存当前编辑项");
167
+ app.$message({
168
+ message: "请先保存当前编辑项",
169
+ type: 'warning',
170
+ showClose:true,
171
+ });
164
172
  return false;
165
173
  }
166
174
  }
@@ -196,7 +204,7 @@
196
204
  app.model.currentRow.isSet = false;
197
205
  app.itemKey = Math.random();
198
206
  this.model.change = this.model.formListChange;
199
- app.$emit('change');
207
+ app.$emit('change');
200
208
  }
201
209
  }
202
210
  }
@@ -207,7 +215,7 @@
207
215
  app.model.currentRow.isSet = true;
208
216
  row.isSet = true;
209
217
  app.itemKey = Math.random();
210
- }
218
+ }
211
219
  },
212
220
  //删除
213
221
  deleteRow(index, sourceIndex) {
@@ -215,7 +223,11 @@
215
223
  //判断是否已经保存所有操作
216
224
  for (let i of self.model.tableData) {
217
225
  if (i.isSet && self.model.currentRow.index !== index) {
218
- self.$message.warning("请先保存当前编辑项");
226
+ self.$message({
227
+ message: "请先保存当前编辑项",
228
+ type: 'warning',
229
+ showClose:true,
230
+ });
219
231
  return false;
220
232
  }
221
233
  }
@@ -257,13 +269,21 @@
257
269
  var rtnBool = true;
258
270
  for (let i of self.model.tableData) {
259
271
  if (i.isSet) {
260
- self.$message.warning("请先保存表格编辑项");
272
+ self.$message({
273
+ message: "请先保存表格编辑项",
274
+ type: 'warning',
275
+ showClose:true,
276
+ });
261
277
  rtnBool = false;
262
278
  }
263
279
  };
264
280
 
265
281
  if (rtnBool && self.model.required && this.model.tableData.length === 0) {
266
- self.$message.warning(this.model.label + " 表格不能为空");
282
+ self.$message({
283
+ message: this.model.label + " 表格不能为空",
284
+ type: 'warning',
285
+ showClose:true,
286
+ });
267
287
  rtnBool = false;
268
288
  }
269
289
  self.foucus = true;
@@ -390,8 +410,8 @@
390
410
  span.style.width = 'auto';
391
411
  // 临时插入 document
392
412
  document.body.appendChild(span);
393
- // 重点:获取 span 最小宽度,设置当前列,注意这里加了 10,字段较多时还是有挤压,且渲染后的 div 内左右 padding 都是 5,所以 +10 。(可能还有边距/边框等值,需要根据实际情况加上)
394
- column.minWidth = span.getBoundingClientRect().width + 10;
413
+ // 重点:获取 span 最小宽度,设置当前列,注意这里加了 35,字段较多时还是有挤压,且渲染后的 div 内左右 padding 都是 5,所以 +10 ,另外25是为了公布工号列不被遮挡。(可能还有边距/边框等值,需要根据实际情况加上)
414
+ column.minWidth = span.getBoundingClientRect().width + 35;
395
415
  this.tableColumnWith = column.minWidth
396
416
  // 移除 document 中临时的 span
397
417
  document.body.removeChild(span);
@@ -47,7 +47,11 @@
47
47
  });
48
48
  },
49
49
  handleAvatarError(info) {
50
- this.$message.warning("失败,请重试");
50
+ this.$message({
51
+ message: "失败,请重试",
52
+ type: 'warning',
53
+ showClose:true,
54
+ });
51
55
  }
52
56
  }
53
57
  }
@@ -47,7 +47,11 @@
47
47
  });
48
48
  },
49
49
  handleAvatarError(info) {
50
- this.$message.warning("失败,请重试");
50
+ this.$message({
51
+ message: "失败,请重试",
52
+ type: 'warning',
53
+ showClose:true,
54
+ });
51
55
  },
52
56
  clickHandler(i) {
53
57
  this.model.listIndex=i;
@@ -195,7 +195,11 @@
195
195
  this.popupSearchListHandle();
196
196
  }
197
197
  else if ((this.model.popupSearchListType === 0)) {
198
- this.$message.warning("请配置参数paramName1");
198
+ this.$message({
199
+ message: "请配置参数paramName1",
200
+ type: 'warning',
201
+ showClose:true,
202
+ });
199
203
  }
200
204
  },
201
205
  popupSearchListHandle: function () {
@@ -122,12 +122,15 @@ export default {
122
122
  this.modelPhotoselect.delete(index);
123
123
  this.photoList.splice(index, 1);
124
124
  },
125
- handleOpen() {
126
-
125
+ handleOpen() {
127
126
  var self = this;
128
127
  var chooseList = new Array();
129
128
  if (self.modelPhotoselect.action == "") {
130
- self.$message.warning("请配置parameterAction!");
129
+ self.$message({
130
+ message: "请配置parameterAction!",
131
+ type: 'warning',
132
+ showClose:true,
133
+ });
131
134
  return;
132
135
  }
133
136
  var params = {
@@ -160,9 +163,11 @@ export default {
160
163
  self.$nextTick(function () {
161
164
  if (this.modelPhotoselect.max) {
162
165
  if (photoList.length > this.modelPhotoselect.max) {
163
- self.$message.warning(
164
- "图片最多" + this.modelPhotoselect.max + "张"
165
- );
166
+ self.$message({
167
+ message: "图片最多" + this.modelPhotoselect.max + "张",
168
+ type: 'warning',
169
+ showClose:true,
170
+ });
166
171
  self.valid = false;
167
172
  setTimeout(() => {
168
173
  self.valid = true;
@@ -75,7 +75,11 @@
75
75
  self.loaderObj.PhotoSelectList(self.api, self.load, self.para);
76
76
  }
77
77
  else {
78
- self.$message.warning("请配置选择图片API");
78
+ self.$message({
79
+ message: "请配置选择图片API",
80
+ type: 'warning',
81
+ showClose:true,
82
+ });
79
83
  }
80
84
  })
81
85
  },
@@ -103,7 +107,11 @@
103
107
  self.imageList = sourceRows;
104
108
  //self.imageList=[{thumbnailUrl:'lmg.jj20.com/up/allimg/tp01/1ZZH250054149-0-lp.jpg',mediaUrl:'lmg.jj20.com/up/allimg/tp01/1ZZH250054149-0-lp.jpg'}];
105
109
  } catch (e) {
106
- self.$message.warning(e);
110
+ self.$message({
111
+ message: e,
112
+ type: 'warning',
113
+ showClose:true,
114
+ });
107
115
  }
108
116
 
109
117
  },
@@ -134,7 +142,11 @@
134
142
  if (this.chooseList && this.chooseList.length > 0) {
135
143
  this.$emit('handlePhoto', this.chooseList);
136
144
  } else {
137
- this.$message.warning("请选择至少一张图片");
145
+ this.$message({
146
+ message: "请选择至少一张图片",
147
+ type: 'warning',
148
+ showClose:true,
149
+ });
138
150
  }
139
151
  },
140
152
  viewerfile(list,index) {
@@ -128,7 +128,11 @@
128
128
  var jumpRow;
129
129
 
130
130
  if (!this.jumpStr) {
131
- this.$message('请输入定位值!');
131
+ self.$message({
132
+ message: '请输入定位值!',
133
+ type: 'info',
134
+ showClose:true,
135
+ });
132
136
  return;
133
137
  }
134
138
 
@@ -162,7 +166,11 @@
162
166
  this.$emit('submit', this.currentRow);
163
167
  }
164
168
  else {
165
- this.$message.error("请先选择数据");
169
+ this.$message({
170
+ message: "请先选择数据",
171
+ type: 'error',
172
+ showClose:true,
173
+ });
166
174
  }
167
175
  }
168
176
  else {
@@ -115,7 +115,11 @@
115
115
  rtnBool = false;
116
116
  }
117
117
  if (rtnBool && self.model.required && this.model.tableData.length === 0) {
118
- self.$message.warning(this.model.label + " 表格不能为空");
118
+ self.$message({
119
+ message: this.model.label + " 表格不能为空",
120
+ type: 'warning',
121
+ showClose:true,
122
+ });
119
123
  rtnBool = false;
120
124
  }
121
125
  return rtnBool;
@@ -243,7 +243,11 @@
243
243
  }
244
244
 
245
245
  if (this.model.action == "" && !this.model.lock) {
246
- this.$message.warning("请配置富文本Action!");
246
+ this.$message({
247
+ message: "请配置富文本Action!",
248
+ type: 'warning',
249
+ showClose:true,
250
+ });
247
251
  this.config.toolbars = [['help']];
248
252
  return;
249
253
  }