BUG 25359
This commit is contained in:
@@ -73,9 +73,9 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
emitShow() {
|
emitShow() {
|
||||||
document.title = document.title || "调查走访"
|
document.title = "调查走访"
|
||||||
if (this.showDetail) {
|
if (this.showDetail) {
|
||||||
|
document.title = this.$route.query.detail ? "走访详情" : "新增走访"
|
||||||
} else {
|
} else {
|
||||||
this.current = 1;
|
this.current = 1;
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
@@ -44,9 +44,7 @@ export default {
|
|||||||
inject: {root: {}},
|
inject: {root: {}},
|
||||||
computed: {
|
computed: {
|
||||||
isEdit() {
|
isEdit() {
|
||||||
let flag = this.$route.query?.detail != 1
|
return this.$route.query?.detail != 1
|
||||||
document.title = flag ? "新增走访" : "走访详情"
|
|
||||||
return flag
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -43,7 +43,10 @@ export default {
|
|||||||
if (!!this.image) {
|
if (!!this.image) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
current: this.image,
|
current: this.image,
|
||||||
urls: [this.image]
|
urls: [this.image],
|
||||||
|
success() {
|
||||||
|
sessionStorage.setItem("previewImage"," 1")
|
||||||
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.previewFile({size: 1, ...this.file})
|
this.previewFile({size: 1, ...this.file})
|
||||||
|
|||||||
Reference in New Issue
Block a user