...
|
...
|
@@ -738,6 +738,7 @@ |
|
|
import htmlToPdf from "../../api/htmlToPdf";
|
|
|
import loginUserInfo from '@/api/base.js'
|
|
|
import {mapActions, mapGetters} from 'vuex'
|
|
|
import {loginedUserInfo} from "../../api/user";
|
|
|
export default {
|
|
|
data() {
|
|
|
/*初始数据*/
|
...
|
...
|
@@ -749,7 +750,7 @@ |
|
|
destinationstation: undefined,
|
|
|
awba: undefined
|
|
|
},
|
|
|
LoginUserInfo: loginUserInfo,
|
|
|
LoginUserInfo: loginedUserInfo(),
|
|
|
FenQuery:{
|
|
|
flightno: undefined,
|
|
|
flightdate: undefined,
|
...
|
...
|
@@ -823,7 +824,7 @@ |
|
|
awbtype:'001',
|
|
|
},
|
|
|
userinfo: {
|
|
|
username: this.getUserInfoStore.username
|
|
|
username: loginedUserInfo().username
|
|
|
},
|
|
|
waybill:undefined,
|
|
|
customText:undefined
|
...
|
...
|
@@ -1071,7 +1072,7 @@ |
|
|
}else{
|
|
|
row.flightno=row.flightno;
|
|
|
}
|
|
|
const map = {'mt1201':row,'username':this.getUserInfoStore.username}
|
|
|
const map = {'mt1201':row,'username':loginedUserInfo().username}
|
|
|
sendCreateMt1201(map).then(res=>{
|
|
|
let response=res.data;
|
|
|
//console.log(res);
|
...
|
...
|
@@ -1114,7 +1115,7 @@ |
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
if(this.batichboolean){
|
|
|
let arr={ids:this.uuids,reason:this.Udform.operreason,contactName:this.getUserInfoStore.username,contactTel:this.Udform.opertel,content:''}
|
|
|
let arr={ids:this.uuids,reason:this.Udform.operreason,contactName:loginedUserInfo().username,contactTel:this.Udform.opertel,content:''}
|
|
|
sendBatchDelMt1201(arr).then(res=>{
|
|
|
let response=res.data;
|
|
|
this.code=response.code;
|
...
|
...
|
@@ -1137,7 +1138,7 @@ |
|
|
'contactName':this.Udform.operperson,
|
|
|
'contactTel':this.Udform.opertel,
|
|
|
'carrier':this.Udform.carrier,
|
|
|
'username':this.getUserInfoStore.username}
|
|
|
'username':loginedUserInfo().username}
|
|
|
sendRemoveMt1201(map).then(res=>{
|
|
|
let response=res.data;
|
|
|
//console.log(res);
|
...
|
...
|
@@ -1193,7 +1194,7 @@ |
|
|
'reason' :this.Udform.operreason,
|
|
|
'contactName':this.Udform.operperson,
|
|
|
'contactTel':this.Udform.opertel,
|
|
|
'username':this.getUserInfoStore.username}
|
|
|
'username':loginedUserInfo().username}
|
|
|
sendEditeMt1201(map).then(res=>{
|
|
|
let response=res.data;
|
|
|
//console.log(res);
|
...
|
...
|
@@ -1314,7 +1315,7 @@ |
|
|
_this.ruleForm.userinfo = {
|
|
|
username: ''
|
|
|
}
|
|
|
_this.ruleForm.userinfo.username=_this.getUserInfoStore.username;
|
|
|
_this.ruleForm.userinfo.username=loginedUserInfo().username;
|
|
|
_this.ruleForm.status='22';
|
|
|
addMt1201(_this.ruleForm).then(res=>{
|
|
|
let response=res.data;
|
...
|
...
|
@@ -1347,7 +1348,7 @@ |
|
|
_this.ruleForm.userinfo = {
|
|
|
username: ''
|
|
|
}
|
|
|
_this.ruleForm.userinfo.username=_this.getUserInfoStore.username;
|
|
|
_this.ruleForm.userinfo.username=loginedUserInfo().username;
|
|
|
ediMt1201(_this.ruleForm).then(res=>{
|
|
|
let response=res.data;
|
|
|
//console.log(res);
|
...
|
...
|
|