|
|
|
@ -109,7 +109,7 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="实验要求" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<quill :border="true" :readonly="true" v-model="scope.row.experimentalRequirements" :minHeight="150" :height="150" /> |
|
|
|
|
<quill :border="true" :readonly="true" elseRead="true" v-model="scope.row.experimentalRequirements" :minHeight="150" :height="150" /> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" width="140" align="center"> |
|
|
|
@ -275,13 +275,13 @@ import quill from '@/components/quill' |
|
|
|
|
export default { |
|
|
|
|
data (){ |
|
|
|
|
return { |
|
|
|
|
host: Setting.host, |
|
|
|
|
host: Setting.apiBaseURL, |
|
|
|
|
isHh: Setting.isHh, |
|
|
|
|
id: this.$route.query.id, |
|
|
|
|
systemList: Setting.systemList, |
|
|
|
|
token: btoa(util.local.get(Setting.tokenKey)), |
|
|
|
|
userIdEd: this.userId, |
|
|
|
|
systemId: this.lastSystemId, |
|
|
|
|
systemId: this.$store.state.project.lastSystemId, |
|
|
|
|
isDetail: Boolean(this.$route.query.show), |
|
|
|
|
roleIdEd: this.roleId, |
|
|
|
|
newroleArray: [], |
|
|
|
@ -399,13 +399,18 @@ export default { |
|
|
|
|
components: { |
|
|
|
|
quill |
|
|
|
|
}, |
|
|
|
|
created(){ |
|
|
|
|
console.log(this.systemId,'this.systemId',this.lastSystemId); |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
...mapState('user', [ |
|
|
|
|
'userId','roleId' |
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
...mapState('project', [ |
|
|
|
|
'projectFields' |
|
|
|
|
'projectFields','lastSystemId' |
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
handDistributionScore: function() { |
|
|
|
|
//计算判分点分值,超出100提示, |
|
|
|
|
let score = 0; |
|
|
|
@ -569,6 +574,7 @@ export default { |
|
|
|
|
this.setSystemId(this.systemId) |
|
|
|
|
}).catch(() => { |
|
|
|
|
this.systemId = this.lastSystemId |
|
|
|
|
console.log(this.lastSystemId,'this.lastSystemId'); |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -660,6 +666,7 @@ export default { |
|
|
|
|
//判断页面是否有没有输入的内容 |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
console.log(this.systemId,'this.systemId---670'); |
|
|
|
|
this.setSystemId(this.systemId) |
|
|
|
|
if (this.id != null) { |
|
|
|
|
let url = this.api.updateProjectManagement |
|
|
|
@ -743,6 +750,8 @@ export default { |
|
|
|
|
//判断页面是否有没有输入的内容 |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
console.log(this.systemId,'this.systemId---755'); |
|
|
|
|
|
|
|
|
|
this.setSystemId(this.systemId) |
|
|
|
|
if (this.id != null) { |
|
|
|
|
let url = this.api.updateProjectManagement |
|
|
|
@ -1018,11 +1027,13 @@ export default { |
|
|
|
|
this.flag02 && (data.flag02 = this.flag02) |
|
|
|
|
this.projectNameRepeat && (data.projectNameRepeat = this.projectNameRepeat) |
|
|
|
|
this.isToPoint = true |
|
|
|
|
console.log(data,'取得数据查看'); |
|
|
|
|
this.setProject(data) |
|
|
|
|
}, |
|
|
|
|
toJudgePoint(row){ |
|
|
|
|
let host = this.host |
|
|
|
|
let systemId = this.systemId |
|
|
|
|
console.log(this.systemId,'sys'); |
|
|
|
|
this.handleCacheData() |
|
|
|
|
let href = '' |
|
|
|
|
if(row){ |
|
|
|
|