|
|
@@ -478,6 +478,7 @@ export default {
|
|
|
order: 'asc',
|
|
|
},
|
|
|
url: {
|
|
|
+ queryStatusById: "/smsCheck/task/queryStatusById",
|
|
|
deleteBatch : "smsCheck/customerInfo/deleteBatch",
|
|
|
queryTask: "/smsCheck/task/queryById",
|
|
|
list: "/smsCheck/customerInfo/list",
|
|
|
@@ -745,7 +746,8 @@ export default {
|
|
|
},
|
|
|
// 整改
|
|
|
showImproveGZ(record) {
|
|
|
- this.$router.push({path: '/truckCheck/modules/TaskCheckAudit', query: {id: record.id}});
|
|
|
+ this.queryStatusById (record,'zg');
|
|
|
+
|
|
|
},
|
|
|
// 历史
|
|
|
selectData(record) {
|
|
|
@@ -778,13 +780,35 @@ export default {
|
|
|
//关闭当前页面
|
|
|
this.closeCurrent();
|
|
|
},
|
|
|
+ queryStatusById (record,info) {
|
|
|
+ let url = this.url.queryStatusById;
|
|
|
+ let params = {
|
|
|
+ id: this.task.id
|
|
|
+ }
|
|
|
+ getAction(url, params).then(res => {
|
|
|
+ if (!res.success) {
|
|
|
+ this.$message.warning(res.message, 3);
|
|
|
+ return
|
|
|
+ }else {
|
|
|
+ if (info=='sc'){
|
|
|
+ this.$router.push({path: '/truck/check/data/upload', query: {id: record.id}});
|
|
|
+ }
|
|
|
+ if (info=='ws'){
|
|
|
+ this.$router.push({path: '/sms/check/data/edit', query: {id: record.id}});
|
|
|
+ }
|
|
|
+ if (info=='zg'){
|
|
|
+ this.$router.push({path: '/truckCheck/modules/TaskCheckAudit', query: {id: record.id}});
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 上传客户资料
|
|
|
showImproveAndUpload(record){
|
|
|
- this.$router.push({path: '/truck/check/data/upload', query: {id: record.id}});
|
|
|
+ this.queryStatusById (record,'sc');
|
|
|
},
|
|
|
// 显示完善页面
|
|
|
showImprove(record) {
|
|
|
- this.$router.push({path: '/sms/check/data/edit', query: {id: record.id}});
|
|
|
+ this.queryStatusById (record,'ws');
|
|
|
},
|
|
|
// 显示上传页面
|
|
|
showUpload(record) {
|