|
|
@ -19,13 +19,26 @@ |
|
|
|
<a-form-item class="search-btn"> |
|
|
|
<a-form-item class="search-btn"> |
|
|
|
<a-button type="primary" @click="handleQrcode">授权二维码</a-button> |
|
|
|
<a-button type="primary" @click="handleQrcode">授权二维码</a-button> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
<a-form-item class="search-btn"> |
|
|
|
|
|
|
|
<a-button type="primary" @click="handleBatchTest">批量发布体验版</a-button> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
<a-form-item class="search-btn"> |
|
|
|
|
|
|
|
<a-button type="primary" @click="handleBatch">批量发布正式版</a-button> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
</a-form> |
|
|
|
</a-form> |
|
|
|
</a-row> |
|
|
|
</a-row> |
|
|
|
<!-- 操作板块 --> |
|
|
|
<!-- 操作板块 --> |
|
|
|
<div class="row-item-tab clearfix"></div> |
|
|
|
<div class="row-item-tab clearfix"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<a-table :rowKey="(record) => record.id" :columns="columns" :data-source="list" bordered :pagination="false"> |
|
|
|
<a-table |
|
|
|
|
|
|
|
:rowKey="(record) => record.appid" |
|
|
|
|
|
|
|
:columns="columns" |
|
|
|
|
|
|
|
:data-source="list" |
|
|
|
|
|
|
|
bordered |
|
|
|
|
|
|
|
:pagination="false" |
|
|
|
|
|
|
|
:rowSelection="rowSelection" |
|
|
|
|
|
|
|
> |
|
|
|
<span slot="exp_info" slot-scope="text, item"> |
|
|
|
<span slot="exp_info" slot-scope="text, item"> |
|
|
|
<p v-if="item.exp_info.exp_version">版本:{{ item.exp_info.exp_version }}</p> |
|
|
|
<p v-if="item.exp_info.exp_version">版本:{{ item.exp_info.exp_version }}</p> |
|
|
|
<p v-if="item.exp_info.exp_time">时间:{{ item.exp_info.exp_time }}</p> |
|
|
|
<p v-if="item.exp_info.exp_time">时间:{{ item.exp_info.exp_time }}</p> |
|
|
@ -41,7 +54,7 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<!-- 操作项 --> |
|
|
|
<!-- 操作项 --> |
|
|
|
<span class="actions" slot="action" slot-scope="text, item"> |
|
|
|
<span class="actions" slot="action" slot-scope="text, item"> |
|
|
|
<a @click="handleCommit(item)">发布体验版</a> |
|
|
|
<a @click="handleCommit(item.appid)">发布体验版</a> |
|
|
|
<a @click="handleAudit(item.appid)">发布正式版</a> |
|
|
|
<a @click="handleAudit(item.appid)">发布正式版</a> |
|
|
|
<a @click="handleVersion(item)">刷新版本</a> |
|
|
|
<a @click="handleVersion(item)">刷新版本</a> |
|
|
|
</span> |
|
|
|
</span> |
|
|
@ -194,8 +207,27 @@ export default { |
|
|
|
handleQrcode() { |
|
|
|
handleQrcode() { |
|
|
|
this.$refs.qrcode.show() |
|
|
|
this.$refs.qrcode.show() |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleCommit(item) { |
|
|
|
handleCommit(appid) { |
|
|
|
this.$refs.commit.show(item) |
|
|
|
this.$refs.commit.show(appid) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
handleBatchTest() { |
|
|
|
|
|
|
|
let appids = this.selectedRowKeys.join(',') |
|
|
|
|
|
|
|
if (appids === '') { |
|
|
|
|
|
|
|
this.$message.error('请选择需要提交的APPID') |
|
|
|
|
|
|
|
return false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.$refs.commit.show(appids) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
handleBatch() { |
|
|
|
|
|
|
|
let appids = this.selectedRowKeys.join(',') |
|
|
|
|
|
|
|
if (appids === '') { |
|
|
|
|
|
|
|
this.$message.error('请选择需要提交的APPID') |
|
|
|
|
|
|
|
return false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
Api.audit({ appid: appids }).then((result) => { |
|
|
|
|
|
|
|
this.$message.success(result.message, 1.5) |
|
|
|
|
|
|
|
this.fetchData() |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
handleSearch() { |
|
|
|
handleSearch() { |
|
|
|
this.queryParam.page = 1 |
|
|
|
this.queryParam.page = 1 |
|
|
|