| | |
| | | // BASE_API: '"http://192.168.0.35:8006"', |
| | | // IMG_API: '"http://192.168.0.35:8006/upload/"', |
| | | |
| | | // BASE_API: '"http://192.168.0.8:8006"', |
| | | // IMG_API: '"http://192.168.0.8:8006/upload/"', |
| | | BASE_API: '"http://192.168.0.8:8006"', |
| | | IMG_API: '"http://192.168.0.8:8006/upload/"', |
| | | |
| | | // BASE_API: '"http://192.168.0.35:8006"', |
| | | // IMG_API: '"http://192.168.0.35:8006/upload/"', |
| | | // BASE_API: '"http://192.168.0.62:8006"', |
| | | // IMG_API: '"http://192.168.0.62:8006/upload/"', |
| | | BASE_API: '"http://222.92.213.22:8006/zhongtai"', |
| | | IMG_API: '"http://222.92.213.22:8006/zhongtai/upload/"', |
| | | // BASE_API: '"http://222.92.213.22:8006/zhongtai"', |
| | | // IMG_API: '"http://222.92.213.22:8006/zhongtai/upload/"', |
| | | // NANO_API: '"http://222.92.213.22:8006/nanoweb"', |
| | | // ZT_API:'"http://123.56.127.115:8011"' |
| | | // BASE_API: '"http://localhost:8006"', |
| | |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API + '/riskAnaUnit/export', |
| | | method: 'post', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API + '/riskEvent/export', |
| | | method: 'post', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | 'Authorization': getToken() |
| | | }, |
| | | url: process.env.BASE_API + '/riskControlMeasure/export', |
| | | method: 'post', |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | </el-table-column> |
| | | <el-table-column label="检查类型" prop="hazardLiablePerson" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="周期" prop="timeEffect" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="单位" prop="timeUnit" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="创建人" prop="createBy" align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="创建时间" prop="createTime" align="center"> |
| | |
| | | <el-form-item label="隐患排查内容" prop="troubleshootContent"> |
| | | <el-input type="textarea" :rows="4" v-model="riskControlMeasureForm.troubleshootContent" class="analyseUnit_input"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="周期" prop="timeEffect"> |
| | | <el-input v-model="riskControlMeasureForm.timeEffect" type="number" class="analyseUnit_input"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="单位" prop="timeUnit"> |
| | | <el-select v-model="riskControlMeasureForm.timeUnit" class="analyseUnit_input"> |
| | | <el-option |
| | | v-for="item in timeUnitList" |
| | | :key="item.id" |
| | | :value="item.name" |
| | | :label="item.name" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div align="right"> |
| | | <el-button @click="riskControlMeasureVisible = false">取消</el-button> |
| | |
| | | classifyOneList:[], |
| | | classifyTwoList:[], |
| | | riskControlMeasureIdList:[], |
| | | timeUnitList:[{id:1,name:'天'},{id:1,name:'周'},{id:1,name:'月'},], |
| | | listLoading: false, |
| | | showCurrent:true, |
| | | showOther:false, |
| | |
| | | classify2: [{ required: true, message: '管控措施分类2不能为空', trigger: 'change' }], |
| | | classify3: [{ required: true, message: '管控措施分类3不能为空', trigger: 'blur' }], |
| | | troubleshootContent: [{ required: true, message: '隐患排查内容不能为空', trigger: 'change' }], |
| | | timeEffect: [{ required: true, message: '周期不能为空', trigger: 'blur' }], |
| | | timeUnit: [{ required: true, message: '单位不能为空', trigger: 'change' }], |
| | | }, |
| | | riskControlMeasureForm:{ |
| | | id: null, |
| | |
| | | createBy: "", |
| | | updateBy: "", |
| | | riskEvent: { |
| | | } |
| | | }, |
| | | timeEffect:"", |
| | | timeUnit:"", |
| | | }, |
| | | listQuery:{ |
| | | pageIndex:1, |
| | |
| | | createBy: "", |
| | | updateBy: "", |
| | | riskEvent: { |
| | | } |
| | | }, |
| | | timeEffect:"", |
| | | timeUnit:"", |
| | | } |
| | | }else{ |
| | | this.title = '修改' |