1 line
51 KiB
Plaintext
1 line
51 KiB
Plaintext
{"version":3,"sources":["webpack:///src/components/param/SystemParam.vue","webpack:///./src/components/param/SystemParam.vue?3746","webpack:///./src/components/param/SystemParam.vue","webpack:///src/components/param/InterfaceParam.vue","webpack:///./src/components/param/InterfaceParam.vue?dc56","webpack:///./src/components/param/InterfaceParam.vue","webpack:///src/components/param/PerformanceParam.vue","webpack:///./src/components/param/PerformanceParam.vue?994b","webpack:///./src/components/param/PerformanceParam.vue","webpack:///src/views/systemmanager/Param.vue","webpack:///./src/views/systemmanager/Param.vue?0850","webpack:///./src/views/systemmanager/Param.vue"],"names":["SystemParam","data","addForm","welcome","senderServerAddress","senderFrom","senderUsername","senderPassword","recipientTo","recipientCC","recipientBC","subject","mainBody","copyRight","support","tel","sysVersion","isOpenAdvertise","defaultAdvertisement","addFormRules","required","message","trigger","min","max","switchAdvertiseValue","isShowAdvertise","methods","switchOpenAdvertise","this","saveSystemParam","_this","$refs","addFormRef","validate","valid","updateTime","Date","getTime","updatePerson","JSON","parse","localStorage","getItem","nick","id","$api","system","updateSystemParam","stringify_default","then","res","$notify","type","msg","catch","getSystemParam","_this2","querySysParamById","setItem","created","param_SystemParam","render","_vm","_h","$createElement","_c","_self","staticClass","ref","attrs","inline","model","rules","label-width","span","label","prop","placeholder","value","callback","$$v","$set","expression","_v","_e","gutter","active-color","inactive-color","on","change","justify","align","click","staticRenderFns","InterfaceParam","requestHeaders","isOpenDefaultRequestHeader","switchRequestHeaderValue","isShow","mounted","params","switchOpenRequest","saveInterfaceParam","updateInterfaceParam","param_InterfaceParam","PerformanceParam","jmeterInstallPath","savePerformanceParam","updatePerformanceParam","param_PerformanceParam","Param","activeName","load","systemParam","interfaceParam","performanceParam","handleClick","tab","event","name","components","__webpack_require__","normalizeComponent","ssrContext","InterfaceParam_normalizeComponent","PerformanceParam_normalizeComponent","systemmanager_Param","tab-click","Param_Component","Param_normalizeComponent","__webpack_exports__"],"mappings":"wNAoHAA,GACAC,KADA,WA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AAgBuB,IAAIuC,YAAAjE,EAAAsD,aAA4B7C,OAAQO,MAAAhB,EAAA,WAAAiB,SAAA,SAAAC,GAAgDlB,EAAAiD,WAAA/B,GAAmBE,WAAA,gBAA0BjB,EAAA,eAAoBI,OAAOM,MAAA,KAAA4C,KAAA,iBAAmCtD,EAAA,mBAAAH,EAAAqB,GAAA,KAAAlB,EAAA,eAAsDI,OAAOM,MAAA,KAAA4C,KAAA,oBAAsCzD,EAAAkD,KAAA,eAAA/C,EAAA,kBAAAH,EAAAsB,MAAA,GAAAtB,EAAAqB,GAAA,KAAAlB,EAAA,eAA4FI,OAAOM,MAAA,KAAA4C,KAAA,sBAAwCzD,EAAAkD,KAAA,iBAAA/C,EAAA,oBAAAH,EAAAsB,MAAA,YAEniBS,oBCChC,IAcImC,EAdqBP,EAAQ,OAcjBQ,CACdnB,EACAgB,GAT6B,EAV/B,SAAoBH,GAClBF,EAAQ,SAaS,kBAEU,MAUdS,EAAA,QAAAF,EAAiB","file":"static/js/5.09e09cf71cdb68375bbe.js","sourcesContent":["<template>\n <div class=\"system-param-box\">\n <el-form :inline=\"true\" class=\"demo-form-inline\" :model=\"addForm\" :rules=\"addFormRules\" ref=\"addFormRef\" label-width=\"100px\">\n <el-row>\n <el-col :span=\"24\">\n <el-form-item class=\"param-area-item\" label=\"系统简介\" prop=\"welcome\">\n <el-input type=\"textarea\" placeholder=\"请输入系统简介\" v-model=\"addForm.welcome\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <div class=\"send-email\" v-if=\"false\">\n <el-row :gutter=\"10\">\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"邮箱Server\" prop=\"senderServerAddress\">\n <el-input type=\"text\" placeholder=\"请输入邮箱Server地址\" v-model=\"addForm.senderServerAddress\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"邮箱地址\" prop=\"senderFrom\">\n <el-input type=\"text\" placeholder=\"请输入邮箱地址\" v-model=\"addForm.senderFrom\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"用户名\" prop=\"senderUsername\">\n <el-input type=\"text\" placeholder=\"请输入用户名\" v-model=\"addForm.senderUsername\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"密码\" prop=\"senderPassword\">\n <el-input type=\"password\" placeholder=\"请输入密码\" v-model=\"addForm.senderPassword\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <el-row :gutter=\"10\">\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"接收人\" prop=\"recipientTo\">\n <el-input type=\"text\" placeholder=\"请输入接收人\" v-model=\"addForm.recipientTo\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"抄送人\" prop=\"recipientCC\">\n <el-input type=\"text\" placeholder=\"请输入抄送人\" v-model=\"addForm.recipientCC\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"密送人\" prop=\"recipientBC\">\n <el-input type=\"text\" placeholder=\"请输入密送人\" v-model=\"addForm.recipientBC\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"主题\" prop=\"subject\">\n <el-input type=\"text\" placeholder=\"请输入主题\" v-model=\"addForm.subject\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <el-row>\n <el-col :span=\"24\">\n <el-form-item class=\"param-area-item\" label=\"正文\" prop=\"mainBody\">\n <el-input type=\"textarea\" placeholder=\"请输入正文\" v-model=\"addForm.mainBody\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <br>\n <el-row :gutter=\"10\">\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"系统版本\" prop=\"sysVersion\">\n <el-input type=\"text\" placeholder=\"请输入系统版本\" v-model=\"addForm.sysVersion\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"版权\" prop=\"copyRight\">\n <el-input type=\"text\" placeholder=\"请输入版权\" v-model=\"addForm.copyRight\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"技术支持\" prop=\"support\">\n <el-input type=\"text\" placeholder=\"请输入技术支持\" v-model=\"addForm.support\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"6\">\n <el-form-item class=\"param-item\" label=\"联系电话\" prop=\"tel\">\n <el-input type=\"text\" placeholder=\"请输入联系电话\" v-model=\"addForm.tel\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n </div>\n <el-row :gutter=\"10\">\n <el-col :span=\"6\">\n <div class=\"isSendEmail\">\n <span class=\"switch-span\">开启公告</span>\n <el-switch\n v-model=\"switchAdvertiseValue\"\n active-color=\"#13ce66\"\n inactive-color=\"#ff4949\" @change=\"switchOpenAdvertise\">\n </el-switch>\n </div>\n </el-col>\n </el-row>\n <br>\n <el-row :gutter=\"10\" v-if=\"isShowAdvertise\">\n <el-col :span=\"24\">\n <el-form-item class=\"param-area-item\" label=\"默认公告\" prop=\"defaultAdvertisement\">\n <el-input type=\"textarea\" placeholder=\"请输入默认公告信息\" v-model=\"addForm.defaultAdvertisement\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <br>\n <el-row type=\"flex\" justify=\"center\" align=\"middle\" class=\"add_button\">\n <el-col :span=\"2\">\n <el-button type=\"primary\" @click=\"saveSystemParam\">保 存</el-button>\n </el-col>\n </el-row>\n </el-form>\n </div>\n</template>\n<script>\nexport default {\n data(){\n return {\n addForm: {\n welcome: '',\n senderServerAddress: '',\n senderFrom: '',\n senderUsername: '',\n senderPassword: '',\n recipientTo: '',\n recipientCC: '',\n recipientBC: '',\n subject: '',\n mainBody: '',\n copyRight: '',\n support: '',\n tel: '',\n sysVersion: '',\n isOpenAdvertise: '',\n defaultAdvertisement: ''\n },\n addFormRules: {\n welcome: [\n { required: false, message: '请输入系统简介', trigger: 'blur' },\n { min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' }\n ],\n senderServerAddress: [\n { required: true, message: '请输入邮箱服务地址', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n senderFrom: [\n { required: true, message: '请输入邮箱地址', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n senderUsername: [\n { required: true, message: '请输入邮箱用户名', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n senderPassword: [\n { required: true, message: '请输入邮箱密码', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n recipientTo: [\n { required: true, message: '请输入接收人', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n recipientCC: [\n { required: false, message: '请输入抄送人', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n recipientBC: [\n { required: false, message: '请输入密送人', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n subject: [\n { required: true, message: '请输入主题', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n mainBody: [\n { required: true, message: '请输入正文', trigger: 'blur' }\n ],\n copyRight: [\n { required: false, message: '请输入版权信息', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n support: [\n { required: false, message: '请输入技术支持人员姓名', trigger: 'blur' },\n { min: 1, max: 50, message: '长度在 1 到 50 个字符', trigger: 'blur' }\n ],\n tel: [\n { required: false, message: '请输入技术支持人员电话', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n sysVersion: [\n { required: false, message: '请输入系统版本信息', trigger: 'blur' },\n { min: 1, max: 20, message: '长度在 1 到 20 个字符', trigger: 'blur' }\n ],\n defaultAdvertisement: [\n { required: false, message: '请输入默认公告信息', trigger: 'blur' },\n { min: 1, max: 100, message: '长度在 0 到 100 个字符', trigger: 'blur' }\n ]\n },\n switchAdvertiseValue: '',\n isShowAdvertise: ''\n }\n },\n methods: {\n switchOpenAdvertise(){\n this.isShowAdvertise = !this.isShowAdvertise\n },\n saveSystemParam(){\n this.$refs.addFormRef.validate(valid => {\n if (!valid) return\n this.addForm.updateTime = new Date().getTime()\n this.addForm.updatePerson = JSON.parse(localStorage.getItem(\"userInfo\")).nick\n this.addForm.id = 1\n if(this.switchAdvertiseValue)\n this.addForm.isOpenAdvertise = 1\n else\n this.addForm.isOpenAdvertise = 0\n this.$api.system.updateSystemParam(JSON.stringify(this.addForm)).then(res=>{\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n }).catch(()=>{})\n })\n },\n getSystemParam(){\n this.$api.system.querySysParamById(1).then(res=>{\n this.addForm = res.data.data\n if(this.addForm.isOpenAdvertise == 1){\n this.switchAdvertiseValue = true\n this.isShowAdvertise = true\n }else{\n this.switchAdvertiseValue = false\n this.isShowAdvertise = false\n }\n localStorage.setItem(\"systemParamInfo\", JSON.stringify(res.data.data))\n }).catch(()=>{})\n }\n },\n created() {\n this.getSystemParam()\n }\n}\n</script>\n<style lang=\"less\" scoped>\n.system-param-box {\n padding: 0 25px;\n}\n.param-item {\n width: 100%;\n}\n.param-area-item {\n width: 100%;\n /deep/ .el-form-item__content{\n width: 87.5%;\n }\n}\n.switch-span {\n margin-left: 30px;\n color: #60627F;\n font-size: 14px;\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/param/SystemParam.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"system-param-box\"},[_c('el-form',{ref:\"addFormRef\",staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{staticClass:\"param-area-item\",attrs:{\"label\":\"系统简介\",\"prop\":\"welcome\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入系统简介\"},model:{value:(_vm.addForm.welcome),callback:function ($$v) {_vm.$set(_vm.addForm, \"welcome\", $$v)},expression:\"addForm.welcome\"}})],1)],1)],1),_vm._v(\" \"),(false)?_c('div',{staticClass:\"send-email\"},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"邮箱Server\",\"prop\":\"senderServerAddress\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入邮箱Server地址\"},model:{value:(_vm.addForm.senderServerAddress),callback:function ($$v) {_vm.$set(_vm.addForm, \"senderServerAddress\", $$v)},expression:\"addForm.senderServerAddress\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"邮箱地址\",\"prop\":\"senderFrom\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入邮箱地址\"},model:{value:(_vm.addForm.senderFrom),callback:function ($$v) {_vm.$set(_vm.addForm, \"senderFrom\", $$v)},expression:\"addForm.senderFrom\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"用户名\",\"prop\":\"senderUsername\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入用户名\"},model:{value:(_vm.addForm.senderUsername),callback:function ($$v) {_vm.$set(_vm.addForm, \"senderUsername\", $$v)},expression:\"addForm.senderUsername\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"密码\",\"prop\":\"senderPassword\"}},[_c('el-input',{attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\"},model:{value:(_vm.addForm.senderPassword),callback:function ($$v) {_vm.$set(_vm.addForm, \"senderPassword\", $$v)},expression:\"addForm.senderPassword\"}})],1)],1)],1),_vm._v(\" \"),_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"接收人\",\"prop\":\"recipientTo\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入接收人\"},model:{value:(_vm.addForm.recipientTo),callback:function ($$v) {_vm.$set(_vm.addForm, \"recipientTo\", $$v)},expression:\"addForm.recipientTo\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"抄送人\",\"prop\":\"recipientCC\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入抄送人\"},model:{value:(_vm.addForm.recipientCC),callback:function ($$v) {_vm.$set(_vm.addForm, \"recipientCC\", $$v)},expression:\"addForm.recipientCC\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"密送人\",\"prop\":\"recipientBC\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入密送人\"},model:{value:(_vm.addForm.recipientBC),callback:function ($$v) {_vm.$set(_vm.addForm, \"recipientBC\", $$v)},expression:\"addForm.recipientBC\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"主题\",\"prop\":\"subject\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入主题\"},model:{value:(_vm.addForm.subject),callback:function ($$v) {_vm.$set(_vm.addForm, \"subject\", $$v)},expression:\"addForm.subject\"}})],1)],1)],1),_vm._v(\" \"),_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{staticClass:\"param-area-item\",attrs:{\"label\":\"正文\",\"prop\":\"mainBody\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入正文\"},model:{value:(_vm.addForm.mainBody),callback:function ($$v) {_vm.$set(_vm.addForm, \"mainBody\", $$v)},expression:\"addForm.mainBody\"}})],1)],1)],1),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"系统版本\",\"prop\":\"sysVersion\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入系统版本\"},model:{value:(_vm.addForm.sysVersion),callback:function ($$v) {_vm.$set(_vm.addForm, \"sysVersion\", $$v)},expression:\"addForm.sysVersion\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"版权\",\"prop\":\"copyRight\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入版权\"},model:{value:(_vm.addForm.copyRight),callback:function ($$v) {_vm.$set(_vm.addForm, \"copyRight\", $$v)},expression:\"addForm.copyRight\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"技术支持\",\"prop\":\"support\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入技术支持\"},model:{value:(_vm.addForm.support),callback:function ($$v) {_vm.$set(_vm.addForm, \"support\", $$v)},expression:\"addForm.support\"}})],1)],1),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":6}},[_c('el-form-item',{staticClass:\"param-item\",attrs:{\"label\":\"联系电话\",\"prop\":\"tel\"}},[_c('el-input',{attrs:{\"type\":\"text\",\"placeholder\":\"请输入联系电话\"},model:{value:(_vm.addForm.tel),callback:function ($$v) {_vm.$set(_vm.addForm, \"tel\", $$v)},expression:\"addForm.tel\"}})],1)],1)],1)],1):_vm._e(),_vm._v(\" \"),_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":6}},[_c('div',{staticClass:\"isSendEmail\"},[_c('span',{staticClass:\"switch-span\"},[_vm._v(\"开启公告\")]),_vm._v(\" \"),_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},on:{\"change\":_vm.switchOpenAdvertise},model:{value:(_vm.switchAdvertiseValue),callback:function ($$v) {_vm.switchAdvertiseValue=$$v},expression:\"switchAdvertiseValue\"}})],1)])],1),_vm._v(\" \"),_c('br'),_vm._v(\" \"),(_vm.isShowAdvertise)?_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{staticClass:\"param-area-item\",attrs:{\"label\":\"默认公告\",\"prop\":\"defaultAdvertisement\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入默认公告信息\"},model:{value:(_vm.addForm.defaultAdvertisement),callback:function ($$v) {_vm.$set(_vm.addForm, \"defaultAdvertisement\", $$v)},expression:\"addForm.defaultAdvertisement\"}})],1)],1)],1):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('el-row',{staticClass:\"add_button\",attrs:{\"type\":\"flex\",\"justify\":\"center\",\"align\":\"middle\"}},[_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveSystemParam}},[_vm._v(\"保 存\")])],1)],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-1f6d35b0\",\"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/components/param/SystemParam.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-1f6d35b0\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./SystemParam.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!./SystemParam.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./SystemParam.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1f6d35b0\\\",\\\"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!./SystemParam.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-1f6d35b0\"\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/components/param/SystemParam.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"interface-param-box\">\n <el-form :inline=\"true\" class=\"demo-form-inline\" :model=\"addForm\" :rules=\"addFormRules\" ref=\"addFormRef\" label-width=\"100px\">\n <el-row :gutter=\"10\">\n <el-col :span=\"4\">\n <div class=\"isOpenSwitch\">\n <span class=\"switch-span\">开启请求头</span>\n <el-switch\n v-model=\"switchRequestHeaderValue\"\n active-color=\"#13ce66\"\n inactive-color=\"#ff4949\" @change=\"switchOpenRequest\">\n </el-switch>\n </div>\n </el-col>\n <el-col :span=\"20\">\n <div class=\"default-request\" v-if=\"isShow\">\n <el-form-item class=\"param-area-item\" label=\"默认请求头\" prop=\"requestHeaders\">\n <el-input type=\"textarea\" placeholder=\"请输入请求头信息\" v-model=\"addForm.requestHeaders\"></el-input>\n </el-form-item>\n </div>\n </el-col>\n </el-row>\n <br> \n <el-row type=\"flex\" justify=\"center\" align=\"middle\" class=\"add_button\">\n <el-col :span=\"2\">\n <el-button type=\"primary\" @click=\"saveInterfaceParam\">保 存</el-button>\n </el-col>\n </el-row>\n </el-form>\n </div>\n</template>\n<script>\nexport default {\n data(){\n return {\n addForm: {\n requestHeaders: '',\n isOpenDefaultRequestHeader: 0\n },\n addFormRules: {\n requestHeaders: [\n { required: true, message: '请输入请求头信息', trigger: 'blur' }\n ]\n },\n switchRequestHeaderValue: '',\n isShow: ''\n }\n },\n mounted(){\n this.getSystemParam() \n },\n methods: {\n getSystemParam(){\n var params = JSON.parse(localStorage.getItem(\"systemParamInfo\"))\n this.addForm.isOpenDefaultRequestHeader = params.isOpenDefaultRequestHeader\n this.addForm.requestHeaders = params.requestHeaders\n if(params.isOpenDefaultRequestHeader == 1){\n this.switchRequestHeaderValue = true\n this.isShow = true\n } else {\n this.switchRequestHeaderValue = false\n this.isShow = false\n }\n },\n switchOpenRequest(){\n this.isShow = !this.isShow\n },\n saveInterfaceParam(){\n this.$refs.addFormRef.validate(valid => {\n if (!valid) return\n this.addForm.updateTime = new Date().getTime()\n this.addForm.updatePerson = JSON.parse(localStorage.getItem(\"userInfo\")).nick\n this.addForm.id = 1\n if(this.switchRequestHeaderValue)\n this.addForm.isOpenDefaultRequestHeader = 1\n else\n this.addForm.isOpenDefaultRequestHeader = 0\n this.$api.system.updateInterfaceParam(JSON.stringify(this.addForm)).then(res=>{\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n }).catch(()=>{})\n })\n }\n }\n}\n</script>\n<style lang=\"less\" scoped>\n.interface-param-box {\n padding: 0 25px;\n}\n.param-item {\n width: 100%;\n}\n.param-area-item {\n width: 100%;\n /deep/ .el-form-item__content{\n width: 87.5%;\n }\n}\n.switch-span {\n margin-left: 30px;\n color: #60627F;\n font-size: 14px;\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/param/InterfaceParam.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"interface-param-box\"},[_c('el-form',{ref:\"addFormRef\",staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":4}},[_c('div',{staticClass:\"isOpenSwitch\"},[_c('span',{staticClass:\"switch-span\"},[_vm._v(\"开启请求头\")]),_vm._v(\" \"),_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},on:{\"change\":_vm.switchOpenRequest},model:{value:(_vm.switchRequestHeaderValue),callback:function ($$v) {_vm.switchRequestHeaderValue=$$v},expression:\"switchRequestHeaderValue\"}})],1)]),_vm._v(\" \"),_c('el-col',{attrs:{\"span\":20}},[(_vm.isShow)?_c('div',{staticClass:\"default-request\"},[_c('el-form-item',{staticClass:\"param-area-item\",attrs:{\"label\":\"默认请求头\",\"prop\":\"requestHeaders\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入请求头信息\"},model:{value:(_vm.addForm.requestHeaders),callback:function ($$v) {_vm.$set(_vm.addForm, \"requestHeaders\", $$v)},expression:\"addForm.requestHeaders\"}})],1)],1):_vm._e()])],1),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('el-row',{staticClass:\"add_button\",attrs:{\"type\":\"flex\",\"justify\":\"center\",\"align\":\"middle\"}},[_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.saveInterfaceParam}},[_vm._v(\"保 存\")])],1)],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-a60b5c78\",\"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/components/param/InterfaceParam.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-a60b5c78\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./InterfaceParam.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!./InterfaceParam.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./InterfaceParam.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-a60b5c78\\\",\\\"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!./InterfaceParam.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-a60b5c78\"\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/components/param/InterfaceParam.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"interface-param-box\">\n <el-form :inline=\"true\" class=\"demo-form-inline\" :model=\"addForm\" :rules=\"addFormRules\" ref=\"addFormRef\" label-width=\"100px\">\n <el-row>\n <el-col :span=\"24\">\n <el-form-item class=\"param-area-item\" label=\"Jmeter路径\" prop=\"jmeterInstallPath\">\n <el-input type=\"textarea\" placeholder=\"请输入Jmeter安装路径\" v-model=\"addForm.jmeterInstallPath\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <br> \n <el-row type=\"flex\" justify=\"center\" align=\"middle\" class=\"add_button\">\n <el-col :span=\"2\">\n <el-button type=\"primary\" @click=\"savePerformanceParam\">保 存</el-button>\n </el-col>\n </el-row>\n </el-form>\n </div>\n</template>\n<script>\nexport default {\n data(){\n return {\n addForm: {\n jmeterInstallPath: ''\n },\n addFormRules: {\n jmeterInstallPath: [\n { required: true, message: '请输入Jmeter安装路径', trigger: 'blur' },\n { min: 1, max: 255, message: '长度在 1 到 255 个字符', trigger: 'blur' }\n ]\n }\n }\n },\n mounted(){\n this.addForm.jmeterInstallPath = JSON.parse(localStorage.getItem(\"systemParamInfo\")).jmeterInstallPath\n },\n created(){\n },\n methods: {\n savePerformanceParam(){\n this.$refs.addFormRef.validate(valid => {\n if (!valid) return\n this.addForm.updateTime = new Date().getTime()\n this.addForm.updatePerson = JSON.parse(localStorage.getItem(\"userInfo\")).nick\n this.addForm.id = 1\n this.$api.system.updatePerformanceParam(JSON.stringify(this.addForm)).then(res=>{\n this.$notify({\n type: 'success',\n message: res.data.msg\n })\n }).catch(()=>{})\n })\n }\n }\n}\n</script>\n<style lang=\"less\" scoped>\n.interface-param-box {\n padding: 0 25px;\n}\n.param-item {\n width: 100%;\n}\n.param-area-item {\n width: 100%;\n /deep/ .el-form-item__content{\n width: 87.5%;\n }\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/param/PerformanceParam.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"interface-param-box\"},[_c('el-form',{ref:\"addFormRef\",staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.addForm,\"rules\":_vm.addFormRules,\"label-width\":\"100px\"}},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('el-form-item',{staticClass:\"param-area-item\",attrs:{\"label\":\"Jmeter路径\",\"prop\":\"jmeterInstallPath\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入Jmeter安装路径\"},model:{value:(_vm.addForm.jmeterInstallPath),callback:function ($$v) {_vm.$set(_vm.addForm, \"jmeterInstallPath\", $$v)},expression:\"addForm.jmeterInstallPath\"}})],1)],1)],1),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('el-row',{staticClass:\"add_button\",attrs:{\"type\":\"flex\",\"justify\":\"center\",\"align\":\"middle\"}},[_c('el-col',{attrs:{\"span\":2}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.savePerformanceParam}},[_vm._v(\"保 存\")])],1)],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-b1c2508c\",\"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/components/param/PerformanceParam.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-b1c2508c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./PerformanceParam.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!./PerformanceParam.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./PerformanceParam.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b1c2508c\\\",\\\"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!./PerformanceParam.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-b1c2508c\"\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/components/param/PerformanceParam.vue\n// module id = null\n// module chunks = ","<template>\n <div class=\"param-box\">\n <el-tabs v-model=\"activeName\" @tab-click=\"handleClick\">\n <el-tab-pane label=\"系统\" name=\"systemParam\"><SystemParam></SystemParam></el-tab-pane>\n <el-tab-pane label=\"接口\" name=\"interfaceParam\"><InterfaceParam v-if=\"load.interfaceParam\"></InterfaceParam></el-tab-pane>\n <el-tab-pane label=\"性能\" name=\"performanceParam\"><PerformanceParam v-if=\"load.performanceParam\"></PerformanceParam></el-tab-pane>\n </el-tabs>\n </div>\n</template>\n\n<script>\nimport SystemParam from '@/components/param/SystemParam.vue'\nimport InterfaceParam from '@/components/param/InterfaceParam.vue'\nimport PerformanceParam from '@/components/param/PerformanceParam.vue'\n\nexport default {\n data () {\n return {\n activeName: 'systemParam',\n load: {\n\t\t\t\t\tsystemParam: true,\n\t\t\t\t\tinterfaceParam: false,\n\t\t\t\t\tperformanceParam: false\n\t\t\t\t}\n }\n }, \n mounted () {},\n created () {},\n methods: {\n handleClick(tab, event) {\n if (this.load[tab.name] === false){\n this.load[tab.name] = true\n }\n }\n },\n components: {\n SystemParam,\n InterfaceParam,\n PerformanceParam\n }\n}\n</script>\n\n<style scoped lang=\"less\">\n/deep/ .el-tabs__nav-scroll{\n padding: 0 15px;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/views/systemmanager/Param.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"param-box\"},[_c('el-tabs',{on:{\"tab-click\":_vm.handleClick},model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"系统\",\"name\":\"systemParam\"}},[_c('SystemParam')],1),_vm._v(\" \"),_c('el-tab-pane',{attrs:{\"label\":\"接口\",\"name\":\"interfaceParam\"}},[(_vm.load.interfaceParam)?_c('InterfaceParam'):_vm._e()],1),_vm._v(\" \"),_c('el-tab-pane',{attrs:{\"label\":\"性能\",\"name\":\"performanceParam\"}},[(_vm.load.performanceParam)?_c('PerformanceParam'):_vm._e()],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-ca4737d4\",\"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/systemmanager/Param.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-ca4737d4\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Param.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!./Param.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Param.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-ca4737d4\\\",\\\"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!./Param.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-ca4737d4\"\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/systemmanager/Param.vue\n// module id = null\n// module chunks = "],"sourceRoot":""} |