From 37b4f209ee57db1677c448a72fce5699f6b9209e Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 17 二月 2025 09:36:11 +0800
Subject: [PATCH] 修改分页
---
src/views/standard/standardLibrary/index.vue | 34 ++++++++++++++++++++++++----------
1 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/src/views/standard/standardLibrary/index.vue b/src/views/standard/standardLibrary/index.vue
index 6314cb0..d57f377 100644
--- a/src/views/standard/standardLibrary/index.vue
+++ b/src/views/standard/standardLibrary/index.vue
@@ -204,7 +204,7 @@
></el-input>
</el-col>
<el-col
- v-if="addPower"
+ v-if="checkPermi(['standard:standardLibrary:add'])"
:span="4"
style="text-align: center; line-height: 30px"
>
@@ -261,7 +261,7 @@
</el-col>
<el-col
v-if="
- checkPermi(['system:standard:delStandardTree']) &&
+ checkPermi(['standard:standardLibrary:delStandardTree']) &&
(node.data.children === null ||
node.data.children === undefined)
"
@@ -278,7 +278,7 @@
</el-col>
<el-col
v-if="
- checkPermi(['system:standard:delStandardTree']) &&
+ checkPermi(['standard:standardLibrary:delStandardTree']) &&
(node.data.children === null ||
node.data.children === undefined)
"
@@ -409,7 +409,9 @@
<el-table-column label="瑕佹眰鍊�" min-width="200px" prop="ask">
<template slot-scope="scope">
<el-input
- v-if="checkPermi(['system:standard:upStandardProduct'])"
+ v-if="
+ checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
v-model="scope.row.ask"
:autosize="{ minRows: 1, maxRows: 3 }"
clearable
@@ -424,7 +426,9 @@
<el-table-column label="瑕佹眰鎻忚堪" min-width="220px" prop="tell">
<template slot-scope="scope">
<el-input
- v-if="checkPermi(['system:standard:upStandardProduct'])"
+ v-if="
+ checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
v-model="scope.row.tell"
:autosize="{ minRows: 1, maxRows: 3 }"
clearable
@@ -441,7 +445,9 @@
<el-table-column label="璇曢獙鏂规硶" prop="method" width="200">
<template slot-scope="scope">
<el-select
- v-if="checkPermi(['system:standard:upStandardProduct'])"
+ v-if="
+ checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
v-model="scope.row.methodS"
clearable
placeholder="璇曢獙鏂规硶"
@@ -469,7 +475,9 @@
>
<template slot-scope="scope">
<el-select
- v-if="checkPermi(['system:standard:upStandardProduct'])"
+ v-if="
+ checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
v-model="scope.row.radius"
clearable
placeholder="鏉′欢"
@@ -498,7 +506,9 @@
<el-table-column label="鍗曚环(鍏�)" prop="price" width="120">
<template slot-scope="scope">
<el-input
- v-if="checkPermi(['system:standard:upStandardProduct'])"
+ v-if="
+ checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
v-model="scope.row.price"
placeholder="鍗曚环(鍏�)"
size="small"
@@ -513,7 +523,9 @@
<el-table-column label="宸ユ椂绯绘暟" prop="manHour" width="120">
<template slot-scope="scope">
<el-input
- v-if="checkPermi(['system:standard:upStandardProduct'])"
+ v-if="
+ checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
v-model="scope.row.manHour"
placeholder="鍗曚环(鍏�)"
size="small"
@@ -535,7 +547,9 @@
<template slot-scope="scope">
<el-select
v-model="scope.row.templateId"
- :disabled="!checkPermi(['system:standard:upStandardProduct'])"
+ :disabled="
+ !checkPermi(['standard:standardLibrary:upStandardProduct'])
+ "
filterable
size="small"
@change="
--
Gitblit v1.9.3