|
|
@ -11,7 +11,7 @@
|
|
|
|
<a-form :form="form">
|
|
|
|
<a-form :form="form">
|
|
|
|
<a-row>
|
|
|
|
<a-row>
|
|
|
|
<a-col :span="24">
|
|
|
|
<a-col :span="24">
|
|
|
|
<a-form-item label="用户" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<!-- <a-form-item label="用户" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
<a-select
|
|
|
|
<a-select
|
|
|
|
placeholder="请选择用户"
|
|
|
|
placeholder="请选择用户"
|
|
|
|
mode="multiple"
|
|
|
|
mode="multiple"
|
|
|
@ -22,7 +22,16 @@
|
|
|
|
:not-found-content="null"
|
|
|
|
:not-found-content="null"
|
|
|
|
v-decorator="['userIdList', { rules: [{ required: true, message: '请选择用户!' }] }]"
|
|
|
|
v-decorator="['userIdList', { rules: [{ required: true, message: '请选择用户!' }] }]"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<!-- v-decorator="['sysUserId', { rules: [{ required: true, message: '请选择用户!' }] }]" -->
|
|
|
|
<a-select-option v-for="item in UserList" :key="item.id" :value="item.id">
|
|
|
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
|
|
|
</a-select-option>
|
|
|
|
|
|
|
|
</a-select>
|
|
|
|
|
|
|
|
</a-form-item> -->
|
|
|
|
|
|
|
|
<a-form-item label="用户" :labelCol="labelCol2" :wrapperCol="wrapperCol2" has-feedback>
|
|
|
|
|
|
|
|
<a-select
|
|
|
|
|
|
|
|
placeholder="请选择用户"
|
|
|
|
|
|
|
|
v-decorator="['sysUserId', { rules: [{ required: true, message: '请选择用户!' }] }]"
|
|
|
|
|
|
|
|
>
|
|
|
|
<a-select-option v-for="item in UserList" :key="item.id" :value="item.id">
|
|
|
|
<a-select-option v-for="item in UserList" :key="item.id" :value="item.id">
|
|
|
|
{{ item.name }}
|
|
|
|
{{ item.name }}
|
|
|
|
</a-select-option>
|
|
|
|
</a-select-option>
|
|
|
@ -139,7 +148,6 @@ export default {
|
|
|
|
// values[key] = JSON.stringify(values[key])
|
|
|
|
// values[key] = JSON.stringify(values[key])
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
console.log(values)
|
|
|
|
|
|
|
|
BookingTemplateAddPrinttemplateRight(values)
|
|
|
|
BookingTemplateAddPrinttemplateRight(values)
|
|
|
|
.then(res => {
|
|
|
|
.then(res => {
|
|
|
|
if (res.success) {
|
|
|
|
if (res.success) {
|
|
|
|