跳转子系统

dev
yujialong 4 years ago
parent dbbc129f5e
commit f54b67d21a
  1. 2
      src/components/page/AddLink.vue
  2. 9
      src/components/page/Configure.vue

@ -35,7 +35,7 @@
<el-form-item label="资源添加" :prop="'courseList.' + index + '.fileLink'" :rules="{required: true, message: '请添加文件', trigger: 'blur'}">
<el-upload
class="link_upload"
action="http://www.liuwanr.cn:8080/aliyun/uploadFiles"
:action="api.uploadFiles"
:on-remove="(file, fileList)=>{return handleRemove(file, fileList, index)}"
:on-error="uploadError"
:on-success="(response, file, fileList)=>{return uploadSuccess(response, file, fileList, index)}"

@ -86,6 +86,7 @@ import bus from '../common/bus';
export default {
data() {
return {
userId: this.$store.state.userLoginId,
systemAttribution: '',
systemType: '',
systemSearch: '',
@ -143,13 +144,11 @@ export default {
this.$router.push('/addconfigure');
},
getIntoProject(row){
this.setCookie("userId",this.$store.state.userLoginId)
this.setCookie("systemId",row.systemId)
this.setCookie("systemName",row.systemName)
window.location.href = "http://39.108.250.202/Projectmanagement/";
window.location.href = `http://39.108.250.202/Projectmanagement/#/?userId=${this.userId}&systemId=${row.systemId}&systemName=${row.systemName}`
// window.location.href = `http://192.168.31.154:8081/#/?userId=${this.userId}&systemId=${row.systemId}&systemName=${row.systemName}`
},
getIntoJudgement(row){
this.setCookie("userId",this.$store.state.userLoginId)
this.setCookie("userId",this.userId)
this.setCookie("systemId",row.systemId)
this.setCookie("systemName",row.systemName)
window.location.href = "http://39.108.250.202/Score/";

Loading…
Cancel
Save