\n \n \n \n \n \n \n \n \n \n \n \n \n 查询\n \n \n \n \n 添加\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 查看\n 编辑\n 删除\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/views/assetmanager/Server.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"server-box\"},[_c('el-form',{staticClass:\"item-form-inline\",attrs:{\"inline\":true}},[_c('el-form-item',{attrs:{\"label\":\"服务器名称\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入服务器名称\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.serverName),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"serverName\", $$v)},expression:\"queryInfo.serverName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"服务器IP\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择\",\"clearable\":\"\"},model:{value:(_vm.queryInfo.ip),callback:function ($$v) {_vm.$set(_vm.queryInfo, \"ip\", $$v)},expression:\"queryInfo.ip\"}},_vm._l((_vm.serverOptions),function(server){return _c('el-option',{key:server.ip,attrs:{\"label\":server.ip,\"value\":server.ip}})}),1)],1),_vm._v(\" \"),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":_vm.query}},[_vm._v(\"查询\")])],1)],1),_vm._v(\" \"),_c('el-row',{staticClass:\"add_button\"},[_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"small\"},on:{\"click\":function($event){_vm.addDialogVisible = true}}},[_vm._v(\"添加\")])],1)],1),_vm._v(\" \"),_c('el-table',{attrs:{\"data\":_vm.serverlist,\"border\":\"\",\"fit\":true}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"label\":\"序号\",\"width\":\"60px\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"服务器名称\",\"prop\":\"serverName\",\"align\":\"center\",\"width\":\"200px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"服务器IP\",\"prop\":\"ip\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"部署应用\",\"prop\":\"deployApplication\",\"align\":\"center\",\"width\":\"120px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"应用端口\",\"prop\":\"port\",\"align\":\"center\",\"width\":\"120px\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"用户名\",\"prop\":\"userName\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"密码\",\"prop\":\"password\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"备注\",\"prop\":\"remarks\",\"align\":\"center\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"操作\",\"align\":\"center\",\"fixed\":\"right\",\"width\":\"150px\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showDetailDialog(scope.row.id)}}},[_vm._v(\"查看\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.showEditDialog(scope.row.id)}}},[_vm._v(\"编辑\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"slot\":\"reference\",\"type\":\"text\",\"size\":\"small\"},on:{\"click\":function($event){return _vm.delServer(scope.row.id)}},slot:\"reference\"},[_vm._v(\"删除\")])]}}])})],1),_vm._v(\" \"),_c('el-pagination',{attrs:{\"current-page\":_vm.currpage,\"page-sizes\":[5, 10, 20, 30],\"page-size\":_vm.queryInfo.pageSize,\"layout\":\"total, prev, pager, next, sizes, jumper\",\"total\":_vm.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}}),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"添加\",\"loadling\":_vm.loading,\"visible\":_vm.addDialogVisible,\"close-on-click-modal\":false,\"width\":\"36%\"},on:{\"update:visible\":function($event){_vm.addDialogVisible=$event},\"close\":_vm.addDialogClose}},[_c('el-form',{ref:\"addFormRef\",attrs:{\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"服务器名称\",\"prop\":\"serverName\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入服务器名称\"},model:{value:(_vm.addForm.serverName),callback:function ($$v) {_vm.$set(_vm.addForm, \"serverName\", $$v)},expression:\"addForm.serverName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"服务器IP\",\"prop\":\"ip\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入服务器IP\"},model:{value:(_vm.addForm.ip),callback:function ($$v) {_vm.$set(_vm.addForm, \"ip\", $$v)},expression:\"addForm.ip\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"部署应用\",\"prop\":\"deployApplication\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入部署应用\"},model:{value:(_vm.addForm.deployApplication),callback:function ($$v) {_vm.$set(_vm.addForm, \"deployApplication\", $$v)},expression:\"addForm.deployApplication\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"应用端口\",\"prop\":\"port\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入服务器端口\",\"oninput\":\"value=value.replace(/[^\\\\d]/g,'')\"},model:{value:(_vm.addForm.port),callback:function ($$v) {_vm.$set(_vm.addForm, \"port\", $$v)},expression:\"addForm.port\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"userName\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入用户名\"},model:{value:(_vm.addForm.userName),callback:function ($$v) {_vm.$set(_vm.addForm, \"userName\", $$v)},expression:\"addForm.userName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入密码\"},model:{value:(_vm.addForm.password),callback:function ($$v) {_vm.$set(_vm.addForm, \"password\", $$v)},expression:\"addForm.password\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"remarks\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入备注信息\"},model:{value:(_vm.addForm.remarks),callback:function ($$v) {_vm.$set(_vm.addForm, \"remarks\", $$v)},expression:\"addForm.remarks\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.addDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.addServer}},[_vm._v(\"确 定\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"查看\",\"visible\":_vm.detailDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.detailDialogVisible=$event}}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"服务器名称\",\"prop\":\"serverName\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.editForm.serverName),callback:function ($$v) {_vm.$set(_vm.editForm, \"serverName\", $$v)},expression:\"editForm.serverName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"服务器IP\",\"prop\":\"ip\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.editForm.ip),callback:function ($$v) {_vm.$set(_vm.editForm, \"ip\", $$v)},expression:\"editForm.ip\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"部署应用\",\"prop\":\"deployApplication\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.editForm.deployApplication),callback:function ($$v) {_vm.$set(_vm.editForm, \"deployApplication\", $$v)},expression:\"editForm.deployApplication\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"应用端口\",\"prop\":\"port\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.editForm.port),callback:function ($$v) {_vm.$set(_vm.editForm, \"port\", $$v)},expression:\"editForm.port\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"userName\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.editForm.userName),callback:function ($$v) {_vm.$set(_vm.editForm, \"userName\", $$v)},expression:\"editForm.userName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{attrs:{\"disabled\":\"\"},model:{value:(_vm.editForm.password),callback:function ($$v) {_vm.$set(_vm.editForm, \"password\", $$v)},expression:\"editForm.password\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"remarks\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"disabled\":\"\"},model:{value:(_vm.editForm.remarks),callback:function ($$v) {_vm.$set(_vm.editForm, \"remarks\", $$v)},expression:\"editForm.remarks\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.detailDialogVisible = false}}},[_vm._v(\"关 闭\")])],1)],1),_vm._v(\" \"),_c('el-dialog',{attrs:{\"title\":\"修改\",\"visible\":_vm.editDialogVisible,\"close-on-click-modal\":false,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.editDialogVisible=$event},\"close\":_vm.editDialogClose}},[_c('el-form',{ref:\"editFormRef\",attrs:{\"model\":_vm.editForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-form-item',{attrs:{\"label\":\"服务器名称\",\"prop\":\"serverName\"}},[_c('el-input',{model:{value:(_vm.editForm.serverName),callback:function ($$v) {_vm.$set(_vm.editForm, \"serverName\", $$v)},expression:\"editForm.serverName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"服务器IP\",\"prop\":\"ip\"}},[_c('el-input',{model:{value:(_vm.editForm.ip),callback:function ($$v) {_vm.$set(_vm.editForm, \"ip\", $$v)},expression:\"editForm.ip\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"部署应用\",\"prop\":\"deployApplication\"}},[_c('el-input',{model:{value:(_vm.editForm.deployApplication),callback:function ($$v) {_vm.$set(_vm.editForm, \"deployApplication\", $$v)},expression:\"editForm.deployApplication\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"应用端口\",\"prop\":\"port\"}},[_c('el-input',{model:{value:(_vm.editForm.port),callback:function ($$v) {_vm.$set(_vm.editForm, \"port\", $$v)},expression:\"editForm.port\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"用户名\",\"prop\":\"userName\"}},[_c('el-input',{model:{value:(_vm.editForm.userName),callback:function ($$v) {_vm.$set(_vm.editForm, \"userName\", $$v)},expression:\"editForm.userName\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"密码\",\"prop\":\"password\"}},[_c('el-input',{model:{value:(_vm.editForm.password),callback:function ($$v) {_vm.$set(_vm.editForm, \"password\", $$v)},expression:\"editForm.password\"}})],1),_vm._v(\" \"),_c('el-form-item',{attrs:{\"label\":\"备注\",\"prop\":\"remarks\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.editForm.remarks),callback:function ($$v) {_vm.$set(_vm.editForm, \"remarks\", $$v)},expression:\"editForm.remarks\"}})],1)],1),_vm._v(\" \"),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":function($event){_vm.editDialogVisible = false}}},[_vm._v(\"取 消\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.editServer}},[_vm._v(\"确 定\")])],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-072d6f10\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/assetmanager/Server.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-072d6f10\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Server.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Server.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Server.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-072d6f10\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Server.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-072d6f10\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/assetmanager/Server.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}