cloud-web-corejs 1.0.54-dev.158 → 1.0.54-dev.159

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.158",
4
+ "version": "1.0.54-dev.159",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -109,7 +109,7 @@ modules = {
109
109
  tableConfig: {},
110
110
  showTableFormDialogContent: true,
111
111
  widgetMap: {},
112
- rowWidgetList:[]
112
+ rowWidgetList: []
113
113
  };
114
114
  },
115
115
  watch: {
@@ -208,7 +208,7 @@ modules = {
208
208
  let widget = this.getRowWidget(rowParam, fieldWidget);
209
209
  let field = widget.category == 'container' ? 'widget' : 'field'
210
210
  let option = {
211
- [field]:widget
211
+ [field]: widget
212
212
  }
213
213
  return option
214
214
  },
@@ -436,13 +436,13 @@ modules = {
436
436
  }
437
437
  col = addColumProperty(col, t);
438
438
 
439
- if(col.params.widget){
439
+ if (col.params.widget) {
440
440
  rowWidgetList.push(col.params.widget)
441
441
  }
442
- if(col.params.editWidget){
442
+ if (col.params.editWidget) {
443
443
  rowWidgetList.push(col.params.editWidget)
444
444
  }
445
- if(col.params.widgetList && col.params.widgetList.length){
445
+ if (col.params.widgetList && col.params.widgetList.length) {
446
446
  col.params.widgetList.forEach((item) => {
447
447
  rowWidgetList.push(item)
448
448
  })
@@ -1196,6 +1196,12 @@ modules = {
1196
1196
 
1197
1197
  let ajaxConfig = customParam?.config || {};
1198
1198
 
1199
+ let requestData = {
1200
+ ...reqData,
1201
+ ...otherParam
1202
+ };
1203
+ requestData = extendDeeply(requestData, accessParam);
1204
+
1199
1205
  return this.formHttp({
1200
1206
  // url: prefix + "/form_ins/getPage",
1201
1207
  scriptCode: scriptCode,
@@ -1203,11 +1209,7 @@ modules = {
1203
1209
  formCode: formCode,
1204
1210
  formVersion: reportTemplate.formVersion,
1205
1211
  taBm: this.fieldKeyName,
1206
- data: {
1207
- ...reqData,
1208
- ...otherParam,
1209
- ...accessParam,
1210
- },
1212
+ data: requestData,
1211
1213
  },
1212
1214
  ...defaultOption,
1213
1215
  ...ajaxConfig,
@@ -2113,11 +2115,11 @@ modules = {
2113
2115
  newFieldSchema.id = fieldWidget.type + generateId()
2114
2116
  return newFieldSchema
2115
2117
  },*/
2116
- clearRowWidgets(){
2118
+ clearRowWidgets() {
2117
2119
  // this.widgetMap = {};
2118
2120
  },
2119
2121
  deleteRowWidgets(row) {
2120
- this.rowWidgetList.forEach(widget=>{
2122
+ this.rowWidgetList.forEach(widget => {
2121
2123
  let key = this.getRowRefKey(row, widget.options.name);
2122
2124
  delete this.widgetMap[key];
2123
2125
  })
@@ -62,7 +62,7 @@ modules = {
62
62
  let reportTemplate = that.getFormRef ? that.getFormRef().reportTemplate : that.reportTemplate;
63
63
  if (formCode && formCode !== reportTemplate.formCode) {
64
64
  that.$http({
65
- aes: true,
65
+ // aes: true,
66
66
  url: USER_PREFIX + `/formTemplate/getByFormCode`,
67
67
  method: `post`,
68
68
  data: {
@@ -101,7 +101,7 @@ modules = {
101
101
  let url = `/${reportTemplate.serviceName}/bd_api/${reportTemplate.formCode}/${scriptCode}`;
102
102
  // let url = BD_PREFIX + `/formScript/exeScript`;
103
103
  return this.$http({
104
- aes: true,
104
+ // aes: true,
105
105
  url: url,
106
106
  method: `post`,
107
107
  loadingTarget: document.body,