表格示例完成
Former-commit-id: cb061e9cb3f1d290e3a776a8b88d834226d668be [formerly cb061e9cb3f1d290e3a776a8b88d834226d668be [formerly cb061e9cb3f1d290e3a776a8b88d834226d668be [formerly cb061e9cb3f1d290e3a776a8b88d834226d668be [formerly fcef20ff04bd08ab432bc47ac75fb4e6483c2851 [formerly fa46aa095a6a2e8317207d6ab9862cc7f4b56339]]]]] Former-commit-id: 12745f3af51dabcf235c449e6f8b47ea0658b4c2 Former-commit-id: 020118a1c207454660f1e83e35dd834ac9493b74 Former-commit-id: d205e48a791b6afe1222c08943206ee238e92de8 [formerly dc747e67590f1042a5ac7b01ee86d4a9509cd920] Former-commit-id: 867a148b7da027dc469ef8e1964f593e6abfe86b Former-commit-id: d348819675978bf97305d79863fd72de108adad3 Former-commit-id: 8c8bcd05152b184547b8903de19a63ef262ed12c Former-commit-id: 375bf4f1cbce6b86e82e86bedf7951d0d800f97f Former-commit-id: 4b70e86cd638b19ed13371c86fa4b7be17528ae7
This commit is contained in:
@@ -6,17 +6,17 @@
|
||||
ref="form"
|
||||
size="mini"
|
||||
style="margin-bottom: -18px;">
|
||||
|
||||
|
||||
<el-form-item label="状态" prop="type">
|
||||
<el-select
|
||||
v-model="form.type"
|
||||
placeholder="状态选择"
|
||||
style="width: 100px;">
|
||||
<el-option label="状态 1" value="1"></el-option>
|
||||
<el-option label="状态 2" value="2"></el-option>
|
||||
<el-option label="状态 3" value="3"></el-option>
|
||||
<el-option label="状态 4" value="4"></el-option>
|
||||
<el-option label="状态 5" value="5"></el-option>
|
||||
<el-option label="状态 1" value="1"/>
|
||||
<el-option label="状态 2" value="2"/>
|
||||
<el-option label="状态 3" value="3"/>
|
||||
<el-option label="状态 4" value="4"/>
|
||||
<el-option label="状态 5" value="5"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<el-input
|
||||
v-model="form.user"
|
||||
placeholder="用户"
|
||||
style="width: 80px;"/>
|
||||
style="width: 100px;"/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="卡密" prop="key">
|
||||
@@ -44,7 +44,7 @@
|
||||
<el-form-item>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="submitForm">
|
||||
@click="handleFormSubmit">
|
||||
<d2-icon name="search"/>
|
||||
查询
|
||||
</el-button>
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
<el-form-item>
|
||||
<el-button
|
||||
@click="resetForm">
|
||||
@click="handleFormReset">
|
||||
<d2-icon name="refresh"/>
|
||||
重置
|
||||
</el-button>
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submitForm () {
|
||||
handleFormSubmit () {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.$emit('submit', this.form)
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
resetForm () {
|
||||
handleFormReset () {
|
||||
this.$refs.form.resetFields()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user