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

1 line
8.7 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!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\\thread-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":["//\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\nimport { roleSelect, selectPhone, roleSelectList, addrolesave, UserListByRole, AddjurisdictionZh, roleSelectId, changeRole } from \"@/api/getdata\";\nimport Popup from \"@/views/estate/examine/dialog/popup.vue\";\nexport default {\n props: [\"typeTitle\", \"row\", \"roleType\"],\n components: {\n Popup: Popup\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 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 closeEnd: function closeEnd(val) {\n var _this2