|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<a-form :form="form">
|
|
|
|
|
<a-row>
|
|
|
|
|
<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
|
|
|
|
|
placeholder="请选择用户"
|
|
|
|
|
mode="multiple"
|
|
|
|
@ -22,7 +22,16 @@
|
|
|
|
|
:not-found-content="null"
|
|
|
|
|
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">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</a-select-option>
|
|
|
|
@ -139,7 +148,6 @@ export default {
|
|
|
|
|
// values[key] = JSON.stringify(values[key])
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
console.log(values)
|
|
|
|
|
BookingTemplateAddPrinttemplateRight(values)
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|