Commit 18e5f957 by xionglin

brtcan待经办,复核

parent e0f6ecef
......@@ -22,7 +22,14 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trnmod:{
trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
}
}
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
params.trnmod.trn =null
}
const res = await Api.post('/service/brtcan/init', {
...params,
......@@ -32,7 +39,8 @@ export default {
rec:{
inr:this.$route.query.inr
}
}
},
});
if (!res.data) {
return
......
......@@ -25,6 +25,9 @@ export default {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
if ( typeof(this.$route.query.inr) == 'string' ) {
params.spt = null
}
const res = await Api.post('/service/brtlat/init', {
...params,
transName: this.trnName,
......
......@@ -24,8 +24,8 @@ export default {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
}
if( this.$route.query.inr !='') {
localStorage.setItem('row_brtsnd',null)
if( typeof(this.$route.query.inr) == 'string') {
params.spt = null
}
const res = await Api.post('/service/brtsnd/init', {
...params,
......
<template>
<ReviewWrapper>
<Brtcan></Brtcan>
</ReviewWrapper>
</template>
<script>
import Brtcan from '../business/brtcan/views';
import { ReviewWrapper} from "~/components/gj-common.min.js";
export default {
name: "ReviewBrtcan",
components: { ReviewWrapper, Brtcan },
created() {},
mounted() {},
}
</script>
\ No newline at end of file
......@@ -3,5 +3,6 @@ const Business = [
{ path: 'litopn', component: () => import('~/review/ReviewLitopn.vue'), name: 'litopn', meta: { title: '复核-Litopn' } },
{ path: 'litdck', component: () => import('~/review/ReviewLitdck.vue'), name: 'litdck', meta: { title: '复核-Litdck' } },
{ path: 'litame', component: () => import('~/review/ReviewLitame.vue'), name: 'litame', meta: { title: '复核-Litame' } },
{ path: 'brtcan', component: () => import('~/review/ReviewBrtcan.vue'), name: 'brtcan', meta: { title: '复核-Brtcan' } },
]
export default Business
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment