@egova/egova-api 1.0.157 → 1.0.162
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 +55 -46
- package/dist/index.umd.js +55 -46
- package/dist/index.umd.min.js +2 -2
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -26701,7 +26701,7 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
|
|
|
26701
26701
|
/***/ "46d3":
|
|
26702
26702
|
/***/ (function(module, exports) {
|
|
26703
26703
|
|
|
26704
|
-
module.exports = "<article class=\"u-common-tree u-type-tree\">\n <slot name=\"header\">\n <header slot=\"header\" class=\"tree-header\">\n <span>合并模型列表</span>\n <i-upload\n class=\"action-item\"\n :action=\"uploadAction\"\n accept=\".json\"\n :headers=\"headers\"\n :show-upload-list=\"false\"\n :format=\"['json']\"\n :on-success=\"onSuccess\"\n :before-upload=\"onBeforeUpload\"\n :on-format-error=\"onFormatError\"\n >\n <i title=\"导入\" class=\"iconfont icon-import\"></i>\n </i-upload>\n <i\n @click=\"onModelExport(null)\"\n :class=\"{'disabled': !data.length}\"\n class=\"iconfont icon-export\"\n title=\"导出\"\n ></i>\n <i @click.stop=\"onAddTreeNode\" title=\"新增合并模型\" class=\"iconfont icon-add-folder\"></i>\n </header>\n </slot>\n <section class=\"content\">\n <i-input class=\"search-input diy-input\" suffix=\"ios-search\" :placeholder=\"placeholder\" @on-change=\"onFilter\" v-model=\"keyword\" />\n <i-tree :data=\"renderData\" :render=\"renderContent\" @on-toggle-expand=\"onToggleExpand\"></i-tree>\n </section>\n <u-add-node :data=\"tempNode\" :categories=\"data\" v-model=\"showAddTreeNodeModal\" @on-refresh=\"queryTreeData\"></u-add-node>\n\n <i-modal draggable sticky reset-drag-position v-model=\"showImportModal\" class=\"diy-modal duplicate-import-modal\" width=\"800\" :mask-closable=\"false\" title=\"导入已合并接口\">\n <div class=\"import-title\">上传成功</div>\n <div class=\"import-label\">{{ `上传共${importResult.total}条合并接口数据,其中${importResult.total - importResult.duplicateNum}条可成功导入。` }}</div>\n <div class=\"import-label\">{{ `发现以下${importResult.duplicateNum}条接口数据存在编码重复(编码已存在),将不会被导入。` }}</div>\n <i-table class=\"diy-table import-modal-table\" :columns=\"columns\" :data=\"importResult.items\">\n </i-table>\n <footer slot=\"footer\">\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onImportConfirm\">确定</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onImportCancel\">取消</i-button>\n </footer>\n </i-modal>\n</article>\n"
|
|
26704
|
+
module.exports = "<article class=\"u-common-tree u-type-tree\">\r\n <slot name=\"header\">\r\n <header slot=\"header\" class=\"tree-header\">\r\n <span>合并模型列表</span>\r\n <i-upload\r\n class=\"action-item\"\r\n :action=\"uploadAction\"\r\n accept=\".json\"\r\n :headers=\"headers\"\r\n :show-upload-list=\"false\"\r\n :format=\"['json']\"\r\n :on-success=\"onSuccess\"\r\n :before-upload=\"onBeforeUpload\"\r\n :on-format-error=\"onFormatError\"\r\n >\r\n <i title=\"导入\" class=\"iconfont icon-import\"></i>\r\n </i-upload>\r\n <i\r\n @click=\"onModelExport(null)\"\r\n :class=\"{'disabled': !data.length}\"\r\n class=\"iconfont icon-export\"\r\n title=\"导出\"\r\n ></i>\r\n <i @click.stop=\"onAddTreeNode\" title=\"新增合并模型\" class=\"iconfont icon-add-folder\"></i>\r\n </header>\r\n </slot>\r\n <section class=\"content\">\r\n <i-input class=\"search-input diy-input\" suffix=\"ios-search\" :placeholder=\"placeholder\" @on-change=\"onFilter\" v-model=\"keyword\" />\r\n <i-tree :data=\"renderData\" :render=\"renderContent\" @on-toggle-expand=\"onToggleExpand\"></i-tree>\r\n </section>\r\n <u-add-node :data=\"tempNode\" :categories=\"data\" v-model=\"showAddTreeNodeModal\" @on-refresh=\"queryTreeData\"></u-add-node>\r\n\r\n <i-modal draggable sticky reset-drag-position v-model=\"showImportModal\" class=\"diy-modal duplicate-import-modal\" width=\"800\" :mask-closable=\"false\" title=\"导入已合并接口\">\r\n <div class=\"import-title\">上传成功</div>\r\n <div class=\"import-label\">{{ `上传共${importResult.total}条合并接口数据,其中${importResult.total - importResult.duplicateNum}条可成功导入。` }}</div>\r\n <div class=\"import-label\">{{ `发现以下${importResult.duplicateNum}条接口数据存在编码重复(编码已存在),将不会被导入。` }}</div>\r\n <i-table class=\"diy-table import-modal-table\" :columns=\"columns\" :data=\"importResult.items\">\r\n </i-table>\r\n <footer slot=\"footer\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onImportConfirm\">确定</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onImportCancel\">取消</i-button>\r\n </footer>\r\n </i-modal>\r\n</article>\r\n"
|
|
26705
26705
|
|
|
26706
26706
|
/***/ }),
|
|
26707
26707
|
|
|
@@ -47030,7 +47030,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
|
|
|
47030
47030
|
/***/ "cfb3":
|
|
47031
47031
|
/***/ (function(module, exports) {
|
|
47032
47032
|
|
|
47033
|
-
module.exports = "<article class=\"project-list\">\n <header>\n <i-input\n class=\"diy-input\"\n v-model=\"condition.name\"\n search\n @on-search=\"onQuery\"\n placeholder=\"输入关键字检索\"\n ></i-input>\n </header>\n <main>\n <header class=\"tool-bar\">\n <span>项目列表</span>\n <div class=\"right-tool\">\n <div class=\"action-btn\">\n <i-upload\n class=\"action-item\"\n :action=\"uploadAction\"\n accept=\".json\"\n :headers=\"headers\"\n :show-upload-list=\"false\"\n :format=\"['json']\"\n :on-success=\"onSuccess\"\n :before-upload=\"onBeforeUpload\"\n :on-format-error=\"onFormatError\"\n >\n <i class=\"api-icon icon-import\"></i>\n <div>导入项目</div>\n </i-upload>\n </div>\n <div class=\"action-btn\" @click=\"onComment\">\n <i\n class=\"api-icon icon-star\"\n @click=\"onCheckType('list')\"\n ></i>\n <div>查看项目动态</div>\n </div>\n <i\n class=\"api-icon icon-list\"\n :class=\"{'active': type === 'list'}\"\n title=\"列表展示\"\n @click=\"onCheckType('list')\"\n ></i>\n <i\n class=\"api-icon icon-card\"\n :class=\"{'active': type === 'card'}\"\n title=\"卡片展示\"\n @click=\"onCheckType('card')\"\n ></i>\n </div>\n </header>\n <main>\n <section class=\"projects\" v-if=\"type==='card'\">\n <div class=\"project-card\" @click=\"onAdd\">\n <div class=\"add-card\">\n <i-icon type=\"md-add\" />\n <p>新建项目</p>\n </div>\n </div>\n <u-card\n v-for=\"item in dataList\"\n :data=\"item\"\n :key=\"item.id\"\n @on-delete=\"onDelete\"\n @on-detail=\"onDetail\"\n @on-edit=\"onEdit\"\n @on-export=\"onExport\"\n ></u-card>\n </section>\n <section class=\"projects\" v-else>\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"dataList\">\n <template slot-scope=\"{ row,index }\" slot=\"action\">\n <span @click=\"onExport(row)\" class=\"action-btn export\"\n ><i class=\"api-icon icon-export projects-icon-export\" title=\"导出此项目\"></i\n ></span>\n <span @click=\"onDetail(row)\" class=\"action-btn detail\"\n ><i class=\"api-icon icon-detail\" title=\"详情\"></i\n ></span>\n <span @click=\"onEdit(row)\" class=\"action-btn detail\"\n ><i class=\"api-icon icon-edit\" title=\"修改\"></i\n ></span>\n <u-confirm\n title=\"删除项目\"\n @on-ok=\"onDelete(row)\"\n message=\"项目内所有接口将被一并删除, 是否确认执行?\"\n >\n <span class=\"action-btn delete\"\n ><i\n class=\"api-icon icon-delete\"\n title=\"删除\"\n ></i\n ></span>\n </u-confirm>\n </template>\n </i-table>\n </section>\n </main>\n </main>\n <u-add-modal :visiable.sync=\"showAddModal\" :data=\"current\">\n <footer slot=\"footer\">\n <i-button @click=\"showAddModal = false\">取消</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary \" @click=\"onSave\"\n >确定</i-button\n >\n </footer>\n </u-add-modal>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n</article>\n"
|
|
47033
|
+
module.exports = "<article class=\"project-list\">\r\n <header>\r\n <i-input\r\n class=\"diy-input\"\r\n v-model=\"condition.name\"\r\n search\r\n @on-search=\"onQuery\"\r\n placeholder=\"输入关键字检索\"\r\n ></i-input>\r\n </header>\r\n <main>\r\n <header class=\"tool-bar\">\r\n <span>项目列表</span>\r\n <div class=\"right-tool\">\r\n <div class=\"action-btn\">\r\n <i-upload\r\n class=\"action-item\"\r\n :action=\"uploadAction\"\r\n accept=\".json\"\r\n :headers=\"headers\"\r\n :show-upload-list=\"false\"\r\n :format=\"['json']\"\r\n :on-success=\"onSuccess\"\r\n :before-upload=\"onBeforeUpload\"\r\n :on-format-error=\"onFormatError\"\r\n >\r\n <i class=\"api-icon icon-import\"></i>\r\n <div>导入项目</div>\r\n </i-upload>\r\n </div>\r\n <div class=\"action-btn\" @click=\"onComment\">\r\n <i\r\n class=\"api-icon icon-star\"\r\n @click=\"onCheckType('list')\"\r\n ></i>\r\n <div>查看项目动态</div>\r\n </div>\r\n <i\r\n class=\"api-icon icon-list\"\r\n :class=\"{'active': type === 'list'}\"\r\n title=\"列表展示\"\r\n @click=\"onCheckType('list')\"\r\n ></i>\r\n <i\r\n class=\"api-icon icon-card\"\r\n :class=\"{'active': type === 'card'}\"\r\n title=\"卡片展示\"\r\n @click=\"onCheckType('card')\"\r\n ></i>\r\n </div>\r\n </header>\r\n <main>\r\n <section class=\"projects\" v-if=\"type==='card'\">\r\n <div class=\"project-card\" @click=\"onAdd\">\r\n <div class=\"add-card\">\r\n <i-icon type=\"md-add\" />\r\n <p>新建项目</p>\r\n </div>\r\n </div>\r\n <u-card\r\n v-for=\"item in dataList\"\r\n :data=\"item\"\r\n :key=\"item.id\"\r\n @on-delete=\"onDelete\"\r\n @on-detail=\"onDetail\"\r\n @on-edit=\"onEdit\"\r\n @on-export=\"onExport\"\r\n ></u-card>\r\n </section>\r\n <section class=\"projects\" v-else>\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"dataList\">\r\n <template slot-scope=\"{ row,index }\" slot=\"action\">\r\n <span @click=\"onExport(row)\" class=\"action-btn export\"\r\n ><i class=\"api-icon icon-export projects-icon-export\" title=\"导出此项目\"></i\r\n ></span>\r\n <span @click=\"onDetail(row)\" class=\"action-btn detail\"\r\n ><i class=\"api-icon icon-detail\" title=\"详情\"></i\r\n ></span>\r\n <span @click=\"onEdit(row)\" class=\"action-btn detail\"\r\n ><i class=\"api-icon icon-edit\" title=\"修改\"></i\r\n ></span>\r\n <u-confirm\r\n title=\"删除项目\"\r\n @on-ok=\"onDelete(row)\"\r\n message=\"项目内所有接口将被一并删除, 是否确认执行?\"\r\n >\r\n <span class=\"action-btn delete\"\r\n ><i\r\n class=\"api-icon icon-delete\"\r\n title=\"删除\"\r\n ></i\r\n ></span>\r\n </u-confirm>\r\n </template>\r\n </i-table>\r\n </section>\r\n </main>\r\n </main>\r\n <u-add-modal :visiable.sync=\"showAddModal\" :data=\"current\">\r\n <footer slot=\"footer\">\r\n <i-button @click=\"showAddModal = false\">取消</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary \" @click=\"onSave\"\r\n >确定</i-button\r\n >\r\n </footer>\r\n </u-add-modal>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n</article>\r\n"
|
|
47034
47034
|
|
|
47035
47035
|
/***/ }),
|
|
47036
47036
|
|
|
@@ -47340,7 +47340,7 @@ module.exports = "<div class=\"v-parameter-list-container\">\r\n <main>\r\n
|
|
|
47340
47340
|
/***/ "d8e7":
|
|
47341
47341
|
/***/ (function(module, exports) {
|
|
47342
47342
|
|
|
47343
|
-
module.exports = "<!DOCTYPE html>\n<article class=\"v-api-combine-info-wrapper\">\n <header class=\"header\">\n {{title}}\n </header>\n <main>\n <i-form ref=\"form\" class=\"info-form\" :model=\"model\" :rules=\"rules\">\n <i-row>\n <section class=\"title-g\">基本信息</section>\n <i-form-item label=\"名称:\" prop=\"name\">\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"model.name\" :disabled=\"!isEdit\"></i-input>\n </i-form-item>\n <i-form-item label=\"编码:\" prop=\"code\">\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"model.code\" :disabled=\"!isEdit\"></i-input>\n </i-form-item>\n <i-form-item class=\"full-width\" label=\"描述:\">\n <i-input type=\"textarea\" class=\"diy-input-textarea\" :rows=\"1\" placeholder=\"请输入描述\" v-model=\"model.description\" :disabled=\"!isEdit\"></i-input>\n </i-form-item>\n </i-row>\n <i-row>\n <section class=\"title-g\">待合并列表</section>\n <section class=\"to-combine-list\">\n <template v-if=\"isEdit\">\n <i-button class=\"diy-btn-default\" @click=\"onAddDataModel\">添加数据模型</i-button>\n <i-button class=\"diy-btn-default\" @click=\"onAddApiProject\">添加 API</i-button>\n </template>\n <i-table class=\"diy-table\" :columns=\"relationColumns\" :data=\"model.relations\">\n <template #type=\"{row}\">\n <span>{{row.type==='MODEL'?'数据模型':row.type==='API'?'API':''}}</span>\n </template>\n <template #operates=\"{row,index}\">\n <div class=\"row-actions\">\n <i title=\"查看\" class=\"iconfont icon-detail\" @click=\"onDetail(row)\"></i>\n <i-poptip v-if=\"isEdit\" confirm transfer title=\"确认删除这条数据吗?\" @on-ok=\"onRelationDelete(row)\">\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\n </i-poptip>\n </div>\n </template>\n </i-table>\n </section>\n </i-row>\n <i-row>\n <section class=\"title-g\">参数详情</section>\n <section class=\"parameter-detail\">\n <section class=\"card-panel card-panel-no-right-border\">\n <i-tabs>\n <i-tab-pane label=\"请求参数\" name=\"request\">\n <u-request-parameter-list :data=\"model.reqParams\" :isEdit=\"isEdit\"></u-request-parameter-list>\n </i-tab-pane>\n <i-tab-pane label=\"响应参数\" name=\"response\">\n <u-response-parameter-list :data=\"model.respParams\" :isEdit=\"isEdit\"></u-response-parameter-list>\n </i-tab-pane>\n </i-tabs>\n </section>\n <section class=\"card-panel\">\n <div class=\"card-panel-header\">\n <div>\n <span>执行脚本</span>\n <i-icon class=\"help-icon\" type=\"md-alert\" @click=\"onOpenDoc\" title=\"帮助文档\"> </i-icon>\n </div>\n <span class=\"action-text\" @click.stop=\"onOpenTest\">\n <i class=\"iconfont icon-run\"></i>\n <span>试运行</span>\n </span>\n </div>\n <div class=\"card-panel-main\">\n <u-base-editor class=\"editor\" :data.sync=\"model.content\" :readOnly=\"!isEdit\"></u-base-editor>\n </div>\n </section>\n </section>\n </i-row>\n </i-form>\n </main>\n <footer>\n <template v-if=\"isEdit\">\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click.stop=\"onSave\">确定</i-button>\n <i-button type=\"text\" class=\"diy-btn-text\" @click.stop=\"onBack\">取消</i-button>\n </template>\n <template v-else>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click.stop=\"onBack\">关闭</i-button>\n </template>\n </footer>\n <u-data-model-modal v-model=\"dataModelShow\" :data=\"dataModelRelations\" @save=\"onRelationsSave\"></u-data-model-modal>\n <u-api-project-modal v-model=\"apiProjectShow\" :data=\"apiProjectRelations\" @save=\"onRelationsSave\"></u-api-project-modal>\n <u-data-model-doc-modal v-model=\"dataModelDocShow\" :doc=\"dataModelDoc\"></u-data-model-doc-modal>\n <u-api-project-detail-modal :visiable.sync=\"apiProjectDetailShow\" :model=\"apiProjectDetail\"></u-api-project-detail-modal>\n <u-test-run-modal :visible.sync=\"testShow\" :params=\"model.reqParams\" :data=\"testResult\" @on-run=\"onTestRun\"></u-test-run-modal>\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\n</article>\n"
|
|
47343
|
+
module.exports = "<!DOCTYPE html>\r\n<article class=\"v-api-combine-info-wrapper\">\r\n <header class=\"header\">\r\n {{title}}\r\n </header>\r\n <main>\r\n <i-form ref=\"form\" class=\"info-form\" :model=\"model\" :rules=\"rules\">\r\n <i-row>\r\n <section class=\"title-g\">基本信息</section>\r\n <i-form-item label=\"名称:\" prop=\"name\">\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"model.name\" :disabled=\"!isEdit\"></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"编码:\" prop=\"code\">\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"model.code\" :disabled=\"!isEdit\"></i-input>\r\n </i-form-item>\r\n <i-form-item class=\"full-width\" label=\"描述:\">\r\n <i-input type=\"textarea\" class=\"diy-input-textarea\" :rows=\"1\" placeholder=\"请输入描述\" v-model=\"model.description\" :disabled=\"!isEdit\"></i-input>\r\n </i-form-item>\r\n </i-row>\r\n <i-row>\r\n <section class=\"title-g\">待合并列表</section>\r\n <section class=\"to-combine-list\">\r\n <template v-if=\"isEdit\">\r\n <i-button class=\"diy-btn-default\" @click=\"onAddDataModel\">添加数据模型</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onAddApiProject\">添加 API</i-button>\r\n </template>\r\n <i-table class=\"diy-table\" :columns=\"relationColumns\" :data=\"model.relations\">\r\n <template #type=\"{row}\">\r\n <span>{{row.type==='MODEL'?'数据模型':row.type==='API'?'API':''}}</span>\r\n </template>\r\n <template #operates=\"{row,index}\">\r\n <div class=\"row-actions\">\r\n <i title=\"查看\" class=\"iconfont icon-detail\" @click=\"onDetail(row)\"></i>\r\n <i-poptip v-if=\"isEdit\" confirm transfer title=\"确认删除这条数据吗?\" @on-ok=\"onRelationDelete(row)\">\r\n <i title=\"删除\" class=\"iconfont icon-delete\"></i>\r\n </i-poptip>\r\n </div>\r\n </template>\r\n </i-table>\r\n </section>\r\n </i-row>\r\n <i-row>\r\n <section class=\"title-g\">参数详情</section>\r\n <section class=\"parameter-detail\">\r\n <section class=\"card-panel card-panel-no-right-border\">\r\n <i-tabs>\r\n <i-tab-pane label=\"请求参数\" name=\"request\">\r\n <u-request-parameter-list :data=\"model.reqParams\" :isEdit=\"isEdit\"></u-request-parameter-list>\r\n </i-tab-pane>\r\n <i-tab-pane label=\"响应参数\" name=\"response\">\r\n <u-response-parameter-list :data=\"model.respParams\" :isEdit=\"isEdit\"></u-response-parameter-list>\r\n </i-tab-pane>\r\n </i-tabs>\r\n </section>\r\n <section class=\"card-panel\">\r\n <div class=\"card-panel-header\">\r\n <div>\r\n <span>执行脚本</span>\r\n <i-icon class=\"help-icon\" type=\"md-alert\" @click=\"onOpenDoc\" title=\"帮助文档\"> </i-icon>\r\n </div>\r\n <span class=\"action-text\" @click.stop=\"onOpenTest\">\r\n <i class=\"iconfont icon-run\"></i>\r\n <span>试运行</span>\r\n </span>\r\n </div>\r\n <div class=\"card-panel-main\">\r\n <u-base-editor class=\"editor\" :data.sync=\"model.content\" :readOnly=\"!isEdit\"></u-base-editor>\r\n </div>\r\n </section>\r\n </section>\r\n </i-row>\r\n </i-form>\r\n </main>\r\n <footer>\r\n <template v-if=\"isEdit\">\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click.stop=\"onSave\">确定</i-button>\r\n <i-button type=\"text\" class=\"diy-btn-text\" @click.stop=\"onBack\">取消</i-button>\r\n </template>\r\n <template v-else>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click.stop=\"onBack\">关闭</i-button>\r\n </template>\r\n </footer>\r\n <u-data-model-modal v-model=\"dataModelShow\" :data=\"dataModelRelations\" @save=\"onRelationsSave\"></u-data-model-modal>\r\n <u-api-project-modal v-model=\"apiProjectShow\" :data=\"apiProjectRelations\" @save=\"onRelationsSave\"></u-api-project-modal>\r\n <u-data-model-doc-modal v-model=\"dataModelDocShow\" :doc=\"dataModelDoc\"></u-data-model-doc-modal>\r\n <u-api-project-detail-modal :visiable.sync=\"apiProjectDetailShow\" :model=\"apiProjectDetail\"></u-api-project-detail-modal>\r\n <u-test-run-modal :visible.sync=\"testShow\" :params=\"model.reqParams\" :data=\"testResult\" @on-run=\"onTestRun\"></u-test-run-modal>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</article>\r\n"
|
|
47344
47344
|
|
|
47345
47345
|
/***/ }),
|
|
47346
47346
|
|
|
@@ -48433,7 +48433,7 @@ if ($stringify) {
|
|
|
48433
48433
|
/***/ "ef27":
|
|
48434
48434
|
/***/ (function(module, exports) {
|
|
48435
48435
|
|
|
48436
|
-
module.exports = "<article class=\"project-card\" @click=\"onDetail\">\n <header>{{data.name}}</header>\n <i-dropdown transfer transfer-class-name=\"api-project-oprate\" class=\"project-card-i-dropdown\" @on-click=\"onClick\">\n <i-icon type=\"ios-more\" />\n <i-dropdown-menu slot=\"list\">\n <i-dropdown-item :name=\"'export'\">\n <i\n class=\"api-icon icon-export project-card-i-dropdown-item-icon\"\n title=\"导出此项目\"\n @click.stop=\"onExport\"\n ></i>\n 导出此项目\n </i-dropdown-item>\n </i-dropdown-menu>\n </i-dropdown>\n <main></main>\n <footer>\n <div @click.stop=\"onEdit\">修改</div>\n <u-confirm\n class=\"delete\"\n title=\"删除项目\"\n message=\"项目内所有接口将被一并删除, 是否确认执行?\"\n @on-ok=\"onDelete\"\n >\n <span>删除</span>\n </u-confirm>\n </footer>\n</article>\n"
|
|
48436
|
+
module.exports = "<article class=\"project-card\" @click=\"onDetail\">\r\n <header>{{data.name}}</header>\r\n <i-dropdown transfer transfer-class-name=\"api-project-oprate\" class=\"project-card-i-dropdown\" @on-click=\"onClick\">\r\n <i-icon type=\"ios-more\" />\r\n <i-dropdown-menu slot=\"list\">\r\n <i-dropdown-item :name=\"'export'\">\r\n <i\r\n class=\"api-icon icon-export project-card-i-dropdown-item-icon\"\r\n title=\"导出此项目\"\r\n @click.stop=\"onExport\"\r\n ></i>\r\n 导出此项目\r\n </i-dropdown-item>\r\n </i-dropdown-menu>\r\n </i-dropdown>\r\n <main></main>\r\n <footer>\r\n <div @click.stop=\"onEdit\">修改</div>\r\n <u-confirm\r\n class=\"delete\"\r\n title=\"删除项目\"\r\n message=\"项目内所有接口将被一并删除, 是否确认执行?\"\r\n @on-ok=\"onDelete\"\r\n >\r\n <span>删除</span>\r\n </u-confirm>\r\n </footer>\r\n</article>\r\n"
|
|
48437
48437
|
|
|
48438
48438
|
/***/ }),
|
|
48439
48439
|
|
|
@@ -51719,21 +51719,21 @@ function (_super) {
|
|
|
51719
51719
|
_this.columns = [{
|
|
51720
51720
|
type: "index",
|
|
51721
51721
|
title: "序号",
|
|
51722
|
-
align: "
|
|
51722
|
+
align: "left",
|
|
51723
51723
|
width: 80
|
|
51724
51724
|
}, {
|
|
51725
51725
|
title: "名称",
|
|
51726
|
-
align: "
|
|
51726
|
+
align: "left",
|
|
51727
51727
|
key: "name",
|
|
51728
51728
|
tooltip: true
|
|
51729
51729
|
}, {
|
|
51730
51730
|
title: "编码",
|
|
51731
|
-
align: "
|
|
51731
|
+
align: "left",
|
|
51732
51732
|
key: "code",
|
|
51733
51733
|
tooltip: true
|
|
51734
51734
|
}, {
|
|
51735
51735
|
title: "说明",
|
|
51736
|
-
align: "
|
|
51736
|
+
align: "left",
|
|
51737
51737
|
key: "remark",
|
|
51738
51738
|
tooltip: true
|
|
51739
51739
|
}];
|
|
@@ -52575,39 +52575,39 @@ function (_super) {
|
|
|
52575
52575
|
}, {
|
|
52576
52576
|
title: "名称",
|
|
52577
52577
|
key: "name",
|
|
52578
|
-
align: "
|
|
52578
|
+
align: "left",
|
|
52579
52579
|
class: "STRING",
|
|
52580
52580
|
ellipsis: true,
|
|
52581
52581
|
tooltip: true
|
|
52582
52582
|
}, {
|
|
52583
52583
|
title: "编码",
|
|
52584
52584
|
key: "code",
|
|
52585
|
-
align: "
|
|
52585
|
+
align: "left",
|
|
52586
52586
|
class: "STRING",
|
|
52587
52587
|
ellipsis: true,
|
|
52588
52588
|
tooltip: true
|
|
52589
52589
|
}, {
|
|
52590
52590
|
title: "描述",
|
|
52591
52591
|
key: "description",
|
|
52592
|
-
align: "
|
|
52592
|
+
align: "left",
|
|
52593
52593
|
class: "STRING",
|
|
52594
52594
|
ellipsis: true,
|
|
52595
52595
|
tooltip: true
|
|
52596
52596
|
}, {
|
|
52597
52597
|
title: "发布状态",
|
|
52598
|
-
align: "
|
|
52598
|
+
align: "left",
|
|
52599
52599
|
slot: "status",
|
|
52600
52600
|
width: 135
|
|
52601
52601
|
}, {
|
|
52602
52602
|
title: "接口文档",
|
|
52603
|
-
align: "
|
|
52603
|
+
align: "left",
|
|
52604
52604
|
slot: "doc",
|
|
52605
52605
|
width: 100
|
|
52606
52606
|
}, {
|
|
52607
52607
|
title: "操作",
|
|
52608
|
-
align: "
|
|
52608
|
+
align: "left",
|
|
52609
52609
|
slot: "operates",
|
|
52610
|
-
width:
|
|
52610
|
+
width: 150
|
|
52611
52611
|
}];
|
|
52612
52612
|
_this.paging = {
|
|
52613
52613
|
pageIndex: 1,
|
|
@@ -53561,31 +53561,31 @@ function (_super) {
|
|
|
53561
53561
|
width: 60
|
|
53562
53562
|
}, {
|
|
53563
53563
|
title: "名称",
|
|
53564
|
-
align: "
|
|
53564
|
+
align: "left",
|
|
53565
53565
|
key: "name"
|
|
53566
53566
|
}, {
|
|
53567
53567
|
title: "编码",
|
|
53568
|
-
align: "
|
|
53568
|
+
align: "left",
|
|
53569
53569
|
key: "code"
|
|
53570
53570
|
}, {
|
|
53571
53571
|
title: "数据源",
|
|
53572
|
-
align: "
|
|
53572
|
+
align: "left",
|
|
53573
53573
|
key: "sourceName"
|
|
53574
53574
|
}, {
|
|
53575
53575
|
title: "是否开启缓存",
|
|
53576
|
-
align: "
|
|
53576
|
+
align: "left",
|
|
53577
53577
|
slot: "enableCache"
|
|
53578
53578
|
}, {
|
|
53579
53579
|
title: "过期时间(s)",
|
|
53580
|
-
align: "
|
|
53580
|
+
align: "left",
|
|
53581
53581
|
key: "expireSeconds"
|
|
53582
53582
|
}, {
|
|
53583
53583
|
title: "描述",
|
|
53584
|
-
align: "
|
|
53584
|
+
align: "left",
|
|
53585
53585
|
key: "description"
|
|
53586
53586
|
}, {
|
|
53587
53587
|
title: "接口文档",
|
|
53588
|
-
align: "
|
|
53588
|
+
align: "left",
|
|
53589
53589
|
slot: "doc",
|
|
53590
53590
|
width: 100
|
|
53591
53591
|
}]; // 查看文档
|
|
@@ -53968,21 +53968,21 @@ function (_super) {
|
|
|
53968
53968
|
|
|
53969
53969
|
_this.columns = [{
|
|
53970
53970
|
title: "编码",
|
|
53971
|
-
align: "
|
|
53971
|
+
align: "left",
|
|
53972
53972
|
key: "code",
|
|
53973
53973
|
class: "STRING",
|
|
53974
53974
|
ellipsis: true,
|
|
53975
53975
|
tooltip: true
|
|
53976
53976
|
}, {
|
|
53977
53977
|
title: "名称",
|
|
53978
|
-
align: "
|
|
53978
|
+
align: "left",
|
|
53979
53979
|
key: "name",
|
|
53980
53980
|
class: "STRING",
|
|
53981
53981
|
ellipsis: true,
|
|
53982
53982
|
tooltip: true
|
|
53983
53983
|
}, {
|
|
53984
53984
|
title: "描述",
|
|
53985
|
-
align: "
|
|
53985
|
+
align: "left",
|
|
53986
53986
|
key: "description",
|
|
53987
53987
|
class: "STRING",
|
|
53988
53988
|
ellipsis: true,
|
|
@@ -53991,7 +53991,7 @@ function (_super) {
|
|
|
53991
53991
|
title: "操作",
|
|
53992
53992
|
key: "operates",
|
|
53993
53993
|
slot: "operates",
|
|
53994
|
-
align: "
|
|
53994
|
+
align: "left",
|
|
53995
53995
|
width: 80
|
|
53996
53996
|
}];
|
|
53997
53997
|
return _this;
|
|
@@ -55032,7 +55032,7 @@ function (_super) {
|
|
|
55032
55032
|
width: 60
|
|
55033
55033
|
}, {
|
|
55034
55034
|
title: "名称",
|
|
55035
|
-
align: "
|
|
55035
|
+
align: "left",
|
|
55036
55036
|
key: "name",
|
|
55037
55037
|
class: "STRING",
|
|
55038
55038
|
ellipsis: true,
|
|
@@ -55040,14 +55040,14 @@ function (_super) {
|
|
|
55040
55040
|
width: 300
|
|
55041
55041
|
}, {
|
|
55042
55042
|
title: "地址",
|
|
55043
|
-
align: "
|
|
55043
|
+
align: "left",
|
|
55044
55044
|
key: "url",
|
|
55045
55045
|
class: "STRING",
|
|
55046
55046
|
ellipsis: true,
|
|
55047
55047
|
tooltip: true
|
|
55048
55048
|
}, {
|
|
55049
55049
|
title: "查看详情",
|
|
55050
|
-
align: "
|
|
55050
|
+
align: "left",
|
|
55051
55051
|
slot: "detail",
|
|
55052
55052
|
width: 100
|
|
55053
55053
|
}]; // 查看文档
|
|
@@ -55430,7 +55430,7 @@ function (_super) {
|
|
|
55430
55430
|
|
|
55431
55431
|
_this.columns = [{
|
|
55432
55432
|
title: "名称",
|
|
55433
|
-
align: "
|
|
55433
|
+
align: "left",
|
|
55434
55434
|
key: "name",
|
|
55435
55435
|
class: "STRING",
|
|
55436
55436
|
ellipsis: true,
|
|
@@ -55438,7 +55438,7 @@ function (_super) {
|
|
|
55438
55438
|
width: 300
|
|
55439
55439
|
}, {
|
|
55440
55440
|
title: "地址",
|
|
55441
|
-
align: "
|
|
55441
|
+
align: "left",
|
|
55442
55442
|
key: "url",
|
|
55443
55443
|
class: "STRING",
|
|
55444
55444
|
ellipsis: true,
|
|
@@ -55447,7 +55447,7 @@ function (_super) {
|
|
|
55447
55447
|
title: "操作",
|
|
55448
55448
|
key: "operates",
|
|
55449
55449
|
slot: "operates",
|
|
55450
|
-
align: "
|
|
55450
|
+
align: "left",
|
|
55451
55451
|
width: 80
|
|
55452
55452
|
}];
|
|
55453
55453
|
return _this;
|
|
@@ -55935,14 +55935,14 @@ function (_super) {
|
|
|
55935
55935
|
width: 60
|
|
55936
55936
|
}, {
|
|
55937
55937
|
title: "参数名",
|
|
55938
|
-
align: "
|
|
55938
|
+
align: "left",
|
|
55939
55939
|
slot: "name",
|
|
55940
55940
|
class: "STRING",
|
|
55941
55941
|
ellipsis: true,
|
|
55942
55942
|
tooltip: true
|
|
55943
55943
|
}, {
|
|
55944
55944
|
title: "类型",
|
|
55945
|
-
align: "
|
|
55945
|
+
align: "left",
|
|
55946
55946
|
slot: "type",
|
|
55947
55947
|
width: 130,
|
|
55948
55948
|
class: "STRING",
|
|
@@ -55950,26 +55950,26 @@ function (_super) {
|
|
|
55950
55950
|
tooltip: true
|
|
55951
55951
|
}, {
|
|
55952
55952
|
title: "是否必传",
|
|
55953
|
-
align: "
|
|
55953
|
+
align: "left",
|
|
55954
55954
|
slot: "required",
|
|
55955
55955
|
width: 120
|
|
55956
55956
|
}, {
|
|
55957
55957
|
title: "默认值",
|
|
55958
|
-
align: "
|
|
55958
|
+
align: "left",
|
|
55959
55959
|
slot: "defaultValue",
|
|
55960
55960
|
class: "STRING",
|
|
55961
55961
|
ellipsis: true,
|
|
55962
55962
|
tooltip: true
|
|
55963
55963
|
}, {
|
|
55964
55964
|
title: "描述",
|
|
55965
|
-
align: "
|
|
55965
|
+
align: "left",
|
|
55966
55966
|
slot: "description",
|
|
55967
55967
|
class: "STRING",
|
|
55968
55968
|
ellipsis: true,
|
|
55969
55969
|
tooltip: true
|
|
55970
55970
|
}, {
|
|
55971
55971
|
title: "操作",
|
|
55972
|
-
align: "
|
|
55972
|
+
align: "left",
|
|
55973
55973
|
slot: "actions"
|
|
55974
55974
|
}];
|
|
55975
55975
|
_this.typeList = [];
|
|
@@ -56154,21 +56154,21 @@ function (_super) {
|
|
|
56154
56154
|
width: 60
|
|
56155
56155
|
}, {
|
|
56156
56156
|
title: "参数名",
|
|
56157
|
-
align: "
|
|
56157
|
+
align: "left",
|
|
56158
56158
|
slot: "name",
|
|
56159
56159
|
class: "STRING",
|
|
56160
56160
|
ellipsis: true,
|
|
56161
56161
|
tooltip: true
|
|
56162
56162
|
}, {
|
|
56163
56163
|
title: "类型",
|
|
56164
|
-
align: "
|
|
56164
|
+
align: "left",
|
|
56165
56165
|
slot: "type",
|
|
56166
56166
|
class: "STRING",
|
|
56167
56167
|
ellipsis: true,
|
|
56168
56168
|
tooltip: true
|
|
56169
56169
|
}, {
|
|
56170
56170
|
title: "操作",
|
|
56171
|
-
align: "
|
|
56171
|
+
align: "left",
|
|
56172
56172
|
slot: "actions"
|
|
56173
56173
|
}];
|
|
56174
56174
|
return _this;
|
|
@@ -56647,20 +56647,20 @@ function (_super) {
|
|
|
56647
56647
|
};
|
|
56648
56648
|
_this.relationColumns = [{
|
|
56649
56649
|
title: "类型",
|
|
56650
|
-
align: "
|
|
56650
|
+
align: "left",
|
|
56651
56651
|
key: "type",
|
|
56652
56652
|
slot: "type",
|
|
56653
56653
|
width: 280
|
|
56654
56654
|
}, {
|
|
56655
56655
|
title: "名称",
|
|
56656
|
-
align: "
|
|
56656
|
+
align: "left",
|
|
56657
56657
|
key: "name",
|
|
56658
56658
|
class: "STRING",
|
|
56659
56659
|
ellipsis: true,
|
|
56660
56660
|
tooltip: true
|
|
56661
56661
|
}, {
|
|
56662
56662
|
title: "编码或地址",
|
|
56663
|
-
align: "
|
|
56663
|
+
align: "left",
|
|
56664
56664
|
key: "typeCode",
|
|
56665
56665
|
class: "STRING",
|
|
56666
56666
|
ellipsis: true,
|
|
@@ -56669,7 +56669,7 @@ function (_super) {
|
|
|
56669
56669
|
title: "操作",
|
|
56670
56670
|
key: "operates",
|
|
56671
56671
|
slot: "operates",
|
|
56672
|
-
align: "
|
|
56672
|
+
align: "left",
|
|
56673
56673
|
width: 100
|
|
56674
56674
|
}];
|
|
56675
56675
|
_this.testShow = false;
|
|
@@ -60465,7 +60465,7 @@ function (_super) {
|
|
|
60465
60465
|
}, {
|
|
60466
60466
|
title: "操作",
|
|
60467
60467
|
width: 80,
|
|
60468
|
-
align: "
|
|
60468
|
+
align: "left",
|
|
60469
60469
|
slot: "action"
|
|
60470
60470
|
}];
|
|
60471
60471
|
_this.valueTypeList = [];
|
|
@@ -60570,6 +60570,7 @@ function (_super) {
|
|
|
60570
60570
|
}
|
|
60571
60571
|
});
|
|
60572
60572
|
this.dataList = dataList;
|
|
60573
|
+
this.debounceUpdateFieldMappings();
|
|
60573
60574
|
this.loading = false;
|
|
60574
60575
|
return [2
|
|
60575
60576
|
/*return*/
|
|
@@ -62906,6 +62907,14 @@ function (_super) {
|
|
|
62906
62907
|
case 0:
|
|
62907
62908
|
this.group.parentId = this.parent.id;
|
|
62908
62909
|
this.group.type = "api";
|
|
62910
|
+
|
|
62911
|
+
if (this.group.id && this.group.id === this.group.parentId) {
|
|
62912
|
+
this.$message.warning("所属分组不能选中自身");
|
|
62913
|
+
return [2
|
|
62914
|
+
/*return*/
|
|
62915
|
+
];
|
|
62916
|
+
}
|
|
62917
|
+
|
|
62909
62918
|
return [4
|
|
62910
62919
|
/*yield*/
|
|
62911
62920
|
, this.service.saveCategory(this.group)];
|