修改切換角色

This commit is contained in:
qq787203167
2022-06-06 11:56:27 +08:00
parent 3d90a84b97
commit e49641b5cb
2 changed files with 22 additions and 18 deletions
@@ -114,7 +114,7 @@
{{ $t('add') }}
</div>
<div class="operator-text" @click="roleSwitchingClick">
<a-icon type="setting"/>
<a-icon type="select"/>
{{ $t('roleSwitching') }}
</div>
</div>
@@ -133,7 +133,7 @@
</div>
<div class="operator-text" v-if="this.$route.query.studioEngineer == this.userInfo().id"
@click="roleSwitchingClick">
<a-icon type="setting"/>
<a-icon type="select"/>
{{ $t('roleSwitching') }}
</div>
</div>
@@ -1206,7 +1206,7 @@
...this.formInline
}
this.confirmLoading = true
getAction(this.url.updateStatusBatch, query).then((res) => {
postAction(this.url.updateStatusBatch, query).then((res) => {
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.visible = false
@@ -1342,7 +1342,7 @@
projectLibraryId: _this.$route.query.id,
operatorResult: num
}
getAction(_this.url.updateStatusBatch, query).then((res) => {
postAction(_this.url.updateStatusBatch, query).then((res) => {
if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
_this.visible = false