增加使用组件显示配置

This commit is contained in:
xuli3099
2025-08-06 14:56:08 +08:00
parent e82b75ab78
commit dfb105ee9a

View File

@@ -18,18 +18,18 @@
<uni-forms ref="formRef" :model="formData" :rules="rules" label-width="100px" label-position="top"> <uni-forms ref="formRef" :model="formData" :rules="rules" label-width="100px" label-position="top">
<uni-forms-item label="客户人员" name="guestName1" class="f-c-right"> <uni-forms-item label="客户人员" name="guestName1" class="f-c-right">
<multipleSelect :multiple="true" :value="monIndex1" downInner :options="guestList1" <multipleSelect :multiple="true" :value="monIndex1" downInner :options="guestList1"
@change="changeValue1" :key="Math.round()" @change="changeValue1" :key="Math.round()" :slabel="'label'"
></multipleSelect> ></multipleSelect>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="我方参与人" name="guestName2" class="f-c-right"> <uni-forms-item label="我方参与人" name="guestName2" class="f-c-right">
<multipleSelect :multiple="true" :value="monIndex2" downInner :options="guestList2" <multipleSelect :multiple="true" :value="monIndex2" downInner :options="guestList2"
@change="changeValue2" :key="Math.round()" @change="changeValue2" :key="Math.round()" :slabel="'label'"
></multipleSelect> ></multipleSelect>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="活动内容" name="activeCon" required <uni-forms-item label="活动内容" name="activeCon" required
class="uni-forms-item is-direction-top is-top"> class="uni-forms-item is-direction-top is-top">
<multipleSelect :multiple="true" :value="monIndex3" downInner :options="guestList3" <multipleSelect :multiple="true" :value="monIndex3" downInner :options="guestList3"
@change="changeValue3" :key="Math.round()" @change="changeValue3" :key="Math.round()" :slabel="'label'"
></multipleSelect> ></multipleSelect>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="活动文字" name="activeTxt" class="uni-forms-item is-direction-top is-top"> <uni-forms-item label="活动文字" name="activeTxt" class="uni-forms-item is-direction-top is-top">
@@ -92,11 +92,11 @@ const changeValue1 = (item, value) => {
monIndex1 = value; monIndex1 = value;
}; };
const guestList1 = [ const guestList1 = [
{ value: 0, text: "客户1" }, { value: 0, label: "客户1" },
{ value: 1, text: "客户2" }, { value: 1, label: "客户2" },
{ value: 2, text: "客户3" }, { value: 2, label: "客户3" },
{ value: 3, text: "客户4" }, { value: 3, label: "客户4" },
{ value: 4, text: "客户5" }, { value: 4, label: "客户5" },
]; ];
// 我方人员 // 我方人员
@@ -106,11 +106,11 @@ const changeValue2 = (item, value) => {
monIndex2 = value; monIndex2 = value;
}; };
const guestList2 = [ const guestList2 = [
{ value: 0, text: "我方1" }, { value: 0, label: "我方1" },
{ value: 1, text: "我方2" }, { value: 1, label: "我方2" },
{ value: 2, text: "我方3" }, { value: 2, label: "我方3" },
{ value: 3, text: "我方4" }, { value: 3, label: "我方4" },
{ value: 4, text: "我方5" }, { value: 4, label: "我方5" },
]; ];
// 活动内容 // 活动内容
@@ -120,11 +120,11 @@ const changeValue3 = (item, value) => {
monIndex2 = value; monIndex2 = value;
}; };
const guestList3 = [ const guestList3 = [
{ value: 0, text: "活动内容1" }, { value: 0, label: "活动内容1" },
{ value: 1, text: "活动内容2" }, { value: 1, label: "活动内容2" },
{ value: 2, text: "活动内容3" }, { value: 2, label: "活动内容3" },
{ value: 3, text: "活动内容4" }, { value: 3, label: "活动内容4" },
{ value: 4, text: "活动内容5" }, { value: 4, label: "活动内容5" },
]; ];
// 业务招待 // 业务招待