diff --git a/src/components/PageView/index.vue b/src/components/PageView/index.vue
index 9af3ac9..122ff37 100644
--- a/src/components/PageView/index.vue
+++ b/src/components/PageView/index.vue
@@ -3,7 +3,7 @@
:scroll-y="true"
class="scroll-view-custom"
@scrolltolower="loadMore"
- :style="{ height: clientHeight + 'px' }"
+ :style="{ 'max-height': clientHeight + 'px' }"
>
diff --git a/src/pages.json b/src/pages.json
index da2d24a..00e44a1 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -344,7 +344,7 @@
{
"path": "supplierType",
"style": {
- "navigationBarTitleText": "出货分类"
+ "navigationBarTitleText": "供应商分类"
}
},
{
diff --git a/src/pagesApp/components/addUser.vue b/src/pagesApp/components/addUser.vue
index 8cfaed9..85663b7 100644
--- a/src/pagesApp/components/addUser.vue
+++ b/src/pagesApp/components/addUser.vue
@@ -162,10 +162,10 @@ const handleSelect = (key: string, v: any) => {
const save = () => {
if (model1.formData.id) {
- StockCardApi.updateStockCard(model1.formData).then((res) => {
+ ProfileApi.updateUserById(model1.formData).then((res) => {
if (res.code === 200) {
uni.redirectTo({
- url: "/pagesApp/stockCard", // 要跳转到的页面路径
+ url: "/pagesApp/user", // 要跳转到的页面路径
});
}
});
@@ -181,7 +181,7 @@ const save = () => {
};
const getRoleList = () => {
- ProfileApi.getRoleList().then((res) => {
+ ProfileApi.getRoleList({}).then((res) => {
if (res.code === 200) {
contrlModalParams.role.list = (res.data as any).map((item: any) => {
return { ...item, name: item.roleName };
diff --git a/src/pagesApp/role.vue b/src/pagesApp/role.vue
index 5328532..bbf69df 100644
--- a/src/pagesApp/role.vue
+++ b/src/pagesApp/role.vue
@@ -12,23 +12,31 @@
>
新增
-
-
-
- {{ item.roleName }}
-
-
- 编辑
- 删除
-
+ {
+ getList(v);
+ }
+ "
+ :noMoreData="pageList.noMoreData"
+ >
+
+
+
+ {{ item.roleName }}
+
+
+ 编辑
+ 删除
+
-
+