起始国、目的国加入非东南亚选项

This commit is contained in:
wuteng 2025-07-14 14:38:14 +08:00
parent 24459dc625
commit 3e6b8087f8
2 changed files with 4 additions and 0 deletions

View File

@ -161,7 +161,9 @@
listSimpleEmisCountry(queryParams).then(response => {
let allCountry={code:'-1',name:'全部',nameEn:'all'};
let allNoChinaCountry={code:'-2',name:'非中国',nameEn:'No China'};
let allNoSoutheastAsia ={code:'-3',name:'非东南亚',nameEn:'No Southeast Asia'};
this.optionItems =response.rows;
this.optionItems.unshift(allNoSoutheastAsia);
this.optionItems.unshift(allNoChinaCountry);
this.optionItems.unshift(allCountry);
// 初始值存储

View File

@ -204,6 +204,7 @@
<template slot-scope="scope">
<span v-if="scope.row.fromCountry=='-1'">全部</span>
<span v-if="scope.row.fromCountry=='-2'">非中国</span>
<span v-if="scope.row.fromCountry=='-3'">非东南亚</span>
<span v-else>{{ scope.row.fromCountryName }}</span>
</template>
</el-table-column>
@ -212,6 +213,7 @@
<template slot-scope="scope">
<span v-if="scope.row.country=='-1'">全部</span>
<span v-if="scope.row.country=='-2'">非中国</span>
<span v-if="scope.row.country=='-3'">非东南亚</span>
<span v-else>{{ scope.row.countryName }}</span>
</template>
</el-table-column>