1、el-button废弃属性修改
This commit is contained in:
parent
f03fbb9a35
commit
61bf655a53
@ -44,7 +44,7 @@
|
||||
<el-table-column prop="originalName" width="202" :show-overflow-tooltip="true" label="附件名称"></el-table-column>
|
||||
<el-table-column prop="name" width="80" align="center" :show-overflow-tooltip="true" label="操作">
|
||||
<template #default="tool">
|
||||
<el-button type="text" @click="handleDownload(tool.row.ossId)">下载</el-button>
|
||||
<el-button text type="primary" @click="handleDownload(tool.row.ossId)">下载</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -53,11 +53,11 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" @click="seeCouponList(scope.row)">领取记录 </el-button>
|
||||
<el-button size="small" type="text" @click="handleUpdate(scope.row)" v-hasPermi="['act:couponActivity:opt']">修改 </el-button>
|
||||
<el-button size="small" text type="primary" @click="seeCouponList(scope.row)">领取记录 </el-button>
|
||||
<el-button size="small" text type="primary" @click="handleUpdate(scope.row)" v-hasPermi="['act:couponActivity:opt']">修改 </el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
text type="primary"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-if="scope.row.leftCount === scope.row.totalCount"
|
||||
v-hasPermi="['act:couponActivity:opt']"
|
||||
|
@ -127,8 +127,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['act:memberCoupon:edit']">修改 </el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['act:memberCoupon:remove']"
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['act:memberCoupon:edit']">修改 </el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['act:memberCoupon:remove']"
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -61,8 +61,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['monitor:job:edit']">修改</el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['monitor:job:remove']">删除</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['monitor:job:edit']">修改</el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['monitor:job:remove']">删除</el-button>
|
||||
<el-dropdown
|
||||
size="small"
|
||||
@command="(command) => handleCommand(command, scope.row)"
|
||||
|
@ -72,7 +72,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']">详细</el-button>
|
||||
<el-button size="small" text type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']">详细</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -53,7 +53,7 @@
|
||||
<el-table-column label="退货快递号" prop="refundWaybillCode"></el-table-column>
|
||||
<el-table-column label="操作">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleWatch(scope.row)">查看</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleWatch(scope.row)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -85,7 +85,7 @@
|
||||
<el-button size="small" text type="primary" @click="showLog(scope.row.orderId)" v-hasPermi="['oms:aftersale:log']">日志 </el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
text type="primary"
|
||||
@click="approve(scope.row, 1)"
|
||||
v-if="scope.row.aftersaleStatus == 0"
|
||||
v-hasPermi="['manager:oms:aftersale:update']"
|
||||
@ -93,7 +93,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
text type="primary"
|
||||
@click="handleOpen(scope.row, 2)"
|
||||
class="red"
|
||||
v-if="scope.row.aftersaleStatus == 0"
|
||||
@ -102,7 +102,7 @@
|
||||
</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
text type="primary"
|
||||
@click="confirmReceive(scope.row, 3)"
|
||||
v-if="scope.row.aftersaleStatus == 1 && scope.row.applyRefundType == 2"
|
||||
v-hasPermi="['manager:oms:aftersale:update']"
|
||||
@ -158,11 +158,10 @@ import {
|
||||
viewLog
|
||||
} from '@/api/oms/aftersale';
|
||||
import dateUtil from '@/utils/DateUtil';
|
||||
import SeeAdsComponent from '@/components/SeeAdsComponent.vue';
|
||||
|
||||
export default {
|
||||
name: 'OmsAftersale',
|
||||
components: { SeeAdsComponent },
|
||||
components: {},
|
||||
dicts: ['oms_aftersale_type', 'oms_aftersale_status'],
|
||||
data() {
|
||||
return {
|
||||
|
@ -37,8 +37,8 @@
|
||||
<el-table-column label="退货数量" align="center" prop="quantity" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oms:aftersaleItem:edit']">修改</el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:aftersaleItem:remove']"
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oms:aftersaleItem:edit']">修改</el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:aftersaleItem:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</template>
|
||||
|
@ -29,10 +29,10 @@
|
||||
<el-table-column label="物流单号" align="center" prop="deliverySn" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oms:orderDeliveryHistory:edit']"
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oms:orderDeliveryHistory:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:orderDeliveryHistory:remove']"
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:orderDeliveryHistory:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</template>
|
||||
|
@ -79,8 +79,8 @@
|
||||
<el-table-column label="商品sku属性:" align="center" prop="spData" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oms:orderItem:edit']">修改</el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:orderItem:remove']">删除</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['oms:orderItem:edit']">修改</el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:orderItem:remove']">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -33,12 +33,12 @@
|
||||
<template v-slot="scope">
|
||||
<!-- <el-button-->
|
||||
<!-- size="small"-->
|
||||
<!-- type="text"-->
|
||||
<!-- text type="primary"-->
|
||||
<!-- icon="Edit"-->
|
||||
<!-- @click="handleUpdate(scope.row)"-->
|
||||
<!-- v-hasPermi="['oms:orderOperateHistory:edit']"-->
|
||||
<!-- >修改</el-button>-->
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:orderOperateHistory:remove']"
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oms:orderOperateHistory:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</template>
|
||||
|
@ -77,10 +77,10 @@
|
||||
<el-table-column label="响应内容" align="center" prop="responseBody" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['pms:wechatPaymentHistory:edit']"
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['pms:wechatPaymentHistory:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['pms:wechatPaymentHistory:remove']"
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['pms:wechatPaymentHistory:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</template>
|
||||
|
@ -35,8 +35,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)">修改 </el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)">删除</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)">修改 </el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -107,11 +107,11 @@
|
||||
</el-table-column>-->
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width" width="150" align="center" fixed="right">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)">修改 </el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)">删除</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)">修改 </el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)">删除</el-button>
|
||||
</template>
|
||||
<!-- <template v-slot="scope">
|
||||
<el-button size="small" type="text" @click="showProductEditModal(scope.row)">编辑</el-button>
|
||||
<el-button size="small" text type="primary" @click="showProductEditModal(scope.row)">编辑</el-button>
|
||||
</template>-->
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -42,8 +42,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)">修改 </el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)">删除 </el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)">修改 </el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)">删除 </el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -34,8 +34,8 @@
|
||||
<el-table-column label="商品销售属性,json格式" align="center" prop="spData" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['pms:sku:edit']">修改</el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['pms:sku:remove']">删除</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['pms:sku:edit']">修改</el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['pms:sku:remove']">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -12,7 +12,7 @@
|
||||
<el-table-column label="绑定时间" width="180" align="center" prop="createTime" />
|
||||
<el-table-column label="操作" width="80" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-button size="small" type="text" @click="unlockAuth(scope.row)">解绑</el-button>
|
||||
<el-button size="small" text type="primary" @click="unlockAuth(scope.row)">解绑</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -106,19 +106,19 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width" fixed="right" width="200">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" @click="showUserAccountModal(scope.row)">账户数据 </el-button>
|
||||
<el-button size="small" type="text">充值消费记录 </el-button>
|
||||
<el-button size="small" type="text">开通代理 </el-button>
|
||||
<el-button size="small" type="text" @click="showUserAccountEditModal(scope.row)">编辑 </el-button>
|
||||
<el-button size="small" type="text" @click="showUserBalanceInfoModal(scope.row, true)">余额变更记录 </el-button>
|
||||
<el-button size="small" type="text">开通易生支付 </el-button>
|
||||
<el-button size="small" type="text" @click="showUserLoginInfoModal(scope.row, true)">登录记录 </el-button>
|
||||
<el-button size="small" type="text">操作日志 </el-button>
|
||||
<el-button size="small" type="text">封禁记录 </el-button>
|
||||
<el-button size="small" type="text" @click="showBlackListInfoModal(scope.row)">黑名单 </el-button>
|
||||
<!-- <el-button size="small" type="text" @click="showStatistics(scope.row.id)" v-hasPermi="['ums:member:statistics']">查看数据 </el-button>
|
||||
<el-button size="small" type="text" @click="goOrder(scope.row.phoneEncrypted)">查看下单</el-button>
|
||||
<el-button size="small" type="text" @click="goCart(scope.row.phoneEncrypted)">查看购物车</el-button>-->
|
||||
<el-button size="small" text type="primary" @click="showUserAccountModal(scope.row)">账户数据 </el-button>
|
||||
<el-button size="small" text type="primary">充值消费记录 </el-button>
|
||||
<el-button size="small" text type="primary">开通代理 </el-button>
|
||||
<el-button size="small" text type="primary" @click="showUserAccountEditModal(scope.row)">编辑 </el-button>
|
||||
<el-button size="small" text type="primary" @click="showUserBalanceInfoModal(scope.row, true)">余额变更记录 </el-button>
|
||||
<el-button size="small" text type="primary">开通易生支付 </el-button>
|
||||
<el-button size="small" text type="primary" @click="showUserLoginInfoModal(scope.row, true)">登录记录 </el-button>
|
||||
<el-button size="small" text type="primary">操作日志 </el-button>
|
||||
<el-button size="small" text type="primary">封禁记录 </el-button>
|
||||
<el-button size="small" text type="primary" @click="showBlackListInfoModal(scope.row)">黑名单 </el-button>
|
||||
<!-- <el-button size="small" text type="primary" @click="showStatistics(scope.row.id)" v-hasPermi="['ums:member:statistics']">查看数据 </el-button>
|
||||
<el-button size="small" text type="primary" @click="goOrder(scope.row.phoneEncrypted)">查看下单</el-button>
|
||||
<el-button size="small" text type="primary" @click="goCart(scope.row.phoneEncrypted)">查看购物车</el-button>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -71,14 +71,14 @@
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="small"-->
|
||||
<!-- type="text"-->
|
||||
<!-- text type="primary"-->
|
||||
<!-- icon="Edit"-->
|
||||
<!-- @click="handleUpdate(scope.row)"-->
|
||||
<!-- v-hasPermi="['ums:memberAddress:edit']"-->
|
||||
<!-- >修改</el-button>-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="small"-->
|
||||
<!-- type="text"-->
|
||||
<!-- text type="primary"-->
|
||||
<!-- icon="Delete"-->
|
||||
<!-- @click="handleDelete(scope.row)"-->
|
||||
<!-- v-hasPermi="['ums:memberAddress:remove']"-->
|
||||
|
@ -65,14 +65,14 @@
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="small"-->
|
||||
<!-- type="text"-->
|
||||
<!-- text type="primary"-->
|
||||
<!-- icon="Edit"-->
|
||||
<!-- @click="handleUpdate(scope.row)"-->
|
||||
<!-- v-hasPermi="['ums:memberCart:edit']"-->
|
||||
<!-- >修改</el-button>-->
|
||||
<!-- <el-button-->
|
||||
<!-- size="small"-->
|
||||
<!-- type="text"-->
|
||||
<!-- text type="primary"-->
|
||||
<!-- icon="Delete"-->
|
||||
<!-- @click="handleDelete(scope.row)"-->
|
||||
<!-- v-hasPermi="['ums:memberCart:remove']"-->
|
||||
|
@ -50,7 +50,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['ums:memberLogininfor:remove']"
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['ums:memberLogininfor:remove']"
|
||||
>删除
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -83,8 +83,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template v-slot="scope">
|
||||
<el-button size="small" type="text" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['ums:memberWechat:edit']">修改</el-button>
|
||||
<el-button size="small" type="text" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['ums:memberWechat:remove']">删除</el-button>
|
||||
<el-button size="small" text type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['ums:memberWechat:edit']">修改</el-button>
|
||||
<el-button size="small" text type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['ums:memberWechat:remove']">删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user