1 |
- {"remainingRequest":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/account/locomotiveMsg/components/addVehicleDialog.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/caoge/Desktop/地质现场/VehicleMonitor-WEB/src/views/account/locomotiveMsg/components/addVehicleDialog.vue","mtime":1708395041886},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICAgIHByb3BzOiB7CiAgICAgICAgYWRkVmVoaWNsZURhdGE6IHsKICAgICAgICAgICAgdHlwZTogT2JqZWN0LAogICAgICAgICAgICBkZWZhdWx0OiB7fQogICAgICAgIH0KICAgIH0sCiAgICBkYXRhKCkgewogICAgICAgIHJldHVybiB7CiAgICAgICAgICAgIGFkZFZlaGljbGVGb3JtOiB7CiAgICAgICAgICAgICAgICB2ZWhpY2xlQ29kZTogJycsCiAgICAgICAgICAgICAgICB2ZWhpY2xlTmFtZTogJycsCiAgICAgICAgICAgICAgICByZW1hcms6ICcnCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIHJ1bGVzOiB7CiAgICAgICAgICAgICAgICB2ZWhpY2xlQ29kZTogW3sgcmVxdWlyZWQ6IHRydWUsIG1lc3NhZ2U6ICfor7fovpPlhaXmnLrovabnvJbnoIEnLCB0cmlnZ2VyOiAnYmx1cicgfSxdLAogICAgICAgICAgICAgICAgdmVoaWNsZU5hbWU6IFt7IHJlcXVpcmVkOiB0cnVlLCBtZXNzYWdlOiAn6K+36L6T5YWl5py66L2m5ZCN56ewJywgdHJpZ2dlcjogJ2JsdXInIH1dLAogICAgICAgICAgICB9CiAgICAgICAgfQogICAgfSwKICAgIG1ldGhvZHM6IHsKICAgICAgICBjYW5jZWwoKSB7CiAgICAgICAgICAgIHRoaXMuYWRkVmVoaWNsZURhdGEuZGlhbG9nVmlzaWJsZSA9IGZhbHNlCiAgICAgICAgICAgIHRoaXMuYWRkVmVoaWNsZUZvcm0gPSB7CiAgICAgICAgICAgICAgICB2ZWhpY2xlQ29kZTogJycsCiAgICAgICAgICAgICAgICB2ZWhpY2xlTmFtZTogJycsCiAgICAgICAgICAgICAgICByZW1hcms6ICcnCiAgICAgICAgICAgIH0KICAgICAgICB9LAogICAgICAgIGFkZFZlaGljbGUoKSB7CiAgICAgICAgICAgIHRoaXMuJHJlZnMucnVsZUZvcm0udmFsaWRhdGUodmFsaWQgPT4gewogICAgICAgICAgICAgICAgaWYgKHZhbGlkKSB7CiAgICAgICAgICAgICAgICAgICAgdGhpcy4kZW1pdCgnYWRkVmVoaWNsZUJ0bicsIHRoaXMuYWRkVmVoaWNsZUZvcm0pCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0pCiAgICAgICAgfQogICAgfQp9Cg=="},{"version":3,"sources":["addVehicleDialog.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAwBA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"addVehicleDialog.vue","sourceRoot":"src/views/account/locomotiveMsg/components","sourcesContent":["<template>\n <div class=\"addVehicleDialog\">\n <el-dialog center width=\"636px\" @close=\"cancel()\" title=\"添加机车信息\" :visible.sync=\"addVehicleData.dialogVisible\">\n <el-form label-width=\"80px\" ref=\"ruleForm\" :rules=\"rules\" :model=\"addVehicleForm\">\n <el-form-item label=\"机车号\" prop=\"vehicleCode\">\n <el-input placeholder=\"请输入机车号\" v-model=\"addVehicleForm.vehicleCode\"></el-input>\n </el-form-item>\n <!-- <el-form-item label=\"机车名称\" prop=\"vehicleName\">\n <el-input placeholder=\"请输入机车名称\" v-model=\"addVehicleForm.vehicleName\"></el-input>\n </el-form-item> -->\n <el-form-item label=\"备注\">\n <el-input placeholder=\"请输入备注\" v-model=\"addVehicleForm.remark\"></el-input>\n </el-form-item>\n </el-form>\n <span slot=\"footer\" class=\"dialog-footer\">\n <!-- <el-button @click=\"cancel()\">取 消</el-button>\n <el-button type=\"primary\" @click=\"addVehicle()\">保 存</el-button> -->\n <div class=\"search\" @click=\"addVehicle()\">保 存</div>\n <div class=\"reset\" @click=\"cancel()\">取 消</div>\n </span>\n </el-dialog>\n </div>\n</template>\n<script>\nexport default {\n props: {\n addVehicleData: {\n type: Object,\n default: {}\n }\n },\n data() {\n return {\n addVehicleForm: {\n vehicleCode: '',\n vehicleName: '',\n remark: ''\n },\n rules: {\n vehicleCode: [{ required: true, message: '请输入机车编码', trigger: 'blur' },],\n vehicleName: [{ required: true, message: '请输入机车名称', trigger: 'blur' }],\n }\n }\n },\n methods: {\n cancel() {\n this.addVehicleData.dialogVisible = false\n this.addVehicleForm = {\n vehicleCode: '',\n vehicleName: '',\n remark: ''\n }\n },\n addVehicle() {\n this.$refs.ruleForm.validate(valid => {\n if (valid) {\n this.$emit('addVehicleBtn', this.addVehicleForm)\n }\n })\n }\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n::v-deep .el-dialog__body {\n padding: 20px 95px !important;\n}\n</style>\n"]}]}
|