| | |
| | | <el-dialog |
| | | v-model="dialogVisible" |
| | | :title="title" |
| | | width="50%" |
| | | width="900px" |
| | | :before-close="handleClose" |
| | | :close-on-press-escape="false" |
| | | :close-on-click-modal="false" |
| | |
| | | factorContents = i.factorContents |
| | | } |
| | | }) |
| | | if(!factorContents[0].influence){ |
| | | factorContents = factorContents.map(item => { |
| | | return { |
| | | ...item, |
| | | influence:'正面', |
| | | monitorMethod:'每年管理评审前', |
| | | review:'全面评价', |
| | | solutions:'可控', |
| | | result:'Y', |
| | | |
| | | } |
| | | }) |
| | | } |
| | | state.form.outEnvironment = factorContents.filter(i => i.type == 1) |
| | | state.form.inEnvironment = factorContents.filter(i => i.type == 2) |
| | | } |