|
|
@@ -84,7 +84,8 @@ export default {
|
|
|
assetsType: 'Video',
|
|
|
assetsPackage: null,
|
|
|
assetsIdList:[],
|
|
|
- screenOrientation: 'portrait'
|
|
|
+ screenOrientation: 'portrait',
|
|
|
+ shopId: this.$store.state.user.shopId,
|
|
|
},
|
|
|
arCodeConfig:{
|
|
|
configId: null,
|
|
|
@@ -159,23 +160,24 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleIssue(){
|
|
|
- this.$confirm('确定要生成卡片吗?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
+ this.$http({
|
|
|
+ url: this.$http.adornUrl('/ar/arIssuePicAssetsConfig/issue'),
|
|
|
+ method: 'post',
|
|
|
+ data: this.$http.adornData(this.arCodeConfig)
|
|
|
}).then(() => {
|
|
|
- this.$http({
|
|
|
- url: this.$http.adornUrl('/ar/arIssuePicAssetsConfig/issue'),
|
|
|
- method: 'post',
|
|
|
- data: this.$http.adornData(this.arCodeConfig)
|
|
|
- }).then(() => {
|
|
|
- this.$message({
|
|
|
- message: '请刷新查看发行进度',
|
|
|
- type: 'success'
|
|
|
- });
|
|
|
- this.closeDialog()
|
|
|
- })
|
|
|
+ this.$message({
|
|
|
+ message: '请刷新查看发行进度',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ // this.closeDialog()
|
|
|
})
|
|
|
+ // this.$confirm('确定要生成卡片吗?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // }).then(() => {
|
|
|
+ //
|
|
|
+ // })
|
|
|
},
|
|
|
closeDialog(){
|
|
|
this.visible = false;
|