|
|
@@ -53,7 +53,7 @@
|
|
|
<!-- 底部按钮 -->
|
|
|
<div class="button_btn">
|
|
|
<div @click="$router.go(-1)">返 回</div>
|
|
|
- <div class="edit">编 辑</div>
|
|
|
+ <div class="edit" @click="projecEdit">编 辑</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -92,6 +92,13 @@ export default {
|
|
|
watch: {},
|
|
|
// 方法集合
|
|
|
methods: {
|
|
|
+ // 点击编辑调整编辑页面
|
|
|
+ projecEdit () {
|
|
|
+ this.$router.push({
|
|
|
+ path: '/layout/tab1_edit',
|
|
|
+ query: { id: this.myId }
|
|
|
+ })
|
|
|
+ },
|
|
|
tabCut (index) {
|
|
|
this.topTabInd = index
|
|
|
}
|
|
|
@@ -103,7 +110,7 @@ export default {
|
|
|
// 拿到路由跳转传过来的数据
|
|
|
this.myId = this.$route.query.id
|
|
|
const res = await getDetail(this.myId)
|
|
|
- console.log(999, res)
|
|
|
+ // console.log(999, res)
|
|
|
this.tab0Data = res.data.entity
|
|
|
this.tab0Data.technology = this.myTechnology(this.tab0Data.technology)
|
|
|
this.tab0Data.application = this.myApplication(this.tab0Data.application)
|