| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <div class="search_form"> |
| | | <div class="search_form mb20"> |
| | | <div> |
| | | <span class="search_title">危险源名称:</span> |
| | | <el-input v-model="searchForm.name" |
| | |
| | | </el-form> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">取消</el-button> |
| | | <el-button type="primary" |
| | | @click="submitForm">确定</el-button> |
| | | <el-button @click="dialogVisible = false">取消</el-button> |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | |
| | | stockQty: "", |
| | | type: "", |
| | | }); |
| | | delete form.value.id; |
| | | } else if (type === "edit" && row) { |
| | | dialogTitle.value = "编辑危险源"; |
| | | Object.assign(form.value, { |