Explorar o código

修改跳转页面

huk %!s(int64=3) %!d(string=hai) anos
pai
achega
cc52261793

+ 2 - 2
src/views/inward/components/inwardFactory/truckLoad.vue

@@ -54,10 +54,10 @@ export default {
         this.inputText;
     },
     toInsert() {
-      this.$router.push("/inwardFactory/addTruckLoad");
+      this.$router.push("/inwardFactoryAddTruckLoad");
     },
     updateBmsTrainFreight(scope) {
-      this.$router.push("/daZhou/updateTruckLoad/" + scope.row.settlementId);
+      this.$router.push("/updateTruckLoad/" + scope.row.settlementId);
     },
     deleteBmsTrainFreight(scope) {
       this.$confirm("是否删除", "提示", {

+ 1 - 1
src/views/inward/components/inwardImport/daZhou/truckLoad.vue

@@ -35,7 +35,7 @@ export default {
         this.inputText;
     },
     toInsert() {
-      this.$router.push("/daZhou/addTruckLoad");
+      this.$router.push("/addTruckLoad");
     },
     
   },

+ 1 - 1
src/views/inward/components/inwardImport/oldAreaRailScale/truckLoad.vue

@@ -35,7 +35,7 @@ export default {
         this.inputText;
     },
     toInsert() {
-      this.$router.push("/oldAreaRailScale/addTruckLoad");
+      this.$router.push("/oldAreaRailScaleAddTruckLoad");
     },
   },
 };

+ 2 - 2
src/views/inward/components/offsetSteel/truckTrain/wagonApprove.vue

@@ -49,10 +49,10 @@ export default {
     },
 
     btnclick() {
-      this.$router.push("/truckTrain/addApproveWagonPlease");
+      this.$router.push("/addApproveWagonPlease");
     },
     updateClick(resultId) {
-      this.$router.push("/truckTrain/editApproveWagonPlease/" + resultId);
+      this.$router.push("/editApproveWagonPlease/" + resultId);
     },
   },
 };

+ 2 - 2
src/views/inward/components/offsetSteel/truckTrain/wagonLoad.vue

@@ -88,10 +88,10 @@ export default {
         this.inputText;
     },
     btnclick() {
-      this.$router.push("/truckTrain/addWagonLoad");
+      this.$router.push("/addWagonLoad");
     },
     click(resultId) {
-      this.$router.push("/truckTrain/editWagonLoad/" + resultId);
+      this.$router.push("/editWagonLoad/" + resultId);
     },
     deleteclick(scope) {
       let resultId = scope;

+ 2 - 3
src/views/inward/components/offsetSteel/truckTrain/wagonPlease.vue

@@ -139,12 +139,11 @@ export default {
     },
     //新增
     insertClick() {
-      console.log("11");
-      this.$router.push("/truckTrain/addWagonPlease");
+      this.$router.push("/addWagonPlease");
     },
     //修改
     updateClick(resultId) {
-      this.$router.push("/truckTrain/editWagonPlease/" + resultId);
+      this.$router.push("/editWagonPlease/" + resultId);
     },
   },
 };

+ 2 - 2
src/views/inward/components/offsetSteel/truckTrain/wagonUnLoad.vue

