@egova/egova-api 1.0.101 → 1.0.102
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 +10 -22
- package/dist/index.umd.js +10 -22
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -47324,7 +47324,7 @@ module.exports = fails(function () {
|
|
|
47324
47324
|
/***/ "d8b4":
|
|
47325
47325
|
/***/ (function(module, exports) {
|
|
47326
47326
|
|
|
47327
|
-
module.exports = "<div class=\"v-parameter-list-container\">\n <main>\n <div class=\"parameter-table-btns\" v-if=\"isEdit\">\n <div class=\"table-btns table-btns-add\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n <div class=\"table-btns-text\">新增</div>\n </div>\n <div class=\"table-btns table-btns-delete\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div class=\"table-btns-text\">批量删除</div>\n </div>\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 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"
|
|
47327
|
+
module.exports = "<div class=\"v-parameter-list-container\">\n <main>\n <div class=\"parameter-table-btns\" v-if=\"isEdit\">\n <div class=\"table-btns table-btns-add\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n <div class=\"table-btns-text\">新增</div>\n </div>\n <div class=\"table-btns table-btns-delete\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div class=\"table-btns-text\">批量删除</div>\n </div>\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"
|
|
47328
47328
|
|
|
47329
47329
|
/***/ }),
|
|
47330
47330
|
|
|
@@ -55443,7 +55443,6 @@ var request_parameter_list = __webpack_require__("9e10");
|
|
|
55443
55443
|
|
|
55444
55444
|
|
|
55445
55445
|
|
|
55446
|
-
|
|
55447
55446
|
|
|
55448
55447
|
var request_parameter_list_extends = undefined && undefined.__extends || function () {
|
|
55449
55448
|
var _extendStatics = function extendStatics(d, b) {
|
|
@@ -55630,16 +55629,6 @@ var request_parameter_list_generator = undefined && undefined.__generator || fun
|
|
|
55630
55629
|
}
|
|
55631
55630
|
};
|
|
55632
55631
|
|
|
55633
|
-
var request_parameter_list_spreadArray = undefined && undefined.__spreadArray || function (to, from, pack) {
|
|
55634
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
55635
|
-
if (ar || !(i in from)) {
|
|
55636
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
55637
|
-
ar[i] = from[i];
|
|
55638
|
-
}
|
|
55639
|
-
}
|
|
55640
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
55641
|
-
};
|
|
55642
|
-
|
|
55643
55632
|
|
|
55644
55633
|
|
|
55645
55634
|
|
|
@@ -55651,8 +55640,7 @@ function (_super) {
|
|
|
55651
55640
|
request_parameter_list_extends(RequestParameterList, _super);
|
|
55652
55641
|
|
|
55653
55642
|
function RequestParameterList() {
|
|
55654
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55655
|
-
|
|
55643
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55656
55644
|
|
|
55657
55645
|
_this.columns = [{
|
|
55658
55646
|
type: "selection",
|
|
@@ -55692,6 +55680,10 @@ function (_super) {
|
|
|
55692
55680
|
class: "STRING",
|
|
55693
55681
|
ellipsis: true,
|
|
55694
55682
|
tooltip: true
|
|
55683
|
+
}, {
|
|
55684
|
+
title: "操作",
|
|
55685
|
+
align: "center",
|
|
55686
|
+
slot: "actions"
|
|
55695
55687
|
}];
|
|
55696
55688
|
_this.typeList = [];
|
|
55697
55689
|
_this.selections = []; // 列表中选中的数据
|
|
@@ -55704,14 +55696,6 @@ function (_super) {
|
|
|
55704
55696
|
}
|
|
55705
55697
|
|
|
55706
55698
|
RequestParameterList.prototype.mounted = function () {
|
|
55707
|
-
if (this.isEdit) {
|
|
55708
|
-
this.columns = request_parameter_list_spreadArray(request_parameter_list_spreadArray([], this.columns, true), [{
|
|
55709
|
-
title: "操作",
|
|
55710
|
-
align: "center",
|
|
55711
|
-
slot: "actions"
|
|
55712
|
-
}], false);
|
|
55713
|
-
}
|
|
55714
|
-
|
|
55715
55699
|
this.getTypeList();
|
|
55716
55700
|
};
|
|
55717
55701
|
|
|
@@ -55891,6 +55875,10 @@ function (_super) {
|
|
|
55891
55875
|
class: "STRING",
|
|
55892
55876
|
ellipsis: true,
|
|
55893
55877
|
tooltip: true
|
|
55878
|
+
}, {
|
|
55879
|
+
title: "操作",
|
|
55880
|
+
align: "center",
|
|
55881
|
+
slot: "actions"
|
|
55894
55882
|
}];
|
|
55895
55883
|
return _this;
|
|
55896
55884
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -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 <div class=\"table-btns table-btns-add\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n <div class=\"table-btns-text\">新增</div>\n </div>\n <div class=\"table-btns table-btns-delete\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div class=\"table-btns-text\">批量删除</div>\n </div>\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 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"
|
|
47336
|
+
module.exports = "<div class=\"v-parameter-list-container\">\n <main>\n <div class=\"parameter-table-btns\" v-if=\"isEdit\">\n <div class=\"table-btns table-btns-add\" @click=\"onAdd\">\n <i class=\"iconfont icon-add\"></i>\n <div class=\"table-btns-text\">新增</div>\n </div>\n <div class=\"table-btns table-btns-delete\" @click=\"onBatchDelete\">\n <i class=\"iconfont icon-delete\"></i>\n <div class=\"table-btns-text\">批量删除</div>\n </div>\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
|
|
|
@@ -55452,7 +55452,6 @@ var request_parameter_list = __webpack_require__("9e10");
|
|
|
55452
55452
|
|
|
55453
55453
|
|
|
55454
55454
|
|
|
55455
|
-
|
|
55456
55455
|
|
|
55457
55456
|
var request_parameter_list_extends = undefined && undefined.__extends || function () {
|
|
55458
55457
|
var _extendStatics = function extendStatics(d, b) {
|
|
@@ -55639,16 +55638,6 @@ var request_parameter_list_generator = undefined && undefined.__generator || fun
|
|
|
55639
55638
|
}
|
|
55640
55639
|
};
|
|
55641
55640
|
|
|
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
55641
|
|
|
55653
55642
|
|
|
55654
55643
|
|
|
@@ -55660,8 +55649,7 @@ function (_super) {
|
|
|
55660
55649
|
request_parameter_list_extends(RequestParameterList, _super);
|
|
55661
55650
|
|
|
55662
55651
|
function RequestParameterList() {
|
|
55663
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55664
|
-
|
|
55652
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55665
55653
|
|
|
55666
55654
|
_this.columns = [{
|
|
55667
55655
|
type: "selection",
|
|
@@ -55701,6 +55689,10 @@ function (_super) {
|
|
|
55701
55689
|
class: "STRING",
|
|
55702
55690
|
ellipsis: true,
|
|
55703
55691
|
tooltip: true
|
|
55692
|
+
}, {
|
|
55693
|
+
title: "操作",
|
|
55694
|
+
align: "center",
|
|
55695
|
+
slot: "actions"
|
|
55704
55696
|
}];
|
|
55705
55697
|
_this.typeList = [];
|
|
55706
55698
|
_this.selections = []; // 列表中选中的数据
|
|
@@ -55713,14 +55705,6 @@ function (_super) {
|
|
|
55713
55705
|
}
|
|
55714
55706
|
|
|
55715
55707
|
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
55708
|
this.getTypeList();
|
|
55725
55709
|
};
|
|
55726
55710
|
|
|
@@ -55900,6 +55884,10 @@ function (_super) {
|
|
|
55900
55884
|
class: "STRING",
|
|
55901
55885
|
ellipsis: true,
|
|
55902
55886
|
tooltip: true
|
|
55887
|
+
}, {
|
|
55888
|
+
title: "操作",
|
|
55889
|
+
align: "center",
|
|
55890
|
+
slot: "actions"
|
|
55903
55891
|
}];
|
|
55904
55892
|
return _this;
|
|
55905
55893
|
}
|