Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-08-16 15:07:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b061a1437a5be8acfd6e1d7ee3ab2a7faadaa4a8
b061a143
1 parent
d255af8c
modify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
src/views/systemConfig/dictionaryConfig/index.vue
src/views/systemConfig/dictionaryConfig/index.vue
View file @
b061a14
...
...
@@ -100,11 +100,11 @@
}}<i class="el-icon-link"></i> </el-link>
</template>
<template slot="optionColumn">
<el-table-column label="是否为ET86航线" align="center">
<
!-- <
el-table-column label="是否为ET86航线" align="center">
<template slot-scope="scope">
<el-checkbox v-model="scope.row.isEtesRoute" @change="checkboxIsEtesRoute(scope)"></el-checkbox>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete"
...
...
@@ -366,15 +366,16 @@ export default {
} else if (this.tableName === '虚拟航班') {
this.flightDel([val.id])
} else if (this.tableName === '航线') {
this.routeDel({ data: [val], id: [val.id] })
/*
如果该航线是普通航线直接删,如果是ET86航线,那么要查询该航线有没有设置维度,
如果没有直接删,如果已经设置了维度是否考虑将该航线下的维度删掉再进行操作;
*/
if(!val.isEtesRoute){ // 普通航线
this.routeDel({ data: [val], id: [val.id] })
}else{ // ET86航线
//
if(!val.isEtesRoute){ // 普通航线
//
this.routeDel({ data: [val], id: [val.id] })
//
}else{ // ET86航线
}
//
}
} else {
this.dicDel([val.id])
}
...
...
Please
register
or
login
to post a comment