Files
ZERO_CODE/ZeroCodeProject/main/client/node_modules/.cache/babel-loader/2f746949ee64a319afcceaf0ed16b8a843980a03d5db75de944c2f1f751ad076.json

1 line
18 KiB
JSON
Raw Normal View History

2026-01-11 00:11:34 +08:00
{"ast":null,"code":"var render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy;\n return _c(\"div\", [_c(\"div\", {\n staticClass: \"control_box\"\n }, [_c(\"el-button\", {\n staticStyle: {\n \"margin-left\": \"20px\"\n },\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.open_add_dialog\n }\n }, [_vm._v(\"添加API\")])], 1), _c(\"el-table\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n data: _vm.table_data,\n border: \"\"\n }\n }, [_c(\"el-table-column\", {\n attrs: {\n fixed: \"\",\n type: \"selection\",\n \"show-overflow-tooltip\": true\n }\n }), _vm._l(_vm.table_data_column, function (item) {\n return _c(\"el-table-column\", {\n key: item.id,\n attrs: {\n prop: item.name,\n label: item.cn_name,\n \"show-overflow-tooltip\": true\n }\n });\n }), _c(\"el-table-column\", {\n attrs: {\n fixed: \"right\",\n label: \"操作\",\n width: \"200\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_c(\"el-button\", {\n attrs: {\n type: \"text\",\n size: \"small\"\n },\n on: {\n click: function ($event) {\n return _vm.edit_record(scope.row);\n }\n }\n }, [_vm._v(\"编辑\")]), _c(\"el-button\", {\n attrs: {\n type: \"text\",\n size: \"small\"\n },\n on: {\n click: function ($event) {\n return _vm.del_record(scope.row);\n }\n }\n }, [_vm._v(\"删除\")])];\n }\n }])\n })], 2), _c(\"el-dialog\", {\n attrs: {\n title: \"添加记录\",\n visible: _vm.add_api_dialog,\n width: \"50%\"\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.add_api_dialog = $event;\n }\n }\n }, [_c(\"el-button\", {\n staticStyle: {\n \"margin-left\": \"20px\"\n },\n attrs: {\n type: \"primary\"\n },\n on: {\n click: function ($event) {\n _vm.open_has_base_api_dialog = true;\n }\n }\n }, [_vm._v(\"添加已有基础API \")]), _c(\"el-button\", {\n staticStyle: {\n \"margin-left\": \"20px\"\n },\n attrs: {\n type: \"primary\"\n },\n on: {\n click: function ($event) {\n _vm.open_new_multi_api_dialog = true;\n }\n }\n }, [_vm._v(\"添加新组合API \")]), _c(\"span\", {\n staticClass: \"dialog-footer\",\n attrs: {\n slot: \"footer\"\n },\n slot: \"footer\"\n }, [_c(\"el-button\", {\n on: {\n click: function ($event) {\n _vm.add_api_dialog = false;\n }\n }\n }, [_vm._v(\"取 消\")]), _c(\"el-button\", {\n attrs: {\n type: \"primary\"\n },\n on: {\n click: _vm.add_api_dialog\n }\n }, [_vm._v(\"确 定\")])], 1)], 1), _c(\"el-dialog\", {\n attrs: {\n title: \"添加已有基础API\",\n visible: _vm.open_has_base_api_dialog,\n width: \"50%\",\n \"append-to-body\": true\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.open_has_base_api_dialog = $event;\n }\n }\n }, [_c(_vm.base_api_default_page, {\n tag: \"component\",\n on: {\n father_next: _vm.change_base_api_page_next,\n father_above: _vm.change_base_api_page_above,\n submit_data: _vm.submit_data\n }\n })], 1), _c(\"el-dialog\", {\n staticStyle: {\n \"align-items\": \"center\",\n \"justify-content\": \"center\"\n },\n attrs: {\n title: \"添加新组合API\",\n visible: _vm.open_new_multi_api_dialog,\n width: \"50%\",\n \"append-to-body\": true\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.open_new_multi_api_dialog = $event;\n }\n }\n }, [_c(_vm.combination_api_default_page, {\n tag: \"component\",\n attrs: {\n table_data: _vm.table_data\n },\n