Browse Source

特色服务 供销社 文件包位置调整 pages.json文件路径 index.cue文件路径

wangzhe 1 year ago
parent
commit
ef17dfd9ee

api/cooperative/cooperative.js → api/highFrequencyService/cooperative/cooperative.js


+ 7 - 7
api/specialService/financialInfrastructure.js

@@ -2,18 +2,18 @@ import upload from '@/utils/upload'
 import request from '@/utils/request'
 
 // 查询金融基建列表
-export function getCooperative() {
+export function listServer(query) {
   return request({
-    url: '/system/user/listAll',
-    method: 'get'
+    url: '/high/server/list',
+    method: 'get',
+    params: query
   })
 }
 
 // 查询金融基建详情
-export function updateUserProfile(data) {
+export function getServer(id,type) {
   return request({
-    url: '/system/user/profile',
-    method: 'put',
-    data: data
+    url: '/high/server/' + id + '/' + type,
+    method: 'get'
   })
 }

+ 7 - 7
api/specialService/legalService.js

@@ -2,18 +2,18 @@ import upload from '@/utils/upload'
 import request from '@/utils/request'
 
 // 查询法律服务列表
-export function getCooperative() {
+export function listServer(query) {
   return request({
-    url: '/system/user/listAll',
-    method: 'get'
+    url: '/high/server/list',
+    method: 'get',
+    params: query
   })
 }
 
 // 查询法律服务详情
-export function updateUserProfile(data) {
+export function getServer(id,type) {
   return request({
-    url: '/system/user/profile',
-    method: 'put',
-    data: data
+    url: '/high/server/' + id + '/' + type,
+    method: 'get'
   })
 }

+ 7 - 7
api/specialService/loveAtVillage.js

@@ -2,18 +2,18 @@ import upload from '@/utils/upload'
 import request from '@/utils/request'
 
 // 查询乡村婚恋列表
-export function getCooperative() {
+export function listServer(query) {
   return request({
-    url: '/system/user/listAll',
-    method: 'get'
+    url: '/high/server/list',
+    method: 'get',
+    params: query
   })
 }
 
 // 查询乡村婚恋详情
-export function updateUserProfile(data) {
+export function getServer(id,type) {
   return request({
-    url: '/system/user/profile',
-    method: 'put',
-    data: data
+    url: '/high/server/' + id + '/' + type,
+    method: 'get'
   })
 }

+ 5 - 5
api/highFrequencyService/highFrequencyService.js

@@ -1,6 +1,6 @@
 import request from '@/utils/request'
 
-// 查询高频服务列表
+// 查询特色服务列表
 export function listServer(query) {
   return request({
     url: '/high/server/list',
@@ -9,7 +9,7 @@ export function listServer(query) {
   })
 }
 
-// 查询高频服务详细
+// 查询特色服务详细
 export function getServer(id,type) {
   return request({
     url: '/high/server/' + id + '/' + type,
@@ -17,7 +17,7 @@ export function getServer(id,type) {
   })
 }
 
-// 新增高频服务
+// 新增特色服务
 export function addServer(data) {
   return request({
     url: '/high/server',
@@ -26,7 +26,7 @@ export function addServer(data) {
   })
 }
 
-// 修改高频服务
+// 修改特色服务
 export function updateServer(data) {
   return request({
     url: '/high/server',
@@ -35,7 +35,7 @@ export function updateServer(data) {
   })
 }
 
-// 删除高频服务
+// 删除特色服务
 export function delServer(id,type) {
   return request({
     url: '/high/server/' + id + '/' + type,

+ 3 - 3
pages.json

@@ -7,7 +7,7 @@
 			}
 		},
 		{
-			"path": "pages/cooperative/addCooperative",
+			"path": "pages/highFrequencyService/cooperative/addCooperative",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -16,7 +16,7 @@
 			}
 		},
 		{
-			"path": "pages/cooperative/cooperative",
+			"path": "pages/highFrequencyService/cooperative/cooperative",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
@@ -79,7 +79,7 @@
 			}
 		},
 		{
-			"path": "pages/cooperative/details",
+			"path": "pages/highFrequencyService/cooperative/details",
 			"style": {
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",

+ 1 - 1
pages/cooperative/addCooperative.vue

@@ -25,7 +25,7 @@
 </template>
 
 <script>
-import { addCooperative } from "@/api/cooperative/cooperative";
+import { addCooperative } from "@/api/highFrequencyService/cooperative/cooperative";
 import upload from '../../components/upload/index.vue'
 export default {
   components: {

pages/cooperative/cooperative.css → pages/highFrequencyService/cooperative/cooperative.css


+ 3 - 3
pages/cooperative/cooperative.vue

@@ -25,7 +25,7 @@
 </template>
 
 <script>
-import { getList, getDetails } from '@/api/cooperative/cooperative';
+import { getList, getDetails } from '@/api/highFrequencyService/cooperative/cooperative';
 export default {
     data() {
         return {
@@ -85,7 +85,7 @@ export default {
         /** 新增按钮操作 */
         handleAdd(){
             uni.navigateTo({
-                url: '../cooperative/addCooperative'
+                url: '../highFrequencyService/cooperative/addCooperative'
             });
         },
         /** 查询列表 */
@@ -108,7 +108,7 @@ export default {
         /** 查询详情 */
         goDetails(id) {
             uni.navigateTo({
-                url: '/pages/cooperative/details?id='+id
+                url: '/pages/highFrequencyService/cooperative/details?id='+id
             });
         }
     }

pages/cooperative/details.css → pages/highFrequencyService/cooperative/details.css


+ 1 - 1
pages/cooperative/details.vue

@@ -19,7 +19,7 @@
 </template>
 
 <script>
-    import { getDetails } from '@/api/cooperative/cooperative';
+    import { getDetails } from '@/api/highFrequencyService/cooperative/cooperative';
     export default {
     data() {
         return {

+ 2 - 2
pages/index/index.vue

@@ -461,7 +461,7 @@
 
 			goCooperative() {
 				uni.navigateTo({
-					url: '/pages/cooperative/cooperative'
+					url: '/pages/highFrequencyService/cooperative/cooperative'
 				});
 			},
 			goLoveAtVillage() {
@@ -604,4 +604,4 @@
 </script>
 <style>
 	@import './index.css';
-</style>
+</style>

+ 1 - 1
pages/specialService/financialInfrastructure/details.vue

@@ -15,7 +15,7 @@
 </template>
 
 <script>
-    import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+    import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
     export default {
         data() {
             return {

+ 1 - 1
pages/specialService/financialInfrastructure/financialInfrastructure.vue

@@ -18,7 +18,7 @@
 </template>
 
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
     data() {
         return {

+ 1 - 1
pages/specialService/legalService/details.vue

@@ -15,7 +15,7 @@
 </template>
 
 <script>
-    import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+    import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
     export default {
         data() {
             return {

+ 1 - 1
pages/specialService/legalService/legalService.vue

@@ -18,7 +18,7 @@
 </template>
 
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
     data() {
         return {

+ 1 - 1
pages/specialService/loveAtVillage/details.vue

@@ -15,7 +15,7 @@
 </template>
 
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
     data() {
         return {

+ 1 - 1
pages/specialService/loveAtVillage/loveAtVillage.vue

@@ -18,7 +18,7 @@
 </template>
 
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
     data() {
         return {