{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\components\\dialog\\RejectInfoDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\components\\dialog\\RejectInfoDialog.vue","mtime":1681724619113},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\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//\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 name: 'RejectInfoDialog',\n data: function data() {\n return {\n visible: false,\n approvalComments: [],\n bhyyList: [],\n inptShow: false,\n text: '',\n api: '',\n status: '',\n form: {},\n rules: {\n type: {\n required: true,\n message: '请选择驳回理由',\n trigger: 'change'\n },\n detail: {\n required: true,\n message: '请输入详细驳回原因',\n trigger: 'blur'\n }\n },\n tableData: {\n data: [{\n type: '',\n detail: ''\n }]\n },\n changeIndex: -1\n };\n },\n created: function created() {\n var data = JSON.parse(sessionStorage.getItem('dict_data'));\n this.bhyyList = data.bhyy;\n },\n methods: {\n open: function open(api, status) {\n this.api = api;\n this.status = status;\n this.form = {};\n this.inptShow = false;\n this.visible = true;\n },\n close: function close() {\n this.visible = false; // this.$emit('sendRejectInfo', '')\n\n this.tableData.data = [{\n type: '',\n detail: ''\n }];\n this.changeIndex = -1;\n this.$refs.form.resetFields();\n },\n setInputShow: function setInputShow(e, index) {\n if (index != this.changeIndex && e) {\n this.tableData.data.push({\n type: '',\n detail: ''\n });\n this.changeIndex = index;\n } // this.inptShow = e.indexOf('其他') === -1 ? false : true\n\n },\n handleOverrule: function handleOverrule() {\n var _this = this;\n\n // let len = this.tableData.data.length\n // if (len > 1) {\n var arr = this.tableData.data.filter(function (item) {\n return item.type !== '';\n });\n this.$set(this.tableData, 'data', arr);\n this.$nextTick(function () {\n _this.$refs.form.validate(function (valid) {\n if (valid) {\n var _arr = _this.tableData.data.map(function (item) {\n return \"\".concat(item.type, \":\").concat(item.detail);\n });\n\n var approvalComments = _arr.join('$_$');\n\n _this.$emit('sendRejectInfo', approvalComments, _this.api, _this.status);\n\n _this.close();\n }\n });\n }); // } else {\n // this.$refs.form.validate(valid => {\n // if (valid) {\n // let arr = this.tableData.data.map(\n // item => `${item.type}:${item.detail}`\n // )\n // let approvalComments = arr.join('$_$')\n // this.$emit('sendRejectInfo', approvalComments, this.api, this.status)\n // this.close()\n // }\n // })\n // }\n // this.$refs.form.validate(valid => {\n // if (valid) {\n // let {approvalComments, text} = this.form\n // if (text) {\n // approvalComments = approvalComments.filter(item => item !== '其他')\n // text = '其他:' + text\n // approvalComments.push(text)\n // }\n // approvalComments = approvalComments.join('$_$') // 这不能改,否则将会影响其他页面回显\n // this.$emit('sendRejectInfo', approvalComments, this.api, this.status)\n // this.visible = false\n // }\n // })\n },\n addResult: function addResult() {\n this.tableData.data.push({\n type: '',\n detail: ''\n });\n },\n deleteDate: function deleteDate(index) {\n this.tableData.data.splice(index, 1);\n }\n }\n};",null]}