diff --git a/src/api/product/category.js b/src/api/product/category.js
index ae4c349..b3bcc4c 100644
--- a/src/api/product/category.js
+++ b/src/api/product/category.js
@@ -9,6 +9,14 @@ export function listCategory(query) {
})
}
+
+export function listCategoryAll(query) {
+ return request({
+ url: '/product/category/list',
+ method: 'get',
+ params: query
+ })
+}
// 查询品类信息详细
export function getCategory(id) {
return request({
diff --git a/src/views/product/category/index.vue b/src/views/product/category/index.vue
index b25ff2f..464fdd2 100644
--- a/src/views/product/category/index.vue
+++ b/src/views/product/category/index.vue
@@ -68,7 +68,7 @@
-
+
diff --git a/src/views/product/rule/index.vue b/src/views/product/rule/index.vue
index 4aff985..722973c 100644
--- a/src/views/product/rule/index.vue
+++ b/src/views/product/rule/index.vue
@@ -101,6 +101,7 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['product:rule:edit']"
+ :disabled="scope.row.flag"
>修改
删除