后台展示 改为详情
This commit is contained in:
parent
fd32fd6769
commit
0ee999ed86
|
@ -120,7 +120,7 @@
|
||||||
>{{ $t("delete") }}</el-button
|
>{{ $t("delete") }}</el-button
|
||||||
>
|
>
|
||||||
<el-button type="text" size="small" @click="showDetail(scope.row)"
|
<el-button type="text" size="small" @click="showDetail(scope.row)"
|
||||||
>展示</el-button
|
>详情</el-button
|
||||||
>
|
>
|
||||||
<el-button type="text" size="small" @click="showDocument(scope.row)"
|
<el-button type="text" size="small" @click="showDocument(scope.row)"
|
||||||
>开发文档</el-button
|
>开发文档</el-button
|
||||||
|
@ -303,15 +303,17 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
showDetail (val) {
|
showDetail (val) {
|
||||||
|
console.log(val)
|
||||||
|
window.open(window.SITE_CONFIG.previewUrl + '#/details?id=' + val.id)
|
||||||
// this.addOrUpdateHandle(id)
|
// this.addOrUpdateHandle(id)
|
||||||
this.addOrUpdateVisible = true
|
// this.addOrUpdateVisible = true
|
||||||
this.disabled = false
|
// this.disabled = false
|
||||||
this.$nextTick(() => {
|
// this.$nextTick(() => {
|
||||||
this.$refs.addOrUpdate.UpdateState = false
|
// this.$refs.addOrUpdate.UpdateState = false
|
||||||
this.$refs.addOrUpdate.dataFormShowDetails = val
|
// this.$refs.addOrUpdate.dataFormShowDetails = val
|
||||||
this.$refs.addOrUpdate.init()
|
// this.$refs.addOrUpdate.init()
|
||||||
})
|
// })
|
||||||
this.disabled = true
|
// this.disabled = true
|
||||||
},
|
},
|
||||||
showDocument (val) {
|
showDocument (val) {
|
||||||
window.open(
|
window.open(
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
>{{ $t("delete") }}</el-button
|
>{{ $t("delete") }}</el-button
|
||||||
>
|
>
|
||||||
<el-button type="text" size="small" @click="showDetail(scope.row)"
|
<el-button type="text" size="small" @click="showDetail(scope.row)"
|
||||||
>展示</el-button
|
>详情</el-button
|
||||||
>
|
>
|
||||||
<el-button type="text" size="small" @click="showDocument(scope.row)"
|
<el-button type="text" size="small" @click="showDocument(scope.row)"
|
||||||
>开发文档</el-button
|
>开发文档</el-button
|
||||||
|
@ -287,14 +287,15 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
showDetail (val) {
|
showDetail (val) {
|
||||||
this.addOrUpdateVisible = true
|
window.open(window.SITE_CONFIG.previewUrl + '#/details?id=' + val.id)
|
||||||
this.disabled = false
|
// this.addOrUpdateVisible = true
|
||||||
this.$nextTick(() => {
|
// this.disabled = false
|
||||||
this.$refs.addOrUpdate.UpdateState = false
|
// this.$nextTick(() => {
|
||||||
this.$refs.addOrUpdate.dataFormShowDetails = val
|
// this.$refs.addOrUpdate.UpdateState = false
|
||||||
this.$refs.addOrUpdate.init()
|
// this.$refs.addOrUpdate.dataFormShowDetails = val
|
||||||
})
|
// this.$refs.addOrUpdate.init()
|
||||||
this.disabled = true
|
// })
|
||||||
|
// this.disabled = true
|
||||||
},
|
},
|
||||||
showDocument (val) {
|
showDocument (val) {
|
||||||
console.log(val)
|
console.log(val)
|
||||||
|
|
Loading…
Reference in New Issue