1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/29338bb850e5d077814c8f21338...

1 line
5.0 KiB
JSON

{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-update-password.vue?vue&type=style&index=0&id=383e28d4&scoped=true&lang=scss&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-update-password.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\css-loader\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\sass-loader\\lib\\loader.js","mtime":1533139052000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\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.tip {\n\tfont-size: 20px;\n\tcolor: #FFF;\n\tfont-weight: 600;\n\n\tspan {\n\t\tfont-size: 24px;\n\t\tcolor: #C40\n\t}\n}\n",{"version":3,"sources":["access-update-password.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA","file":"access-update-password.vue","sourceRoot":"src/views/modules/equipmentManage","sourcesContent":["<template>\n\t<el-dialog :visible.sync=\"visible\" title=\"批量修改密码\" :close-on-click-modal=\"false\" :close-on-press-escape=\"false\" width=\"30%\">\n\t\t<el-form :model=\"dataForm\" :rules=\"dataRule\" ref=\"dataForm\" @keyup.enter.native=\"dataFormSubmitHandle()\" label-width=\"120px\">\n\t\t\t<el-form-item v-model=\"dataForm.password\" placeholder=\"请选择\" label=\"新密码\" prop=\"password\">\n\t\t\t\t<el-input placeholder=\"请输入密码\" v-model=\"dataForm.password\" show-password show-word-limit></el-input>\n\t\t\t</el-form-item>\n\t\t\t<div class=\"tip\">\n\t\t\t\t你即将修改<span>{{dataForm.ids.length}}</span>台设备的密码\n\t\t\t</div>\n\t\t</el-form>\n\t\t<template slot=\"footer\">\n\t\t\t<el-button @click=\"visible = false\">{{ $t('cancel') }}</el-button>\n\t\t\t<el-button type=\"primary\" @click=\"dataFormSubmitHandle()\" v-loading=\"loading\">{{ $t('confirm') }}</el-button>\n\t\t</template>\n\t</el-dialog>\n</template>\n\n<script>\n\timport debounce from 'lodash/debounce'\n\texport default {\n\t\tname: \"accessUpdatepassword\",\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tvisible: false,\n\t\t\t\tloading: false,\n\t\t\t\tdataForm: {\n\t\t\t\t\tids: [],\n\t\t\t\t\tpassword: \"\",\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tdataRule() {\n\t\t\t\treturn {\n\t\t\t\t\tpassword: [{\n\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\tmessage: this.$t('validate.required'),\n\t\t\t\t\t\t\ttrigger: 'blur'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tmin: 5,\n\t\t\t\t\t\t\tmax: 8,\n\t\t\t\t\t\t\tmessage: \"长度在5到8个字符\",\n\t\t\t\t\t\t\ttrigger: \"blur\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvalidator: (rule, value, callback) => {\n\t\t\t\t\t\t\t\tif (value) {\n\t\t\t\t\t\t\t\t\tif (/[^\\w\\.\\/]/ig.test(value)) {\n\t\t\t\t\t\t\t\t\t\tcallback(new Error('请不要输入中文和空格!'));\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcallback();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\ttrigger: 'blur'\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tinit(params) {\n\t\t\t\tthis.visible = true\n\t\t\t\tthis.dataForm.ids = JSON.parse(params)\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\tthis.$refs['dataForm'].resetFields()\n\t\t\t\t\tthis.roleIdListDefault = []\n\t\t\t\t})\n\t\t\t},\n\t\t\tdataFormSubmitHandle: debounce(function() {\n\t\t\t\tthis.$refs['dataForm'].validate((valid) => {\n\t\t\t\t\tif (!valid) {\n\t\t\t\t\t\treturn false\n\t\t\t\t\t}\n\t\t\t\t\tthis.loading = true\n\t\t\t\t\tthis.$http.post(`/system/scaidooreight/batchUpatePsw`, this.dataForm).then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code !== 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn this.$message.success(res.msg)\n\t\t\t\t\t}).catch(() => {}).finally(() => {\n\t\t\t\t\t\tthis.loading = false\n\t\t\t\t\t\tthis.visible = false\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t})\n\t\t}\n\t}\n</script>\n\n<style scoped lang=\"scss\">\n\t.tip {\n\t\tfont-size: 20px;\n\t\tcolor: #FFF;\n\t\tfont-weight: 600;\n\n\t\tspan {\n\t\t\tfont-size: 24px;\n\t\t\tcolor: #C40\n\t\t}\n\t}\n</style>\n"]}]}