|
@@ -500,61 +500,71 @@ export default {
|
|
|
// }
|
|
|
console.log(this.urlllll);
|
|
|
});
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.$router.push(v.actionUrl);
|
|
|
}
|
|
|
},
|
|
|
//我的已办查看按钮
|
|
|
RowDoneTitle(v) {
|
|
|
this.StatusList = v;
|
|
|
- this.DoneStatus = true;
|
|
|
- this.$http({
|
|
|
- url: "/market/cwo/queryProcStepByWono",
|
|
|
- method: "post",
|
|
|
- headers: {
|
|
|
- "Content-Type": "application/json",
|
|
|
- },
|
|
|
- data: {
|
|
|
- woNo: v.woNo,
|
|
|
- },
|
|
|
- }).then((res) => {
|
|
|
- this.DoneList = res.data;
|
|
|
- });
|
|
|
- this.$http({
|
|
|
- url: "/market/cwo/redirectDealPage",
|
|
|
- method: "post",
|
|
|
- headers: {
|
|
|
- "Content-Type": "application/json",
|
|
|
- },
|
|
|
- data: {
|
|
|
- procId: v.procId,
|
|
|
- },
|
|
|
- }).then((res) => {
|
|
|
- this.urlllll = res.data[0].jspUrl;
|
|
|
- // console.log(this.urlllll)
|
|
|
- // if(this.urlllll=="#"){
|
|
|
- // this.urlllll=res.data[1].jspUrl
|
|
|
- // }
|
|
|
- console.log(this.urlllll);
|
|
|
- });
|
|
|
+ console.log(v.actionUrl);
|
|
|
+ if (v.procName) {
|
|
|
+ this.DoneStatus = true;
|
|
|
+ this.$http({
|
|
|
+ url: "/market/cwo/queryProcStepByWono",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ woNo: v.woNo,
|
|
|
+ },
|
|
|
+ }).then((res) => {
|
|
|
+ this.DoneList = res.data;
|
|
|
+ });
|
|
|
+ this.$http({
|
|
|
+ url: "/market/cwo/redirectDealPage",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ procId: v.procId,
|
|
|
+ },
|
|
|
+ }).then((res) => {
|
|
|
+ this.urlllll = res.data[0].jspUrl;
|
|
|
+ // console.log(this.urlllll)
|
|
|
+ // if(this.urlllll=="#"){
|
|
|
+ // this.urlllll=res.data[1].jspUrl
|
|
|
+ // }
|
|
|
+ console.log(this.urlllll);
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$router.push(v.actionUrl);
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
//我的发起查看按钮
|
|
|
RowlaunchTitle(v) {
|
|
|
this.StatusList = v;
|
|
|
- this.launchStatus = true;
|
|
|
- this.$http({
|
|
|
- url: "/market/cwo/queryProcStepByWono",
|
|
|
- method: "post",
|
|
|
- headers: {
|
|
|
- "Content-Type": "application/json",
|
|
|
- },
|
|
|
- data: {
|
|
|
- woNo: v.woNo,
|
|
|
- },
|
|
|
- }).then((res) => {
|
|
|
- this.launchList = res.data;
|
|
|
- });
|
|
|
+ console.log(v.actionUrl);
|
|
|
+ if (v.procName) {
|
|
|
+ this.launchStatus = true;
|
|
|
+ this.$http({
|
|
|
+ url: "/market/cwo/queryProcStepByWono",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ },
|
|
|
+ data: {
|
|
|
+ woNo: v.woNo,
|
|
|
+ },
|
|
|
+ }).then((res) => {
|
|
|
+ this.launchList = res.data;
|
|
|
+ });
|
|
|
+ }else {
|
|
|
+ this.$router.push(v.actionUrl);
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
//更多按钮
|