修复权限
This commit is contained in:
parent
a9b52b6b94
commit
459d55913e
@ -82,7 +82,6 @@
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['custom:customerCenter:add']"
|
||||
>新增
|
||||
</el-button>
|
||||
</el-col>
|
||||
@ -92,7 +91,6 @@
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['custom:customerCenter:export']"
|
||||
>导出
|
||||
</el-button>
|
||||
</el-col>
|
||||
@ -380,7 +378,7 @@ export default {
|
||||
// 表单校验
|
||||
rules: {
|
||||
customer: [
|
||||
{ required: true, message: "客户姓名不能为空", trigger: "blur" },
|
||||
// { required: true, message: "客户姓名不能为空", trigger: "blur" },
|
||||
],
|
||||
phone: [
|
||||
{ required: true, message: "手机号不能为空", trigger: "blur" },
|
||||
|
@ -300,7 +300,11 @@
|
||||
></right-toolbar>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="orderList">
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="orderList"
|
||||
:row-class-name="tableRowClassName"
|
||||
>
|
||||
<el-table-column label="审核状态" align="center" prop="reviewStatus">
|
||||
<template slot-scope="scope">
|
||||
<el-tag
|
||||
@ -330,7 +334,12 @@
|
||||
{{ toThousands(scope.row.amount) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="收款账号" align="center" prop="account" width="90" />
|
||||
<el-table-column
|
||||
label="收款账号"
|
||||
align="center"
|
||||
prop="account"
|
||||
width="90"
|
||||
/>
|
||||
<el-table-column label="服务时长" align="center" prop="serveTime" />
|
||||
<el-table-column label="销售" align="center" prop="preSale" />
|
||||
<el-table-column label="售后" align="center" prop="afterSale" />
|
||||
@ -698,6 +707,12 @@ export default {
|
||||
this.openPause = true;
|
||||
//this.$router.push({ name: 'orderPause', params: { 'orderId': order.orderId }})
|
||||
},
|
||||
tableRowClassName({ row, rowIndex }) {
|
||||
if (rowIndex % 2) {
|
||||
return "warning-row";
|
||||
}
|
||||
return "success-row";
|
||||
},
|
||||
},
|
||||
watch: {},
|
||||
};
|
||||
@ -720,4 +735,12 @@ export default {
|
||||
font-size: 22px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.warning-row {
|
||||
background: oldlace !important;
|
||||
}
|
||||
|
||||
.success-row {
|
||||
background: #f0f9eb !important;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user