356e89b32efb0e3d0857f8cd4461ac65.json 4.7 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/user/compontens/authorityDialog.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/system/user/compontens/authorityDialog.vue","mtime":1708395041892},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/cache-loader/dist/cjs.js","mtime":1708395146433},{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/babel-loader/lib/index.js","mtime":1708395147257},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICAgIG5hbWU6ICdhdXRob3JpdHlEaWFsb2cnLAogICAgcHJvcHM6IHsKICAgICAgICBhdXRob3JpdHlEYXRhOiB7CiAgICAgICAgICAgIHR5cGU6IE9iamVjdCwKICAgICAgICAgICAgZGVmYXVsdDoge30KICAgICAgICB9CiAgICB9LAogICAgY3JlYXRlZCgpeyAgICAgICAgICAgICAgICAgICAgCiAgICB9LAogICAgZGF0YSgpIHsKICAgICAgICByZXR1cm4gewogICAgICAgICAgICByYWRpbzogJycKICAgICAgICB9CiAgICB9LAogICAgbWV0aG9kczp7CiAgICAgICAgdXBkYXRlQXV0aG9yaXR5KCl7ICAgICAgICAgICAgICAgCiAgICAgICAgICAgIGxldCBwYXlsb2FkID0gewogICAgICAgICAgICAgICAgZGF0YVBlcm1pc3Npb246dGhpcy5hdXRob3JpdHlEYXRhLmRpY3RWYWx1ZSwKICAgICAgICAgICAgICAgIGlkOnRoaXMuYXV0aG9yaXR5RGF0YS5pZAogICAgICAgICAgICB9CiAgICAgICAgICAgIHRoaXMuJGVtaXQoJ3VwZGF0ZUF1dGhvcml0eScscGF5bG9hZCkKICAgICAgICAgICAgdGhpcy5yYWRpbyA9ICcnCiAgICAgICAgfSwKICAgICAgICBjYW5jZWwoKXsKICAgICAgICAgICAgdGhpcy5yYWRpbyA9ICcnCiAgICAgICAgICAgIHRoaXMuYXV0aG9yaXR5RGF0YS5kaWFsb2dWaXNpYmxlID0gZmFsc2UKICAgICAgICB9CiAgICB9Cn0K"},{"version":3,"sources":["authorityDialog.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"authorityDialog.vue","sourceRoot":"src/views/system/user/compontens","sourcesContent":["<template>\n <div class=\"authorityDialog\">\n <el-dialog width=\"380px\" style=\"min-width: ;\" center title=\"数据权限\" :visible.sync=\"authorityData.dialogVisible\">\n <el-radio-group v-model=\"authorityData.dictValue\">\n <el-radio v-for=\"item in authorityData.data\" :label=\"item.dictValue\">{{ item.dictLabel }}</el-radio>\n </el-radio-group>\n <span slot=\"footer\" class=\"dialog-footer\">\n <!-- <el-button @click=\"cancel()\">取 消</el-button>\n <el-button type=\"primary\" @click=\"updateAuthority()\">确 定</el-button> -->\n <div class=\"search\" @click=\"updateAuthority()\">保 存</div> \n <div class=\"reset\" @click=\"cancel()\">取 消</div> \n </span>\n </el-dialog>\n </div>\n</template>\n<script>\nexport default {\n name: 'authorityDialog',\n props: {\n authorityData: {\n type: Object,\n default: {}\n }\n },\n created(){ \n },\n data() {\n return {\n radio: ''\n }\n },\n methods:{\n updateAuthority(){ \n let payload = {\n dataPermission:this.authorityData.dictValue,\n id:this.authorityData.id\n }\n this.$emit('updateAuthority',payload)\n this.radio = ''\n },\n cancel(){\n this.radio = ''\n this.authorityData.dialogVisible = false\n }\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n.authorityDialog{\n .el-radio-group{\n display: block; \n .el-radio{\n margin: 10px 0;\n display: block;\n position: relative;\n left: 50px;\n }\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</style>"]}]}