| | |
| | | <el-button class="addBtn" type="primary" @click="dialogCreate = true">新增违规类型</el-button> |
| | | <el-dialog :visible.sync="dialogCreate" title="新增违规类型" width="45%" v-if="dialogCreate" |
| | | :before-close="handleClose"> |
| | | <createUser :refresh="getUserList" /> |
| | | <createUser @changeDialog=changeDialog /> |
| | | </el-dialog> |
| | | </div> |
| | | </div> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="number" label="违规事项编号" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="typeThird" label="所属类型" min-width="10"> |
| | | <el-table-column prop="type" label="所属类型" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="typeSecond" label="所属大类" min-width="10"> |
| | | <el-table-column prop="typeFirst" label="所属大类" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="typeFirst" label="所属小类" min-width="10"> |
| | | <el-table-column prop="typeSecond" label="所属小类" min-width="10"> |
| | | </el-table-column> |
| | | <el-table-column prop="type" label="案由" min-width="45"> |
| | | <el-table-column prop="typeThird" label="案由" min-width="45"> |
| | | </el-table-column> |
| | | <el-table-column prop="operation" label="操作" min-width="10"> |
| | | <template slot-scope="scope"> |
| | |
| | | this.currentPage = page; |
| | | this.getUserList(); |
| | | }, |
| | | changeDialog(val) { |
| | | this.dialogUpdate = val.dialogUpdate; |
| | | console.log(val); |
| | | changeDialog({flag}) { |
| | | this.dialogCreate = flag; |
| | | this.dialogUpdate = flag; |
| | | this.getUserList(); |
| | | }, |
| | | handleClose(done) { |
| | | this.$confirm('确认关闭?') |