|
|
|
@ -58,6 +58,13 @@ |
|
|
|
|
<a @click="handleAuditOne(item.appid)">发布正式版</a> |
|
|
|
|
<a @click="handleVersion(item)">刷新版本</a> |
|
|
|
|
</span> |
|
|
|
|
<!-- 操作项 --> |
|
|
|
|
<span class="actions" slot="other_action" slot-scope="text, item"> |
|
|
|
|
<a @click="handlePrivacySetting(item)">隐私</a> |
|
|
|
|
<a @click="handleDomain(item)">服务器域名</a> |
|
|
|
|
<a @click="handleModifyJumpDomain(item)">业务域名</a> |
|
|
|
|
<a @click="handleOrderPath(item)">订单页path</a> |
|
|
|
|
</span> |
|
|
|
|
</a-table> |
|
|
|
|
<Qrcode ref="qrcode" /> |
|
|
|
|
<Commit ref="commit" /> |
|
|
|
@ -147,6 +154,13 @@ const columns = [ |
|
|
|
|
key: 'action', |
|
|
|
|
fixed: 'right', |
|
|
|
|
scopedSlots: { customRender: 'action' } |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '其他操作', |
|
|
|
|
width: '280px', |
|
|
|
|
key: 'other_action', |
|
|
|
|
fixed: 'right', |
|
|
|
|
scopedSlots: { customRender: 'other_action' } |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
export default { |
|
|
|
@ -257,6 +271,34 @@ export default { |
|
|
|
|
this.fetchData() |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handleDomain (item) { |
|
|
|
|
this.isLoading = true |
|
|
|
|
Api.setDomain({ appid: item.appid }).then((result) => { |
|
|
|
|
this.$message.success(result.message, 1.5) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handlePrivacySetting (item) { |
|
|
|
|
this.isLoading = true |
|
|
|
|
Api.privacySetting({ appid: item.appid }).then((result) => { |
|
|
|
|
this.$message.success(result.message, 1.5) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handleModifyJumpDomain (item) { |
|
|
|
|
this.isLoading = true |
|
|
|
|
Api.modifyJumpDomain({ appid: item.appid }).then((result) => { |
|
|
|
|
this.$message.success(result.message, 1.5) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handleOrderPath (item) { |
|
|
|
|
this.isLoading = true |
|
|
|
|
Api.setOrderPath({ appid: item.appid }).then((result) => { |
|
|
|
|
this.$message.success(result.message, 1.5) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 重置搜索表单 |
|
|
|
|
handleReset () { |
|
|
|
|
this.searchForm.resetFields() |
|
|
|
|