diff --git a/pages/fileList/fileList.vue b/pages/fileList/fileList.vue
index 8349195d..67aea9c3 100644
--- a/pages/fileList/fileList.vue
+++ b/pages/fileList/fileList.vue
@@ -9,8 +9,9 @@
@@ -24,8 +25,8 @@
-
-
+
+
@@ -39,77 +40,85 @@
+
\ No newline at end of file
diff --git a/pages/fileManage/fileManage.vue b/pages/fileManage/fileManage.vue
index 16593bf8..c91fd859 100644
--- a/pages/fileManage/fileManage.vue
+++ b/pages/fileManage/fileManage.vue
@@ -81,11 +81,17 @@
},
loadData(){
var json={
- companySn: JSON.parse(uni.getStorageSync('userInfo')).headquartersSn,
+ // companySn: JSON.parse(uni.getStorageSync('userInfo')).headquartersSn,
fileName: this.searchName,
pageNo: 1,
pageSize: 100
}
+ if ([2, 3, 4, 7].includes(JSON.parse(uni.getStorageSync('userInfo')).accountType)) {
+ json.companySn = JSON.parse(uni.getStorageSync('userInfo')).sn
+ }
+ if ([5, 6, 10].includes(JSON.parse(uni.getStorageSync('userInfo')).accountType)) {
+ json.projectSn = JSON.parse(uni.getStorageSync('userInfo')).sn
+ }
var that = this
this.sendRequest({
url: "xmgl/companyFile/list",