| | |
| | | </el-dialog> |
| | | <Packages ref="bbb" :baogao="baogao" /> |
| | | <proposal ref="proposal" :cusobj="cusobj" @event1="eventchange($event)" /> |
| | | <createproposal ref="createproposal" :textarea1="textarea1" /> |
| | | |
| | | <createproposal ref="createproposal" :dataText="dataText" /> |
| | | |
| | | <el-dialog |
| | | title="常用建议维护" |
| | | :visible.sync="propdialog" |
| | | width="500px" |
| | | append-to-body |
| | | > |
| | | |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | Historicalreport, |
| | | jianqianwenzhen, |
| | | Packages, |
| | | proposal,createproposal |
| | | proposal, |
| | | createproposal, |
| | | }, |
| | | dicts: [ |
| | | "dict_tjtype", |
| | |
| | | remarks: "", |
| | | remark: "", |
| | | propdialog: false, |
| | | propform: {}, |
| | | proIds: "", |
| | | cusobj: {}, |
| | | xiaojie: "", |
| | |
| | | Deptobj: "", |
| | | // 点击参数 |
| | | changedate: [], |
| | | dataText: [], |
| | | status: {}, |
| | | // 查询参数 |
| | | queryParams: { |
| | |
| | | // this.$refs.proposal.getList(); |
| | | }, |
| | | eventchange(data) { |
| | | this.dataText = data |
| | | data.forEach((item) => { |
| | | this.textarea1 += item.advice |
| | | this.textarea1 += item.advice; |
| | | }); |
| | | }, |
| | | proposalChange() { |
| | | this.$refs.createproposal.open = true; |
| | | this.$refs.createproposal.title = "常用建议维护"; |
| | | if (this.dataText.length != 0) { |
| | | this.$refs.createproposal.open = true; |
| | | this.$refs.createproposal.title = "常用建议维护"; |
| | | }else{ |
| | | this.$message({ |
| | | type: "warning ", |
| | | message: "请先填写总检建议", |
| | | }); |
| | | } |
| | | }, |
| | | radiotjprojectChange() { |
| | | if (this.tjproject == "0") { |
| | |
| | | cancel() { |
| | | this.propdialog = false; |
| | | }, |
| | | submitpropForm() {}, |
| | | |
| | | // 是否关闭弹窗 |
| | | handleClose(done) { |