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
jinhui.wang
2022-02-24 16:37:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0c2997fae266899d482a88d04ba2d8e647bdf6cc
0c2997fa
1 parent
894ebc60
代码更新
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
47 deletions
src/layout/components/Sidebar/index.vue
src/router/index.js
src/views/allocationConfig/cargoAllocation/index.vue
src/views/basicInformation/caPreReviewImport/index.vue
src/views/basicInformation/queryCargo/index.vue
src/layout/components/Sidebar/index.vue
View file @
0c2997f
...
...
@@ -9,7 +9,7 @@
}"
>
<logo v-if="showLogo" :collapse="isCollapse" />
<
!-- <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"> --
>
<
el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"
>
<el-menu
:default-active="activeMenu"
:collapse="isCollapse"
...
...
@@ -36,7 +36,7 @@
/>
</el-menu>
<div class="version">{{ version }}</div>
<
!-- </el-scrollbar> --
>
<
/el-scrollbar
>
</div>
</template>
...
...
src/router/index.js
View file @
0c2997f
...
...
@@ -62,7 +62,7 @@ export const constantRoutes = [
path
:
'index'
,
component
:
(
resolve
)
=>
require
([
'@/views/index'
],
resolve
),
name
:
'首页'
,
meta
:
{
title
:
'首页'
,
icon
:
'
dashboard
'
,
noCache
:
true
,
affix
:
true
}
meta
:
{
title
:
'首页'
,
icon
:
'
home
'
,
noCache
:
true
,
affix
:
true
}
}
]
},
...
...
src/views/allocationConfig/cargoAllocation/index.vue
View file @
0c2997f
...
...
@@ -454,6 +454,15 @@ export default {
},
{
type: "",
name: "服务代码",
value: "serviceCode",
width: "150",
align: "center",
sorTable: false,
fixed:false,
},
{
type: "",
name: "URSA",
value: "ursa",
width: "150",
...
...
@@ -823,26 +832,47 @@ export default {
};
},
created() {
this.seleData()
this.select()
},
mounted() {
window.addEventListener("keydown", (code) => {
if (code.keyCode === 16 && code.shiftKey) {
this.shiftKey = true;
}
});
window.addEventListener("keyup", (code) => {
if (code.keyCode === 16) {
this.shiftKey = false;
}
});
},
methods: {
//查询条件
new Promise((resolve, reject) => {
let obj = {};
findFltConditionDataApi()
.then((res) => {
if (res.code === 200) {
obj.flightType = res.data.flightType;
} else {
reject(res.msg);
}
})
.catch(() => {});
async seleData() {
// findFltConditionDataApi()
// .then((res) => {
// if (res.code === 200) {
// this.selectData.fltTypes = res.data.flightType;
// }else{
// this.$message({
// message: "查询条件不存在",
// type: "warning",
// });
// }
// })
// .catch(() => {});
allDictData()
.then((res) => {
if (res.code === 200) {
obj.HandlingCode = res.data.handlingCode;
obj.SubCategory = res.data.subCategory;
} else {
reject(res.msg);
this.selectData.HandlingCode = res.data.handlingCode;
this.selectData.SubCategory = res.data.subCategory;
}else{
this.$message({
message: "查询条件不存在",
type: "warning",
});
}
})
.catch(() => {});
...
...
@@ -850,36 +880,16 @@ export default {
findConditionData()
.then((res) => {
if (res.code == 200) {
obj.findConditionData = res.data;
} else {
reject(res.msg);
this.selectData.findConditionData = res.data;
}else{
this.$message({
message: "查询条件不存在",
type: "warning",
});
}
resolve(obj)
})
.catch(() => {});
this.select();
}).then(res=>{
this.selectData = res
}).catch((err) => {
this.$message({
message: "查询条件不存在",
type: "warning",
});
});
},
mounted() {
window.addEventListener("keydown", (code) => {
if (code.keyCode === 16 && code.shiftKey) {
this.shiftKey = true;
}
});
window.addEventListener("keyup", (code) => {
if (code.keyCode === 16) {
this.shiftKey = false;
}
});
},
methods: {
},
//查询
select() {
this.loading = true;
...
...
src/views/basicInformation/caPreReviewImport/index.vue
View file @
0c2997f
...
...
@@ -36,8 +36,7 @@
</el-table>
</div>
</template>
</div>
</template>
<script>
import {
downLoadTemplate,
...
...
src/views/basicInformation/queryCargo/index.vue
View file @
0c2997f
...
...
@@ -395,6 +395,15 @@ export default {
},
{
type: "",
name: "服务代码",
value: "serviceCode",
width: "150",
align: "center",
sorTable: false,
fixed:false,
},
{
type: "",
name: "URSA",
value: "ursa",
width: "150",
...
...
Please
register
or
login
to post a comment