1234567891011121314151617181920212223242526272829303132 |
- <template>
- <div>
- <form v-show="false" :action="userInfo.enginSysUrl" method="POST">
- <input type="hidden" :value="userInfo.enginUserName" name="username" />
- <input type="hidden" :value="userInfo.enginPassword" name="password" />
- <input type="hidden" value="zfire" name="vcode" >
- <input type="submit" ref="engineSubmit">
- </form>
- </div>
- </template>
- <script>
- export default {
- name: "OpenEngin",
- data() {
- return {
- userInfo: ''
- }
- },
- created() {
- this.userInfo = JSON.parse(localStorage.getItem("supply_user"))
- // this.$successMsg("打开工程机系统")
- this.$nextTick(() => {
- this.$refs.engineSubmit.click()
- })
- }
- }
- </script>
- <style scoped>
- </style>
|