Files
ZERO_CODE/ZeroCodeProject/main/client/node_modules/.cache/babel-loader/1c4416e59588459c92db198139a644e613654b71cf0ae95bae25e7e7149c8076.json

1 line
49 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\", {\n staticStyle: {\n display: \"flex\",\n \"flex-direction\": \"column\",\n \"align-items\": \"center\"\n }\n }, [_c(\"div\", {\n staticStyle: {\n \"font-size\": \"30px\",\n \"font-weight\": \"600\",\n \"margin-bottom\": \"5px\"\n }\n }, [_vm._v(\"交互点设置\")]), _c(\"div\", {\n staticClass: \"main_box\"\n }, [_c(\"div\", {\n staticClass: \"page_select\"\n }, [_c(\"h1\", [_vm._v(\"页面列表\")]), _c(\"el-table\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n data: _vm.tableData,\n \"max-height\": \"600\"\n }\n }, [_c(\"el-table-column\", {\n attrs: {\n label: \"页面信息\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_c(\"el-popover\", {\n attrs: {\n trigger: \"hover\",\n placement: \"top\"\n }\n }, [_c(\"p\", [_vm._v(\"页面名称: \" + _vm._s(scope.row.name))]), _c(\"p\", [_vm._v(\"页面框架: \" + _vm._s(scope.row.structure))]), _c(\"div\", {\n staticClass: \"name-wrapper\",\n attrs: {\n slot: \"reference\"\n },\n slot: \"reference\"\n }, [_c(\"el-tag\", {\n attrs: {\n size: \"medium\"\n }\n }, [_vm._v(_vm._s(scope.row.name_cn))])], 1)])];\n }\n }])\n }), _c(\"el-table-column\", {\n attrs: {\n label: \"操作\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (scope) {\n return [_c(\"el-button\", {\n attrs: {\n size: \"mini\"\n },\n on: {\n click: function ($event) {\n return _vm.handleEdit(scope.row);\n }\n }\n }, [_vm._v(\"编辑\")]), _c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: \"danger\"\n },\n on: {\n click: function ($event) {\n return _vm.handleDelete(scope.$index, scope.row);\n }\n }\n }, [_vm._v(\"删除 \")])];\n }\n }])\n })], 1)], 1), _c(\"div\", {\n staticClass: \"set_mian\"\n }, [_c(\"el-collapse\", {\n model: {\n value: _vm.collapseActiveNames,\n callback: function ($$v) {\n _vm.collapseActiveNames = $$v;\n },\n expression: \"collapseActiveNames\"\n }\n }, _vm._l(_vm.interaction_data, function (item, index) {\n return _c(\"el-collapse-item\", {\n key: index,\n attrs: {\n title: item.component_cn_name,\n name: index\n }\n }, [_c(\"el-table\", {\n staticStyle: {\n width: \"100%\"\n },\n attrs: {\n data: item.interactions,\n border: \"\",\n \"max-height\": \"400\"\n }\n }, [_vm._l(_vm.interaction_columns, function (item) {\n return _c(\"el-table-column\", {\n key: item.id,\n attrs: {\n label: item.name_cn,\n prop: item.name,\n width: \"150\",\n \"show-overflow-tooltip\": true\n }\n });\n }), _c(\"el-table-column\", {\n attrs: {\n fixed: \"right\",\n label: \"操作\",\n width: \"150\"\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.open_dialog(scope.row);\n }\n }\n }, [_vm._v(\"配置\")])];\n }\n }], null, true)\n })], 2)], 1);\n }), 1)], 1), _c(\"el-dialog\", {\n attrs: {\n title: \"配置交互点\",\n visible: _vm.open_edit_dialog,\n width: \"70%\"\n },\n on: {\n \"update:visible\": function ($event) {\n _vm.