Commit 7acc358b authored by renjintao's avatar renjintao

task

parent 59b43946
......@@ -3,7 +3,7 @@
<Row>
<Col :span="12">
<FormItem :label="l('userId')" prop="userId">
<InputNumber v-model="entity.userId"></InputNumber>
<UserSelect ref="userSelected" v-model="entity.userId" />
</FormItem>
</Col>
<Col :span="12">
......
......@@ -35,7 +35,8 @@
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('userId')" prop="userId"> <Input v-model="entity.userId"> </Input>
<FormItem :label="l('userId')" prop="userId">
<UserSelect ref="userSelected" v-model="entity.userId" /></Input>
</FormItem>
</Col>
<Col :span="24">
......@@ -121,7 +122,13 @@ export default {
required: true,
message: '必填',
trigger: 'blur'
}]
}],
userId: [{
required: true,
message: "请选择人员",
trigger: "change",
type: "number"
}],
}
}
},
......
......@@ -38,7 +38,8 @@
</FormItem>
</Col>
<Col :span="12">
<FormItem :label="l('userId')" prop="userId"> <Input v-model="entity.userId"> </Input>
<FormItem :label="l('userId')" prop="userId">
<UserSelect ref="userSelected" v-model="entity.userId" /></Input>
</FormItem>
</Col>
<Col :span="12">
......@@ -96,7 +97,13 @@ export default {
required: true,
message: '必填',
trigger: 'blur'
}]
}],
userId: [{
required: true,
message: "请选择人员",
trigger: "change",
type: "number"
}],
}
}
},
......
......@@ -233,7 +233,7 @@ export default {
{
title: '操作',
key: 'action',
width: 140,
width: 200,
align: 'center',
render: (h, params) => {
return h('div', {
......@@ -271,6 +271,17 @@ export default {
click: () => this.edit(params.row.id)
}
}),
h('op', {
attrs: {
icon: "ios-close",
type: "icon",
title: "完成",
color: "#19be6b",
},
on: {
click: () => this.edit(params.row.id)
}
}),
h('op', {
attrs: {
icon: "ios-create-outline",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment