Browse Source

积分等级配置 , 增加限制 - 只能新增一条数据

feature/syp_points
zhangyongzhangyong 6 years ago
parent
commit
1af540f346
  1. 2
      src/views/modules/user/pointsgrade.vue

2
src/views/modules/user/pointsgrade.vue

@ -3,7 +3,7 @@
<div class="mod-epdc-user__pointsgrade}"> <div class="mod-epdc-user__pointsgrade}">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()"> <el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item> <el-form-item>
<el-button v-if="$hasPermission('epdc-user:pointsgrade:save')" type="primary" @click="addOrUpdateHandle()">{{ $t('add') }}</el-button> <el-button v-if="$hasPermission('epdc-user:pointsgrade:save')" :disabled="this.total > '0'" type="primary" @click="addOrUpdateHandle()">{{ $t('add') }}</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" style="width: 100%;"> <el-table v-loading="dataListLoading" :data="dataList" border @selection-change="dataListSelectionChangeHandle" style="width: 100%;">

Loading…
Cancel
Save