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 11:01:53 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
8ae2aa818e434704a0d14dd902ac01547f6cd50d
8ae2aa81
2 parents
dc220f46
5785a908
Merge branch 'fix-issues' into uat
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
43 deletions
src/api/system/dictionary.js
src/views/systemConfig/dictionaryConfig/index.vue
src/api/system/dictionary.js
View file @
8ae2aa8
...
...
@@ -205,11 +205,3 @@ export function checkFlightRoute(data) {
})
}
//更新航线
export
function
updateRoute
(
data
)
{
return
request
({
url
:
`/dictionary/updateRoute`
,
method
:
"post"
,
data
:
data
,
});
}
...
...
src/views/systemConfig/dictionaryConfig/index.vue
View file @
8ae2aa8
...
...
@@ -506,41 +506,6 @@ export default {
serviceCodeTableSelectAll(val) {
this.nowSelect = val
},
// 确认消息提示
confirmHandle($index, row){
this.$confirm(row.msg, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
center: true,
})
.then(() => {
let params = {
id: row.id,
fltNo: row.fltNo,
route: row.route,
isEtesRoute: row.isEtesRoute ? "Y" : "N"
}
this.updateRouteSubmit(params);
})
.catch(() => {
this.tableData[$index].isEtesRoute = !this.tableData[$index].isEtesRoute;
});
},
// checkBox是否设置ET86航线
checkboxIsEtesRoute({ $index, row }){
if(!row.isEtesRoute){
/*
将ET86设置成普通航线要查询校验该航线有没有设置维度,
如果该航线设置了ET86维度是否考虑将该航线下的维度删掉再进行操作;
*/
row.msg = "是否将该航线设置为非ET86航线?";
this.confirmHandle($index, row)
}else{
row.msg = "是否将该航线设置为ET86航线?";
this.confirmHandle($index, row)
}
}
}
}
</script>
...
...
Please
register
or
login
to post a comment