@egova/egova-api 1.3.30 → 1.3.32

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.umd.js CHANGED
@@ -1195,7 +1195,7 @@ module.exports = fails(function () {
1195
1195
  /***/ "6255":
1196
1196
  /***/ (function(module, exports) {
1197
1197
 
1198
- module.exports = "<i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"value\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n :title=\"data.id ? '编辑项目': '新建项目'\"\r\n>\r\n <i-form :label-width=\"95\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"项目名称\" required>\r\n <i-input\r\n v-model.trim=\"data.name\"\r\n class=\"diy-input\"\r\n placeholder=\"请输入项目名称\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"项目描述\">\r\n <i-input\r\n class=\"diy-input\"\r\n type=\"textarea\"\r\n :rows=\"4\"\r\n v-model=\"data.description\"\r\n placeholder=\"请输入项目描述\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <slot slot=\"footer\" name=\"footer\"> </slot>\r\n</i-modal>\r\n"
1198
+ module.exports = "<i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"value\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n :title=\"data.id ? '编辑项目': '新建项目'\"\r\n>\r\n <i-form :label-width=\"95\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"项目名称\" required>\r\n <i-input\r\n v-model.trim=\"data.name\"\r\n class=\"diy-input\"\r\n placeholder=\"请输入项目名称\"\r\n :maxlength=\"50\"\r\n ></i-input>\r\n <div class=\"name-input-tip\">最多可输入50字</div>\r\n </i-form-item>\r\n <i-form-item label=\"项目描述\">\r\n <i-input\r\n class=\"diy-input\"\r\n type=\"textarea\"\r\n :rows=\"4\"\r\n v-model=\"data.description\"\r\n placeholder=\"请输入项目描述\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <slot slot=\"footer\" name=\"footer\"> </slot>\r\n</i-modal>\r\n"
1199
1199
 
1200
1200
  /***/ }),
1201
1201
 
@@ -11926,9 +11926,6 @@ var params_setting_ParamsSetting = /** @class */function (_super) {
11926
11926
  });
11927
11927
  this.queryDataList = this.interfaceModel.queryParams;
11928
11928
  this.interfaceModel.formParams.forEach(function (item) {
11929
- if ((item.text === undefined || item.text === null || item.text === "") && item.remark !== undefined) {
11930
- item.text = item.remark;
11931
- }
11932
11929
  if (!item.indexFlag) {
11933
11930
  item.indexFlag = _this.formParamsIndex++ + "_" + _this.interfaceModel.info.id;
11934
11931
  }
@@ -13737,27 +13734,12 @@ var interface_settings_InterfaceSettings = /** @class */function (_super) {
13737
13734
  };
13738
13735
  InterfaceSettings.prototype.onSave = function () {
13739
13736
  return __awaiter(this, void 0, void 0, function () {
13740
- var tmpInterfaceModel, normalizedFormParams;
13737
+ var tmpInterfaceModel;
13741
13738
  return __generator(this, function (_a) {
13742
13739
  switch (_a.label) {
13743
13740
  case 0:
13744
13741
  this.loading = true;
13745
13742
  tmpInterfaceModel = this.interfaceModel.$clone();
13746
- normalizedFormParams = [];
13747
- if (Array.isArray(tmpInterfaceModel.formParams)) {
13748
- normalizedFormParams = tmpInterfaceModel.formParams.map(function (item) {
13749
- var normalized = __assign({}, item);
13750
- if ((normalized.text === undefined || normalized.text === null || normalized.text === "") && normalized.remark !== undefined) {
13751
- normalized.text = normalized.remark;
13752
- }
13753
- delete normalized.remark;
13754
- return normalized;
13755
- });
13756
- tmpInterfaceModel.formParams = normalizedFormParams;
13757
- this.interfaceModel.formParams = normalizedFormParams.map(function (item) {
13758
- return __assign({}, item);
13759
- });
13760
- }
13761
13743
  if (tmpInterfaceModel.name && tmpInterfaceModel.name !== tmpInterfaceModel.info.name) {
13762
13744
  tmpInterfaceModel.info.name = tmpInterfaceModel.name;
13763
13745
  }