| | |
| | | <el-dialog |
| | | v-model="dialogVisible" |
| | | :title="title" |
| | | width="50%" |
| | | width="900px" |
| | | :before-close="handleClose" |
| | | :close-on-press-escape="false" |
| | | :close-on-click-modal="false" |
| | |
| | | <el-form :model="state.form" size="default" ref="busRef" :rules="state.rules" > |
| | | <el-row :gutter="24"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="企业名称:" prop="companyId" v-if="state.isAdmin"> |
| | | <el-form-item label="单位名称:" prop="companyId" v-if="state.isAdmin"> |
| | | <el-select v-model="state.form.companyId" placeholder="请选择" filterable clearable style="width: 100%" :disabled="title == '查看' || title == '编辑' || !state.isAdmin" @change="selectValueCom"> |
| | | <el-option |
| | | v-for="item in state.companyList" |
| | |
| | | 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) |
| | | } |