hz-zhhq-web/node_modules/.cache/babel-loader/f838f580c1ed1cf2ef1b5b0b4b1...

1 line
8.8 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\jurisdiction\\popup\\addAccount.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\jurisdiction\\popup\\addAccount.vue","mtime":1737610069430},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _getdata = require(\"@/api/getdata\");\nvar _popup = _interopRequireDefault(require(\"@/views/estate/examine/dialog/popup.vue\"));\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//\nvar _default = exports.default = {\n props: [\"typeTitle\", \"row\", \"roleType\"],\n components: {\n Popup: _popup.default\n },\n data: function data() {\n return {\n isShowFl: false,\n searchS: false,\n validation: false,\n completeTitle: \"\",\n nav: \"\",\n dialogTableVisible: true,\n til: this.typeTitle,\n roleSelectProp: [],\n roleSelectOption: [],\n addShowInfo: {},\n isFlag: \"0\",\n detailList: {},\n ruleForm: {\n accountRoles: \"\",\n phone: \"\"\n },\n rules: {\n accountRoles: [{\n required: true,\n message: \"请选择\",\n trigger: \"blur\"\n }],\n phone: [{\n required: true,\n message: \"请输入员工手机号\",\n trigger: \"blur\"\n }, {\n validator: function validator(rule, value, callback) {\n var reg = /^1[3456789]\\d{9}$/;\n var reg2 = /[`~!@#$%^&*()_\\-+=<>?:\"{}|,./;'\\\\[\\]·~@#¥%……&*()——\\-+={}|《》?:“”【】、;‘’,。、]/g;\n if (reg.test(value) && !reg2.test(value) && value) {\n callback();\n } else {\n callback(new Error(\"请输入正确的员工手机号!\"));\n }\n }\n }]\n }\n };\n },\n mounted: function mounted() {\n if (this.roleType == \"role\") {\n this.getroleSelect();\n }\n if (this.til == \"添加\") {\n this.ruleForm = {\n accountRoles: \"\",\n phone: \"\"\n };\n } else {\n this.getDetail();\n }\n },\n methods: {\n getDetail: function getDetail() {\n var _this = this;\n var Content = {\n id: this.row ? this.row.role_id : \"\"\n };\n // console.log(Content,117)\n (0, _getdata.roleSelectId)(Content).then(function (res) {\n console.log(res);\n if (res.returnCode == \"1\") {\n _this.$message({\n message: res.returnMsg,\n type: \"success\"\n });\n _this.ruleForm = {\n accountRoles: res.returnData[0].user_id,\n phone: res.returnData[0].mobile\n };\n // if(res.returnData[0]){\n // this.isFlag = true;\n // }\n // this.addShowInfo = res.returnData[0];\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n }\n }).catch(function (err) {\n console.log(err);\n });\n },\n closeE