Selaa lähdekoodia

维保资料跳转

pengyh 1 vuosi sitten
vanhempi
commit
9735ed0a63

+ 1 - 1
src/views/engineeringMaintenance/basicData/detail.vue

@@ -676,7 +676,7 @@
 				}
 			},
 			del(index){
-				let name = this.typeIndex == 1?'productList':this.typeIndex == 3?'byList':'websitData'
+				let name = this.typeIndex == 1?'productList':this.typeIndex == 2?'byList':'websitData'
 				this['formData' + this.typeIndex][name].splice(index,1)
 			},
 			confirm(){

+ 8 - 10
src/views/engineeringMaintenance/basicData/index.vue

@@ -117,10 +117,9 @@ export default {
 				btnType: 'text',
 				click: ({ row, index, column }) => {
 					this.$router.push({
-						name: "workOrderPool",
+						name: row.isAllFee=='YES'?"allInclusiveExpense":'applicationWithoutFee',
 						query: {
-							id:row.id,
-							activeName: "SettleAccounts",
+							rpProjectRepairId:row.id
 						}
 					})
 				}
@@ -128,13 +127,12 @@ export default {
 			serviceOrderDetail: {
 				btnType: 'text',
 				click: ({ row, index, column }) => {
-					// this.$router.push({
-					// 		name: "workOrderPool",
-					// 		query: {
-					// 			id:row.orderBaseId,
-					// 			activeName: "SettleAccounts",
-					// 		}
-					// })
+					this.$router.push({
+						name: "workOrderPool",
+						query: {
+							rpProjectRepairId:row.id
+						}
+					})
 				}
 			}
 		})