@@ -85,10 +85,10 @@ export default {
         "/api/v1/tms/getTmstrainWagonUnLoad?apiId=256&resultType=4&con=" + this.inputText;
     },
     btnclick() {
-      this.$router.push("/truckTrain/addWagonUnLoad");
+      this.$router.push("/addWagonUnLoad");
     },
     click(unloadingId) {
-      this.$router.push("/truckTrain/editWagonUnLoad/" + unloadingId);
+      this.$router.push("/editWagonUnLoad/" + unloadingId);
     },
     deleteclick(scope) {
       let unloadingId = scope;

+ 5 - 5
src/views/inward/components/offsetSteel/truckTransport/truckQualityResult.vue

@@ -9,7 +9,7 @@
     </div>
 
     <dilTable v-bind.sync="option">
-      <el-table-column fixed="right" label="操作" width="50">
+      <!-- <el-table-column fixed="right" label="操作" width="50">
         <template slot-scope="scope">
           <el-button
             @click="updateClick(scope.row.resultId)"
@@ -19,7 +19,7 @@
             修改
           </el-button>
         </template>
-      </el-table-column>
+      </el-table-column> -->
     </dilTable>
   </div>
 </template>
@@ -42,9 +42,9 @@ export default {
       this.option.requestUrl = "/api/v1/tms/getQualityResult?apiId=111&con=" + this.input;
     },
     btnclick() {},
-    updateClick(resultId) {
-      this.$router.push("/importedTruckDo/truckQualityResultEdit/" + resultId);
-    },
+    // updateClick(resultId) {
+    //   this.$router.push("/importedTruckDo/truckQualityResultEdit/" + resultId);
+    // },
   },
 };
 </script>

+ 2 - 10
src/views/inward/components/truckAppoint/RailPlan.vue

@@ -84,11 +84,10 @@
 				this.second.mapList = selection
 			},
 			toInsert() {
-				console.log('---')
-				this.$router.push("/appointment/addPlan");
+				this.$router.push("/addPlan");
 			},
 			updatePlan(scope) {
-				this.$router.push("/appointment/updatePlan/" + scope.row.planId)
+				this.$router.push("/updatePlan/" + scope.row.planId)
 			},
 			deletePlan(scope) {
 				this.$confirm("是否删除", "提示", {
@@ -192,13 +191,6 @@
     selectionChange(selection) {
       this.second.mapList = selection;
     },
-    toInsert() {
-      console.log("---");
-      this.$router.push("/appointment/addPlan");
-    },
-    updatePlan(scope) {
-      this.$router.push("/appointment/updatePlan/" + scope.row.planId);
-    },
     deletePlan(scope) {
       this.$confirm("是否删除", "提示", {
         confirmButtonText: "确定",

+ 2 - 2
src/views/inward/components/truckAppoint/plan.vue

@@ -144,10 +144,10 @@ export default {
     },
     toInsert() {
       console.log("---");
-      this.$router.push("/appointment/addPlan");
+      this.$router.push("/addPlan");
     },
     updatePlan(scope) {
-      this.$router.push("/appointment/updatePlan/" + scope.row.planId);
+      this.$router.push("/updatePlan/" + scope.row.planId);
     },
     finishPlan(scope) {
       this.$confirm("是否完成该计划", "提示", {

+ 3 - 5
src/views/inward/components/truckAppoint/requirement.vue

@@ -90,16 +90,14 @@ export default {
       this.first.mapList = selection;
     },
     toInsert() {
-  
-      this.$router.push("/appointment/addRequirement");
+      this.$router.push("/addRequirement");
     },
     toInsert2() {
-   
-      this.$router.push("/appointment/addRequirement2");
+      this.$router.push("/addRequirement2");
     },
     updateRequirement(scope) {
       this.$router.push(
-        "/appointment/updateRequirement/" + scope.row.requirementId
+        "/updateRequirement/" + scope.row.requirementId
       );
     },
     deleteRequirement(scope) {

+ 1 - 1
src/views/inward/components/truckOrder/RailPlan.vue

@@ -85,7 +85,7 @@ export default {
       this.second.mapList = selection;
     },
     desponseRailPlan(scope) {
-      this.$router.push("/truckOrder/decomposeRailPlan/" + scope.row.dayPlanId);
+      this.$router.push("/decomposeRailPlan/" + scope.row.dayPlanId);
     },
   }
 };

+ 1 - 1
src/views/inward/components/truckOrder/plan.vue

@@ -116,7 +116,7 @@ export default {
       this.second.mapList = selection;
     },
     desponsePlan(scope) {
-      this.$router.push("/truckOrder/decomposePlan/" + scope.row.planId);
+      this.$router.push("/decomposePlan/" + scope.row.planId);
     },
     deletePlan(scope) {
       this.$confirm("是否删除", "提示", {