hz-zhhq-web/node_modules/.cache/babel-loader/81cc44194077923fc1257569b16...

1 line
2.7 KiB
JSON

{"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\\passVisualization\\role\\popup\\addpop.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\passVisualization\\role\\popup\\addpop.vue","mtime":1737610069441},{"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\nexport default {\n props: [\"width\", \"row\", \"title\"],\n data: function data() {\n return {\n id: this.row.id || null,\n lDialog: this.width > 500 ? \"w700\" : \"w500\",\n dialogVisible: true,\n rules: {\n roleName: [{\n required: true,\n message: \"请输入角色名称\",\n trigger: \"change\"\n }],\n remark: [{\n required: true,\n message: \"请输入备注\",\n trigger: \"change\"\n }]\n // operUser: [{ required: true, message: \"请输入操作人\", trigger: \"change\" }],\n }\n };\n },\n mounted: function mounted() {},\n methods: {\n /*关闭弹窗 */handleClose: function handleClose() {\n var _this = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this.dialogVisible = true;\n });\n },\n /**确认弹窗 */sureBtnClick: function sureBtnClick() {\n var _this2 = this;\n this.dialogVisible = false;\n this.$emit(\"closeDialog\");\n setTimeout(function () {\n _this2.dialogVisible = true;\n });\n },\n /**验证 */submitForm: function submitForm(formName) {\n var _this3 = this;\n this.$refs[formName].validate(function (valid) {\n if (valid) {\n var data = {\n id: _this3.id,\n roleName: _this3.row.roleName,\n remark: _this3.row.remark\n // operUser:this.row.operUser, \n };\n _this3.$emit('submit', data);\n }\n });\n }\n }\n};",null]}