exam support priority + peer suppoert ipv4&ipv6

This commit is contained in:
xiaomlove
2022-04-18 19:07:35 +08:00
parent 107da8e335
commit 55138da862
46 changed files with 302 additions and 115 deletions
+8 -1
View File
@@ -38,6 +38,11 @@
</el-radio-group>
</el-form-item>
<el-form-item label="Priority" prop="priority">
<el-input v-model="formData.priority" type="number" placeholder=""></el-input>
<div style="color: #aaa">The higher the value, the higher the priority, and when multiple exam match the same user, the one with the highest priority is assigned.</div>
</el-form-item>
<el-form-item label="Begin" prop="begin">
<el-date-picker
v-model="formData.begin"
@@ -131,7 +136,8 @@ export default {
donate_status: []
},
status: '',
is_discovered: ''
is_discovered: '',
priority: ''
},
rules: {
name: [
@@ -162,6 +168,7 @@ export default {
state.formData.filters = res.data.filters
state.formData.status = res.data.status
state.formData.is_discovered = res.data.is_discovered
state.formData.priority = res.data.priority
})
}
})
+8 -1
View File
@@ -69,6 +69,13 @@
<el-table-column
prop="is_discovered_text"
label="Discovered"
width="110"
>
</el-table-column>
<el-table-column
prop="priority"
label="Priority"
>
</el-table-column>
@@ -80,7 +87,7 @@
<el-table-column
label="Action"
width="100"
width="120"
>
<template #default="scope">
<a style="cursor: pointer; margin-right: 10px" @click="handleEdit(scope.row.id)">Edit</a>