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-09-08 18:27:38 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
78e186c83b98244507c027d68acdabbfe58fd444
78e186c8
2 parents
1456ed0c
78cd9478
modify
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
14 deletions
src/api/system/dictionary.js
src/views/systemConfig/dictionaryConfig/dialog.vue
src/views/systemConfig/dictionaryConfig/index.vue
src/api/system/dictionary.js
View file @
78e186c
...
...
@@ -204,4 +204,3 @@ export function checkFlightRoute(data) {
data
:
data
})
}
...
...
src/views/systemConfig/dictionaryConfig/dialog.vue
View file @
78e186c
...
...
@@ -33,9 +33,12 @@
<el-input type="text" v-model="newDictionary.route" placeholder="请输入航线" maxlength="40">
</el-input>
</el-form-item>
<<<<<<< HEAD
<!-- <el-form-item label="是否为ET86航线">
<el-checkbox v-model="newDictionary.isEtesRoute"></el-checkbox>
</el-form-item> -->
=======
>>>>>>> fix-issues
<el-form-item>
<div style="color:#ff4949;line-height: 30px;">注意:此处不能添加虚拟航班!</div>
</el-form-item>
...
...
@@ -111,7 +114,7 @@ export default {
},
data() {
return {
newDictionary: { flightNo: undefined, chineseName: undefined, route: undefined
, isEtesRoute: false
},
newDictionary: { flightNo: undefined, chineseName: undefined, route: undefined },
rules: {
chineseName: [
{
...
...
@@ -205,7 +208,6 @@ export default {
let obj = {
fltNo: this.upCase(this.newDictionary.fltNo),
route: this.upCase(this.newDictionary.route),
// isEtesRoute: this.newDictionary.isEtesRoute == true ? "Y" : "N"
}
addRoute(obj).then(res => {
this.loading = false
...
...
src/views/systemConfig/dictionaryConfig/index.vue
View file @
78e186c
...
...
@@ -225,16 +225,6 @@ export default {
mounted() {
this.tableHeight = window.innerHeight - this.$refs.dictForm.$el.offsetHeight - 270
},
filters: {
// 是否为ET86航线
isEtesRoute(val) {
if(val == "N"){
return "否"
}else{
return "是"
}
},
},
watch: {
tableName(val, oldVal) {
this.tableName = val
...
...
@@ -343,7 +333,7 @@ export default {
} else if (this.tableName === '虚拟航班') {
this.flightDel([val.id])
} else if (this.tableName === '航线') {
this.routeDel({ data: [val], id: [val.id] })
this.routeDel({ data: [val], id: [val.id] })
} else {
this.dicDel([val.id])
}
...
...
Please
register
or
login
to post a comment