diff --git a/dist.zip b/dist.zip index 5f65097..9d536a0 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/package-lock.json b/package-lock.json index 0a87b86..ae1c998 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "smartadmin", + "name": "yun-admin", "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "smartadmin", + "name": "yun-admin", "version": "3.0.0", "license": "MIT", "dependencies": { diff --git a/src/api/business/service-applications/service-applications-api.js b/src/api/business/service-applications/service-applications-api.js index 4f90adc..e3b3b27 100644 --- a/src/api/business/service-applications/service-applications-api.js +++ b/src/api/business/service-applications/service-applications-api.js @@ -32,8 +32,8 @@ export const serviceApplicationsApi = { /** * 编辑提交 @author wzh */ - submit: (id) => { - return getRequest(`/serviceApplications/submit/${id}`); + submit: (param) => { + return postRequest('/serviceApplications/submit', param); }, /** * 审核 @author wzh diff --git a/src/components/business/category-tree-select/index.vue b/src/components/business/category-tree-select/index.vue index 4a9c77a..706ef6e 100644 --- a/src/components/business/category-tree-select/index.vue +++ b/src/components/business/category-tree-select/index.vue @@ -7,7 +7,7 @@ - + diff --git a/src/views/business/erp/goods/components/goods-form-modal.vue b/src/views/business/erp/goods/components/goods-form-modal.vue index 1684cac..423c197 100644 --- a/src/views/business/erp/goods/components/goods-form-modal.vue +++ b/src/views/business/erp/goods/components/goods-form-modal.vue @@ -17,7 +17,15 @@ - + + + + @@ -42,7 +50,7 @@ + + \ No newline at end of file diff --git a/src/views/mobile/index.vue b/src/views/mobile/index.vue index 0876ed9..e0e4b90 100644 --- a/src/views/mobile/index.vue +++ b/src/views/mobile/index.vue @@ -80,7 +80,8 @@ async function getUserInfo() { // 检查用户角色(与PC端相同逻辑) function checkUserRole() { if (userInfo.value) { - const userRole = userInfo.value.roleCode || userInfo.value.roleName || '' + // 使用roleCode字段进行角色判断 + const userRole = userInfo.value.roleCode || '' const roleLower = userRole.toLowerCase() // CEO角色判断(CEO不显示新建申报按钮) @@ -90,7 +91,8 @@ function checkUserRole() { isAssociationRole.value = roleLower.includes('协会') || roleLower.includes('association') || roleLower.includes('律协') || - roleLower.includes('律师协会') + roleLower.includes('律师协会') || + roleLower.includes('admin_employee') console.log('用户角色:', userRole, '是CEO:', isCeo.value, '是协会角色:', isAssociationRole.value) } diff --git a/src/views/mobile/login.vue b/src/views/mobile/login.vue index f90b721..aa12a43 100644 --- a/src/views/mobile/login.vue +++ b/src/views/mobile/login.vue @@ -37,10 +37,6 @@ -
- 记住密码 -
- @@ -268,100 +328,99 @@ @click="handleSubmit" :disabled="loading" > - 提交申报 + 提交 - - -
-
处理中...
-
+ + + \ No newline at end of file diff --git a/src/views/mobile/service/detail.vue b/src/views/mobile/service/detail.vue index e596f02..9570970 100644 --- a/src/views/mobile/service/detail.vue +++ b/src/views/mobile/service/detail.vue @@ -88,50 +88,12 @@
二、服务信息
- -
- - -
- - -
- - -
- - -
- - -
-
- - -
-
三、活动信息
-
@@ -159,14 +125,16 @@
+ + + + + + + + + + + + +
+ + +
+
三、活动信息
@@ -253,7 +337,10 @@
- +
+ + +