This commit is contained in:
77
2024-04-27 18:14:53 +08:00
parent 50dd6f854f
commit 6cdb644ee2
4 changed files with 73 additions and 48 deletions

View File

@@ -158,44 +158,40 @@
<el-collapse-item title="择偶条件" name="filter">
<el-descriptions :contentStyle="CS" :label-style="LS " class="margin-top" :column="3" size="medium" border>
<el-descriptions-item label="择偶条件-年龄">
<span v-if="!info.userInfo.filterAge">不限</span>
<span v-if="info.userInfo.filterAge">{{info.userInfo.filterAge}}</span>
<span v-if="info.userInfo.filterAge == '0'">不限</span>
<span v-if="info.userInfo.filterAge != '0'">{{info.userInfo.filterAge}}</span>
</el-descriptions-item>
<el-descriptions-item label="择偶条件-身高">
<span v-if="!info.userInfo.filterHeight">不限</span>
<span v-if="info.userInfo.filterHeight">{{info.userInfo.filterHeight}}</span>
<span v-if="info.userInfo.filterHeight == '0'">不限</span>
<span v-if="info.userInfo.filterHeight != '0'">{{info.userInfo.filterHeight}}</span>
</el-descriptions-item>
<el-descriptions-item label="择偶条件-体型">
<span v-if="!info.userInfo.filterSomatotype">不限</span>
<cai-dict-tag v-if="info.userInfo.filterSomatotype" :options="userSomatotypeList" :value="info.userInfo.filterSomatotype" empty-value="-" split-value="&"/>
<span v-if="info.userInfo.filterSomatotype == '0'">不限</span>
<cai-dict-tag v-if="info.userInfo.filterSomatotype != '0'" :options="userSomatotypeList" :value="info.userInfo.filterSomatotype" empty-value="-" split-value="&"/>
</el-descriptions-item>
<el-descriptions-item label="择偶条件-婚况">
<span v-if="!info.userInfo.filterMarriage">不限</span>
<cai-dict-tag v-if="info.userInfo.filterMarriage" :options="userMarriageList" :value="info.userInfo.filterMarriage" empty-value="-" split-value="&"/>
<span v-if="info.userInfo.filterMarriage == '0'">不限</span>
<cai-dict-tag v-if="info.userInfo.filterMarriage != '0'" :options="userMarriageList" :value="info.userInfo.filterMarriage" empty-value="-" split-value="&"/>
</el-descriptions-item>
<el-descriptions-item label="择偶条件-学历">
<span v-if="!info.userInfo.filterEducation">不限</span>
<cai-dict-tag v-if="info.userInfo.filterEducation" :options="userEducationList" :value="info.userInfo.filterEducation" empty-value="-" split-value="&" />
</el-descriptions-item>
<el-descriptions-item label="择偶条件-地区">
<span v-if="!info.userInfo.filterResidence">不限</span>
<span v-if="info.userInfo.filterResidence">{{info.userInfo.filterResidence}}</span>
<span v-if="info.userInfo.filterEducation == '0'">不限</span>
<cai-dict-tag v-if="info.userInfo.filterEducation != '0'" :options="userEducationList" :value="info.userInfo.filterEducation" empty-value="-" split-value="&" />
</el-descriptions-item>
<!-- <el-descriptions-item label="择偶条件-地区">
<span v-if="!info.userInfo.filterResidence == '0'">不限</span>
<span v-if="info.userInfo.filterResidence != '0'">{{info.userInfo.filterResidence}}</span>
</el-descriptions-item>-->
<el-descriptions-item label="择偶条件-年收入">
<span v-if="!info.userInfo.filterAnnualIncome">不限</span>
<cai-dict-tag v-if="info.userInfo.filterAnnualIncome" :options="userAnnualIncomeList" :value="info.userInfo.filterAnnualIncome" />
<cai-dict-tag :options="userFilterAnnualIncomeList" :value="info.userInfo.filterAnnualIncome" />
</el-descriptions-item>
<el-descriptions-item label="择偶条件-小孩情况">
<span v-if="!info.userInfo.filterChildStatus">不限</span>
<cai-dict-tag v-if="info.userInfo.filterChildStatus" :options="userFilterChildStatusList" :value="info.userInfo.filterChildStatus" />
<cai-dict-tag :options="userFilterChildStatusList" :value="info.userInfo.filterChildStatus" />
</el-descriptions-item>
<el-descriptions-item label="择偶条件-住房情况">
<span v-if="!info.userInfo.filterHousingStatus">不限</span>
<cai-dict-tag v-if="info.userInfo.filterHousingStatus" :options="userFilterHouseStatusList" :value="info.userInfo.filterHousingStatus" />
<cai-dict-tag :options="userFilterHouseStatusList" :value="info.userInfo.filterHousingStatus" />
</el-descriptions-item>
<el-descriptions-item label="择偶条件-购车情况">
<span v-if="!info.userInfo.filterCarStatus">不限</span>
<cai-dict-tag v-if="info.userInfo.filterCarStatus" :options="userFilterCarStatusList" :value="info.userInfo.filterCarStatus" />
<cai-dict-tag :options="userFilterCarStatusList" :value="info.userInfo.filterCarStatus" />
</el-descriptions-item>
</el-descriptions>
</el-collapse-item>
@@ -241,7 +237,11 @@ import {
userDrinkStatusList,
userEducationList,
userFamilyBackgroundList,
userFamilyRankingList, userFilterCarStatusList, userFilterChildStatusList, userFilterHouseStatusList,
userFamilyRankingList,
userFilterAnnualIncomeList,
userFilterCarStatusList,
userFilterChildStatusList,
userFilterHouseStatusList,
userFindTagList,
userForPersonalsList,
userHousingStatusList,
@@ -271,6 +271,7 @@ export default {
userFindTagList,appUserTypeList,
videoStatusList,onlineStatusList,memberTypeList,
userFilterCarStatusList,userFilterChildStatusList,userFilterHouseStatusList,
userFilterAnnualIncomeList,
booleanList,
activeName:['base','account','userAlbums'],
CS: {