|
|
@ -204,6 +204,7 @@ export default { |
|
|
|
id, |
|
|
|
status, |
|
|
|
status_dictText, |
|
|
|
remark, |
|
|
|
image, |
|
|
|
shop, |
|
|
|
name, |
|
|
@ -227,7 +228,7 @@ export default { |
|
|
|
|
|
|
|
this.id = id |
|
|
|
this.status = status |
|
|
|
this.statusDesc = status_dictText |
|
|
|
this.statusDesc = status == '2' ? `${status_dictText}:${remark}` : status_dictText |
|
|
|
|
|
|
|
} catch (err) { |
|
|
|
|
|
|
@ -239,13 +240,15 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
const { status, status_dictText } = await this.$fetch('queryShopById', { id: this.id }) |
|
|
|
const { status, status_dictText, remark } = await this.$fetch('queryShopById', { id: this.id }) |
|
|
|
|
|
|
|
this.status = status |
|
|
|
this.statusDesc = status_dictText |
|
|
|
this.statusDesc = status == '2' ? `${status_dictText}:${remark}` : status_dictText |
|
|
|
} catch (err) { |
|
|
|
|
|
|
|
console.log('--err', err) |
|
|
|
} |
|
|
|
|
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
}, |
|
|
|
async onSubmit() { |
|
|
|
try { |
|
|
|