update:新增app_id到模板接口
This commit is contained in:
parent
cb9593e1c2
commit
c0d02c2a9f
@ -50,7 +50,7 @@
|
|||||||
<div class="enableExit">
|
<div class="enableExit">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="setThemes(page.tpl_id, page.tpl_label)"
|
@click="setThemes(page.tpl_id, page.tpl_label,page.app_id)"
|
||||||
>
|
>
|
||||||
{{ __('启用') }}
|
{{ __('启用') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
@ -115,11 +115,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async setThemes(tpl_id, tpl_label) {
|
async setThemes(tpl_id, tpl_label,app_id) {
|
||||||
this.$baseConfirm(this.__('确定启用此模板风格?'), null, async () => {
|
this.$baseConfirm(this.__('确定启用此模板风格?'), null, async () => {
|
||||||
const { msg, status } = await setThemes({
|
const { msg, status } = await setThemes({
|
||||||
tpl_id: tpl_id,
|
tpl_id: tpl_id,
|
||||||
store_template: tpl_label,
|
store_template: tpl_label,
|
||||||
|
app_id: app_id,
|
||||||
})
|
})
|
||||||
if (200 == status) {
|
if (200 == status) {
|
||||||
this.$baseMessage(msg, 'success')
|
this.$baseMessage(msg, 'success')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user