diff --git a/src/views/store/auth.vue b/src/views/store/auth.vue index e91c5ea..4246e68 100644 --- a/src/views/store/auth.vue +++ b/src/views/store/auth.vue @@ -19,13 +19,26 @@ 授权二维码 + + 批量发布体验版 + + + 批量发布正式版 +
- +

版本:{{ item.exp_info.exp_version }}

时间:{{ item.exp_info.exp_time }}

@@ -41,7 +54,7 @@
- 发布体验版 + 发布体验版 发布正式版 刷新版本 @@ -194,8 +207,27 @@ export default { handleQrcode() { this.$refs.qrcode.show() }, - handleCommit(item) { - this.$refs.commit.show(item) + handleCommit(appid) { + 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() { this.queryParam.page = 1 diff --git a/src/views/store/modules/Commit.vue b/src/views/store/modules/Commit.vue index 7b22c67..a7e9e4f 100644 --- a/src/views/store/modules/Commit.vue +++ b/src/views/store/modules/Commit.vue @@ -51,8 +51,8 @@ export default { /** * 显示对话框 */ - show(item) { - this.form.appid = item.appid + show(appid) { + this.form.appid = appid this.visible = true this.getTemplatelist() },