跳转子系统

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-form-item label="资源添加" :prop="'courseList.' + index + '.fileLink'" :rules="{required: true, message: '请添加文件', trigger: 'blur'}">
<el-upload <el-upload
class="link_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-remove="(file, fileList)=>{return handleRemove(file, fileList, index)}"
:on-error="uploadError" :on-error="uploadError"
:on-success="(response, file, fileList)=>{return uploadSuccess(response, file, fileList, index)}" :on-success="(response, file, fileList)=>{return uploadSuccess(response, file, fileList, index)}"

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

Loading…
Cancel
Save