|
@@ -630,24 +630,24 @@ export default {
|
|
|
localStorage.setItem('getRequestFlage', 'false');
|
|
localStorage.setItem('getRequestFlage', 'false');
|
|
|
console.log(this.visitId);
|
|
console.log(this.visitId);
|
|
|
if (val.taskType == '5') {
|
|
if (val.taskType == '5') {
|
|
|
- getCljlaToDBLabel({ visitsId: this.visitId }).then((res) => {
|
|
|
|
|
- if (res.code == 200) {
|
|
|
|
|
- this.$router.push({
|
|
|
|
|
- path: '/taskPhotoTaking',
|
|
|
|
|
- query: {
|
|
|
|
|
- storeCode: this.urlParameter.storeCode,
|
|
|
|
|
- visitsId: this.visitId,
|
|
|
|
|
- taskIds: val.taskIds.join(','),
|
|
|
|
|
- storeGroupId: this.storeGroupId,
|
|
|
|
|
- photoType: val.photoType,
|
|
|
|
|
- insert: true,
|
|
|
|
|
- storeId: this.storeId,
|
|
|
|
|
- },
|
|
|
|
|
- });
|
|
|
|
|
- } else {
|
|
|
|
|
- this.$toast(res.msg);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // getCljlaToDBLabel({ visitsId: this.visitId }).then((res) => {
|
|
|
|
|
+ // if (res.code == 200) {
|
|
|
|
|
+ this.$router.push({
|
|
|
|
|
+ path: '/taskPhotoTaking',
|
|
|
|
|
+ query: {
|
|
|
|
|
+ storeCode: this.urlParameter.storeCode,
|
|
|
|
|
+ visitsId: this.visitId,
|
|
|
|
|
+ taskIds: val.taskIds.join(','),
|
|
|
|
|
+ storeGroupId: this.storeGroupId,
|
|
|
|
|
+ photoType: val.photoType,
|
|
|
|
|
+ insert: true,
|
|
|
|
|
+ storeId: this.storeId,
|
|
|
|
|
+ },
|
|
|
});
|
|
});
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // this.$toast(res.msg);
|
|
|
|
|
+ // }
|
|
|
|
|
+ // });
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: '/addStoreVisit',
|
|
path: '/addStoreVisit',
|