8c4a64cf775de28a29a82444972da6bb.json 11 KB

1
  1. {"remainingRequest":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/system/monitor/components/upDateRoleDialog.vue?vue&type=style&index=0&id=29817e05&lang=scss&scoped=true","dependencies":[{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/system/monitor/components/upDateRoleDialog.vue","mtime":1708395041891},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/css-loader/dist/cjs.js","mtime":1708395146948},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/loaders/stylePostLoader.js","mtime":1708395147772},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/postcss-loader/src/index.js","mtime":1708395147225},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/sass-loader/dist/cjs.js","mtime":1708395146389},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js","mtime":1708395147382}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKOjp2LWRlZXAgLmVsLWRpYWxvZ19fYm9keXsKICBwYWRkaW5nOiAyMHB4IDk1cHggIWltcG9ydGFudDsKfQouZGlhbG9nLWZvb3RlcnsgICAgCiAgICBkaXYgeyAgICAgICAgCiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrOwogICAgICAgIHdpZHRoOiA4MHB4OwogICAgICAgIGhlaWdodDogNDBweDsKICAgICAgICBib3JkZXItcmFkaXVzOiAycHg7CiAgICAgICAgZm9udC1zaXplOiAxNHB4OwogICAgICAgIGxpbmUtaGVpZ2h0OiA0MHB4OwogICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjsKICAgICAgfQoKICAgICAgZGl2OmhvdmVyIHsKICAgICAgICBjdXJzb3I6IHBvaW50ZXI7CiAgICAgIH0KICAgICAgLnNlYXJjaCB7CiAgICAgICAgbWFyZ2luOiAwIDEycHg7CiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzI3NjZERDsKICAgICAgICBjb2xvcjogI2ZmZjsKICAgICAgfQoKICAgICAgLnNlYXJjaDpob3ZlciB7CiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogIzREODVGNDsKICAgICAgfQogICAgICAucmVzZXQgewogICAgICAgIGNvbG9yOiAjMzMzMzM0OwogICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNEN0Q3RDc7CiAgICAgIH0KCiAgICAgIC5yZXNldDpob3ZlciB7CiAgICAgICAgY29sb3I6ICMxRjlGRkY7CiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgIzFGOUZGRjsKICAgICAgfQp9Ci8vIOmAieS4reWQjnJhZGlv5paH5pys55qE6aKc6ImyCjo6di1kZWVwIC5lbC1yYWRpb19faW5wdXQuaXMtY2hlY2tlZCsuZWwtcmFkaW9fX2xhYmVsIHsKICAgIGNvbG9yOiAjMjc2NkRECn0KCi8qIHJhZGlv6YCJ5Lit5ZCO5bCP5ZyG54K555qE6aKc6ImyICovCjo6di1kZWVwIC5lbC1yYWRpb19faW5wdXQuaXMtY2hlY2tlZCAuZWwtcmFkaW9fX2lubmVyIHsKICAgIGJhY2tncm91bmQ6ICMyNzY2REQgIWltcG9ydGFudDsKICAgIGJvcmRlci1jb2xvcjogIzI3NjZERCAhaW1wb3J0YW50Owp9Ci5jaGFuZ0tlckJ0bnsKICAgIG1hcmdpbjogMHB4IDEwcHggMTVweCAwOwogICAgY3Vyc29yOiBwb2ludGVyOwogICAgdGV4dC1hbGlnbjogY2VudGVyOwogICAgaGVpZ2h0OiAzOXB4OwogICAgY29sb3I6ICNmZmY7CiAgICBib3JkZXItcmFkaXVzOiAycHg7CiAgICBib3JkZXI6IDFweCBzb2xpZCAjQUJDN0ZEOwogICAgZm9udC13ZWlnaHQ6IDQwMDsKICAgIGZvbnQtc2l6ZTogMTRweDsKICAgIGJhY2tncm91bmQtY29sb3I6ICMyMjUwQzg7Cn0K"},{"version":3,"sources":["upDateRoleDialog.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"upDateRoleDialog.vue","sourceRoot":"src/views/system/monitor/components","sourcesContent":["<template>\n <div class=\"updataRoleDialog\">\n <el-dialog width=\"836px\" center title=\"修改监测系统信息\" :visible.sync=\"updateRoleData.dialogVisible\">\n <el-form label-width=\"100px\" ref=\"ruleForm\" :rules=\"rules\" :model=\"updateRoleData.data\" label-position=\"top\">\n <el-row :gutter=\"24\">\n <el-col :span=\"12\">\n <el-form-item label=\"监测系统名称:\" prop=\"monitorSystemName\">\n <el-input v-model=\"updateRoleData.data.monitorSystemName\"></el-input>\n </el-form-item>\n </el-col>\n <el-col :span=\"12\">\n <el-form-item label=\"监测系统编码:\" prop=\"clientId\">\n <el-input v-model=\"updateRoleData.data.clientId\"></el-input>\n </el-form-item>\n </el-col>\n </el-row>\n <el-row :gutter=\"24\">\n <el-col :span=\"12\">\n <el-form-item label=\"正式环境密钥:\" prop=\"clientSecret\">\n <div class=\"\" style=\"display:flex\">\n <el-button class=\"changKerBtn\" @click=\"generateKeyFormal\">点击生成密钥</el-button>\n <el-input v-model=\"updateRoleData.data.clientSecret\" type=\"text\" disabled/>\n </div>\n </el-form-item>\n </el-col>\n <el-col :span=\"12\">\n <el-form-item label=\"测试环境密钥:\" prop=\"testSecret\">\n <div class=\"\" style=\"display:flex\">\n <el-button class=\"changKerBtn\" @click=\"generateKeyTest\">点击生成密钥</el-button>\n <el-input v-model=\"updateRoleData.data.testSecret\" type=\"text\" disabled/>\n </div>\n </el-form-item>\n </el-col>\n </el-row>\n <el-row :gutter=\"24\">\n <el-col :span=\"12\">\n <el-form-item label=\"报警信息生成机制:\" prop=\"alarmGenerate\">\n <el-input v-model=\"updateRoleData.data.alarmGenerate\" type=\"textarea\"/>\n </el-form-item>\n </el-col>\n <el-col :span=\"12\">\n <el-form-item label=\"报警解除机制:\" prop=\"alarmRelease\">\n <el-input v-model=\"updateRoleData.data.alarmRelease\" type=\"textarea\"/>\n </el-form-item>\n </el-col>\n </el-row>\n <el-row :gutter=\"24\">\n <el-col :span=\"12\">\n <el-form-item label=\"系统简介:\" prop=\"systemIntroduce\">\n <el-input v-model=\"updateRoleData.data.systemIntroduce\" type=\"textarea\"/>\n </el-form-item>\n </el-col>\n <el-col :span=\"12\">\n <el-form-item label=\"报警信息内容:\" prop=\"alarmContent\">\n <el-input v-model=\"updateRoleData.data.alarmContent\" type=\"textarea\"/>\n </el-form-item>\n </el-col>\n </el-row>\n <el-row :gutter=\"24\">\n <el-col :span=\"12\">\n <el-form-item label=\"备注:\" prop=\"remark\">\n <el-input v-model=\"updateRoleData.data.remark\" type=\"textarea\"/>\n </el-form-item>\n </el-col>\n <el-col :span=\"12\">\n <el-form-item label=\"报警对应的处理措施:\" prop=\"treateMeasure\">\n <el-input v-model=\"updateRoleData.data.treateMeasure\" type=\"textarea\"/>\n </el-form-item>\n </el-col>\n </el-row> \n </el-form>\n <span slot=\"footer\" class=\"dialog-footer\">\n <div class=\"search\" @click=\"updateRole\">保 存</div>\n <div class=\"reset\" @click=\"cancel()\">取 消</div>\n </span>\n </el-dialog>\n </div>\n</template>\n<script>\nimport { toGenerateKey } from '@/api/monitor'\nexport default {\n name: 'updateRoleDialog',\n props: {\n updateRoleData: {\n type: Object,\n default: {}\n }\n },\n created() {\n },\n data() {\n return {\n checkAll: false,\n defaultExpanded: [],\n meunTreeData: [],\n rules: {\n monitorSystemName: [{ required: true, message: '请输入监测系统名称', trigger: 'blur' }],\n clientSecret: [{ required: true, message: '请输入正式环境密钥', trigger: 'blur' }],\n testSecret: [{ required: true, message: '请输入测试环境密钥', trigger: 'blur' }],\n clientId: [{ required: true, message: '请输入监测系统编码', trigger: 'blur' }],\n }\n }\n },\n methods: {\n generateKeyFormal(){\n toGenerateKey().then(res=>{\n this.updateRoleData.data.clientSecret=res.data\n })\n },\n generateKeyTest(){\n toGenerateKey().then(res=>{\n this.updateRoleData.data.testSecret=res.data\n })\n },\n handleCheckAllChange(val) {\n if (this.checkAll) {\n this.$refs.tree.setCheckedNodes(this.meunTreeData);\n } else {\n this.$refs.tree.setCheckedKeys([]);\n }\n },\n updateRole() {\n this.$refs.ruleForm.validate(valid => {\n if (valid) {\n this.$emit(\"updateRoleBtn\", this.updateRoleData.data)\n }\n })\n },\n cancel() {\n this.updateRoleData.dialogVisible = false\n },\n closeDialog() {\n }\n\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n::v-deep .el-dialog__body{\n padding: 20px 95px !important;\n}\n.dialog-footer{ \n div { \n display: inline-block;\n width: 80px;\n height: 40px;\n border-radius: 2px;\n font-size: 14px;\n line-height: 40px;\n text-align: center;\n }\n\n div:hover {\n cursor: pointer;\n }\n .search {\n margin: 0 12px;\n background-color: #2766DD;\n color: #fff;\n }\n\n .search:hover {\n background-color: #4D85F4;\n }\n .reset {\n color: #333334;\n border: 1px solid #D7D7D7;\n }\n\n .reset:hover {\n color: #1F9FFF;\n border: 1px solid #1F9FFF;\n }\n}\n// 选中后radio文本的颜色\n::v-deep .el-radio__input.is-checked+.el-radio__label {\n color: #2766DD\n}\n\n/* radio选中后小圆点的颜色 */\n::v-deep .el-radio__input.is-checked .el-radio__inner {\n background: #2766DD !important;\n border-color: #2766DD !important;\n}\n.changKerBtn{\n margin: 0px 10px 15px 0;\n cursor: pointer;\n text-align: center;\n height: 39px;\n color: #fff;\n border-radius: 2px;\n border: 1px solid #ABC7FD;\n font-weight: 400;\n font-size: 14px;\n background-color: #2250C8;\n}\n</style>"]}]}