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