|
@@ -253,7 +253,6 @@ export default {
|
|
|
next();
|
|
next();
|
|
|
},
|
|
},
|
|
|
activated() {
|
|
activated() {
|
|
|
- console.log(11111);
|
|
|
|
|
// 是否请求任务列表接口
|
|
// 是否请求任务列表接口
|
|
|
let getRequestFlage = localStorage.getItem('getRequestFlage');
|
|
let getRequestFlage = localStorage.getItem('getRequestFlage');
|
|
|
if (getRequestFlage != 'true') return;
|
|
if (getRequestFlage != 'true') return;
|
|
@@ -392,7 +391,6 @@ export default {
|
|
|
return Math.round((arrtime2 - arrtime1) / 1000);
|
|
return Math.round((arrtime2 - arrtime1) / 1000);
|
|
|
},
|
|
},
|
|
|
addVisits() {
|
|
addVisits() {
|
|
|
- console.log(222);
|
|
|
|
|
var that = this;
|
|
var that = this;
|
|
|
var insert = '';
|
|
var insert = '';
|
|
|
var postType = localStorage.getItem('postType');
|
|
var postType = localStorage.getItem('postType');
|
|
@@ -474,7 +472,6 @@ export default {
|
|
|
});
|
|
});
|
|
|
that.list = [];
|
|
that.list = [];
|
|
|
getVisitTasks(params).then((res) => {
|
|
getVisitTasks(params).then((res) => {
|
|
|
- console.log(333);
|
|
|
|
|
loading2.clear();
|
|
loading2.clear();
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
that.notes = res.data.notes;
|
|
that.notes = res.data.notes;
|
|
@@ -532,7 +529,6 @@ export default {
|
|
|
forbidClick: true,
|
|
forbidClick: true,
|
|
|
});
|
|
});
|
|
|
that.list = [];
|
|
that.list = [];
|
|
|
- console.log(444);
|
|
|
|
|
getVisitTasks(params).then((res) => {
|
|
getVisitTasks(params).then((res) => {
|
|
|
loading2.clear();
|
|
loading2.clear();
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -565,7 +561,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
function (err) {
|
|
function (err) {
|
|
|
- console.log(555);
|
|
|
|
|
if (that.$route.query.type == 'edit') {
|
|
if (that.$route.query.type == 'edit') {
|
|
|
var params = {
|
|
var params = {
|
|
|
storeId: that.storeId,
|
|
storeId: that.storeId,
|