Commit f212e12b authored by yf's avatar yf

修改详情页报错

parent 40f6b64c
......@@ -825,7 +825,7 @@ export default {
this.$router.push({
name: "taskDetail",
params: {
inherntId: item.id,
inherentId: item.id,
floorId: item.floorId
}
});
......
......@@ -27,8 +27,8 @@
<van-field
readonly
required
name="projectId"
:value="form.projectId"
name="projectName"
:value="form.projectName"
label="所属项目"
placeholder="请输入"
/>
......
......@@ -93,7 +93,7 @@ export default {
TabDetail
},
created() {
this.inherentId = this.$route.params.id ||sessionStorage.getItem('inherntId')
this.inherentId = this.$route.params.id ||sessionStorage.getItem('inherentId')
this.floorId = this.$route.params.floorId
},
mounted() {
......@@ -115,7 +115,7 @@ export default {
return timestampToTime(new Date(time), "DT1", true);
},
goDetail(item){
sessionStorage.setItem('inherntId',this.inherentId)
sessionStorage.setItem('inherentId',this.inherentId)
sessionStorage.setItem('existingId',item.id)
this.$router.push({
name:'presentDetail',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment