open_engin.vue 729 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <div>
  3. <form v-show="false" :action="userInfo.enginSysUrl" method="POST">
  4. <input type="hidden" :value="userInfo.enginUserName" name="username" />
  5. <input type="hidden" :value="userInfo.enginPassword" name="password" />
  6. <input type="hidden" value="zfire" name="vcode" >
  7. <input type="submit" ref="engineSubmit">
  8. </form>
  9. </div>
  10. </template>
  11. <script>
  12. export default {
  13. name: "OpenEngin",
  14. data() {
  15. return {
  16. userInfo: ''
  17. }
  18. },
  19. created() {
  20. this.userInfo = JSON.parse(localStorage.getItem("supply_user"))
  21. // this.$successMsg("打开工程机系统")
  22. this.$nextTick(() => {
  23. this.$refs.engineSubmit.click()
  24. })
  25. }
  26. }
  27. </script>
  28. <style scoped>
  29. </style>