Browse Source

修改个人、商户、代理的详情和补充的按钮切换

main
TonyStark 1 month ago
parent
commit
f8687e2833
  1. 4
      src/views/business/userRegister/index.vue
  2. 4
      src/views/business/userRegister/indexAgent.vue
  3. 4
      src/views/business/userRegister/indexBus.vue

4
src/views/business/userRegister/index.vue

@ -114,14 +114,14 @@
<el-table-column :label="$t('business.userManager.userRegister.address')" align="center" prop="addressInfo"/>
<el-table-column :label="$t('common.tableMsg.operation')" align="center" width="200" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button v-if="(scope.row.addressInfo == '')"
<el-button v-if="(scope.row.addressInfo == '' || scope.row.addressInfo == null)"
size="mini"
type="text"
icon="el-icon-document-add"
@click="handleAddInfo(scope.row)"
>{{ $t('business.userManager.userRegister.supplement') }}
</el-button>
<el-button v-if="(scope.row.addressInfo != '')"
<el-button v-if="(scope.row.addressInfo != '' && scope.row.addressInfo != null)"
size="mini"
type="text"
icon="el-icon-view"

4
src/views/business/userRegister/indexAgent.vue

@ -135,14 +135,14 @@
<el-table-column :label="$t('common.tableMsg.operation')" align="center" width="200"
class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button v-if="(scope.row.agentName == null)"
<el-button v-if="(scope.row.agentName == '' || scope.row.agentName == null)"
size="mini"
type="text"
icon="el-icon-document-add"
@click="handleAddInfo(scope.row)"
>{{ $t('business.agent.agentRegister.button.supplement') }}
</el-button>
<el-button v-if="(scope.row.agentName != null)"
<el-button v-if="(scope.row.agentName != '' && scope.row.agentName != null)"
size="mini"
type="text"
icon="el-icon-view"

4
src/views/business/userRegister/indexBus.vue

@ -138,7 +138,7 @@
class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
v-if="(scope.row.addressInfo == '' && scope.row.userType == '0') || (scope.row.address == '' && scope.row.userType == '1')"
v-if="(scope.row.merchantName == '' || scope.row.merchantName == null)"
size="mini"
type="text"
icon="el-icon-document-add"
@ -146,7 +146,7 @@
>{{ $t('business.userManager.userRegister.supplement') }}
</el-button>
<el-button
v-if="(scope.row.addressInfo != '' && scope.row.userType == '0') || (scope.row.address != '' && scope.row.userType == '1')"
v-if="(scope.row.merchantName != '' && scope.row.merchantName != null)"
size="mini"
type="text"
icon="el-icon-view"

Loading…
Cancel
Save