Commit 4ab1c7a8 by liuxin

Merge remote-tracking branch 'origin/master'

parents d9690ed7 98cd4a95
...@@ -5,6 +5,9 @@ export default { ...@@ -5,6 +5,9 @@ export default {
data(){ data(){
return {} return {}
}, },
mounted(){
this.restoreDisplay()
},
methods:{ methods:{
init(params){ init(params){
params = params||{} params = params||{}
...@@ -41,6 +44,14 @@ export default { ...@@ -41,6 +44,14 @@ export default {
params = params||{} params = params||{}
let data = Utils.flatObject(this.model) let data = Utils.flatObject(this.model)
return Api.post(this.declareParams.trnName+"/pending",{...data,params}) return Api.post(this.declareParams.trnName+"/pending",{...data,params})
},
restoreDisplay()
{
let inr = this.$route.query.trn
if(!inr)
return
let data = Api.post("display/"+inr)
console.log(data)
} }
} }
} }
\ No newline at end of file
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