详情返回带查询条件

main
吕天方 6 days ago
parent c7a02e3d1d
commit 5cefae66f6

@ -565,6 +565,9 @@
<el-button type="primary" @click="newUnit" :disabled="false">确定</el-button> <el-button type="primary" @click="newUnit" :disabled="false">确定</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="$route.query.pageType == 'look'">
<el-button type="primary" @click="cancel"></el-button>
</el-row>
</div> </div>
</div> </div>
</div> </div>
@ -811,7 +814,8 @@ export default {
}) })
}, },
cancel(){ cancel(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:'Unit',params:this.$route.query.queryData})
}, },
}, },
beforeRouteEnter(to,from,next){ beforeRouteEnter(to,from,next){

@ -2814,6 +2814,9 @@
<el-button type="primary" @click="newAssets" :loading="loading">保存</el-button> <el-button type="primary" @click="newAssets" :loading="loading">保存</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
</div> </div>
@ -3280,7 +3283,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:'Assets',params: this.queryData})
}, },
}, },
// beforeRouteEnter(to,from,next){ // beforeRouteEnter(to,from,next){

@ -265,6 +265,9 @@
<el-button type="primary" @click="newAssets" :loading="loading">保存</el-button> <el-button type="primary" @click="newAssets" :loading="loading">保存</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
</div> </div>
@ -361,7 +364,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:'Program',params: this.queryData})
}, },
}, },
} }

@ -392,6 +392,9 @@
<el-button type="primary" @click="newAssets" :loading="loading">保存</el-button> <el-button type="primary" @click="newAssets" :loading="loading">保存</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
</div> </div>
@ -492,7 +495,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:'OfficialAccount',params: this.queryData})
}, },
}, },
} }

@ -205,6 +205,9 @@
<el-button type="primary" @click="newAssets" :loading="loading">保存</el-button> <el-button type="primary" @click="newAssets" :loading="loading">保存</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
</div> </div>
@ -296,7 +299,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:'Email',params: this.queryData})
}, },
}, },
} }

@ -181,6 +181,9 @@
<el-button type="primary" @click="newAssets" :loading="loading">保存</el-button> <el-button type="primary" @click="newAssets" :loading="loading">保存</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
</div> </div>
@ -272,7 +275,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:'MobileApplication',params: this.queryData})
}, },
}, },
} }

@ -2737,6 +2737,9 @@
<el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button> <el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
<my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%"> <my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%">
@ -3378,7 +3381,8 @@ export default {
}, },
// //
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}, },
// //
btnReject(){ btnReject(){

@ -267,6 +267,9 @@
<el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button> <el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
<my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%"> <my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%">
@ -489,7 +492,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}, },
// //
btnReject(){ btnReject(){

@ -419,6 +419,9 @@
<el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button> <el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
<my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%"> <my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%">
@ -642,7 +645,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}, },
// //
btnReject(){ btnReject(){

@ -208,6 +208,9 @@
<el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button> <el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
<my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%"> <my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%">
@ -406,7 +409,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}, },
// //
btnReject(){ btnReject(){

@ -184,6 +184,9 @@
<el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button> <el-button type="primary" :disabled="false" @click="btnPass" :loading="loading">通过</el-button>
</el-row> </el-row>
</el-form> </el-form>
<el-row style="margin: 10px 0 ;padding-bottom: 50px; text-align: center;" v-if="pageType == 'look'">
<el-button type="primary" @click="sendBack"></el-button>
</el-row>
</div> </div>
</div> </div>
<my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%"> <my-dialog title="提示" ref="liebiaoDialog" class="taskDialogBox" width="40%">
@ -384,7 +387,8 @@ export default {
}) })
}, },
sendBack(){ sendBack(){
this.$router.go(-1); // this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}, },
// //
btnReject(){ btnReject(){

Loading…
Cancel
Save