积分审核
This commit is contained in:
		| @@ -9,18 +9,20 @@ | ||||
|         :current.sync="search.current" | ||||
|         :size.sync="search.size" | ||||
|         @getList="getList"> | ||||
|         <el-table-column slot="goods" width="240px" label="商品" align="left"> | ||||
|         <el-table-column slot="imgs" width="240px" label="凭证" align="center"> | ||||
|           <template slot-scope="{ row }"> | ||||
|             <div class="goods"> | ||||
|               <img :src="row.imageUrl"> | ||||
|               <span>{{ row.merchandiseName }}</span> | ||||
|             </div> | ||||
|             <ai-uploader | ||||
|               :instance="instance" | ||||
|               disabled | ||||
|               :value="row.voucherImageUrl" | ||||
|               :limit="1"> | ||||
|             </ai-uploader> | ||||
|           </template> | ||||
|         </el-table-column> | ||||
|         <el-table-column slot="options" width="120px" fixed="right" label="操作" align="center"> | ||||
|           <template slot-scope="{ row }"> | ||||
|             <div class="table-options"> | ||||
|               <el-button type="text" @click="operation(row.id)">积分审核</el-button> | ||||
|               <el-button type="text" @click="operation(row.id)">审核</el-button> | ||||
|             </div> | ||||
|           </template> | ||||
|         </el-table-column> | ||||
| @@ -48,25 +50,19 @@ | ||||
|         name: '', | ||||
|         info: {}, | ||||
|         colConfigs: [ | ||||
|           { slot: 'goods', label: '商品' }, | ||||
|           { prop: 'merchandiseIntegral', align: 'center', label: '单价' }, | ||||
|           { prop: 'merchandiseNumber', align: 'center', label: '数量' }, | ||||
|           { prop: 'createUserName', align: 'left', label: '申请人' }, | ||||
|           { prop: 'applyItem', align: 'center', label: '申请事项' }, | ||||
|           { slot: 'imgs', label: '凭证' }, | ||||
|           { | ||||
|             prop: 'arriveTime', | ||||
|             prop: 'applyIntegral', | ||||
|             align: 'center', | ||||
|             label: '兑换量' | ||||
|           }, | ||||
|           { | ||||
|             prop: 'visibleRange', | ||||
|             align: 'center', | ||||
|             label: '可见范围', | ||||
|             formart: v => v === '0' ? '不限' : '指定网格' | ||||
|             label: '积分数' | ||||
|           }, | ||||
|           { | ||||
|             prop: 'status', | ||||
|             align: 'center', | ||||
|             label: '状态', | ||||
|             formart: v => this.mapStatus(v) | ||||
|             formart: v => this.dict.getLable('integralApplyStatus', v) | ||||
|           } | ||||
|         ], | ||||
|         tableData: [], | ||||
| @@ -75,7 +71,9 @@ | ||||
|     }, | ||||
|  | ||||
|     created () { | ||||
|       this.getList() | ||||
|       this.dict.load('integralApplyStatus').then(() => { | ||||
|         this.getList() | ||||
|       }) | ||||
|     }, | ||||
|  | ||||
|     methods: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user