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-18 10:06:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dff410813ee6d17568b628b843242b5b048065ca
dff41081
1 parent
8e8a6f8f
取消是否ET86勾选
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/views/systemConfig/dictionaryConfig/dialog.vue
src/views/systemConfig/dictionaryConfig/dialog.vue
View file @
dff4108
...
...
@@ -150,7 +150,7 @@ export default {
watch: {
open(val, oldVal) {
if (val) {
this.newDictionary = { flightNo: undefined, chineseName: undefined }
this.newDictionary = { flightNo: undefined, chineseName: undefined
, isEtesRoute: false
}
if (this.status == 'add') {
this.title = '新增'
} else if (this.status == 'allAdd') {
...
...
@@ -209,6 +209,7 @@ export default {
}
addRoute(obj).then(res => {
this.loading = false
this.newDictionary.isEtesRoute = false
if (res.code === 200) {
this.msgSuccess(res.msg)
this.close()
...
...
@@ -217,6 +218,7 @@ export default {
}
}).catch(err => {
this.loading = false
this.newDictionary.isEtesRoute = false
console.log(err)
})
} else {
...
...
@@ -329,7 +331,7 @@ export default {
},
//关闭
close() {
this.newDictionary = { chineseName: null, code: null, remark: null }
this.newDictionary = { chineseName: null, code: null, remark: null
, isEtesRoute: false
}
this.routeList = []
this.clearValidate('add')
this.$emit('close', false)
...
...
Please
register
or
login
to post a comment