|
|
@@ -1,15 +1,15 @@
|
|
|
<!-- 会员机构管理-机构管理-经纪会员管理-新增/修改 -->
|
|
|
<template>
|
|
|
- <app-drawer title="编辑" width="900" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
+ <app-drawer :title="t('member.institution.broker.edit.title') " width="900" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
<el-form ref="formRef" label-width="140px" :model="formData" :rules="formRules" :show-message="false">
|
|
|
<fieldset class="g-fieldset el-form--horizontal">
|
|
|
- <legend class="g-fieldset__legend">机构</legend>
|
|
|
- <el-form-item label="机构" prop="userid">
|
|
|
+ <legend class="g-fieldset__legend">{{ t('member.institution.broker.edit.userid') }}</legend>
|
|
|
+ <el-form-item :label="t('member.institution.broker.edit.userid') " prop="userid">
|
|
|
<app-select-member v-model="formData.userid" :placeholder="t('investor.custom.riskcfg.edit.tips1')" :params="{ exists: '7' }"
|
|
|
:disabled="!!record" @change="onMemberChange"/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="角色权限信息:" prop="userid" v-if="!record" >
|
|
|
- <el-button @click="openComponent('Roles')">查看</el-button>
|
|
|
+ <el-form-item :label="t('member.institution.broker.edit.title1')" prop="userid" v-if="!record" >
|
|
|
+ <el-button @click="openComponent('Roles')">{{ t('member.institution.broker.edit.look') }}</el-button>
|
|
|
<span>{{ manger }}</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="营销中心" prop="parentuserid">
|
|
|
@@ -17,14 +17,14 @@
|
|
|
</el-form-item>
|
|
|
</fieldset>
|
|
|
<fieldset class="g-fieldset el-form--horizontal">
|
|
|
- <legend class="g-fieldset__legend">权限信息</legend>
|
|
|
+ <legend class="g-fieldset__legend">{{ t('member.institution.broker.edit.userid2') }}</legend>
|
|
|
<el-table ref="tableRef" :data="formData.dtype" style="width: 100%;" @selection-change="handleSelectionChange" border>
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
- <el-table-column prop="marketName" label="市场" />
|
|
|
- <el-table-column prop="tradeMode" label="买大厅权限"
|
|
|
+ <el-table-column prop="marketName" :label="t('member.institution.broker.edit.marketName')" />
|
|
|
+ <el-table-column prop="tradeMode" :label="t('member.institution.broker.edit.tradeMode')"
|
|
|
v-if="multipleSelection.some((e) => e.tradeProperty === 4 || e.tradeMode === 79)">
|
|
|
<template #default="{ row }">
|
|
|
- <span v-if="row.tradeMode === 79">买大厅权限:可挂</span>
|
|
|
+ <span v-if="row.tradeMode === 79">{{ t('member.institution.broker.edit.tradeMode79') }}</span>
|
|
|
<template v-else-if="row.tradeMode === 17 && row.tradeProperty === 4">
|
|
|
<el-select v-model="row.dtype">
|
|
|
<template v-for="item in marketbstype" :key="item.value">
|
|
|
@@ -37,10 +37,10 @@
|
|
|
</template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="tradeMode" label="卖大厅权限"
|
|
|
+ <el-table-column prop="tradeMode" :label="t('member.institution.broker.edit.tradeMode1')"
|
|
|
v-if="multipleSelection.some((e) => e.tradeProperty === 4 || [77, 78].includes(e.tradeMode))" >
|
|
|
<template #default="{ row }">
|
|
|
- <span v-if="[77, 78].includes(row.tradeMode)">卖大厅权限:可挂</span>
|
|
|
+ <span v-if="[77, 78].includes(row.tradeMode)">{{ t('member.institution.broker.edit.tradeMode78') }}</span>
|
|
|
<template v-else-if="row.tradeProperty === 4">
|
|
|
<el-select v-model="row.spotRightType">
|
|
|
<template v-for="item in marketbstype" :key="item.value">
|