{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\yhxt-web\\src\\mixins\\uploadMixin.js","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\mixins\\uploadMixin.js","mtime":1681377303674},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\n\n/*\r\n * @Description: \r\n * @Author: @liulin\r\n * @Date: 2023-04-12 14:14:15\r\n * @LastEditors: Do not edit\r\n * @LastEditTime: 2023-04-13 15:11:15\r\n */\nimport fileUpload from '@/components/upload/fileUploadProject.vue';\nexport var uploadMixin = {\n components: {\n fileUpload: fileUpload\n },\n data: function data() {\n return {\n dadToSon: {\n bizPath: 'specialproject',\n fileList: []\n },\n accessories: []\n };\n },\n methods: {\n sonToDad: function sonToDad(data) {\n console.log(data);\n var arr = [];\n data.forEach(function (item) {\n arr.push({\n isDele: item.isDele,\n attachmentName: item.name,\n attachmentPath: item.url,\n attachmentSuffix: item.suffix,\n attachmentType: item.type,\n type: 0\n });\n });\n this.accessories = arr;\n this.form.accessories = arr; // 防止用户打开了文件选择框之后不选择文件而出现效验失败\n\n if (this.form.accessories) {\n this.$refs.ruleForm.clearValidate('accessories');\n }\n },\n handleClose: function handleClose(done) {\n this.dadToSon.fileList = [];\n done();\n },\n handleCancel: function handleCancel() {\n this.dialogVisible = false;\n this.form = {};\n this.tableData = [];\n this.dadToSon.fileList = [];\n }\n }\n};",null]}