|
@@ -1793,6 +1793,7 @@ export default {
|
|
|
previewImage: "",
|
|
previewImage: "",
|
|
|
previewVisible: false,
|
|
previewVisible: false,
|
|
|
url: {
|
|
url: {
|
|
|
|
|
+ "getTask":"/smsTurck/customerData/query/getTask",
|
|
|
"getInfoDataById": "/smsCheck/customerInfo/queryById",
|
|
"getInfoDataById": "/smsCheck/customerInfo/queryById",
|
|
|
updateFile: "/smsCheck/customerData/updateFile",
|
|
updateFile: "/smsCheck/customerData/updateFile",
|
|
|
"getInfoDataByInfoId": "/smsTurck/customerData/query/infoId",
|
|
"getInfoDataByInfoId": "/smsTurck/customerData/query/infoId",
|
|
@@ -2306,7 +2307,11 @@ export default {
|
|
|
{required: true, message: '必须输入'},
|
|
{required: true, message: '必须输入'},
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
|
|
+ taskId:"",
|
|
|
infoModel:{
|
|
infoModel:{
|
|
|
|
|
+
|
|
|
|
|
+ dataId:"",
|
|
|
|
|
+ logId:"",
|
|
|
infoId:"",
|
|
infoId:"",
|
|
|
managePhone:"",
|
|
managePhone:"",
|
|
|
//客户类型
|
|
//客户类型
|
|
@@ -2491,6 +2496,7 @@ export default {
|
|
|
|
|
|
|
|
this.infoModel.infoId = this.$route.query.id;
|
|
this.infoModel.infoId = this.$route.query.id;
|
|
|
this.getInfoDataById(this.$route.query.id);
|
|
this.getInfoDataById(this.$route.query.id);
|
|
|
|
|
+ this.getTask(this.$route.query.id);
|
|
|
this.getInfoDataByInfoId(this.$route.query.id)
|
|
this.getInfoDataByInfoId(this.$route.query.id)
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -2536,6 +2542,18 @@ export default {
|
|
|
// this.steps = this.steps00;
|
|
// this.steps = this.steps00;
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+
|
|
|
|
|
+ getTask(infoId){
|
|
|
|
|
+ var that = this;
|
|
|
|
|
+ var data = {
|
|
|
|
|
+ "infoId": infoId,
|
|
|
|
|
+ }
|
|
|
|
|
+ postAction(this.url.getTask, data).then((res) => {
|
|
|
|
|
+ if (res.success) {
|
|
|
|
|
+ that.taskId=res.result.taskId;
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
getInfoDataByInfoId(infoId) {
|
|
getInfoDataByInfoId(infoId) {
|
|
|
var that = this;
|
|
var that = this;
|
|
|
if (infoId) {
|
|
if (infoId) {
|
|
@@ -2638,7 +2656,7 @@ export default {
|
|
|
this.uploading = false;
|
|
this.uploading = false;
|
|
|
this.$message.success("提交成功", 3);
|
|
this.$message.success("提交成功", 3);
|
|
|
this.addIng == true
|
|
this.addIng == true
|
|
|
- // this.$router.push({path: '/sms/check/task/check', query: {id: data.taskId}});
|
|
|
|
|
|
|
+ this.$router.push({path: '/truck/check/task/check', query: {id: that.taskId}});
|
|
|
this.closeCurrent();
|
|
this.closeCurrent();
|
|
|
} else {
|
|
} else {
|
|
|
this.uploading = false;
|
|
this.uploading = false;
|
|
@@ -2710,7 +2728,7 @@ export default {
|
|
|
this.$message.success("提交成功", 3);
|
|
this.$message.success("提交成功", 3);
|
|
|
this.addIng == true
|
|
this.addIng == true
|
|
|
|
|
|
|
|
- // this.$router.push({path: '/sms/check/task/check', query: {id: data.taskId}});
|
|
|
|
|
|
|
+ this.$router.push({path: '/truck/check/task/check', query: {id: that.taskId}});
|
|
|
this.closeCurrent();
|
|
this.closeCurrent();
|
|
|
} else {
|
|
} else {
|
|
|
this.uploading = false;
|
|
this.uploading = false;
|