|
|
@@ -57,7 +57,7 @@
|
|
|
<el-form-item label="可报名人员类型" prop="conditions.typeCheck">
|
|
|
<el-checkbox-group v-model="checkedVipLevels" @change="handleCheckedChange">
|
|
|
<el-checkbox v-for="city in form.conditions.typeCheck" :key="city" :label="city" :value="city">
|
|
|
- {{ selectDictLabels(lm_check_join_type, city.vipLevel, ',') }}
|
|
|
+ {{ selectDictLabels(dm_check_join_type, city.vipLevel, ',') }}
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
<div @click="handleCheckAllChange(true)" v-if="!checkAll" class="pl-10 c-s-p">
|
|
|
@@ -94,7 +94,7 @@
|
|
|
<div v-if="form.conditions.levelTotalCheck == '1' && form.conditions.cpyTotalCheck == '0'" class="pl-10 pr-10 pt-5 pb-5 border">
|
|
|
<template v-for="(item, index) in form.conditions.levelCheck" :key="index">
|
|
|
<div class="d-flex a-c" v-if="checkedVipLevels.some(items => items.vipLevel === item.vipLevel)">
|
|
|
- <el-checkbox v-model="item.check" true-value="1" false-value="0" :label="'所有' + selectDictLabels(lm_check_join_type, item.vipLevel, ',') + '参会人数≤'" size="large" />
|
|
|
+ <el-checkbox v-model="item.check" true-value="1" false-value="0" :label="'所有' + selectDictLabels(dm_check_join_type, item.vipLevel, ',') + '参会人数≤'" size="large" />
|
|
|
<el-input class="pl-10" v-model="item.total" maxlength="20" placeholder="请输入报名人数" :disabled="!+item.check" />
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -106,7 +106,7 @@
|
|
|
<div v-if="form.conditions.cpyTotalCheck == '1' && form.conditions.levelTotalCheck == '0'" class="pl-10 pr-10 pt-5 pb-5 border">
|
|
|
<template v-for="(item, index) in form.conditions.cpyCheck" :key="index">
|
|
|
<div class="d-flex a-c" v-if="checkedVipLevels.some(items => items.vipLevel === item.vipLevel)">
|
|
|
- <el-checkbox v-model="item.check" :label="selectDictLabels(lm_check_join_type, item.vipLevel, ',') + '限制每家单位人数≤'" size="large" true-value="1" false-value="0" />
|
|
|
+ <el-checkbox v-model="item.check" :label="selectDictLabels(dm_check_join_type, item.vipLevel, ',') + '限制每家单位人数≤'" size="large" true-value="1" false-value="0" />
|
|
|
<el-input class="pl-10" v-model="item.total" maxlength="20" placeholder="请输入报名人数" :disabled="!+item.check" />
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -118,7 +118,7 @@
|
|
|
<div class="pl-10 pr-10 pt-5 pb-5 ">
|
|
|
<template v-for="(item, index) in form.conditions.levelCheck" :key="index">
|
|
|
<div class="d-flex a-c" v-if="checkedVipLevels.some(items => items.vipLevel === item.vipLevel)">
|
|
|
- <el-checkbox v-model="item.check" :label="'所有' + selectDictLabels(lm_check_join_type, item.vipLevel, ',') + '参会人数≤'" size="large" true-value="1" false-value="0" />
|
|
|
+ <el-checkbox v-model="item.check" :label="'所有' + selectDictLabels(dm_check_join_type, item.vipLevel, ',') + '参会人数≤'" size="large" true-value="1" false-value="0" />
|
|
|
<el-input class="pl-10" v-model="item.total" maxlength="20" placeholder="请输入报名人数" :disabled="!+item.check" />
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -126,7 +126,7 @@
|
|
|
<div class="pl-10 pr-10 pt-5 pb-5">
|
|
|
<template v-for="(item, index) in form.conditions.cpyCheck" :key="index">
|
|
|
<div class="d-flex a-c" v-if="checkedVipLevels.some(items => items.vipLevel === item.vipLevel)">
|
|
|
- <el-checkbox v-model="item.check" :label="selectDictLabels(lm_check_join_type, item.vipLevel, ',') + '限制每家单位人数≤'" size="large" true-value="1" false-value="0" />
|
|
|
+ <el-checkbox v-model="item.check" :label="selectDictLabels(dm_check_join_type, item.vipLevel, ',') + '限制每家单位人数≤'" size="large" true-value="1" false-value="0" />
|
|
|
<el-input class="pl-10" v-model="item.total" maxlength="20" placeholder="请输入报名人数" :disabled="!+item.check" />
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -297,7 +297,7 @@ import { FieldDefinition } from '../models/type';
|
|
|
import meetingCustomPreview from '../models/meeting-custom-preview.vue';
|
|
|
import MeetingEditors from '../models/meeting-editors.vue';
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
-const { lm_training_join_type, yes_no, lm_training_cert, lm_check_join_type } = toRefs<any>(proxy?.useDict('lm_training_join_type', 'yes_no', 'lm_training_cert', 'lm_check_join_type'));
|
|
|
+const { lm_training_join_type, yes_no, lm_training_cert, dm_check_join_type } = toRefs<any>(proxy?.useDict('lm_training_join_type', 'yes_no', 'lm_training_cert', 'dm_check_join_type'));
|
|
|
const fields = ref<FieldDefinition[]>([])
|
|
|
const showSignIn = ref(false);
|
|
|
const fixedField = ref<FieldDefinition[]>([{
|
|
|
@@ -354,28 +354,17 @@ const form = ref<any>({
|
|
|
vipLevel: "1",
|
|
|
check: "0"
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
vipLevel: "3",
|
|
|
check: "0"
|
|
|
},
|
|
|
{
|
|
|
- vipLevel: "5",
|
|
|
- check: "0"
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "6",
|
|
|
- check: "0"
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "7",
|
|
|
- check: "0"
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "9",
|
|
|
+ vipLevel: "4",
|
|
|
check: "0"
|
|
|
},
|
|
|
{
|
|
|
- vipLevel: "10",
|
|
|
+ vipLevel: "5",
|
|
|
check: "0"
|
|
|
}
|
|
|
],
|
|
|
@@ -391,27 +380,13 @@ const form = ref<any>({
|
|
|
vipLevel: '3',
|
|
|
check: "0",
|
|
|
total: ''
|
|
|
- }, {
|
|
|
- vipLevel: '5',
|
|
|
- check: "0",
|
|
|
- total: ''
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "6",
|
|
|
+ },{
|
|
|
+ vipLevel: '4',
|
|
|
check: "0",
|
|
|
total: ''
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "7",
|
|
|
- check: "0",
|
|
|
- total: ''
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "9",
|
|
|
+ }, {
|
|
|
+ vipLevel: '5',
|
|
|
check: "0",
|
|
|
- },
|
|
|
- {
|
|
|
- vipLevel: "10",
|
|
|
total: ''
|
|
|
}],
|
|
|
cpyCheck: [{
|
|
|
@@ -426,24 +401,12 @@ const form = ref<any>({
|
|
|
vipLevel: '3',
|
|
|
check: "0",
|
|
|
total: ''
|
|
|
- }, {
|
|
|
- vipLevel: '5',
|
|
|
- check: "0",
|
|
|
- total: ''
|
|
|
- }, {
|
|
|
- vipLevel: '6',
|
|
|
+ },{
|
|
|
+ vipLevel: '4',
|
|
|
check: "0",
|
|
|
total: ''
|
|
|
}, {
|
|
|
- vipLevel: '7',
|
|
|
- check: "0",
|
|
|
- total: ''
|
|
|
- }, {
|
|
|
- vipLevel: '9',
|
|
|
- check: "0",
|
|
|
- total: ''
|
|
|
- }, {
|
|
|
- vipLevel: '10',
|
|
|
+ vipLevel: '5',
|
|
|
check: "0",
|
|
|
total: ''
|
|
|
}]
|