|
|
|
@ -16,13 +16,13 @@ |
|
|
|
|
<!-- <!– <a-input placeholder="请选择班组" v-model="model.groupxId" />–>--> |
|
|
|
|
<!-- <j-search-select-tag placeholder="请选择班组" v-model="model.groupxId" dict="groupx,group_name,id"/>--> |
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
<a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="班组成员"> |
|
|
|
|
<!-- <j-select-user-by-dep v-model="model.userId" :multi="false"></j-select-user-by-dep>--> |
|
|
|
|
<a-form-model-item :label-col="labelCol" :wrapper-col="wrapperCol" prop="userId" label="班组成员"> |
|
|
|
|
<!-- <j-select-user-by-dep v-model="model.userId" :multi="false"></j-select-user-by-dep>--> |
|
|
|
|
<j-select-multi-user placeholder="请选择成员" v-model="model.userId"></j-select-multi-user> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="joinTime" label="加入时间"> |
|
|
|
|
<a-date-picker showTime valueFormat='YYYY-MM-DD HH:mm:ss' v-model="model.joinTime"/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
<!-- <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="joinTime" label="加入时间">--> |
|
|
|
|
<!-- <a-date-picker showTime valueFormat='YYYY-MM-DD HH:mm:ss' v-model="model.joinTime"/>--> |
|
|
|
|
<!-- </a-form-model-item>--> |
|
|
|
|
|
|
|
|
|
</a-form-model> |
|
|
|
|
</a-spin> |
|
|
|
@ -54,11 +54,11 @@ export default { |
|
|
|
|
confirmLoading: false, |
|
|
|
|
validatorRules: { |
|
|
|
|
userId: [ |
|
|
|
|
{required: true}, |
|
|
|
|
{required: true, message: "成员不能为空"}, |
|
|
|
|
], |
|
|
|
|
joinTime: [ |
|
|
|
|
{required: true}, |
|
|
|
|
] |
|
|
|
|
// joinTime: [ |
|
|
|
|
// {required: true}, |
|
|
|
|
// ] |
|
|
|
|
}, |
|
|
|
|
url: { |
|
|
|
|
add: "/groupxMember/add", |
|
|
|
|