@egova/egova-api 1.0.233 → 1.0.235
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/dist/index.common.js
CHANGED
|
@@ -39903,7 +39903,7 @@ module.exports = function (NAME) {
|
|
|
39903
39903
|
/***/ "7640":
|
|
39904
39904
|
/***/ (function(module, exports) {
|
|
39905
39905
|
|
|
39906
|
-
module.exports = "<article class=\"params-setting\">\
|
|
39906
|
+
module.exports = "<article class=\"params-setting\">\n <i-collapse v-model=\"value\" simple>\n <i-panel name=\"1\">\n <span>Query参数</span>\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <header>\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddRequestParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\n </header>\n <main>\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"queryDataList\">\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox :value=\"!queryDataList[index].disabled\" @on-change=\"onChangeDisabled($event,queryDataList[index])\"> </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"queryDataList[index].name\"></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\n <i-input class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"queryDataList[index].valueContent\"></i-input>\n </template>\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"queryDataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template> -->\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input class=\"diy-input\" placeholder=\"输入备注\" v-model=\"queryDataList[index].text\"></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip class=\"action-btn delete\" title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(queryDataList,index)\" transfer>\n <i class=\"iconfont icon-delete\" title=\"删除\"></i>\n </i-poptip>\n <span>\n <i v-if=\"index>0\" class=\"iconfont icon-up\" @click=\"onUp(queryDataList,index)\" title=\"上移\"></i>\n <i v-if=\"index>0\" class=\"iconfont icon-top\" title=\"置顶\" @click=\"onTop(queryDataList,index)\"></i>\n <i v-if=\"index < queryDataList.length - 1\" @click=\"onDown(queryDataList,index)\" class=\"iconfont icon-down\" title=\"下移\"></i>\n <i v-if=\"index < queryDataList.length - 1\" @click=\"onBottom(queryDataList,index)\" class=\"iconfont icon-bottom\" title=\"置底\"></i>\n </span>\n </template>\n </i-table>\n </main>\n </div>\n </i-panel>\n <i-panel name=\"2\">\n <span>Body参数</span>\n <span class=\"status\">{{getExpand('2') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <header>\n <i-button v-if=\"isFormData\" type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddBodyParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\n <i-button v-else type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onBeautify\"> <i class=\"api-icon icon-view\"></i>格式化 </i-button>\n <i-select transfer v-model=\"interfaceModel.info.requestBodyType\" class=\"diy-select\">\n <i-option v-for=\"item in requestBodyTypeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\n </i-select>\n </header>\n <main>\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"bodyDataList\" v-if=\"isFormData\">\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox :value=\"!bodyDataList[index].disabled\" @on-change=\"onChangeDisabled($event,bodyDataList[index])\"> </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <div class=\"body-name-row\">\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"bodyDataList[index].name\"></i-input>\n <i-select class=\"diy-select\" v-if=\"bodyType === 'Form'\" v-model=\"row.valueType\" @on-change=\"onChangeFormParamType(index, row)\" transfer>\n <i-option v-for=\"item in formParamTypeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\n </i-select>\n </div>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\n <i-input v-if=\"row.valueType === 'String'\" class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"bodyDataList[index].valueContent\"></i-input>\n <i-upload v-if=\"row.valueType === 'FILE' && !row.fileName\" action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\n <i-button class=\"file-btn\" icon=\"ios-cloud-upload-outline\" @click=\"onClickRow(row)\">选择文件</i-button>\n </i-upload>\n <div class=\"file-wrap\" v-if=\"row.valueType === 'FILE' && row.fileName\">\n <div class=\"file-name\" :title=\"row.fileName\">{{ row.fileName }}</div>\n <i-icon type=\"ios-close\" @click=\"onClearFile(row)\"/>\n </div>\n </template>\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"bodyDataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template> -->\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input class=\"diy-input\" placeholder=\"输入备注\" v-model=\"bodyDataList[index].remark\"></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip class=\"action-btn delete\" title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDeleteBodyParam(interfaceModel.formParams,row.indexFlag)\" transfer>\n <i class=\"iconfont icon-delete\" title=\"删除\"></i>\n </i-poptip>\n <span>\n <i v-if=\"index > 0\" class=\"iconfont icon-up\" @click=\"onUpBodyParam(interfaceModel.formParams,row.id)\" title=\"上移\"></i>\n <i v-if=\"index > 0\" class=\"iconfont icon-top\" @click=\"onTopBodyParam(interfaceModel.formParams,row.id)\" title=\"置顶\"></i>\n <i v-if=\"index < bodyDataList.length - 1\" @click=\"onDownBodyParam(interfaceModel.formParams,row.id)\" class=\"iconfont icon-down\" title=\"下移\"></i>\n <i v-if=\"index < bodyDataList.length - 1\" @click=\"onBottomBodyParam(interfaceModel.formParams,row.id)\" class=\"iconfont icon-bottom\" title=\"置底\"></i>\n </span>\n </template>\n </i-table>\n <u-editor v-else :value.sync=\"interfaceModel.json\" lang=\"json\" @inited=\"onEditorInited\"></u-editor>\n </main>\n </div>\n </i-panel>\n </i-collapse>\n</article>\n"
|
|
39907
39907
|
|
|
39908
39908
|
/***/ }),
|
|
39909
39909
|
|
|
@@ -55605,7 +55605,7 @@ function (_super) {
|
|
|
55605
55605
|
title: "查看详情",
|
|
55606
55606
|
align: "left",
|
|
55607
55607
|
slot: "detail",
|
|
55608
|
-
width:
|
|
55608
|
+
width: 105
|
|
55609
55609
|
}]; // 查看文档
|
|
55610
55610
|
|
|
55611
55611
|
_this.detail = "";
|
|
@@ -62375,6 +62375,8 @@ var params_setting = __webpack_require__("8137");
|
|
|
62375
62375
|
|
|
62376
62376
|
|
|
62377
62377
|
|
|
62378
|
+
|
|
62379
|
+
|
|
62378
62380
|
|
|
62379
62381
|
|
|
62380
62382
|
|
|
@@ -62406,6 +62408,22 @@ var params_setting_extends = undefined && undefined.__extends || function () {
|
|
|
62406
62408
|
};
|
|
62407
62409
|
}();
|
|
62408
62410
|
|
|
62411
|
+
var params_setting_assign = undefined && undefined.__assign || function () {
|
|
62412
|
+
params_setting_assign = Object.assign || function (t) {
|
|
62413
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
62414
|
+
s = arguments[i];
|
|
62415
|
+
|
|
62416
|
+
for (var p in s) {
|
|
62417
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
62418
|
+
}
|
|
62419
|
+
}
|
|
62420
|
+
|
|
62421
|
+
return t;
|
|
62422
|
+
};
|
|
62423
|
+
|
|
62424
|
+
return params_setting_assign.apply(this, arguments);
|
|
62425
|
+
};
|
|
62426
|
+
|
|
62409
62427
|
var params_setting_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
62410
62428
|
var c = arguments.length,
|
|
62411
62429
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -62614,7 +62632,7 @@ function (_super) {
|
|
|
62614
62632
|
name: "String",
|
|
62615
62633
|
text: "Text"
|
|
62616
62634
|
}, {
|
|
62617
|
-
name: "
|
|
62635
|
+
name: "FILE",
|
|
62618
62636
|
text: "File"
|
|
62619
62637
|
}];
|
|
62620
62638
|
_this.formParamsIndex = 0;
|
|
@@ -62718,6 +62736,9 @@ function (_super) {
|
|
|
62718
62736
|
return p.type === type;
|
|
62719
62737
|
});
|
|
62720
62738
|
},
|
|
62739
|
+
set: function set(value) {
|
|
62740
|
+
this.interfaceModel.formParams = value;
|
|
62741
|
+
},
|
|
62721
62742
|
enumerable: false,
|
|
62722
62743
|
configurable: true
|
|
62723
62744
|
});
|
|
@@ -62814,12 +62835,13 @@ function (_super) {
|
|
|
62814
62835
|
|
|
62815
62836
|
return params_setting_generator(this, function (_a) {
|
|
62816
62837
|
this.formData.append(this.currentFormParamRow.indexFlag, file);
|
|
62817
|
-
this.interfaceModel.formParams.
|
|
62838
|
+
this.bodyDataList = this.interfaceModel.formParams.map(function (item) {
|
|
62818
62839
|
if (item.indexFlag === _this.currentFormParamRow.indexFlag) {
|
|
62819
62840
|
item.fileName = file.name;
|
|
62820
62841
|
item.valueContent = null;
|
|
62821
|
-
return;
|
|
62822
62842
|
}
|
|
62843
|
+
|
|
62844
|
+
return params_setting_assign({}, item);
|
|
62823
62845
|
});
|
|
62824
62846
|
return [2
|
|
62825
62847
|
/*return*/
|
|
@@ -62830,10 +62852,12 @@ function (_super) {
|
|
|
62830
62852
|
|
|
62831
62853
|
ParamsSetting.prototype.onClearFile = function (row) {
|
|
62832
62854
|
this.formData.delete(row.indexFlag);
|
|
62833
|
-
this.interfaceModel.formParams.
|
|
62855
|
+
this.bodyDataList = this.interfaceModel.formParams.map(function (item) {
|
|
62834
62856
|
if (item.indexFlag === row.indexFlag) {
|
|
62835
|
-
|
|
62857
|
+
item.fileName = "";
|
|
62836
62858
|
}
|
|
62859
|
+
|
|
62860
|
+
return params_setting_assign({}, item);
|
|
62837
62861
|
});
|
|
62838
62862
|
};
|
|
62839
62863
|
|
|
@@ -64445,7 +64469,7 @@ function (_super) {
|
|
|
64445
64469
|
|
|
64446
64470
|
result = null;
|
|
64447
64471
|
fileFormParams = formParams.filter(function (item) {
|
|
64448
|
-
return item.valueType === "
|
|
64472
|
+
return item.valueType === "FILE";
|
|
64449
64473
|
});
|
|
64450
64474
|
if (!fileFormParams.length) return [3
|
|
64451
64475
|
/*break*/
|
package/dist/index.umd.js
CHANGED
|
@@ -39912,7 +39912,7 @@ module.exports = function (NAME) {
|
|
|
39912
39912
|
/***/ "7640":
|
|
39913
39913
|
/***/ (function(module, exports) {
|
|
39914
39914
|
|
|
39915
|
-
module.exports = "<article class=\"params-setting\">\
|
|
39915
|
+
module.exports = "<article class=\"params-setting\">\n <i-collapse v-model=\"value\" simple>\n <i-panel name=\"1\">\n <span>Query参数</span>\n <span class=\"status\">{{getExpand('1') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <header>\n <i-button type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddRequestParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\n </header>\n <main>\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"queryDataList\">\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox :value=\"!queryDataList[index].disabled\" @on-change=\"onChangeDisabled($event,queryDataList[index])\"> </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"queryDataList[index].name\"></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\n <i-input class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"queryDataList[index].valueContent\"></i-input>\n </template>\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"queryDataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template> -->\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input class=\"diy-input\" placeholder=\"输入备注\" v-model=\"queryDataList[index].text\"></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip class=\"action-btn delete\" title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDelete(queryDataList,index)\" transfer>\n <i class=\"iconfont icon-delete\" title=\"删除\"></i>\n </i-poptip>\n <span>\n <i v-if=\"index>0\" class=\"iconfont icon-up\" @click=\"onUp(queryDataList,index)\" title=\"上移\"></i>\n <i v-if=\"index>0\" class=\"iconfont icon-top\" title=\"置顶\" @click=\"onTop(queryDataList,index)\"></i>\n <i v-if=\"index < queryDataList.length - 1\" @click=\"onDown(queryDataList,index)\" class=\"iconfont icon-down\" title=\"下移\"></i>\n <i v-if=\"index < queryDataList.length - 1\" @click=\"onBottom(queryDataList,index)\" class=\"iconfont icon-bottom\" title=\"置底\"></i>\n </span>\n </template>\n </i-table>\n </main>\n </div>\n </i-panel>\n <i-panel name=\"2\">\n <span>Body参数</span>\n <span class=\"status\">{{getExpand('2') ? \"收起\" : \"展开\"}}</span>\n <div slot=\"content\" class=\"setting-content\">\n <header>\n <i-button v-if=\"isFormData\" type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onAddBodyParam\"> <i class=\"api-icon icon-add\"></i>新增参数 </i-button>\n <i-button v-else type=\"primary\" ghost class=\"diy-btn-primary\" @click=\"onBeautify\"> <i class=\"api-icon icon-view\"></i>格式化 </i-button>\n <i-select transfer v-model=\"interfaceModel.info.requestBodyType\" class=\"diy-select\">\n <i-option v-for=\"item in requestBodyTypeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\n </i-select>\n </header>\n <main>\n <i-table height=\"200\" width=\"1280\" class=\"diy-table\" :columns=\"paramColumns\" :data=\"bodyDataList\" v-if=\"isFormData\">\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox :value=\"!bodyDataList[index].disabled\" @on-change=\"onChangeDisabled($event,bodyDataList[index])\"> </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <div class=\"body-name-row\">\n <i-input class=\"diy-input\" placeholder=\"输入参数名称\" v-model=\"bodyDataList[index].name\"></i-input>\n <i-select class=\"diy-select\" v-if=\"bodyType === 'Form'\" v-model=\"row.valueType\" @on-change=\"onChangeFormParamType(index, row)\" transfer>\n <i-option v-for=\"item in formParamTypeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\n </i-select>\n </div>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"valueContent\">\n <i-input v-if=\"row.valueType === 'String'\" class=\"diy-input\" placeholder=\"输入参数值\" v-model=\"bodyDataList[index].valueContent\"></i-input>\n <i-upload v-if=\"row.valueType === 'FILE' && !row.fileName\" action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\n <i-button class=\"file-btn\" icon=\"ios-cloud-upload-outline\" @click=\"onClickRow(row)\">选择文件</i-button>\n </i-upload>\n <div class=\"file-wrap\" v-if=\"row.valueType === 'FILE' && row.fileName\">\n <div class=\"file-name\" :title=\"row.fileName\">{{ row.fileName }}</div>\n <i-icon type=\"ios-close\" @click=\"onClearFile(row)\"/>\n </div>\n </template>\n <!-- <template slot-scope=\"{ row,index }\" slot=\"required\">\n <i-switch v-model=\"bodyDataList[index].required\">\n <span slot=\"open\">是</span>\n <span slot=\"close\">否</span>\n </i-switch>\n </template> -->\n <template slot-scope=\"{ row,index }\" slot=\"text\">\n <i-input class=\"diy-input\" placeholder=\"输入备注\" v-model=\"bodyDataList[index].remark\"></i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip class=\"action-btn delete\" title=\"确认删除这条数据吗?\" confirm @on-ok=\"onDeleteBodyParam(interfaceModel.formParams,row.indexFlag)\" transfer>\n <i class=\"iconfont icon-delete\" title=\"删除\"></i>\n </i-poptip>\n <span>\n <i v-if=\"index > 0\" class=\"iconfont icon-up\" @click=\"onUpBodyParam(interfaceModel.formParams,row.id)\" title=\"上移\"></i>\n <i v-if=\"index > 0\" class=\"iconfont icon-top\" @click=\"onTopBodyParam(interfaceModel.formParams,row.id)\" title=\"置顶\"></i>\n <i v-if=\"index < bodyDataList.length - 1\" @click=\"onDownBodyParam(interfaceModel.formParams,row.id)\" class=\"iconfont icon-down\" title=\"下移\"></i>\n <i v-if=\"index < bodyDataList.length - 1\" @click=\"onBottomBodyParam(interfaceModel.formParams,row.id)\" class=\"iconfont icon-bottom\" title=\"置底\"></i>\n </span>\n </template>\n </i-table>\n <u-editor v-else :value.sync=\"interfaceModel.json\" lang=\"json\" @inited=\"onEditorInited\"></u-editor>\n </main>\n </div>\n </i-panel>\n </i-collapse>\n</article>\n"
|
|
39916
39916
|
|
|
39917
39917
|
/***/ }),
|
|
39918
39918
|
|
|
@@ -55614,7 +55614,7 @@ function (_super) {
|
|
|
55614
55614
|
title: "查看详情",
|
|
55615
55615
|
align: "left",
|
|
55616
55616
|
slot: "detail",
|
|
55617
|
-
width:
|
|
55617
|
+
width: 105
|
|
55618
55618
|
}]; // 查看文档
|
|
55619
55619
|
|
|
55620
55620
|
_this.detail = "";
|
|
@@ -62384,6 +62384,8 @@ var params_setting = __webpack_require__("8137");
|
|
|
62384
62384
|
|
|
62385
62385
|
|
|
62386
62386
|
|
|
62387
|
+
|
|
62388
|
+
|
|
62387
62389
|
|
|
62388
62390
|
|
|
62389
62391
|
|
|
@@ -62415,6 +62417,22 @@ var params_setting_extends = undefined && undefined.__extends || function () {
|
|
|
62415
62417
|
};
|
|
62416
62418
|
}();
|
|
62417
62419
|
|
|
62420
|
+
var params_setting_assign = undefined && undefined.__assign || function () {
|
|
62421
|
+
params_setting_assign = Object.assign || function (t) {
|
|
62422
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
62423
|
+
s = arguments[i];
|
|
62424
|
+
|
|
62425
|
+
for (var p in s) {
|
|
62426
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
62427
|
+
}
|
|
62428
|
+
}
|
|
62429
|
+
|
|
62430
|
+
return t;
|
|
62431
|
+
};
|
|
62432
|
+
|
|
62433
|
+
return params_setting_assign.apply(this, arguments);
|
|
62434
|
+
};
|
|
62435
|
+
|
|
62418
62436
|
var params_setting_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
62419
62437
|
var c = arguments.length,
|
|
62420
62438
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -62623,7 +62641,7 @@ function (_super) {
|
|
|
62623
62641
|
name: "String",
|
|
62624
62642
|
text: "Text"
|
|
62625
62643
|
}, {
|
|
62626
|
-
name: "
|
|
62644
|
+
name: "FILE",
|
|
62627
62645
|
text: "File"
|
|
62628
62646
|
}];
|
|
62629
62647
|
_this.formParamsIndex = 0;
|
|
@@ -62727,6 +62745,9 @@ function (_super) {
|
|
|
62727
62745
|
return p.type === type;
|
|
62728
62746
|
});
|
|
62729
62747
|
},
|
|
62748
|
+
set: function set(value) {
|
|
62749
|
+
this.interfaceModel.formParams = value;
|
|
62750
|
+
},
|
|
62730
62751
|
enumerable: false,
|
|
62731
62752
|
configurable: true
|
|
62732
62753
|
});
|
|
@@ -62823,12 +62844,13 @@ function (_super) {
|
|
|
62823
62844
|
|
|
62824
62845
|
return params_setting_generator(this, function (_a) {
|
|
62825
62846
|
this.formData.append(this.currentFormParamRow.indexFlag, file);
|
|
62826
|
-
this.interfaceModel.formParams.
|
|
62847
|
+
this.bodyDataList = this.interfaceModel.formParams.map(function (item) {
|
|
62827
62848
|
if (item.indexFlag === _this.currentFormParamRow.indexFlag) {
|
|
62828
62849
|
item.fileName = file.name;
|
|
62829
62850
|
item.valueContent = null;
|
|
62830
|
-
return;
|
|
62831
62851
|
}
|
|
62852
|
+
|
|
62853
|
+
return params_setting_assign({}, item);
|
|
62832
62854
|
});
|
|
62833
62855
|
return [2
|
|
62834
62856
|
/*return*/
|
|
@@ -62839,10 +62861,12 @@ function (_super) {
|
|
|
62839
62861
|
|
|
62840
62862
|
ParamsSetting.prototype.onClearFile = function (row) {
|
|
62841
62863
|
this.formData.delete(row.indexFlag);
|
|
62842
|
-
this.interfaceModel.formParams.
|
|
62864
|
+
this.bodyDataList = this.interfaceModel.formParams.map(function (item) {
|
|
62843
62865
|
if (item.indexFlag === row.indexFlag) {
|
|
62844
|
-
|
|
62866
|
+
item.fileName = "";
|
|
62845
62867
|
}
|
|
62868
|
+
|
|
62869
|
+
return params_setting_assign({}, item);
|
|
62846
62870
|
});
|
|
62847
62871
|
};
|
|
62848
62872
|
|
|
@@ -64454,7 +64478,7 @@ function (_super) {
|
|
|
64454
64478
|
|
|
64455
64479
|
result = null;
|
|
64456
64480
|
fileFormParams = formParams.filter(function (item) {
|
|
64457
|
-
return item.valueType === "
|
|
64481
|
+
return item.valueType === "FILE";
|
|
64458
64482
|
});
|
|
64459
64483
|
if (!fileFormParams.length) return [3
|
|
64460
64484
|
/*break*/
|