1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"remainingRequest":"E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\babel-loader\\lib\\index.js!E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\视频边缘计算管理平台\\TransFlow\\src\\views\\general\\AboutMachine.vue?vue&type=script&lang=js&","dependencies":[{"path":"E:\\视频边缘计算管理平台\\TransFlow\\src\\views\\general\\AboutMachine.vue","mtime":1672210261923},{"path":"E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1672206975777},{"path":"E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\babel-loader\\lib\\index.js","mtime":1672206975618},{"path":"E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1672206975777},{"path":"E:\\视频边缘计算管理平台\\TransFlow\\node_modules\\vue-loader\\lib\\index.js","mtime":1672206979279}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\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//\nexport default {\n data: function data() {\n return {\n formLabelWidth: '120px',\n sizeForm: {\n name: '',\n region: '',\n date1: '',\n date2: '',\n delivery: false,\n type: [],\n resource: '',\n desc: ''\n },\n fileList: []\n };\n },\n methods: {\n handleagain: function handleagain() {\n var _this = this;\n\n this.$confirm('此操作将重新启动系统, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {// this.$message({\n // type: 'success',\n // message: '删除成功!'\n // });\n }).catch(function () {\n _this.$message({\n type: 'info',\n message: '已取消'\n });\n });\n },\n handleReset: function handleReset() {\n var _this2 = this;\n\n this.$confirm('此操作将重置默认值, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {// this.$message({\n // type: 'success',\n // message: '删除成功!'\n // });\n }).catch(function () {\n _this2.$message({\n type: 'info',\n message: '已取消重置'\n });\n });\n },\n handleRemove: function handleRemove(file, fileList) {\n console.log(file, fileList);\n },\n handlePreview: function handlePreview(file) {\n console.log(file);\n },\n handleExceed: function handleExceed(files, fileList) {\n this.$message.warning(\"\\u5F53\\u524D\\u9650\\u5236\\u9009\\u62E9 3 \\u4E2A\\u6587\\u4EF6\\uFF0C\\u672C\\u6B21\\u9009\\u62E9\\u4E86 \".concat(files.length, \" \\u4E2A\\u6587\\u4EF6\\uFF0C\\u5171\\u9009\\u62E9\\u4E86 \").concat(files.length + fileList.length, \" \\u4E2A\\u6587\\u4EF6\"));\n },\n beforeRemove: function beforeRemove(file, fileList) {\n return this.$confirm(\"\\u786E\\u5B9A\\u79FB\\u9664 \".concat(file.name, \"\\uFF1F\"));\n }\n }\n};",{"version":3,"sources":["AboutMachine.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6DA,eAAA;AACA,EAAA,IADA,kBACA;AACA,WAAA;AACA,MAAA,cAAA,EAAA,OADA;AAEA,MAAA,QAAA,EAAA;AACA,QAAA,IAAA,EAAA,EADA;AAEA,QAAA,MAAA,EAAA,EAFA;AAGA,QAAA,KAAA,EAAA,EAHA;AAIA,QAAA,KAAA,EAAA,EAJA;AAKA,QAAA,QAAA,EAAA,KALA;AAMA,QAAA,IAAA,EAAA,EANA;AAOA,QAAA,QAAA,EAAA,EAPA;AAQA,QAAA,IAAA,EAAA;AARA,OAFA;AAYA,MAAA,QAAA,EAAA;AAZA,KAAA;AAcA,GAhBA;AAiBA,EA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AA,oCAAA,IAAA,CAAA,IAAA,YAAA;AACA;AA9CA;AAjBA,CAAA","sourcesContent":["<template>\r\n<div class=\"content-box\">\r\n <div class=\"container\">\r\n <el-form ref=\"form\" :model=\"sizeForm\" label-width=\"140px\" >\r\n <p>主机</p>\r\n <el-form-item label=\"名称:\" :label-width=\"formLabelWidth\">\r\n <!-- <el-col :span=\"6\"> -->\r\n <el-input v-model=\"sizeForm.name\" autocomplete=\"off\" style=\"width:50%\"></el-input>\r\n <!-- </el-col> -->\r\n </el-form-item>\r\n <el-form-item label=\"时间:\" :label-width=\"formLabelWidth\">\r\n <!-- <el-col :span=\"6\"> -->\r\n <el-date-picker type=\"date\" placeholder=\"选择日期\" v-model=\"sizeForm.date1\" style=\"width: 50%;\" autocomplete=\"off\" ></el-date-picker>\r\n <!-- </el-col> -->\r\n <!-- <el-col :span=\"2\"> -->\r\n <el-button type=\"primary\" style=\"margin-left:10px\" size=\"small\">自动校验</el-button>\r\n <!-- </el-col> -->\r\n </el-form-item>\r\n <p>备份&恢复</p>\r\n <el-form-item label=\"备份服务器设置:\">\r\n <el-col :span=\"12\">\r\n <el-button type=\"primary\" size=\"small\">备份</el-button>\r\n </el-col>\r\n </el-form-item>\r\n <el-form-item label=\"还原服务器设置:\">\r\n <el-col :span=\"3\">\r\n <el-button type=\"primary\" disabled size=\"small\">备份</el-button>\r\n </el-col>\r\n <el-col :span=\"4\">\r\n <el-upload\r\n class=\"upload-demo\"\r\n action=\"https://jsonplaceholder.typicode.com/posts/\"\r\n :on-preview=\"handlePreview\"\r\n :on-remove=\"handleRemove\"\r\n :before-remove=\"beforeRemove\"\r\n multiple\r\n :limit=\"3\"\r\n :on-exceed=\"handleExceed\"\r\n :file-list=\"fileList\">\r\n <el-button size=\"small\" type=\"primary\">点击上传</el-button>\r\n </el-upload>\r\n </el-col>\r\n </el-form-item>\r\n <p>出厂默认值</p>\r\n <el-form-item label=\"还原服务器设置:\">\r\n <el-col :span=\"12\">\r\n <el-button type=\"primary\" @click=\"handleReset()\" size=\"small\">重置默认值</el-button>\r\n </el-col>\r\n </el-form-item>\r\n <p>重新启动</p>\r\n <el-form-item label=\"重新启动系统:\">\r\n <el-col :span=\"12\">\r\n <el-button type=\"primary\" @click=\"handleagain()\" size=\"small\">重新启动</el-button>\r\n </el-col>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n</div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n formLabelWidth: '120px',\r\n sizeForm: {\r\n name: '',\r\n region: '',\r\n date1: '',\r\n date2: '',\r\n delivery: false,\r\n type: [],\r\n resource: '',\r\n desc: ''\r\n },\r\n fileList:[]\r\n }\r\n },\r\n methods:{\r\n handleagain(){\r\n this.$confirm('此操作将重新启动系统, 是否继续?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // this.$message({\r\n // type: 'success',\r\n // message: '删除成功!'\r\n // });\r\n }).catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '已取消'\r\n }); \r\n });\r\n },\r\n handleReset(){\r\n this.$confirm('此操作将重置默认值, 是否继续?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning'\r\n }).then(() => {\r\n // this.$message({\r\n // type: 'success',\r\n // message: '删除成功!'\r\n // });\r\n }).catch(() => {\r\n this.$message({\r\n type: 'info',\r\n message: '已取消重置'\r\n }); \r\n });\r\n },\r\n handleRemove(file, fileList) {\r\n console.log(file, fileList);\r\n },\r\n handlePreview(file) {\r\n console.log(file);\r\n },\r\n handleExceed(files, fileList) {\r\n this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`);\r\n },\r\n beforeRemove(file, fileList) {\r\n return this.$confirm(`确定移除 ${ file.name }?`);\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n.test-div i{\r\n font-size: 25px;\r\n}\r\n</style>\r\n<style lang=\"scss\" scoped>\r\n/deep/ .el-form-item__label{\r\n text-align: left;\r\n font-size: 15px;\r\n}\r\n/deep/ .el-form-item{\r\n margin-bottom: 15px;\r\n}\r\n.container{\r\n width: 100%;\r\n height: 100%;\r\n p{\r\n width: 95%;\r\n font-size: 25px;\r\n text-align: left;\r\n border-bottom: 1px solid black;\r\n margin-bottom: 20px;\r\n }\r\n}\r\n</style>\r\n"],"sourceRoot":"src/views/general"}]} |