{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\components\\dialog\\RejectInfoBlockDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\components\\dialog\\RejectInfoBlockDialog.vue","mtime":1716801010586},{"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\r\nexport default {\r\n name: 'RejectInfoDialog',\r\n data() {\r\n return {\r\n visible: false,\r\n approvalComments: [],\r\n bhyyList: [],\r\n inptShow: false,\r\n text: '',\r\n api: '',\r\n status: '',\r\n form: {},\r\n rules: {\r\n detail: {\r\n required: true,\r\n message: '请输入详细驳回原因',\r\n trigger: 'blur',\r\n },\r\n },\r\n tableData: {\r\n data: [{type: '', detail: ''}],\r\n },\r\n changeIndex: -1,\r\n }\r\n },\r\n created() {\r\n let data = JSON.parse(sessionStorage.getItem('dict_data'))\r\n this.bhyyList = data.bhyy\r\n },\r\n methods: {\r\n open(api, status) {\r\n this.api = api\r\n this.status = status\r\n this.form = {}\r\n this.inptShow = false\r\n this.visible = true\r\n },\r\n close() {\r\n this.visible = false\r\n this.tableData.data = [{type: '', detail: ''}]\r\n this.changeIndex = -1\r\n this.$refs.form.resetFields()\r\n },\r\n setInputShow(e, index) {\r\n if (index != this.changeIndex && e) {\r\n this.tableData.data.push({type: '', detail: ''})\r\n this.changeIndex = index\r\n }\r\n },\r\n handleOverrule() {\r\n this.$nextTick(() => {\r\n this.$refs.form.validate((valid) => {\r\n if (valid) {\r\n let approvalComments = this.tableData.data[0].detail\r\n this.$emit(\r\n 'sendRejectInfo',\r\n approvalComments,\r\n this.api,\r\n this.status\r\n )\r\n this.close()\r\n }\r\n })\r\n })\r\n },\r\n addResult() {\r\n this.tableData.data.push({type: '', detail: ''})\r\n },\r\n deleteDate(index) {\r\n this.tableData.data.splice(index, 1)\r\n },\r\n },\r\n}\r\n",null]}