jinhui.wang

bug修复

1 <template> 1 <template>
2 <div class="navbar"> 2 <div class="navbar">
3 - <hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" /> 3 + <hamburger
4 - 4 + id="hamburger-container"
5 - <breadcrumb id="breadcrumb-container" class="breadcrumb-container" v-if="!topNav"/> 5 + :is-active="sidebar.opened"
6 - <top-nav id="topmenu-container" class="topmenu-container" v-if="topNav"/> 6 + class="hamburger-container"
7 + @toggleClick="toggleSideBar"
8 + />
9 +
10 + <breadcrumb
11 + id="breadcrumb-container"
12 + class="breadcrumb-container"
13 + v-if="!topNav"
14 + />
15 + <top-nav id="topmenu-container" class="topmenu-container" v-if="topNav" />
7 16
8 <div class="right-menu"> 17 <div class="right-menu">
9 - <template v-if="device!=='mobile'"> 18 + <template v-if="device !== 'mobile'"> </template>
10 -
11 - </template>
12 19
13 - <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click"> 20 + <el-dropdown
21 + class="avatar-container right-menu-item hover-effect"
22 + trigger="click"
23 + >
14 <div class="avatar-wrapper"> 24 <div class="avatar-wrapper">
15 - <img :src="avatar" class="user-avatar"> 25 + <img :src="avatar" class="user-avatar" />
16 - <!-- <i class="el-icon-caret-bottom" /> -->
17 </div> 26 </div>
18 <el-dropdown-menu slot="dropdown"> 27 <el-dropdown-menu slot="dropdown">
19 - <router-link to="/user/profile"> 28 + <!-- <el-dropdown-item @click.native.stop="drawer = true">个人中心</el-dropdown-item> -->
20 - <el-dropdown-item>个人中心</el-dropdown-item> 29 + <el-dropdown-item @click.native="logout">
21 - </router-link>
22 - <el-dropdown-item divided @click.native="logout">
23 <span>退出登录</span> 30 <span>退出登录</span>
24 </el-dropdown-item> 31 </el-dropdown-item>
25 </el-dropdown-menu> 32 </el-dropdown-menu>
26 </el-dropdown> 33 </el-dropdown>
34 + <el-select
35 + v-model="locale"
36 + size="mini"
37 + @change="local"
38 + style="width: 75px;top:-17px;right:7px"
39 + >
40 + <el-option label="中文" value="zh"> </el-option>
41 + <el-option label="英文" value="en"> </el-option>
42 + </el-select>
27 </div> 43 </div>
44 + <Profile :drawer="drawer" @drawerHandleClose="drawerHandleClose"></Profile>
28 </div> 45 </div>
29 </template> 46 </template>
30 47
31 <script> 48 <script>
32 -import { mapGetters } from 'vuex' 49 +import { mapGetters } from "vuex";
33 -import Breadcrumb from '@/components/Breadcrumb' 50 +import Breadcrumb from "@/components/Breadcrumb";
34 -import TopNav from '@/components/TopNav' 51 +import TopNav from "@/components/TopNav";
35 -import Hamburger from '@/components/Hamburger' 52 +import Hamburger from "@/components/Hamburger";
53 +import Profile from "@/views/systemConfig/userConfig/profile/index";
36 54
37 export default { 55 export default {
38 components: { 56 components: {
39 Breadcrumb, 57 Breadcrumb,
40 TopNav, 58 TopNav,
41 - Hamburger 59 + Hamburger,
60 + Profile,
61 + },
62 + data() {
63 + return {
64 + drawer: false,
65 + locale: "zh",
66 + };
42 }, 67 },
43 computed: { 68 computed: {
44 - ...mapGetters([ 69 + ...mapGetters(["sidebar", "avatar", "device"]),
45 - 'sidebar',
46 - 'avatar',
47 - 'device'
48 - ]),
49 setting: { 70 setting: {
50 get() { 71 get() {
51 - return this.$store.state.settings.showSettings 72 + return this.$store.state.settings.showSettings;
52 }, 73 },
53 set(val) { 74 set(val) {
54 - this.$store.dispatch('settings/changeSetting', { 75 + this.$store.dispatch("settings/changeSetting", {
55 - key: 'showSettings', 76 + key: "showSettings",
56 - value: val 77 + value: val,
57 - }) 78 + });
58 - } 79 + },
59 }, 80 },
60 topNav: { 81 topNav: {
61 get() { 82 get() {
62 - return this.$store.state.settings.topNav 83 + return this.$store.state.settings.topNav;
63 - } 84 + },
64 - } 85 + },
65 }, 86 },
66 methods: { 87 methods: {
67 toggleSideBar() { 88 toggleSideBar() {
68 - this.$store.dispatch('app/toggleSideBar') 89 + this.$store.dispatch("app/toggleSideBar");
69 }, 90 },
70 async logout() { 91 async logout() {
71 - this.$confirm('确定注销并退出系统吗?', '提示', { 92 + this.$confirm("确定注销并退出系统吗?", "提示", {
72 - confirmButtonText: '确定', 93 + confirmButtonText: "确定",
73 - cancelButtonText: '取消', 94 + cancelButtonText: "取消",
74 - type: 'warning' 95 + type: "warning",
75 }).then(() => { 96 }).then(() => {
76 - this.$store.dispatch('LogOut').then(() => { 97 + this.$store.dispatch("LogOut").then(() => {
77 - location.href = '/index'; 98 + location.href = "/index";
78 - }) 99 + // window.location.href = "https://test.secure.fedex.com/logout";//wsso系统跳转
79 - }) 100 + });
80 - } 101 + });
81 - } 102 + },
82 -} 103 + drawerHandleClose(val) {
104 + this.drawer = val;
105 + },
106 + local(val) {
107 + this.$i18n.locale = val; //此处val为 zh 或者 en
108 + },
109 + },
110 +};
83 </script> 111 </script>
84 112
85 <style lang="scss" scoped> 113 <style lang="scss" scoped>
...@@ -88,18 +116,18 @@ export default { ...@@ -88,18 +116,18 @@ export default {
88 overflow: hidden; 116 overflow: hidden;
89 position: relative; 117 position: relative;
90 background: #fff; 118 background: #fff;
91 - box-shadow: 0 1px 4px rgba(0,21,41,.08); 119 + box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
92 120
93 .hamburger-container { 121 .hamburger-container {
94 line-height: 46px; 122 line-height: 46px;
95 height: 100%; 123 height: 100%;
96 float: left; 124 float: left;
97 cursor: pointer; 125 cursor: pointer;
98 - transition: background .3s; 126 + transition: background 0.3s;
99 - -webkit-tap-highlight-color:transparent; 127 + -webkit-tap-highlight-color: transparent;
100 128
101 &:hover { 129 &:hover {
102 - background: rgba(0, 0, 0, .025) 130 + background: rgba(0, 0, 0, 0.025);
103 } 131 }
104 } 132 }
105 133
...@@ -136,16 +164,16 @@ export default { ...@@ -136,16 +164,16 @@ export default {
136 164
137 &.hover-effect { 165 &.hover-effect {
138 cursor: pointer; 166 cursor: pointer;
139 - transition: background .3s; 167 + transition: background 0.3s;
140 168
141 &:hover { 169 &:hover {
142 - background: rgba(0, 0, 0, .025) 170 + background: rgba(0, 0, 0, 0.025);
143 } 171 }
144 } 172 }
145 } 173 }
146 174
147 .avatar-container { 175 .avatar-container {
148 - margin-right: 30px; 176 + margin-right: 15px;
149 177
150 .avatar-wrapper { 178 .avatar-wrapper {
151 margin-top: 5px; 179 margin-top: 5px;
......
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
88 } 88 }
89 .el-scrollbar__wrap { 89 .el-scrollbar__wrap {
90 // height: 49px; 90 // height: 49px;
91 - margin-top:8px; 91 + margin-top:4px;
92 } 92 }
93 } 93 }
94 } 94 }
......
...@@ -225,7 +225,7 @@ export default { ...@@ -225,7 +225,7 @@ export default {
225 225
226 <style lang="scss" scoped> 226 <style lang="scss" scoped>
227 .tags-view-container { 227 .tags-view-container {
228 - height: 50px; 228 + height: 33px;
229 width: 100%; 229 width: 100%;
230 background: #fff; 230 background: #fff;
231 border-bottom: 1px solid #d8dce5; 231 border-bottom: 1px solid #d8dce5;
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
243 padding: 0 8px; 243 padding: 0 8px;
244 font-size: 12px; 244 font-size: 12px;
245 margin-left: 5px; 245 margin-left: 5px;
246 - margin-top: 4px; 246 + // margin-top: 4px;
247 &:first-of-type { 247 &:first-of-type {
248 margin-left: 15px; 248 margin-left: 15px;
249 } 249 }
......
...@@ -9,9 +9,9 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' ...@@ -9,9 +9,9 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
9 const service = axios.create({ 9 const service = axios.create({
10 // axios中请求配置有baseURL选项,表示请求URL公共部分 10 // axios中请求配置有baseURL选项,表示请求URL公共部分
11 //baseURL: process.env.VUE_APP_BASE_API, 11 //baseURL: process.env.VUE_APP_BASE_API,
12 - baseURL: `http://47.103.140.98:9002`, //阿里云服务器 12 + baseURL: `http://47.103.140.98:7002/IMAC2`, //阿里云服务器
13 // baseURL: 'https://imacuat.zmd.apac.fedex.com/IMAC2', //uat服务器 13 // baseURL: 'https://imacuat.zmd.apac.fedex.com/IMAC2', //uat服务器
14 - // baseURL: 'http://192.168.1.134:18080', //测试服务器 14 + // baseURL: 'http://192.168.1.133:7001/IMAC2', //测试服务器
15 15
16 // 超时 16 // 超时
17 timeout: 30000 17 timeout: 30000
......
...@@ -6,8 +6,8 @@ const mimeMap = { ...@@ -6,8 +6,8 @@ const mimeMap = {
6 zip: 'application/zip' 6 zip: 'application/zip'
7 } 7 }
8 // const baseUrl = 'https://imacuat.zmd.apac.fedex.com/IMAC2' //uat服务器 8 // const baseUrl = 'https://imacuat.zmd.apac.fedex.com/IMAC2' //uat服务器
9 -const baseUrl = 'http://47.103.140.98:9002' //阿里云服务器 9 +const baseUrl = 'http://47.103.140.98:7002/IMAC2' //阿里云服务器
10 -// const baseUrl = 'http://192.168.1.134:18080' //测试服务器 10 +// const baseUrl = 'http://192.168.1.133:7001/IMAC2' //测试服务器
11 export function downLoadZip(str, filename) { 11 export function downLoadZip(str, filename) {
12 var url = baseUrl + str 12 var url = baseUrl + str
13 axios({ 13 axios({
......
1 <template> 1 <template>
2 <div class="app-container"> 2 <div class="app-container">
3 <el-form :model="queryParams" ref="queryForm" :inline="true"> 3 <el-form :model="queryParams" ref="queryForm" :inline="true">
4 - <el-form-item label="原航班" prop="sourceFlightNo"> 4 +
5 - <el-input v-model="queryParams.sourceFlightNo" placeholder="请输入原航班" clearable size="small" /> 5 + <el-form-item label="原航班">
6 + <el-input type="text" v-model="upCase" placeholder="请输入原航班" clearable class="formItem"></el-input>
7 + <!-- <el-input v-model="upCase" placeholder="请输入原航班" clearable size="small" /> -->
6 </el-form-item> 8 </el-form-item>
7 <el-form-item label="状态" prop="status"> 9 <el-form-item label="状态" prop="status">
8 <el-select v-model="queryParams.status" placeholder="请选择" clearable size="small"> 10 <el-select v-model="queryParams.status" placeholder="请选择" clearable size="small">
...@@ -37,7 +39,9 @@ ...@@ -37,7 +39,9 @@
37 39
38 40
39 <el-table v-loading="loading" :data="sourceFlightRulesList"> 41 <el-table v-loading="loading" :data="sourceFlightRulesList">
40 - 42 + <el-table-column type="index" label="序号" align="center">
43 + <template slot-scope="scope">{{ scope.$index + 1 }}</template>
44 + </el-table-column>
41 <el-table-column label="原航班" align="center" prop="sourceFlightNo" /> 45 <el-table-column label="原航班" align="center" prop="sourceFlightNo" />
42 <el-table-column label="配载航班排序" align="center" prop="flightRank" width="280" /> 46 <el-table-column label="配载航班排序" align="center" prop="flightRank" width="280" />
43 <!-- <el-table-column label="优先级" align="center" prop="priority" /> --> 47 <!-- <el-table-column label="优先级" align="center" prop="priority" /> -->
...@@ -52,9 +56,9 @@ ...@@ -52,9 +56,9 @@
52 <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button> 56 <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button>
53 <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDeleteorPlayorpause(scope.row,0,'删除')"> 57 <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDeleteorPlayorpause(scope.row,0,'删除')">
54 删除</el-button> 58 删除</el-button>
55 - <el-button size="mini" type="text" icon="el-icon-video-play" v-if="scope.row.status == '3'" 59 + <el-button size="mini" type="text" icon="el-icon-video-play" v-if="scope.row.status == '3'"
56 @click="handleDeleteorPlayorpause(scope.row,1,'启用')">启用</el-button> 60 @click="handleDeleteorPlayorpause(scope.row,1,'启用')">启用</el-button>
57 - <el-button size="mini" type="text" icon="el-icon-video-pause" v-if="scope.row.status == '1'" 61 + <el-button size="mini" type="text" icon="el-icon-video-pause" v-if="scope.row.status != '3'"
58 @click="handleDeleteorPlayorpause(scope.row,3,'停用')">停用</el-button> 62 @click="handleDeleteorPlayorpause(scope.row,3,'停用')">停用</el-button>
59 </template> 63 </template>
60 </el-table-column> 64 </el-table-column>
...@@ -67,13 +71,16 @@ ...@@ -67,13 +71,16 @@
67 <!-- 查看目的航班对话框 --> 71 <!-- 查看目的航班对话框 -->
68 <el-dialog title="实际配载航班" :visible.sync="openFlightDate" width="70%" :close-on-click-modal="false" :append-to-body="true"> 72 <el-dialog title="实际配载航班" :visible.sync="openFlightDate" width="70%" :close-on-click-modal="false" :append-to-body="true">
69 <el-table v-loading="loadingFlightDate" :data="sourceFlightAndFlightDate"> 73 <el-table v-loading="loadingFlightDate" :data="sourceFlightAndFlightDate">
70 - 74 + <el-table-column type="index" label="序号" align="center">
75 + <template slot-scope="scope">{{ scope.$index + 1 }}</template>
76 + </el-table-column>
71 <el-table-column label="原航班" align="center" prop="sourceFlightNo" /> 77 <el-table-column label="原航班" align="center" prop="sourceFlightNo" />
72 <el-table-column label="实际配载航班" align="center" prop="actualFlight" width="280" /> 78 <el-table-column label="实际配载航班" align="center" prop="actualFlight" width="280" />
73 <el-table-column label="航班日期" align="center" prop="flightDate" /> 79 <el-table-column label="航班日期" align="center" prop="flightDate" />
74 <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200"> 80 <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
75 <template slot-scope="scope"> 81 <template slot-scope="scope">
76 - <el-button size="mini" type="text" icon="el-icon-edit" @click="handleClick(scope.row.sourceFlightNo, 'detail')">查看配置维度</el-button> 82 + <el-button size="mini" type="text" icon="el-icon-edit"
83 + @click="handleClick(scope.row.actualFlight, 'detail')">查看配置维度</el-button>
77 </template> 84 </template>
78 </el-table-column> 85 </el-table-column>
79 </el-table> 86 </el-table>
...@@ -84,7 +91,7 @@ ...@@ -84,7 +91,7 @@
84 91
85 92
86 <!-- 添加或修改对话框 --> 93 <!-- 添加或修改对话框 -->
87 - <el-dialog :title="title" :visible.sync="open" width="60%" :close-on-click-modal="false" :append-to-body="true"> 94 + <el-dialog :title="title" :visible.sync="open" width="55%" :append-to-body="true" :close-on-click-modal="false">
88 <el-form ref="form" :model="form" :rules="rules" label-width="100px"> 95 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
89 <el-row> 96 <el-row>
90 <el-col :span="10"> 97 <el-col :span="10">
...@@ -94,7 +101,7 @@ ...@@ -94,7 +101,7 @@
94 </el-col> 101 </el-col>
95 </el-row> 102 </el-row>
96 <el-row> 103 <el-row>
97 - <el-col :span="12"> 104 + <el-col :span="8">
98 <el-form-item label="有效开始时间" prop="startDate"> 105 <el-form-item label="有效开始时间" prop="startDate">
99 <el-date-picker clearable size="small" :picker-options="pickerOptionsStart" v-model="form.startDate" 106 <el-date-picker clearable size="small" :picker-options="pickerOptionsStart" v-model="form.startDate"
100 type="date" value-format="yyyy-MM-dd" placeholder="选择开始时间"> 107 type="date" value-format="yyyy-MM-dd" placeholder="选择开始时间">
...@@ -110,8 +117,8 @@ ...@@ -110,8 +117,8 @@
110 </el-col> 117 </el-col>
111 118
112 <el-col :span="24" style="margin-bottom: 5%;"> 119 <el-col :span="24" style="margin-bottom: 5%;">
113 - <span style="color: red;margin-left: 10%;">提示:配载航班之同请用分号分隔【符号不区分中英文】,例:CA1053:C7433</span><br /> 120 + <span style="color: red;margin-left: 10%;">提示:配载航班之同请用分号分隔【符号不区分中英文】,例:CA1053;C7433</span><br />
114 - <span style="color: red;margin-left: 10%;">提示:如果需要设置配载航班延迟或提前可以直接在目的航斑后加减【+-】天数。如:CA1053+1:CZ433-1</span> 121 + <span style="color: red;margin-left: 10%;">提示:如果需要设置配载航班延迟或提前可以直接在目的航斑后加减【+-】天数。如:CA1053+1;CZ433-1</span>
115 </el-col> 122 </el-col>
116 <el-col :span="24"> 123 <el-col :span="24">
117 <el-form-item label="配载航班" prop="flightRank"> 124 <el-form-item label="配载航班" prop="flightRank">
...@@ -186,7 +193,7 @@ ...@@ -186,7 +193,7 @@
186 statusList: [{ 193 statusList: [{
187 'id': 1, 194 'id': 1,
188 'name': '有效' 195 'name': '有效'
189 - },{ 196 + }, {
190 'id': 3, 197 'id': 3,
191 'name': '停用' 198 'name': '停用'
192 }], 199 }],
...@@ -230,9 +237,13 @@ ...@@ -230,9 +237,13 @@
230 //跳转到查看,修改页面 237 //跳转到查看,修改页面
231 handleClick(flightiId, handle) { 238 handleClick(flightiId, handle) {
232 this.$router.push({ 239 this.$router.push({
233 - name: "Info", 240 + name: "flightAllocConfigInfo",
234 - params: { handle: handle, id: flightiId }, 241 + params: {
242 + handle: handle,
243 + id: flightiId
244 + },
235 }); 245 });
246 +
236 }, 247 },
237 /** 查询原航班顺位规则*/ 248 /** 查询原航班顺位规则*/
238 findSourceFlightRules() { 249 findSourceFlightRules() {
...@@ -270,14 +281,14 @@ ...@@ -270,14 +281,14 @@
270 this.dayOfWeek = []; 281 this.dayOfWeek = [];
271 this.open = true; 282 this.open = true;
272 this.title = "修改原航班顺位规则"; 283 this.title = "修改原航班顺位规则";
273 - this.form = row; 284 + this.form = JSON.parse(JSON.stringify(row));
274 this.dayOfWeek = this.form.dayOfWeek ? this.form.dayOfWeek.split(";") : []; 285 this.dayOfWeek = this.form.dayOfWeek ? this.form.dayOfWeek.split(";") : [];
275 //this.form.dayOfWeek = this.form.dayOfWeek ? this.form.dayOfWeek.split(";") : []; 286 //this.form.dayOfWeek = this.form.dayOfWeek ? this.form.dayOfWeek.split(";") : [];
276 287
277 }, 288 },
278 /** 删除 启用 停用按钮操作 */ 289 /** 删除 启用 停用按钮操作 */
279 handleDeleteorPlayorpause(row, status, statusText) { 290 handleDeleteorPlayorpause(row, status, statusText) {
280 - debugger 291 + // debugger
281 //删除前需要停用 292 //删除前需要停用
282 if (status === 0 && row.status != '3') { 293 if (status === 0 && row.status != '3') {
283 this.$message({ 294 this.$message({
...@@ -314,8 +325,17 @@ ...@@ -314,8 +325,17 @@
314 this.$refs["form"].validate(valid => { 325 this.$refs["form"].validate(valid => {
315 if (valid) { 326 if (valid) {
316 this.form.dayOfWeek = this.dayOfWeek.sort(); 327 this.form.dayOfWeek = this.dayOfWeek.sort();
328 + let formdata = JSON.parse(JSON.stringify(this.form));
329 + formdata.sourceFlightNo=formdata.sourceFlightNo.trim().toUpperCase();
330 + formdata.flightRank=formdata.flightRank.trim().toUpperCase();
331 + if (formdata.startDate === undefined || formdata.startDate == null) {
332 + formdata.startDate = "";
333 + }
334 + if (formdata.endDate === undefined || formdata.endDate == null) {
335 + formdata.endDate = "";
336 + }
317 //处理数据 337 //处理数据
318 - sourceFlightRulesSaveApi(this.form).then(response => { 338 + sourceFlightRulesSaveApi(formdata).then(response => {
319 if (response.code === 200) { 339 if (response.code === 200) {
320 this.msgSuccess("保存成功"); 340 this.msgSuccess("保存成功");
321 this.open = false; 341 this.open = false;
...@@ -372,13 +392,14 @@ ...@@ -372,13 +392,14 @@
372 // 取消按钮 392 // 取消按钮
373 cancel() { 393 cancel() {
374 this.open = false; 394 this.open = false;
375 - // this.reset(); 395 + //this.reset();
376 }, 396 },
377 // 状态字典翻译 397 // 状态字典翻译
378 statusFormat(row) { 398 statusFormat(row) {
399 +
379 if (row.status === '1') { 400 if (row.status === '1') {
380 return '有效' 401 return '有效'
381 - } else if (row.status === '2') { 402 + } else if (row.status === '0') {
382 return '执行中' 403 return '执行中'
383 } else if (row.status === '3') { 404 } else if (row.status === '3') {
384 return '停用' 405 return '停用'
...@@ -387,6 +408,7 @@ ...@@ -387,6 +408,7 @@
387 }, 408 },
388 /** 重置按钮操作 */ 409 /** 重置按钮操作 */
389 resetQuery() { 410 resetQuery() {
411 + this.queryParams.sourceFlightNo = undefined
390 this.resetForm("queryForm"); 412 this.resetForm("queryForm");
391 this.handleQuery(); 413 this.handleQuery();
392 }, 414 },
...@@ -395,9 +417,19 @@ ...@@ -395,9 +417,19 @@
395 this.queryParams.pageNum = 1; 417 this.queryParams.pageNum = 1;
396 this.queryParams.start = 0; 418 this.queryParams.start = 0;
397 this.findSourceFlightRules(); 419 this.findSourceFlightRules();
398 - } 420 + },
399 421
400 - } 422 + },
423 + computed: {
424 + upCase: {
425 + get: function() {
426 + return this.queryParams.sourceFlightNo;
427 + },
428 + set: function(val) {
429 + this.queryParams.sourceFlightNo = val.toUpperCase();
430 + },
431 + },
432 + },
401 }; 433 };
402 </script> 434 </script>
403 <style> 435 <style>
......
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
136 </el-form-item> 136 </el-form-item>
137 </el-col> 137 </el-col>
138 <el-col :span="6"> 138 <el-col :span="6">
139 - <el-form-item label="ACCS航班号:"> 139 + <el-form-item label="ACCS航班号:">
140 <el-input type="text" v-model="fltNo" class="formItem" placeholder="请输入ACCS航班号"></el-input> 140 <el-input type="text" v-model="fltNo" class="formItem" placeholder="请输入ACCS航班号"></el-input>
141 </el-form-item> 141 </el-form-item>
142 </el-col> 142 </el-col>
...@@ -304,9 +304,9 @@ ...@@ -304,9 +304,9 @@
304 @click="select" 304 @click="select"
305 >查询</el-button 305 >查询</el-button
306 > 306 >
307 - <el-button type="primary" size="small" @click="checks(tableData)" 307 + <!-- <el-button type="primary" size="small" @click="checks(tableData)"
308 >全选/全否</el-button 308 >全选/全否</el-button
309 - > 309 + > -->
310 <el-button type="primary" size="small" @click="xlse(0)" v-dbClick :disabled="tableData.length==0" :loading="downloading" 310 <el-button type="primary" size="small" @click="xlse(0)" v-dbClick :disabled="tableData.length==0" :loading="downloading"
311 >导出本页查询结果</el-button 311 >导出本页查询结果</el-button
312 > 312 >
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
324 :data="tableData" 324 :data="tableData"
325 v-loading="tableLoading" 325 v-loading="tableLoading"
326 highlight-current-row border stripe 326 highlight-current-row border stripe
327 - height="500" 327 + height="430"
328 size="mini" 328 size="mini"
329 @select="cheacked" 329 @select="cheacked"
330 @select-all="selectAll" 330 @select-all="selectAll"
...@@ -399,7 +399,6 @@ export default { ...@@ -399,7 +399,6 @@ export default {
399 { name: "取件扫描号", value: "pickUpScanNo" }, 399 { name: "取件扫描号", value: "pickUpScanNo" },
400 { name: "站点", value: "siteName" }, 400 { name: "站点", value: "siteName" },
401 { name: "运单号", value: "waybillNo" }, 401 { name: "运单号", value: "waybillNo" },
402 - { name: "总单号", value: "totalWaybillNo" },
403 { name: "服务类型", value: "serviceTypeName" }, 402 { name: "服务类型", value: "serviceTypeName" },
404 { name: "URSA", value: "ursa" }, 403 { name: "URSA", value: "ursa" },
405 { name: "申报类型", value: "typeName" }, 404 { name: "申报类型", value: "typeName" },
...@@ -410,6 +409,7 @@ export default { ...@@ -410,6 +409,7 @@ export default {
410 { name: "收件人国家代码", value: "consigneeCountry" }, 409 { name: "收件人国家代码", value: "consigneeCountry" },
411 { name: "品名描述", value: "nameDescription" }, 410 { name: "品名描述", value: "nameDescription" },
412 { name: "海关回执状态", value: "customsReceiptStatusName" }, 411 { name: "海关回执状态", value: "customsReceiptStatusName" },
412 + { name: "总单号", value: "totalWaybillNo" },
413 { name: "预审状态", value: "preQualificationStatus" }, 413 { name: "预审状态", value: "preQualificationStatus" },
414 { name: "航班预审意见", value: "caPretrialOpinion" }, 414 { name: "航班预审意见", value: "caPretrialOpinion" },
415 { name: "货物状态", value: "statusName" }, 415 { name: "货物状态", value: "statusName" },
...@@ -430,7 +430,7 @@ export default { ...@@ -430,7 +430,7 @@ export default {
430 { name: "收件地", value: "destinationSiteName" }, 430 { name: "收件地", value: "destinationSiteName" },
431 { name: "尺寸", value: "sizeStr" }, 431 { name: "尺寸", value: "sizeStr" },
432 { 432 {
433 - name: "大货预审意见(是否可以配置CA航班)", 433 + name: "大货预审意见(是否可以配置航班)",
434 value: "bigPretrialOpinion", 434 value: "bigPretrialOpinion",
435 }, 435 },
436 { name: "大货预审时间", value: "bigPretrialTime" }, 436 { name: "大货预审时间", value: "bigPretrialTime" },
...@@ -700,7 +700,6 @@ export default { ...@@ -700,7 +700,6 @@ export default {
700 //表格格式化 700 //表格格式化
701 formatter(row,column,cellValue,index){ 701 formatter(row,column,cellValue,index){
702 if(column.property=="cargoRulesStatus"){ 702 if(column.property=="cargoRulesStatus"){
703 - console.log()
704 if(cellValue == 1){ 703 if(cellValue == 1){
705 return cellValue = "手动" 704 return cellValue = "手动"
706 }else if(cellValue == 2){ 705 }else if(cellValue == 2){
......
...@@ -36,8 +36,8 @@ module.exports = { ...@@ -36,8 +36,8 @@ module.exports = {
36 // detail: https://cli.vuejs.org/config/#devserver-proxy 36 // detail: https://cli.vuejs.org/config/#devserver-proxy
37 [process.env.VUE_APP_BASE_API]: { 37 [process.env.VUE_APP_BASE_API]: {
38 // target: `https://imacuat.zmd.apac.fedex.com/IMAC2`, //uat服务器 38 // target: `https://imacuat.zmd.apac.fedex.com/IMAC2`, //uat服务器
39 - target: `http://47.103.140.98:9002`, //阿里云服务器 39 + target: `http://47.103.140.98:7002/IMAC2`, //阿里云服务器
40 - // target: `http://192.168.1.134:18080`, //测试服务器 40 + // target: `http://192.168.1.133:7001/IMAC2`, //测试服务器
41 changeOrigin: true, 41 changeOrigin: true,
42 pathRewrite: { 42 pathRewrite: {
43 ['^' + process.env.VUE_APP_BASE_API]: '' 43 ['^' + process.env.VUE_APP_BASE_API]: ''
......