Commit 7ac0e9dd authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents d73bb45e ba42b1fd
...@@ -417,14 +417,6 @@ export default { ...@@ -417,14 +417,6 @@ export default {
this.list.splice(b, 0, tempArray); this.list.splice(b, 0, tempArray);
}, },
getUserDepart() {
alert("5656565");
// Api.getUserDepart().then(res=>{
// console.log("11111",res)
// return res
// })
},
l(key) { l(key) {
let vkey = "mes_part_task_plan_simulate" + "." + key; let vkey = "mes_part_task_plan_simulate" + "." + key;
return this.$t(vkey) || key; return this.$t(vkey) || key;
...@@ -453,7 +445,6 @@ export default { ...@@ -453,7 +445,6 @@ export default {
arryIds.push(objIds); arryIds.push(objIds);
}); });
parmsOrderpriority.alls = arryIds; parmsOrderpriority.alls = arryIds;
// alert(JSON.stringify(parmsOrderpriority));
Api.orderpriority(parmsOrderpriority) Api.orderpriority(parmsOrderpriority)
.then((res) => { .then((res) => {
if (res.success) { if (res.success) {
...@@ -463,8 +454,6 @@ export default { ...@@ -463,8 +454,6 @@ export default {
Api.apsdatachecked() Api.apsdatachecked()
.then((res1) => { .then((res1) => {
if (res1.success) { if (res1.success) {
// this.result=res1.result;
// this.resultModal=true;
this.checkOk(); this.checkOk();
} else { } else {
// this.circleModal = false; // this.circleModal = false;
......
...@@ -134,7 +134,7 @@ service.interceptors.response.use( ...@@ -134,7 +134,7 @@ service.interceptors.response.use(
}, },
error => { error => {
const token = sessionStorage.getItem('token'); const token = sessionStorage.getItem('token');
if (!token&&!error && !error.response) { if (!token&&!error.response) {
window.location.href = '/account/login'; window.location.href = '/account/login';
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment