@egova/egova-api 1.0.101 → 1.0.104
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 +40 -31
- package/dist/index.css +1 -1
- package/dist/index.umd.js +40 -31
- package/dist/index.umd.min.js +2 -2
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -24825,7 +24825,7 @@ module.exports = "<article class=\"headers-setting\">\n <header>\n <i-
|
|
|
24825
24825
|
/***/ "236b":
|
|
24826
24826
|
/***/ (function(module, exports) {
|
|
24827
24827
|
|
|
24828
|
-
module.exports = "<article class=\"after-execution-transfer\">\n <i-form :label-width=\"112\" class=\"diy-form\" label-colon v-if=\"interfaceModel.convertConfig\">\n <i-form-item label=\"状态字段位置\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCodePath\"></i-input>\n </i-form-item>\n <i-form-item label=\"成功标识\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCode\"></i-input>\n </i-form-item>\n <i-form-item label=\"数据字段位置\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.convertRoot\"></i-input>\n </i-form-item>\n </i-form>\n <i-row class=\"transfer-actions\" justify=\"space-between\">\n <span>配置输出字段</span>\n <div class=\"actions-wrapper\">\n <i-poptip confirm title=\"
|
|
24828
|
+
module.exports = "<article class=\"after-execution-transfer\">\n <i-form :label-width=\"112\" class=\"diy-form\" label-colon v-if=\"interfaceModel.convertConfig\">\n <i-form-item label=\"状态字段位置\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCodePath\"></i-input>\n </i-form-item>\n <i-form-item label=\"成功标识\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.successCode\"></i-input>\n </i-form-item>\n <i-form-item label=\"数据字段位置\">\n <i-input class=\"diy-input\" v-model=\"interfaceModel.convertConfig.convertRoot\"></i-input>\n </i-form-item>\n </i-form>\n <i-row class=\"transfer-actions\" justify=\"space-between\">\n <span>配置输出字段</span>\n <div class=\"actions-wrapper\">\n <i-poptip confirm title=\"清空后当前编辑内容需要重新填写,是否确认一键覆盖?\" @on-ok=\"onReset\" transfer>\n <div class=\"action-item action-text\">\n <i class=\"iconfont icon-refresh\"></i>\n 清空\n </div>\n </i-poptip>\n <div class=\"action-item action-text\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n 新增\n </div>\n </div>\n </i-row>\n <i-table :columns=\"columns\" :data=\"dataList\" class=\"diy-table\">\n <template slot-scope=\"{ row,index }\" slot=\"selection\">\n <i-checkbox v-model=\"dataList[index].checked\" @on-change=\"onChangeChecked($event,dataList[index])\"> </i-checkbox>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"path\">\n <i-input class=\"diy-input\" v-model=\"dataList[index].paramPath\" @on-change=\"debounceUpdateFieldMappings\"> </i-input>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"name\">\n <i-input class=\"diy-input half\" placeholder=\"输入字段命名\" v-model=\"dataList[index].name\" @on-change=\"debounceUpdateFieldMappings\"> </i-input>\n <i-select transfer class=\"half diy-select\" v-model=\"dataList[index].valueType\" placeholder=\"选择字段类型\" @on-change=\"debounceUpdateFieldMappings\">\n <i-option v-for=\"item in valueTypeList\" :key=\"item.name\" :value=\"item.name\">{{item.text}} </i-option>\n </i-select>\n </template>\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <i-poptip confirm title=\"确认删除这条数据吗?\" @on-ok=\"onDelete(index)\" transfer>\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\n </i-poptip>\n </template>\n </i-table>\n</article>\n"
|
|
24829
24829
|
|
|
24830
24830
|
/***/ }),
|
|
24831
24831
|
|
|
@@ -46978,7 +46978,7 @@ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
|
46978
46978
|
/***/ "ccf6":
|
|
46979
46979
|
/***/ (function(module, exports) {
|
|
46980
46980
|
|
|
46981
|
-
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-wrapper\">\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\n <!-- 左侧内容 -->\n <section slot=\"left\" class=\"left-split-pane\">\n <u-type-tree :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\"> </u-type-tree>\n </section>\n <!-- 分割线 -->\n <section class=\"trigger\" slot=\"trigger\"></section>\n <!-- 右侧内容 -->\n <section slot=\"right\" class=\"right-split-pane\">\n <section class=\"search-wrapper\">\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\n <i-form-item label=\"名称\" prop=\"name\">\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码\" prop=\"code\">\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\n </i-form-item>\n </i-form>\n <div class=\"btns\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\n </div>\n </section>\n <section class=\"actions-wrapper\">\n <div class=\"action-item action-text\" @click=\"onAdd()\">\n <i class=\"iconfont icon-add\"></i>\n <div>新增</div>\n </div>\n <div class=\"action-item action-text\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <
|
|
46981
|
+
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-wrapper\">\n <i-split v-model=\"split\" min=\"200px\" max=\"1100px\">\n <!-- 左侧内容 -->\n <section slot=\"left\" class=\"left-split-pane\">\n <u-type-tree :initSelectItem=\"initNode\" @on-import-success=\"onQuery\" @on-select=\"onNodeSelect\" @on-tree-data=\"onTreeData\"> </u-type-tree>\n </section>\n <!-- 分割线 -->\n <section class=\"trigger\" slot=\"trigger\"></section>\n <!-- 右侧内容 -->\n <section slot=\"right\" class=\"right-split-pane\">\n <section class=\"search-wrapper\">\n <i-form class=\"diy-search-form\" ref=\"searchForm\" :model=\"formData\" label-position=\"left\" label-colon>\n <i-form-item label=\"名称\" prop=\"name\">\n <i-input class=\"diy-input\" v-model=\"formData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码\" prop=\"code\">\n <i-input class=\"diy-input\" v-model=\"formData.code\"></i-input>\n </i-form-item>\n </i-form>\n <div class=\"btns\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onQuery\">查询</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onReset\">重置</i-button>\n </div>\n </section>\n <section class=\"actions-wrapper\">\n <div class=\"action-item action-text\" @click=\"onAdd()\">\n <i class=\"iconfont icon-add\"></i>\n <div>新增</div>\n </div>\n <div class=\"action-item action-text\" :class=\"selection.length ? '' : 'icon-button-disabled'\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <span>批量删除</span>\n </div>\n </section>\n <section class=\"main-wrapper\">\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"list\" @on-selection-change=\"onSelectChange\">\n <template slot=\"status\" slot-scope=\"{row,index}\">\n <i-switch class=\"diy-switch\" :value=\"row.status==='PUBLISHED'\" @on-change=\"onStatusChange($event, row, index)\"></i-switch>\n <span>{{row.status===\"PUBLISHED\" ? \"已发布\" : \"未发布\"}}</span>\n </template>\n <template slot=\"doc\" slot-scope=\"{row}\">\n <a @click=\"onOpenDoc(row)\">查看</a>\n </template>\n <template #operates=\"{row,index}\">\n <div class=\"row-actions\">\n <i @click.stop=\"onDetail(row)\" title=\"查看\" class=\"iconfont icon-detail\"></i>\n <template v-if=\"row.status!=='PUBLISHED'\">\n <i @click.stop=\"onCopy(row)\" title=\"复制\" class=\"iconfont icon-fuzhi\"> </i>\n <i @click.stop=\"onEdit(row)\" title=\"编辑\" class=\"iconfont icon-edit\"></i>\n <i-poptip confirm transfer title=\"确认要删除这条数据吗?\" @on-ok=\"onDelete(row)\">\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\n </i-poptip>\n </template>\n </div>\n </template>\n </i-table>\n <i-page\n class=\"diy-page\"\n show-total\n show-sizer\n show-elevator\n :total=\"paging.totalCount\"\n :current=\"paging.pageIndex\"\n :page-size=\"paging.pageSize\"\n @on-change=\"onPageIndexChange\"\n @on-page-size-change=\"onPageSizeChange\"\n ></i-page>\n </section>\n </section>\n </i-split>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\n <i-modal draggable sticky reset-drag-position v-model=\"showCopyModal\" class=\"diy-modal combine-copy-modal\" :mask-closable=\"false\" title=\"复制接口\">\n <i-form :label-width=\"100\" class=\"diy-form\" v-model=\"copyData\" label-colon>\n <i-form-item label=\"接口名称\" required>\n <i-input class=\"diy-input\" v-model=\"copyData.name\"></i-input>\n </i-form-item>\n <i-form-item label=\"接口编码\" required>\n <i-input class=\"diy-input\" v-model=\"copyData.code\"></i-input>\n </i-form-item>\n <i-form-item label=\"选择分组\" required>\n <u-tree-selector :treeData=\"treeData\" leaf-name=\"copy\" :canChooseFolder=\"true\" v-model=\"categoryData.id\" @on-select=\"selectCategory\"> </u-tree-selector>\n </i-form-item>\n </i-form>\n <footer slot=\"footer\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onCopyConfirm\">确定</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onCopyCancel\">取消</i-button>\n </footer>\n </i-modal>\n</article>\n"
|
|
46982
46982
|
|
|
46983
46983
|
/***/ }),
|
|
46984
46984
|
|
|
@@ -47333,7 +47333,7 @@ module.exports = fails(function () {
|
|
|
47333
47333
|
/***/ "d8b4":
|
|
47334
47334
|
/***/ (function(module, exports) {
|
|
47335
47335
|
|
|
47336
|
-
module.exports = "<div class=\"v-parameter-list-container\">\n <main>\n <div class=\"parameter-table-btns\" v-if=\"isEdit\">\n <
|
|
47336
|
+
module.exports = "<div class=\"v-parameter-list-container\">\n <main>\n <div class=\"parameter-table-btns\" v-if=\"isEdit\">\n <span class=\"table-btns table-btns-add\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n <span class=\"table-btns-text\">新增</span>\n </span>\n <span class=\"table-btns table-btns-delete\" :class=\"selections.length ? '' : 'icon-button-disabled'\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <span class=\"table-btns-text\">批量删除</span>\n </span>\n </div>\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelectionChange\">\n <div slot=\"name\" slot-scope=\"{row}\">\n <i-input class=\"diy-input\" v-if=\"row.isEdit\" v-model=\"row.name\">{{row.name}}</i-input>\n <span v-else>{{row.name}}</span>\n </div>\n <div slot=\"type\" slot-scope=\"{row}\">\n <i-select class=\"diy-select\" v-if=\"row.isEdit\" v-model=\"row.type\" transfer>\n <i-option v-for=\"item in typeList\" :value=\"item.name\" :key=\"item.name\">{{item.text}}</i-option>\n </i-select>\n <span v-else>{{getTypeText(row.type)}}</span>\n </div>\n <div slot=\"required\" slot-scope=\"{row}\">\n <i-select class=\"diy-select\" v-if=\"row.isEdit\" :value=\"booleanObj[row.required]\" @on-change=\"onChangeRequired($event, row)\" transfer>\n <i-option :value=\"0\" key=\"0\">否</i-option>\n <i-option :value=\"1\" key=\"1\">是</i-option>\n </i-select>\n <span v-else>{{row.required ? \"是\" : \"否\"}}</span>\n </div>\n <div slot=\"defaultValue\" slot-scope=\"{row}\">\n <i-input class=\"diy-input\" v-if=\"row.isEdit\" v-model=\"row.defaultValue\"></i-input>\n <span v-else>{{row.defaultValue}}</span>\n </div>\n <div slot=\"description\" slot-scope=\"{row}\">\n <i-input class=\"diy-input\" v-if=\"row.isEdit\" v-model=\"row.description\"></i-input>\n <span v-else>{{row.description}}</span>\n </div>\n <div v-if=\"isEdit\" class=\"row-actions\" slot=\"actions\" slot-scope=\"{row,index}\">\n <div v-if=\"row.isEdit\" class=\"edit-status\">\n <i class=\"iconfont icon-ok\" title=\"确认\" @click=\"onConfirm(row, index)\"></i>\n <i class=\"iconfont icon-cancel\" title=\"取消\" @click=\"onCancel(index)\"></i>\n </div>\n <div v-else class=\"read-status\">\n <i class=\"iconfont icon-edit\" title=\"编辑\" @click=\"onEdit(row)\"></i>\n <i-poptip confirm transfer title=\"您确定要删除这条内容吗?\" @on-ok=\"onDelete(row, index)\">\n <i class=\"iconfont icon-delete\" title=\"删除\"> </i>\n </i-poptip>\n </div>\n </div>\n </i-table>\n </main>\n</div>\n"
|
|
47337
47337
|
|
|
47338
47338
|
/***/ }),
|
|
47339
47339
|
|
|
@@ -52560,7 +52560,7 @@ function (_super) {
|
|
|
52560
52560
|
});
|
|
52561
52561
|
|
|
52562
52562
|
if (!ids.length) {
|
|
52563
|
-
return
|
|
52563
|
+
return;
|
|
52564
52564
|
}
|
|
52565
52565
|
|
|
52566
52566
|
this.$modal.confirm({
|
|
@@ -55482,6 +55482,22 @@ var request_parameter_list_extends = undefined && undefined.__extends || functio
|
|
|
55482
55482
|
};
|
|
55483
55483
|
}();
|
|
55484
55484
|
|
|
55485
|
+
var request_parameter_list_assign = undefined && undefined.__assign || function () {
|
|
55486
|
+
request_parameter_list_assign = Object.assign || function (t) {
|
|
55487
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
55488
|
+
s = arguments[i];
|
|
55489
|
+
|
|
55490
|
+
for (var p in s) {
|
|
55491
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
55492
|
+
}
|
|
55493
|
+
}
|
|
55494
|
+
|
|
55495
|
+
return t;
|
|
55496
|
+
};
|
|
55497
|
+
|
|
55498
|
+
return request_parameter_list_assign.apply(this, arguments);
|
|
55499
|
+
};
|
|
55500
|
+
|
|
55485
55501
|
var request_parameter_list_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
55486
55502
|
var c = arguments.length,
|
|
55487
55503
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -55639,16 +55655,6 @@ var request_parameter_list_generator = undefined && undefined.__generator || fun
|
|
|
55639
55655
|
}
|
|
55640
55656
|
};
|
|
55641
55657
|
|
|
55642
|
-
var request_parameter_list_spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
|
|
55643
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
55644
|
-
if (ar || !(i in from)) {
|
|
55645
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
55646
|
-
ar[i] = from[i];
|
|
55647
|
-
}
|
|
55648
|
-
}
|
|
55649
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
55650
|
-
};
|
|
55651
|
-
|
|
55652
55658
|
|
|
55653
55659
|
|
|
55654
55660
|
|
|
@@ -55660,13 +55666,12 @@ function (_super) {
|
|
|
55660
55666
|
request_parameter_list_extends(RequestParameterList, _super);
|
|
55661
55667
|
|
|
55662
55668
|
function RequestParameterList() {
|
|
55663
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55664
|
-
|
|
55669
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55665
55670
|
|
|
55666
55671
|
_this.columns = [{
|
|
55667
55672
|
type: "selection",
|
|
55668
|
-
|
|
55669
|
-
|
|
55673
|
+
align: "center",
|
|
55674
|
+
width: 60
|
|
55670
55675
|
}, {
|
|
55671
55676
|
title: "参数名",
|
|
55672
55677
|
align: "center",
|
|
@@ -55701,6 +55706,10 @@ function (_super) {
|
|
|
55701
55706
|
class: "STRING",
|
|
55702
55707
|
ellipsis: true,
|
|
55703
55708
|
tooltip: true
|
|
55709
|
+
}, {
|
|
55710
|
+
title: "操作",
|
|
55711
|
+
align: "center",
|
|
55712
|
+
slot: "actions"
|
|
55704
55713
|
}];
|
|
55705
55714
|
_this.typeList = [];
|
|
55706
55715
|
_this.selections = []; // 列表中选中的数据
|
|
@@ -55713,14 +55722,6 @@ function (_super) {
|
|
|
55713
55722
|
}
|
|
55714
55723
|
|
|
55715
55724
|
RequestParameterList.prototype.mounted = function () {
|
|
55716
|
-
if (this.isEdit) {
|
|
55717
|
-
this.columns = request_parameter_list_spreadArray(request_parameter_list_spreadArray([], this.columns, true), [{
|
|
55718
|
-
title: "操作",
|
|
55719
|
-
align: "center",
|
|
55720
|
-
slot: "actions"
|
|
55721
|
-
}], false);
|
|
55722
|
-
}
|
|
55723
|
-
|
|
55724
55725
|
this.getTypeList();
|
|
55725
55726
|
};
|
|
55726
55727
|
|
|
@@ -55729,7 +55730,9 @@ function (_super) {
|
|
|
55729
55730
|
};
|
|
55730
55731
|
|
|
55731
55732
|
RequestParameterList.prototype.onCancel = function (index) {
|
|
55732
|
-
this.data.splice(index, 1, this.data[index])
|
|
55733
|
+
this.data.splice(index, 1, request_parameter_list_assign(request_parameter_list_assign({}, this.data[index]), {
|
|
55734
|
+
isEdit: false
|
|
55735
|
+
}));
|
|
55733
55736
|
};
|
|
55734
55737
|
|
|
55735
55738
|
RequestParameterList.prototype.onDelete = function (row, index) {
|
|
@@ -55737,11 +55740,9 @@ function (_super) {
|
|
|
55737
55740
|
};
|
|
55738
55741
|
|
|
55739
55742
|
RequestParameterList.prototype.onBatchDelete = function () {
|
|
55740
|
-
var _this = this;
|
|
55741
|
-
|
|
55743
|
+
var _this = this;
|
|
55742
55744
|
|
|
55743
|
-
if (this.selections
|
|
55744
|
-
this.$message.warning("请先勾选需要删除的数据");
|
|
55745
|
+
if (!this.selections.length) {
|
|
55745
55746
|
return;
|
|
55746
55747
|
}
|
|
55747
55748
|
|
|
@@ -55887,6 +55888,10 @@ function (_super) {
|
|
|
55887
55888
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55888
55889
|
|
|
55889
55890
|
_this.columns = [{
|
|
55891
|
+
type: "selection",
|
|
55892
|
+
align: "center",
|
|
55893
|
+
width: 60
|
|
55894
|
+
}, {
|
|
55890
55895
|
title: "参数名",
|
|
55891
55896
|
align: "center",
|
|
55892
55897
|
slot: "name",
|
|
@@ -55900,6 +55905,10 @@ function (_super) {
|
|
|
55900
55905
|
class: "STRING",
|
|
55901
55906
|
ellipsis: true,
|
|
55902
55907
|
tooltip: true
|
|
55908
|
+
}, {
|
|
55909
|
+
title: "操作",
|
|
55910
|
+
align: "center",
|
|
55911
|
+
slot: "actions"
|
|
55903
55912
|
}];
|
|
55904
55913
|
return _this;
|
|
55905
55914
|
}
|