| | |
| | | panelForm: { |
| | | name: '' |
| | | }, |
| | | opt:"" |
| | | opt: "" |
| | | } |
| | | }, |
| | | mounted() { |
| | | let self = this; |
| | | window.addEventListener('scroll', self.setHeadPosition, true) |
| | | // debugger |
| | | self.opt = self.$route.query; |
| | | self.getData(); |
| | | window.addEventListener('scroll', self.setHeadPosition, true) |
| | | // debugger |
| | | self.opt = self.$route.query; |
| | | self.getData(); |
| | | }, |
| | | methods: { |
| | | // 适应 |
| | |
| | | method: "get", |
| | | url: "/application/all", |
| | | params: { |
| | | userId: self.opt.userId || "1001" |
| | | userId: self.opt.userId |
| | | } |
| | | }).then(res => { |
| | | if (res.data.code == 1) { |
| | |
| | | url: "/application", |
| | | data: { |
| | | name: name, |
| | | userId: self.opt.userId || "1001" |
| | | userId: self.opt.userId |
| | | } |
| | | }).then(res => { |
| | | if (res.data.code == 1) { |