| | |
| | | >提交</el-button |
| | | > |
| | | </div> |
| | | |
| | | |
| | | <el-dialog title="接触毒物" :visible.sync="dialogTableVisible"> |
| | | <el-table :data="gridData" @selection-change="handleSelectionChange"> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column property="date" label="序号" width="150"></el-table-column> |
| | | <el-table-column property="value" label="毒物" width="200"></el-table-column> |
| | | </el-table> |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogTableVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="dialogFormVisible">确 定</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | jiwangbingshi: true, |
| | | diseaseNames: "", |
| | | zhenghuzangList: [], |
| | | dialogTableVisible: false, |
| | | multipleSelection: [], |
| | | gridData: [ |
| | | { |
| | | value: "既往病", |
| | | label: "既往病", |
| | | }, |
| | | { |
| | | value: "职业病", |
| | | label: "职业病", |
| | | }, |
| | | ], |
| | | options: [ |
| | | { |
| | | value: "既往病", |
| | |
| | | |
| | | |
| | | change(){ |
| | | console.log(111) |
| | | this.multipleSelection =[] |
| | | this.dialogTableVisible = true |
| | | }, |
| | | |
| | | handleSelectionChange(val) { |
| | | this.multipleSelection = val; |
| | | }, |
| | | |
| | | dialogFormVisible(){ |
| | | this.multipleSelection.forEach((item) => { |
| | | this.form.contactPoison += item.value + "," |
| | | }) |
| | | this.dialogTableVisible = false |
| | | }, |
| | | |
| | | delememberss() { |