소스 검색

Merge branch 'master' of http://192.168.10.18:3000/sooka_shop/sooka_consult_uniapp

付宇航 1 년 전
부모
커밋
069348f517
55개의 변경된 파일770개의 추가작업 그리고 263개의 파일을 삭제
  1. 8 1
      api/handleAffairs/gridType.js
  2. 26 16
      api/handleAffairs/matter.js
  3. 11 2
      api/cooperative/cooperative.js
  4. 8 0
      api/me/nameAuthentication.js
  5. 9 0
      api/me/officialAuthentication.js
  6. 7 7
      api/specialService/financialInfrastructure.js
  7. 7 7
      api/specialService/legalService.js
  8. 7 7
      api/specialService/loveAtVillage.js
  9. 5 5
      api/highFrequencyService/highFrequencyService.js
  10. 29 20
      pages.json
  11. 0 65
      pages/cooperative/cooperative.vue
  12. 20 15
      pages/topic/dept.vue
  13. 1 1
      pages/gridQuery/gridQuery.vue
  14. 47 19
      pages/handleAffairs/handleAffairs.vue
  15. 0 0
      pages/handleAffairs/matterAll/matterAll.css
  16. 3 3
      pages/matterAll/matterAll.vue
  17. 11 15
      pages/gridQuery/mattercontent.vue
  18. 0 0
      pages/handleAffairs/mattersAdd/mattersAdd.css
  19. 18 18
      pages/mattersAdd/mattersAdd.vue
  20. 45 8
      pages/topic/topic.vue
  21. 156 0
      pages/highFrequencyService/cooperative/addCooperative.vue
  22. 0 0
      pages/highFrequencyService/cooperative/cooperative.css
  23. 119 0
      pages/highFrequencyService/cooperative/cooperative.vue
  24. 0 0
      pages/highFrequencyService/cooperative/details.css
  25. 1 1
      pages/cooperative/details.vue
  26. 7 7
      pages/index/index.vue
  27. 0 0
      pages/information/fuwu/fuwu.css
  28. 6 6
      pages/fuwu/fuwu.vue
  29. 0 0
      pages/information/informationAdd/informationAdd.css
  30. 0 0
      pages/information/informationAdd/informationAdd.vue
  31. 0 0
      pages/information/informationDetail/informationDetail.css
  32. 2 2
      pages/informationDetail/informationDetail.vue
  33. 0 0
      pages/information/toGovernmentList/toGovernmentList.css
  34. 1 1
      pages/toGovernmentList/toGovernmentList.vue
  35. 0 0
      pages/information/toLegal/toLegal.css
  36. 4 4
      pages/toLegal/toLegal.vue
  37. 2 2
      pages/matters/matters.vue
  38. 4 4
      pages/me/me.vue
  39. 0 0
      pages/me/meOperate/meOperate.css
  40. 1 1
      pages/me/meOperate.vue
  41. 0 0
      pages/me/myPayKnow/informationDetail.css
  42. 1 1
      pages/myPayKnow/informationDetail.vue
  43. 0 0
      pages/me/myPayKnow/myPayKnow.css
  44. 3 3
      pages/myPayKnow/myPayKnow.vue
  45. 0 0
      pages/me/nameAuthentication/nameAuthentication.css
  46. 23 5
      pages/me/nameAuthentication.vue
  47. 0 0
      pages/me/officialAuthentication/officialAuthentication.css
  48. 23 7
      pages/me/officialAuthentication.vue
  49. 2 1
      pages/quotations/quotations.vue
  50. 1 1
      pages/specialService/financialInfrastructure/details.vue
  51. 50 2
      pages/specialService/financialInfrastructure/financialInfrastructure.vue
  52. 1 1
      pages/specialService/legalService/details.vue
  53. 50 2
      pages/specialService/legalService/legalService.vue
  54. 1 1
      pages/specialService/loveAtVillage/details.vue
  55. 50 2
      pages/specialService/loveAtVillage/loveAtVillage.vue

+ 8 - 1
api/handleAffairs/gridType.js

@@ -25,7 +25,14 @@ export function addGridType(data) {
     data: data
     data: data
   })
   })
 }
 }
-
+// 查询主题事项列表
+export function listMatters(query) {
+  return request({
+    url: '/system/matter/list',
+    method: 'get',
+    params: query
+  })
+}
 // 修改网格类型配置
 // 修改网格类型配置
 export function updateGridType(data) {
 export function updateGridType(data) {
   return request({
   return request({

+ 26 - 16
api/handleAffairs/matter.js

@@ -9,14 +9,6 @@ export function listDept(query) {
   })
   })
 }
 }
 // 查询事项列表
 // 查询事项列表
-export function listMatters(query) {
-  return request({
-    url: '/system/matter/list',
-    method: 'get',
-    params: query
-  })
-}
-// 查询事项列表
 export function getMattersAll(query) {
 export function getMattersAll(query) {
   return request({
   return request({
     url: '/system/matter/listAll',
     url: '/system/matter/listAll',
@@ -40,6 +32,23 @@ export function addsc(data) {
   })
   })
 }
 }
 
 
+// 查询事项列表
+export function listMatters(query) {
+  return request({
+    url: '/system/matter/list',
+    method: 'get',
+    params: query
+  })
+}
+// 收藏事项
+export function scadd(data) {
+  return request({
+    url: '/system/collect/add',
+    method: 'post',
+    data: data
+  })
+}
+
 // 查询事项收藏详细
 // 查询事项收藏详细
 export function collectlist(id) {
 export function collectlist(id) {
   return request({
   return request({
@@ -48,18 +57,19 @@ export function collectlist(id) {
   })
   })
 }
 }
 
 
-// 查询事项详细
-export function getsc(id) {
+export function getsc(query) {
   return request({
   return request({
-    url: '/system/collect/lists/' + id,
-    method: 'get'
-  })
+    url: '/system/collect/lists',
+    method: 'get',
+    params: query
+    
+  });
 }
 }
 
 
-// 删除事项
+
+// 取消收藏事项
 export function delDept(id) {
 export function delDept(id) {
   return request({
   return request({
     url: '/system/collect/delete/' + id,
     url: '/system/collect/delete/' + id,
     method: 'delete'
     method: 'delete'
-  })}
-
+  })}

+ 11 - 2
api/cooperative/cooperative.js

@@ -1,6 +1,15 @@
 import request from '@/utils/request'
 import request from '@/utils/request'
 
 
-// 查询合作社列表
+// 新增供销合作社
+export function addCooperative(data) {
+  return request({
+    url: '/high/server/cooperative',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询供销合作社列表
 export function getList(query) {
 export function getList(query) {
   return request({
   return request({
     url: '/high/server/cooperative/list',
     url: '/high/server/cooperative/list',
@@ -9,7 +18,7 @@ export function getList(query) {
   })
   })
 }
 }
 
 
-// 查询合作社详情
+// 查询供销合作社详情
 export function getDetails(id) {
 export function getDetails(id) {
   return request({
   return request({
     url: '/high/server/cooperative/' + id,
     url: '/high/server/cooperative/' + id,

+ 8 - 0
api/me/nameAuthentication.js

@@ -8,3 +8,11 @@ export function appletAdd(query) {
     data: query
     data: query
   })
   })
 }
 }
+
+//按用户id查询实名认证信息
+export function getUserInfo(userId) {
+  return request({
+    url: '/nameAuthentication/getNameInfo/'+ userId,
+    method: 'get',
+  })
+}

+ 9 - 0
api/me/officialAuthentication.js

@@ -8,3 +8,12 @@ export function appletAdd(query) {
     data: query
     data: query
   })
   })
 }
 }
+
+
+//按用户id查询实名认证信息
+export function getUserInfo(userId) {
+  return request({
+    url: '/officialAuthentication/getOfficialInfo/'+ userId,
+    method: 'get',
+  })
+}

+ 7 - 7
api/specialService/financialInfrastructure.js

@@ -2,18 +2,18 @@ import upload from '@/utils/upload'
 import request from '@/utils/request'
 import request from '@/utils/request'
 
 
 // 查询金融基建列表
 // 查询金融基建列表
-export function getCooperative() {
+export function listServer(query) {
   return request({
   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({
   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'
 import request from '@/utils/request'
 
 
 // 查询法律服务列表
 // 查询法律服务列表
-export function getCooperative() {
+export function listServer(query) {
   return request({
   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({
   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'
 import request from '@/utils/request'
 
 
 // 查询乡村婚恋列表
 // 查询乡村婚恋列表
-export function getCooperative() {
+export function listServer(query) {
   return request({
   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({
   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'
 import request from '@/utils/request'
 
 
-// 查询高频服务列表
+// 查询特色服务列表
 export function listServer(query) {
 export function listServer(query) {
   return request({
   return request({
     url: '/high/server/list',
     url: '/high/server/list',
@@ -9,7 +9,7 @@ export function listServer(query) {
   })
   })
 }
 }
 
 
-// 查询高频服务详细
+// 查询特色服务详细
 export function getServer(id,type) {
 export function getServer(id,type) {
   return request({
   return request({
     url: '/high/server/' + id + '/' + type,
     url: '/high/server/' + id + '/' + type,
@@ -17,7 +17,7 @@ export function getServer(id,type) {
   })
   })
 }
 }
 
 
-// 新增高频服务
+// 新增特色服务
 export function addServer(data) {
 export function addServer(data) {
   return request({
   return request({
     url: '/high/server',
     url: '/high/server',
@@ -26,7 +26,7 @@ export function addServer(data) {
   })
   })
 }
 }
 
 
-// 修改高频服务
+// 修改特色服务
 export function updateServer(data) {
 export function updateServer(data) {
   return request({
   return request({
     url: '/high/server',
     url: '/high/server',
@@ -35,7 +35,7 @@ export function updateServer(data) {
   })
   })
 }
 }
 
 
-// 删除高频服务
+// 删除特色服务
 export function delServer(id,type) {
 export function delServer(id,type) {
   return request({
   return request({
     url: '/high/server/' + id + '/' + type,
     url: '/high/server/' + id + '/' + type,

+ 29 - 20
pages.json

@@ -7,7 +7,16 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/cooperative/cooperative",
+			"path": "pages/highFrequencyService/cooperative/addCooperative",
+			"style": {
+				"usingComponents": {},
+				"navigationBarBackgroundColor": "#07c160",
+				"navigationBarTextStyle": "white",
+				"navigationBarTitleText": "新增供销社信息"
+			}
+		},
+		{
+			"path": "pages/highFrequencyService/cooperative/cooperative",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -70,7 +79,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/cooperative/details",
+			"path": "pages/highFrequencyService/cooperative/details",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -116,7 +125,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/fuwu/fuwu",
+			"path": "pages/information/fuwu/fuwu",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"onReachBottomDistance": 5,
 				"onReachBottomDistance": 5,
@@ -142,7 +151,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/myPayKnow/myPayKnow",
+			"path": "pages/me/myPayKnow/myPayKnow",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -176,7 +185,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/mattersAdd/mattersAdd",
+			"path": "pages/handleAffairs/mattersAdd/mattersAdd",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -215,7 +224,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/informationAdd/informationAdd",
+			"path": "pages/information/informationAdd/informationAdd",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -224,7 +233,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/informationDetail/informationDetail",
+			"path": "pages/information/informationDetail/informationDetail",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -242,7 +251,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/myPayKnow/informationDetail",
+			"path": "pages/me/myPayKnow/informationDetail",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -281,7 +290,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/handleAffairs/handleAffairs",
+			"path": "pages/handleAffairs/index",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -334,7 +343,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/toGovernmentList/toGovernmentList",
+			"path": "pages/information/toGovernmentList/toGovernmentList",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -351,7 +360,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/toLegal/toLegal",
+			"path": "pages/information/toLegal/toLegal",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -380,7 +389,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/me/nameAuthentication",
+			"path": "pages/me/nameAuthentication/nameAuthentication",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -390,7 +399,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/me/officialAuthentication",
+			"path": "pages/me/officialAuthentication/officialAuthentication",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -400,7 +409,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/me/meOperate",
+			"path": "pages/me/meOperate/meOperate",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -409,7 +418,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/gridQuery/gridQuery",
+			"path": "pages/handleAffairs/gridQuery/gridQuery",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -554,7 +563,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/topic/topic",
+			"path": "pages/handleAffairs/topic/topic",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -563,7 +572,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/matterAll/matterAll",
+			"path": "pages/handleAffairs/matterAll/matterAll",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -572,7 +581,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/topic/dept",
+			"path": "pages/handleAffairs/dept/dept",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -581,7 +590,7 @@
 			}
 			}
 		},
 		},
 		{
 		{
-			"path": "pages/gridQuery/mattercontent",
+			"path": "pages/handleAffairs/mattercontent/mattercontent",
 			"style": {
 			"style": {
 				"usingComponents": {},
 				"usingComponents": {},
 				"navigationBarBackgroundColor": "#07c160",
 				"navigationBarBackgroundColor": "#07c160",
@@ -611,7 +620,7 @@
 			},
 			},
 			{
 			{
 				"text": "资讯",
 				"text": "资讯",
-				"pagePath": "pages/fuwu/fuwu",
+				"pagePath": "pages/information/fuwu/fuwu",
 				"iconPath": "static/pages/images/index2.png",
 				"iconPath": "static/pages/images/index2.png",
 				"selectedIconPath": "static/pages/images/index1.png"
 				"selectedIconPath": "static/pages/images/index1.png"
 			},
 			},

+ 0 - 65
pages/cooperative/cooperative.vue

@@ -1,65 +0,0 @@
-<template>
-    <view class="container">
-        <!-- 供销社列表 -->
-        <view class="rnwdList" v-for="(item, index) in list" :key="index">
-            <view @tap="goDetails(item.id)" class="cooperativeImgBox">
-                <image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>
-                <!--<image :src="loadImgSrc(item.imgUrl)" class="cooperativeImg"></image>-->
-            </view>
-            <view @tap="goDetails(item.id)" class="cooperativeBox">
-                <view class="list">
-                    <span class="listTitle">{{ item.name }}</span>
-                    <view class="jlSj">
-                        <span class="jf">
-                            {{ item.address?item.address:'' }}
-                        </span>
-                    </view>
-                </view>
-            </view>
-            <em class="iconfont icon-xiangyoujiantou"></em>
-        </view>
-    </view>
-</template>
-
-<script>
-import { getList, getDetails } from '@/api/cooperative/cooperative';
-export default {
-    data() {
-        return {
-            list: [
-                {
-                    name:"-",
-                    address:"-",
-                    chargePeople:"-",
-                    chargePhone:"-",
-                    imgUrl:"-"
-                }
-            ],
-        };
-    }
-    /**
-     * 生命周期函数--监听页面加载
-     */,
-    onLoad(options) {
-        this.getList();
-    },
-    methods: {
-        /** 查询列表 */
-        getList(type) {
-            this.loading = true;
-            getList().then(response => {
-                this.list = response.rows;
-            });
-        },
-        /** 查询详情 */
-        goDetails(id) {
-            uni.navigateTo({
-                url: '/pages/cooperative/details?id='+id
-            });
-        }
-    }
-};
-</script>
-<style>
-@import './cooperative.css';
-</style>

+ 20 - 15
pages/topic/dept.vue

@@ -1,20 +1,23 @@
 <template>
 <template>
 	<view>
 	<view>
-		<view class="btnContain">
-			<button 
-				v-for="(item,idx) in userType" 
-				@click="onclick(item,idx)"
-				:class="idx == currentIdx ? 'highlight' : 'not-highlight'"
-				:style="idx == 0 ? 'text-align:left' : 'text-align:right'"
-				>
-				{{item.dictLabel}}
-			</button>
-		</view>
+
+			<view class="btnContain">
+				<button
+					v-for="(item,idx) in userType"
+					@click="onclick(item,idx)"
+					:class="idx == currentIdx ? 'highlight' : 'not-highlight'"
+					:style="idx == 0 ? 'text-align:left' : 'text-align:right'"
+					>
+					{{item.dictLabel}}
+				</button>
+			</view>
+
+
 		<view>
 		<view>
 			<uni-grid :column="2" :square="false" :highlight="false">
 			<uni-grid :column="2" :square="false" :highlight="false">
 				<uni-grid-item v-for="(item, index) in dataList" :index="index" :key="index">
 				<uni-grid-item v-for="(item, index) in dataList" :index="index" :key="index">
 						<view class="grid-item-box" @click="onMatters(item)">
 						<view class="grid-item-box" @click="onMatters(item)">
-					
+
 						<text class="text">{{ item.name }}</text>
 						<text class="text">{{ item.name }}</text>
 					</view>
 					</view>
 				</uni-grid-item>
 				</uni-grid-item>
@@ -37,7 +40,7 @@
 			return {
 			return {
 				userType: [], // 初始化用户类型为空
 				userType: [], // 初始化用户类型为空
 				dataList: [],
 				dataList: [],
-				currentIdx:null,
+				currentIdx:0,
 			}
 			}
 		},
 		},
 		created() {
 		created() {
@@ -46,9 +49,10 @@
 		},
 		},
 		methods: {
 		methods: {
 			onMatters(data){
 			onMatters(data){
+        console.log(data)
 				uni.setStorageSync('data', {department:data.name,examine:1})
 				uni.setStorageSync('data', {department:data.name,examine:1})
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/matterAll/matterAll',
+					url: '/pages/handleAffairs/matterAll/matterAll',
 				});
 				});
 			},
 			},
 			getdataList(data){
 			getdataList(data){
@@ -63,7 +67,7 @@
 					_that.dataList = res.data
 					_that.dataList = res.data
 					console.log("9999999999999999999999",_that.dataList)
 					console.log("9999999999999999999999",_that.dataList)
 				})
 				})
-				
+
 			},
 			},
 			onclick(row,idx) {
 			onclick(row,idx) {
 				this.currentIdx = idx
 				this.currentIdx = idx
@@ -157,4 +161,5 @@
 		justify-content: center;
 		justify-content: center;
 		padding: 15px 0;
 		padding: 15px 0;
 	}
 	}
-</style>
+
+</style>

+ 1 - 1
pages/gridQuery/gridQuery.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
 	<view>
 	<view>
 			<view >
 			<view >
-				<uni-title type="h3" :title="data.name+'职责:'"></uni-title><br/><br/>
+				<uni-title type="h5" :title="data.name+'职责:'" color="#666"></uni-title><br/><br/>
 			</view>
 			</view>
 
 
 			<view>
 			<view>

+ 47 - 19
pages/handleAffairs/handleAffairs.vue

@@ -2,15 +2,15 @@
 
 
 	<view style="background-color:#fff ;">
 	<view style="background-color:#fff ;">
 		<!-- 搜索栏 -->
 		<!-- 搜索栏 -->
-		<view class="input-view_contain">
+		<view class="input-view_contain data-v-53a1f34c">
 			<view class="input-view">
 			<view class="input-view">
-				<uni-icons type="search" size="20" class="search-icon" @tap="confirm"></uni-icons>
 				<input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索内容" @confirm="confirm" v-model="title"/>
 				<input confirm-type="search" class="nav-bar-input" type="text" placeholder="输入搜索内容" @confirm="confirm" v-model="title"/>
+				<uni-icons type="search" size="20" class="search-icon" @tap="confirm"></uni-icons>
 			</view>
 			</view>
 		</view>
 		</view>
 		<view class="spacing"></view>
 		<view class="spacing"></view>
 		<!-- 网格配置列表滑动 -->
 		<!-- 网格配置列表滑动 -->
-		<view>
+		<view class="image-hei">
 			<uni-swiper-dot :info="info" :current="current" field="content" :mode="mode">
 			<uni-swiper-dot :info="info" :current="current" field="content" :mode="mode">
 				<swiper class="swiper-box" style="height: 160rpx;">
 				<swiper class="swiper-box" style="height: 160rpx;">
 					<swiper-item v-for="(item ,index) in gridtType" :key="index">
 					<swiper-item v-for="(item ,index) in gridtType" :key="index">
@@ -42,10 +42,10 @@
 		    <view class="segmented-control">
 		    <view class="segmented-control">
 		        <!-- <view class="segmented-control-item" :class="{ active: activeTab === 'recommend' }" @click="changeTab('recommend')">常办事项</view>
 		        <!-- <view class="segmented-control-item" :class="{ active: activeTab === 'recommend' }" @click="changeTab('recommend')">常办事项</view>
 		        <view class="segmented-control-item" :class="{ active: activeTab === 'favorite' }" @click="changeTab('favorite')">我的事</view> -->
 		        <view class="segmented-control-item" :class="{ active: activeTab === 'favorite' }" @click="changeTab('favorite')">我的事</view> -->
-				<view 
-					class="segmented-control-item" 
-					:class="activeTab == e.label ? 'highlight' : 'not-highlight' " 
-					@click="changeTab(e.label)" 
+				<view
+					class="segmented-control-item"
+					:class="activeTab == e.label ? 'highlight' : 'not-highlight' "
+					@click="changeTab(e.label)"
 					v-for="(e,idx) in switchOption"
 					v-for="(e,idx) in switchOption"
 					:key="idx"
 					:key="idx"
 					>
 					>
@@ -61,7 +61,7 @@
 		                    <p @click="getmatter(item)">{{ item.title }}</p>
 		                    <p @click="getmatter(item)">{{ item.title }}</p>
 		                </li> -->
 		                </li> -->
 						<uni-list>
 						<uni-list>
-							<uni-list-item  :title="item.title" v-for="(item,index) in recommendList" @click="getmatter(item)" clickable="true" ></uni-list-item>
+							<uni-list-item  class="list-item":title="item.title" v-for="(item,index) in recommendList" @click="getmatter(item)" clickable="true" link></uni-list-item>
 						</uni-list>
 						</uni-list>
 		            </ul>
 		            </ul>
 		        </view>
 		        </view>
@@ -73,16 +73,21 @@
 		                    <p @click="getmatter(item)">{{ item.title }}</p>
 		                    <p @click="getmatter(item)">{{ item.title }}</p>
 		                </li> -->
 		                </li> -->
 						<uni-list>
 						<uni-list>
-							<uni-list-item  :title="item.title" v-for="(item,index) in favoriteList" @click="getmatter(item)" clickable="true" ></uni-list-item>
+							<uni-list-item class="list-item" :title="item.title" v-for="(item,index) in favoriteList" @click="getmatter(item)" clickable="true" link></uni-list-item>
 						</uni-list>
 						</uni-list>
 		            </ul>
 		            </ul>
 		        </view>
 		        </view>
 		    </view>
 		    </view>
-
+			<uni-fab ref="fab" :horizontal="right" :vertical="bottom"
+			         @fabClick="goToMatterAllPage()"/>
+			<!-- <view class="add-button" @click="goToMatterAllPage">
+					<text>+</text>
+				</view> -->
 		</view>
 		</view>
 
 
 
 
 	</view>
 	</view>
+
 </template>
 </template>
 
 
 <script>
 <script>
@@ -109,7 +114,13 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 					    value:'我的事',
 					    value:'我的事',
 					    label:'favorite'
 					    label:'favorite'
 				    }
 				    }
-			    ]
+			    ],
+				  userList: [], // 收藏列表数据
+				  //悬浮按钮右对齐
+				  right: 'right',
+				  //悬浮按钮下对齐
+				  bottom: 'bottom',
+				  color:'#8FBC8F '
 			};
 			};
 		},
 		},
 		created() {
 		created() {
@@ -118,6 +129,12 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 			this.getListscolle();
 			this.getListscolle();
 		},
 		},
 		methods: {
 		methods: {
+			  goToMatterAllPage() {
+			        // 使用 uni-app 的路由跳转方法跳转到 matterAll 页面
+			        uni.navigateTo({
+			            url: '/pages/handleAffairs/mattersAdd/mattersAdd'
+			        });
+			    },
 			confirm(){
 			confirm(){
 				if (!this.title.trim()) {//去除前后空格,在判断是否为空
 				if (!this.title.trim()) {//去除前后空格,在判断是否为空
 					return
 					return
@@ -125,13 +142,13 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 				console.log(this.title)
 				console.log(this.title)
 				uni.setStorageSync('data', {title:this.title,examine:1})
 				uni.setStorageSync('data', {title:this.title,examine:1})
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/matterAll/matterAll',
+					url: '/pages/handleAffairs/matterAll/matterAll',
 				});
 				});
 			},
 			},
 			//主题导航跳转
 			//主题导航跳转
 			topic(){
 			topic(){
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/topic/topic',
+					url: '/pages/handleAffairs/topic/topic',
 				});
 				});
 			},
 			},
 
 
@@ -139,7 +156,7 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 				console.log(item)
 				console.log(item)
 				uni.setStorageSync('id', item.id)
 				uni.setStorageSync('id', item.id)
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/gridQuery/gridQuery?titleText='+item.name
+					url: '/pages/handleAffairs/gridQuery/gridQuery?titleText='+item.name
 
 
 				});
 				});
 			},
 			},
@@ -183,13 +200,13 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 			getmatter(item) {
 			getmatter(item) {
 			    uni.setStorageSync('id', item.id);
 			    uni.setStorageSync('id', item.id);
 			    uni.navigateTo({
 			    uni.navigateTo({
-			        url: '/pages/gridQuery/mattercontent',
+			        url: '/pages/handleAffairs/mattercontent/mattercontent',
 			    });
 			    });
 			},
 			},
 			addNewItem(item) {
 			addNewItem(item) {
 
 
 			    uni.navigateTo({
 			    uni.navigateTo({
-			        url: '/pages/mattersAdd/mattersAdd',
+			        url: '/pages/handleAffairs/mattersAdd/mattersAdd',
 			    });
 			    });
 			},
 			},
 			changeTab(tab) {
 			changeTab(tab) {
@@ -202,7 +219,7 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 			dept(){
 			dept(){
 
 
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/topic/dept',
+					url: '/pages/handleAffairs/dept/dept',
 				});
 				});
 			}
 			}
 		}
 		}
@@ -229,7 +246,7 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 		position: relative;
 		position: relative;
 		display: flex;
 		display: flex;
 		width: 92%;
 		width: 92%;
-		height: 6vh;
+		height: 8vh;
 		margin: auto;
 		margin: auto;
 		border-radius: 10px;
 		border-radius: 10px;
 		border: 1px solid #19C56B;
 		border: 1px solid #19C56B;
@@ -265,11 +282,14 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 
 
 	}
 	}
 	.input-view_contain{
 	.input-view_contain{
-		height: 6vh;
+		height: 50px;
 		width: 100%;
 		width: 100%;
 		background-color: #07C160;
 		background-color: #07C160;
 	}
 	}
 	.input-view {
 	.input-view {
+
+		justify-content: space-between;
+		align-items: center;
 		/* #ifndef APP-PLUS-NVUE */
 		/* #ifndef APP-PLUS-NVUE */
 		display: flex;
 		display: flex;
 		/* #endif */
 		/* #endif */
@@ -286,6 +306,7 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 		width: 96%;
 		width: 96%;
 		.nav-bar-input{
 		.nav-bar-input{
 			margin: auto 0;
 			margin: auto 0;
+			font-size: 15px;
 		}
 		}
 	}
 	}
 	.segmented-control {
 	.segmented-control {
@@ -314,4 +335,11 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
 	.spacing {
 	.spacing {
 		height: 40rpx;
 		height: 40rpx;
 	}
 	}
+	.image-hei{
+		height:80px
+	}
+	.list-item {
+	   border-bottom: 1px dotted #ccc;
+	   height:35px
+	}
 </style>
 </style>

pages/matterAll/matterAll.css → pages/handleAffairs/matterAll/matterAll.css


+ 3 - 3
pages/matterAll/matterAll.vue

@@ -68,7 +68,7 @@
 			onclick(data){//点击详情
 			onclick(data){//点击详情
 				uni.setStorageSync('id', data.id);
 				uni.setStorageSync('id', data.id);
 				uni.navigateTo({
 				uni.navigateTo({
-				    url: '/pages/gridQuery/mattercontent',
+				    url: '/pages/handleAffairs/mattercontent/mattercontent',
 				});
 				});
 			},
 			},
 			getMatters() {
 			getMatters() {
@@ -76,7 +76,7 @@
 				listMatters(_that.queryForm).then(res => {
 				listMatters(_that.queryForm).then(res => {
 					_that.dataList = res.rows
 					_that.dataList = res.rows
 					_that.total = res.total
 					_that.total = res.total
-					console.log(res)
+
 				})
 				})
 			}
 			}
 		}
 		}
@@ -84,7 +84,7 @@
 </script>
 </script>
 
 
 <style lang="scss">
 <style lang="scss">
-@import './matterAll.css';
+@import 'matterAll.css';
 .container{
 .container{
 	height: 100%;
 	height: 100%;
 	content: '\e633';
 	content: '\e633';

+ 11 - 15
pages/gridQuery/mattercontent.vue

@@ -2,18 +2,14 @@
 
 
 	<view>
 	<view>
 		<view class="rnwdList">
 		<view class="rnwdList">
-
-
 			<ul >
 			<ul >
 				<li >
 				<li >
-
 					<h3>{{matterlist.title }}</h3>
 					<h3>{{matterlist.title }}</h3>
 				    <p>{{ matterlist.content }}</p>
 				    <p>{{ matterlist.content }}</p>
+					<image class="uni-header-image" :src="'http://127.0.0.1:8080'+matterlist.picture"></image>
 					   <button @click="toggleFavorite">{{ isFavorite ? '❤️' : '🤍' }}</button>
 					   <button @click="toggleFavorite">{{ isFavorite ? '❤️' : '🤍' }}</button>
 				</li>
 				</li>
 				</ul>
 				</ul>
-
-
 		</view>
 		</view>
 	</view>
 	</view>
 
 
@@ -22,7 +18,7 @@
 
 
 <script>
 <script>
 	import {
 	import {
-		 getDept, addsc, delDept, getsc
+		 getDept, scadd, delDept, getsc
 	} from '@/api/handleAffairs/matter.js';
 	} from '@/api/handleAffairs/matter.js';
 
 
 	export default {
 	export default {
@@ -37,11 +33,11 @@
 
 
 		},
 		},
 
 
-
 		methods: {
 		methods: {
 		      getList(){
 		      getList(){
 		        const _that = this;
 		        const _that = this;
 		        const id = uni.getStorageSync('id');
 		        const id = uni.getStorageSync('id');
+
 		        getDept(id).then(res =>{
 		        getDept(id).then(res =>{
 		          _that.matterlist = res.data
 		          _that.matterlist = res.data
 					this.checkFavorite();
 					this.checkFavorite();
@@ -56,19 +52,19 @@
 		        } else {
 		        } else {
 					const userId = getApp().globalData.userId
 					const userId = getApp().globalData.userId
 					const matterId = this.matterlist.id
 					const matterId = this.matterlist.id
-		         addsc({ matterId:this.matterlist.id , userId }).then(() => {
+		         scadd({ matterId:this.matterlist.id , userId }).then(() => {
 		             this.isFavorite = true;
 		             this.isFavorite = true;
 		         });
 		         });
 		        }
 		        }
 		      },
 		      },
 
 
-		    checkFavorite() {
-				const userId = getApp().globalData.userId
-		      getsc(userId).then(res => {
-		        this.isFavorite = res.data;
-		      });
-		    },
-
+		   checkFavorite() {
+		   	const userId = getApp().globalData.userId
+		   	const matterId = this.matterlist.id
+		     getsc({ matterId , userId }).then(res => {
+		       this.isFavorite = res.data;
+		     });
+		   },
 	},
 	},
 	}
 	}
 </script>
 </script>

pages/mattersAdd/mattersAdd.css → pages/handleAffairs/mattersAdd/mattersAdd.css


+ 18 - 18
pages/mattersAdd/mattersAdd.vue

@@ -23,25 +23,25 @@
 				</uni-forms-item>
 				</uni-forms-item>
 				<uni-forms-item name="type" label="主题类型" required label-width="30%">
 				<uni-forms-item name="type" label="主题类型" required label-width="30%">
 					<uni-data-select
 					<uni-data-select
-							
+
 						  style="width: 30%;margin: auto;"
 						  style="width: 30%;margin: auto;"
 						  v-model="formData.type"
 						  v-model="formData.type"
 						  placeholder="请选择主题类型"
 						  placeholder="请选择主题类型"
-						  field="deptName as value, deptName as text"	
+						  field="deptName as value, deptName as text"
 						  :localdata="topicTypeList"
 						  :localdata="topicTypeList"
 					></uni-data-select>
 					></uni-data-select>
 				</uni-forms-item>
 				</uni-forms-item>
 				<uni-forms-item name="department" label="所属部门" required label-width="30%">
 				<uni-forms-item name="department" label="所属部门" required label-width="30%">
 					<uni-data-select
 					<uni-data-select
-					
+
 						  style="width: 30%;margin: auto;"
 						  style="width: 30%;margin: auto;"
 						  v-model="formData.department"
 						  v-model="formData.department"
 						  placeholder="请选择所属部门"
 						  placeholder="请选择所属部门"
-						  field="name as value, name as text"	
+						  field="name as value, name as text"
 						  :localdata="departmentList"
 						  :localdata="departmentList"
 					></uni-data-select>
 					></uni-data-select>
 				</uni-forms-item>
 				</uni-forms-item>
-			
+
 				<uni-forms-item name="picture"  label="图片">
 				<uni-forms-item name="picture"  label="图片">
 					<upload :imgArr="imageList"  :fileSize="1" :limit="3" @updateImg="updateImg"></upload>
 					<upload :imgArr="imageList"  :fileSize="1" :limit="3" @updateImg="updateImg"></upload>
 				</uni-forms-item>
 				</uni-forms-item>
@@ -57,15 +57,15 @@
 		</uni-forms>
 		</uni-forms>
 	</view>
 	</view>
 </template>
 </template>
- 
+
 <script>
 <script>
-	import { 
+	import {
 		getListTopicType,
 		getListTopicType,
 		getListDepts ,
 		getListDepts ,
 	} from '@/api/me/matters/matters.js'
 	} from '@/api/me/matters/matters.js'
 	import upload from '@/components/upload/index.vue'
 	import upload from '@/components/upload/index.vue'
 	import {addsc} from '@/api/handleAffairs/matter.js'
 	import {addsc} from '@/api/handleAffairs/matter.js'
-	
+
 	export default {
 	export default {
 		components: {
 		components: {
 			upload
 			upload
@@ -108,7 +108,7 @@
 				imageList:[],
 				imageList:[],
 				topicTypeList:[],
 				topicTypeList:[],
 				departmentList:[],
 				departmentList:[],
-			
+
 				show: false,
 				show: false,
 				rules: {
 				rules: {
 					title: {
 					title: {
@@ -166,13 +166,13 @@
 				// 			}
 				// 			}
 				// 		]
 				// 		]
 				// 	},
 				// 	},
-				
+
 
 
 				}
 				}
 			}
 			}
 		},
 		},
 		methods: {
 		methods: {
-		
+
 			submitForm(form) {
 			submitForm(form) {
 			    this.$refs[form]
 			    this.$refs[form]
 			        .submit()
 			        .submit()
@@ -185,12 +185,12 @@
 			                    console.log("1111111111111", res);
 			                    console.log("1111111111111", res);
 			                    if (res.confirm) {
 			                    if (res.confirm) {
 			                        // 用户点击确定按钮
 			                        // 用户点击确定按钮
-			                   
+
 			                    addsc(this.formData).then(response => {
 			                    addsc(this.formData).then(response => {
 										console.log("7777777", this.formData);
 										console.log("7777777", this.formData);
 			                            this.$modal.msgSuccess("新增成功");
 			                            this.$modal.msgSuccess("新增成功");
 			                             uni.navigateBack();
 			                             uni.navigateBack();
-			               
+
 			                        }).catch(error => {
 			                        }).catch(error => {
 			                            console.error("新增方法出错:", error);
 			                            console.error("新增方法出错:", error);
 			                        });
 			                        });
@@ -210,7 +210,7 @@
 			},
 			},
 
 
 
 
- 
+
 			// submitForm(form) {
 			// submitForm(form) {
 			// 	this.$refs[form]
 			// 	this.$refs[form]
 			// 		.submit()
 			// 		.submit()
@@ -224,8 +224,8 @@
 			// 			console.error('验证失败:', errors)
 			// 			console.error('验证失败:', errors)
 			// 		})
 			// 		})
 			// },
 			// },
- 
-		
+
+
 			resetForm() {
 			resetForm() {
 				this.$refs.form.resetFields()
 				this.$refs.form.resetFields()
 			},
 			},
@@ -247,7 +247,7 @@
 				//  this.formData.picture =this.imageList
 				//  this.formData.picture =this.imageList
 				 // this.formData.picture = JSON.stringify(this.imageList);
 				 // this.formData.picture = JSON.stringify(this.imageList);
 				const pictureString = '"' + this.imageList.join('","') + '"';
 				const pictureString = '"' + this.imageList.join('","') + '"';
-				
+
 				// 将转换后的字符串赋值给 this.formData.picture
 				// 将转换后的字符串赋值给 this.formData.picture
 				this.formData.picture = pictureString;
 				this.formData.picture = pictureString;
 				// console.log("1111111111111",)
 				// console.log("1111111111111",)
@@ -284,4 +284,4 @@
 		border-radius: 5px;
 		border-radius: 5px;
 		box-sizing: border-box;
 		box-sizing: border-box;
 	}
 	}
-</style>
+</style>

+ 45 - 8
pages/topic/topic.vue

@@ -1,7 +1,13 @@
 <template>
 <template>
 	<view>
 	<view>
-		<view style="height: 20%;">
-			<button v-for="(item,index) in userType" @click="onclick(item)">{{item.dictLabel}}
+		<view class="btnContain">
+			<button
+				v-for="(item,idx) in userType"
+				@click="onclick(item,idx)"
+				:class="idx == currentIdx ? 'highlight' : 'not-highlight'"
+				:style="idx == 0 ? 'text-align:left' : 'text-align:right'"
+				>
+				{{item.dictLabel}}
 			</button>
 			</button>
 		</view>
 		</view>
 		<view>
 		<view>
@@ -30,7 +36,7 @@
 			return {
 			return {
 				userType: [], // 初始化用户类型为空
 				userType: [], // 初始化用户类型为空
 				dataList: [],
 				dataList: [],
-
+				currentIdx:0,
 			}
 			}
 		},
 		},
 		created() {
 		created() {
@@ -41,7 +47,7 @@
 			onMatters(data){
 			onMatters(data){
 				uni.setStorageSync('data', {type:data.deptName,examine:1})
 				uni.setStorageSync('data', {type:data.deptName,examine:1})
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/matterAll/matterAll',
+					url: '/pages/handleAffairs/matterAll/matterAll',
 				});
 				});
 			},
 			},
 			getdataList(data){
 			getdataList(data){
@@ -57,8 +63,8 @@
 				})
 				})
 				console.log(_that.dataList)
 				console.log(_that.dataList)
 			},
 			},
-			onclick(row) {
-				
+			onclick(row,idx) {
+				this.currentIdx = idx
 				let data = {
 				let data = {
 					objectOfHandling: row.dictValue,
 					objectOfHandling: row.dictValue,
 					yesOrNoShow: "0"
 					yesOrNoShow: "0"
@@ -87,10 +93,41 @@
 		justify-content: center;
 		justify-content: center;
 		height: 100vh;
 		height: 100vh;
 	} */
 	} */
+	.not-highlight{
+		color:#000;
+	}
+	.highlight{
+		color:#FF673D;
+	}
 
 
+	.btnContain{
+		position: relative;
+		width: 100%;
+		display: flex;
+		height: 20%;
+		background-color: #fff;
+		justify-content: space-between;
+	}
+	.btnContain::after{
+		content: '';
+		position: absolute;
+		width: 4rpx;
+		height: 40%;
+		left: 50%;
+		top: 30%;
+		z-index: 10;
+		margin: auto;
+		background-color: #E1E1E1;
+	}
 	button {
 	button {
-		margin-bottom: 10px;
+		width: 30%;
+		border: none;
+		background-color: #fff;
 	}
 	}
+	button:after{
+		border: none;
+	}
+
 
 
 	.selected {
 	.selected {
 		background-color: #007bff;
 		background-color: #007bff;
@@ -120,4 +157,4 @@
 		justify-content: center;
 		justify-content: center;
 		padding: 15px 0;
 		padding: 15px 0;
 	}
 	}
-</style>
+</style>

+ 156 - 0
pages/highFrequencyService/cooperative/addCooperative.vue

@@ -0,0 +1,156 @@
+<template>
+  <uni-section title="提交前请仔细核对信息,提交后不可修改!" type="line">
+    <view class="example">
+      <!-- 自定义表单校验 -->
+      <uni-forms ref="customForm" :rules="rules" :modelValue="customFormData" label-align="center">
+        <uni-forms-item label="名 称" required name="name" label-width="125" label-align="center" >
+          <uni-easyinput v-model="customFormData.name" placeholder="请输入供销社名称" />
+        </uni-forms-item>
+        <uni-forms-item label="地 址" required name="address" label-width="95" label-align="center" >
+          <uni-easyinput v-model="customFormData.address" placeholder="请输入供销社地址" />
+        </uni-forms-item>
+        <uni-forms-item label="电 话" required name="chargePhone" label-width="95" label-align="center" >
+          <uni-easyinput v-model="customFormData.chargePhone" placeholder="请输入负责人电话" />
+        </uni-forms-item>
+        <uni-forms-item label="负责人" required name="chargePeople" label-width="95" label-align="center" >
+          <uni-easyinput v-model="customFormData.chargePeople" placeholder="请输入负责人姓名" />
+        </uni-forms-item>
+        <uni-forms-item label="图 片" required name="url" label-width="95">
+          <upload :imgArr="imageList" :fileSize="1" :limit="3" @updateImg="updateImg"/>
+        </uni-forms-item>
+      </uni-forms>
+      <button type="primary" @click="submit('customForm')">提交</button>
+    </view>
+  </uni-section>
+</template>
+
+<script>
+import { addCooperative } from "@/api/highFrequencyService/cooperative/cooperative";
+import upload from '../../components/upload/index.vue'
+export default {
+  components: {
+    upload
+  },
+  data() {
+    return {
+      // 基础表单数据
+      baseFormData: {
+        name: '',
+        address:'',
+        chargePeople:'',
+        chargePhone:'',
+        imgUrl:'',
+      },
+      // 校验规则
+      rules: {
+        name: {
+          rules: [{
+            required: true,
+            errorMessage: '供销社名称不能为空'
+          }]
+        },
+        address: {
+          rules: [{
+            required: true,
+            errorMessage: '供销社地址不能为空'
+          }]
+        },
+        chargePeople: {
+          rules: [{
+            required: true,
+            errorMessage: '负责人姓名不能为空'
+          }]
+        },
+        chargePhone: {
+          rules: [
+            {
+              required: true,
+              errorMessage: '负责人电话不能为空'
+            },
+            {
+              pattern:'^1[3456789]\\d{9}$',
+              errorMessage: '负责人电话不合法'
+            }
+          ]
+        },
+        imgUrlList: {
+          rules: [{
+            required: true,
+            errorMessage: '图片不能为空'
+          }]
+        },
+      },
+      imageList: [],
+      customFormData:{}
+    }
+  },
+  onLoad() {},
+  onReady() {
+    // 设置自定义表单校验规则,必须在节点渲染完毕后执行
+    this.$refs.customForm.setRules(this.rules)
+  },
+  created() {
+
+  },
+  methods: {
+    //转换为下拉选列表
+    formatOptions(data) {
+      return data.map(item => ({
+        value: item.id,
+        text: item.productName,
+        children: item.children ? this.formatOptions(item.children) : null,
+      }));
+    },
+    submit(ref) {
+      this.$refs[ref].validate().then(res => {
+        if (res) {
+          this.customFormData.imgUrl = this.imageList.join(',')
+          addCooperative(this.customFormData).then(response => {
+            this.$modal.msgSuccess('提交成功');
+            this.customFormData = {...this.baseFormData};
+            uni.navigateTo({
+              url: '../cooperative/cooperative'
+            });
+          }).catch(err => {
+            console.log('err', err);
+          })
+        }
+      })
+    },
+    updateImg(imgList) {
+      this.imageList = imgList;
+    }
+  }
+}
+</script>
+
+<style lang="scss">
+
+.example {
+  padding: 15px;
+  background-color: #fff;
+}
+
+.segmented-control {
+  margin-bottom: 15px;
+}
+
+.button-group {
+  margin-top: 15px;
+  display: flex;
+  justify-content: space-around;
+}
+
+.form-item {
+  display: flex;
+  align-items: center;
+}
+
+.button {
+  display: flex;
+  align-items: center;
+  height: 35px;
+  margin-left: 10px;
+}
+</style>
+

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


+ 119 - 0
pages/highFrequencyService/cooperative/cooperative.vue

@@ -0,0 +1,119 @@
+<template>
+    <view class="container">
+        <!-- 供销社列表 -->
+        <view class="rnwdList" v-for="(item, index) in list" :key="index">
+            <view @tap="goDetails(item.id)" class="cooperativeImgBox">
+                <image :src="loadImgSrc('/snbj.png')" class="cooperativeImg"></image>
+                <!--<image :src="loadImgSrc(item.imgUrl)" class="cooperativeImg"></image>-->
+            </view>
+            <view @tap="goDetails(item.id)" class="cooperativeBox">
+                <view class="list">
+                    <span class="listTitle">{{ item.name }}</span>
+                    <view class="jlSj">
+                        <span class="jf">
+                            {{ item.address?item.address:'' }}
+                        </span>
+                    </view>
+                </view>
+            </view>
+            <em class="iconfont icon-xiangyoujiantou"></em>
+        </view>
+        <uni-load-more :status="status" :content-text="contentText"/>
+        <uni-fab ref="fab" horizontal="right" vertical="bottom"
+                 @fabClick="handleAdd()"/>
+    </view>
+</template>
+
+<script>
+import { getList, getDetails } from '@/api/highFrequencyService/cooperative/cooperative';
+export default {
+    data() {
+        return {
+            // 查询参数
+            queryParams: {
+                pageNum: 1,
+                pageSize: 15,
+                id: null,
+                status:"1",
+            },
+            // 加载更多
+            status: 'more',
+            contentText: {
+                contentdown: '查看更多',
+                contentrefresh: '加载中',
+                contentnomore: '------------------我是有底线的------------------'
+            },
+            // 列表数据
+            list: [
+                {
+                    name:"-",
+                    address:"-",
+                    chargePeople:"-",
+                    chargePhone:"-",
+                    imgUrl:"-"
+                }
+            ],
+        };
+    },
+    onPullDownRefresh() {
+        this.queryParams.pageNum = 1;
+        this.list = [];
+        this.getList()
+    },
+    //上拉加载
+    onReachBottom(){
+        let pageNum = this.queryParams.pageNum;
+        let pageSize = this.queryParams.pageSize;
+        let total = this.total;
+        if(pageNum*pageSize >= total){
+            uni.showToast({
+                title:'暂无更多数据'
+            });
+            return;
+        } else {
+            this.queryParams.pageNum += 1;
+            this.getList()
+        }
+    }
+    /**
+     * 生命周期函数--监听页面加载
+     */,
+    onLoad(options) {
+        this.getList();
+    },
+    methods: {
+        /** 新增按钮操作 */
+        handleAdd(){
+            uni.navigateTo({
+                url: '../highFrequencyService/cooperative/addCooperative'
+            });
+        },
+        /** 查询列表 */
+        getList(type) {
+            this.loading = true;
+            getList().then(response => {
+                if (this.queryParams.pageNum === 1) {
+                    this.list = response.rows;
+                } else {
+                    this.list = this.list.concat(response.rows);
+                }
+                // 判断是否还有更多数据
+                if (response.rows.length < this.queryParams.pageSize) {
+                    this.status = 'noMore'; // 没有更多数据
+                } else {
+                    this.status = 'more'; // 还有更多数据
+                }
+            });
+        },
+        /** 查询详情 */
+        goDetails(id) {
+            uni.navigateTo({
+                url: '/pages/highFrequencyService/cooperative/details?id='+id
+            });
+        }
+    }
+};
+</script>
+<style>
+@import './cooperative.css';
+</style>

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


+ 1 - 1
pages/cooperative/details.vue

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

+ 7 - 7
pages/index/index.vue

@@ -387,7 +387,7 @@
 				let id = e.id || ''
 				let id = e.id || ''
 				let type = 10
 				let type = 10
 				uni.navigateTo({
 				uni.navigateTo({
-					url: `../informationDetail/informationDetail?id=${id}&type=${type}`
+					url: `../information/informationDetail/informationDetail?id=${id}&type=${type}`
 				});
 				});
 			},
 			},
 			//封面与轮播图
 			//封面与轮播图
@@ -415,19 +415,19 @@
 			},
 			},
 			toLegal() {
 			toLegal() {
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/toLegal/toLegal'
+					url: '/pages/information/toLegal/toLegal'
 				});
 				});
 			},
 			},
 			//政策推荐
 			//政策推荐
 			toGovernmentList() {
 			toGovernmentList() {
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/toGovernmentList/toGovernmentList'
+					url: '/pages/information/toGovernmentList/toGovernmentList'
 				});
 				});
 			},
 			},
 			//惠民通
 			//惠民通
 			toGovernmentList1() {
 			toGovernmentList1() {
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/toGovernmentList/toGovernmentList?type=10'
+					url: '/pages/information/toGovernmentList/toGovernmentList?type=10'
 				});
 				});
 			},
 			},
 			governmentListData() {
 			governmentListData() {
@@ -467,7 +467,7 @@
 
 
 			goCooperative() {
 			goCooperative() {
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/cooperative/cooperative'
+					url: '/pages/highFrequencyService/cooperative/cooperative'
 				});
 				});
 			},
 			},
 			goLoveAtVillage() {
 			goLoveAtVillage() {
@@ -487,7 +487,7 @@
 			},
 			},
 			goBanShi() {
 			goBanShi() {
 				uni.navigateTo({
 				uni.navigateTo({
-					url: '/pages/handleAffairs/handleAffairs'
+					url: '/pages/handleAffairs/index'
 				});
 				});
 			},
 			},
 			//获取最新公告列表(三条未读消息)
 			//获取最新公告列表(三条未读消息)
@@ -610,4 +610,4 @@
 </script>
 </script>
 <style>
 <style>
 	@import './index.css';
 	@import './index.css';
-</style>
+</style>

pages/fuwu/fuwu.css → pages/information/fuwu/fuwu.css


+ 6 - 6
pages/fuwu/fuwu.vue

@@ -18,7 +18,7 @@
 	        <view class="list" @tap.stop="goDetails(item)" v-for="(item, index1) in qbwd" :key="index1">
 	        <view class="list" @tap.stop="goDetails(item)" v-for="(item, index1) in qbwd" :key="index1">
 				<span v-if="item.top == 1" style="color: red;">[置顶]</span>
 				<span v-if="item.top == 1" style="color: red;">[置顶]</span>
 	            <span class="listTitle">{{ item.titleName }}</span>
 	            <span class="listTitle">{{ item.titleName }}</span>
-	
+
 	            <view class="onePic" v-if="item.top != 1  ? item.urls.length == 1 : false ">
 	            <view class="onePic" v-if="item.top != 1  ? item.urls.length == 1 : false ">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 					</image>
@@ -27,12 +27,12 @@
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 					</image>
 	            </view>
 	            </view>
-	
+
 	            <view class="threePic" v-if="item.top != 1 ? item.urls.length == 3 : false">
 	            <view class="threePic" v-if="item.top != 1 ? item.urls.length == 3 : false">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 	                <image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 					</image>
 	            </view>
 	            </view>
-	
+
 	           <view class="jlSj">
 	           <view class="jlSj">
 	                <span class="jf">
 	                <span class="jf">
 	                   {{ item.updateTime || item.createTime }}
 	                   {{ item.updateTime || item.createTime }}
@@ -53,7 +53,7 @@
 	                    </span>
 	                    </span>
 	                </view>
 	                </view>
 	            </view>
 	            </view>
-	
+
 			</view>
 			</view>
 	    </view>
 	    </view>
 		<!-- 新增资讯按钮 -->
 		<!-- 新增资讯按钮 -->
@@ -223,7 +223,7 @@ export default {
 };
 };
 </script>
 </script>
 <style lang="scss">
 <style lang="scss">
-@import './fuwu.css';
+@import 'fuwu.css';
 .container{
 .container{
 	height: 100%;
 	height: 100%;
 	content: '\e633';
 	content: '\e633';
@@ -234,6 +234,6 @@ export default {
 	}
 	}
 }
 }
 .not-favorite{
 .not-favorite{
-	
+
 }
 }
 </style>
 </style>

pages/informationAdd/informationAdd.css → pages/information/informationAdd/informationAdd.css


pages/informationAdd/informationAdd.vue → pages/information/informationAdd/informationAdd.vue


pages/informationDetail/informationDetail.css → pages/information/informationDetail/informationDetail.css


+ 2 - 2
pages/informationDetail/informationDetail.vue

@@ -6,7 +6,7 @@
             <view class="wenzhangLy">
             <view class="wenzhangLy">
                 <!-- 头像昵称 -->
                 <!-- 头像昵称 -->
                 <view class="txTime">
                 <view class="txTime">
-                    <image :src="loadImgSrcLocalhost(detailInfo.headImg)" style="border-radius: 50px;"></image>
+                    <image :src="(detailInfo.headImg!=null)?loadImgSrcLocalhost(detailInfo.headImg):'https://tse4-mm.cn.bing.net/th/id/OIP-C.cYyiJYfTo1SY1cj26FQpAQHaHa?rs=1&pid=ImgDetMain'" style="border-radius: 50px;"></image>
                     <view class="time">
                     <view class="time">
                         <p>{{detailInfo.nickName?detailInfo.nickName:'网友'}}</p>
                         <p>{{detailInfo.nickName?detailInfo.nickName:'网友'}}</p>
                         <span>{{ detailInfo.createTime }}</span>
                         <span>{{ detailInfo.createTime }}</span>
@@ -134,7 +134,7 @@ export default {
 };
 };
 </script>
 </script>
 <style lang="scss">
 <style lang="scss">
-@import './informationDetail.css';
+@import 'informationDetail.css';
 
 
 .collect{
 .collect{
 	.icon-shoucang:before{
 	.icon-shoucang:before{

pages/toGovernmentList/index.css → pages/information/toGovernmentList/toGovernmentList.css


+ 1 - 1
pages/toGovernmentList/toGovernmentList.vue

@@ -233,7 +233,7 @@ export default {
 };
 };
 </script>
 </script>
 <style lang="scss">
 <style lang="scss">
-@import './index.css';
+@import 'toGovernmentList.css';
 .container{
 .container{
 	height: 100%;
 	height: 100%;
 	content: '\e633';
 	content: '\e633';

pages/toLegal/toLegal.css → pages/information/toLegal/toLegal.css


+ 4 - 4
pages/toLegal/toLegal.vue

@@ -26,7 +26,7 @@
 					<image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					<image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 					</image>
 				</view>
 				</view>
-					
+
 				<view class="threePic" v-if="item.top != 1 ? item.urls.length == 3 : false">
 				<view class="threePic" v-if="item.top != 1 ? item.urls.length == 3 : false">
 					<image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					<image :src="loadImgSrcLocalhost(item.urls[index2])" v-for="(v, index2) in item.urls" :key="index2">
 					</image>
 					</image>
@@ -51,7 +51,7 @@
 	                    </span>
 	                    </span>
 	                </view>
 	                </view>
 	            </view>
 	            </view>
-	
+
 			</view>
 			</view>
 	    </view>
 	    </view>
 		<!-- 新增资讯按钮 -->
 		<!-- 新增资讯按钮 -->
@@ -220,7 +220,7 @@ export default {
 };
 };
 </script>
 </script>
 <style lang="scss">
 <style lang="scss">
-@import './toLegal.css';
+@import 'toLegal.css';
 .container{
 .container{
 	height: 100%;
 	height: 100%;
 }
 }
@@ -234,6 +234,6 @@ export default {
 	}
 	}
 }
 }
 .not-favorite{
 .not-favorite{
-	
+
 }
 }
 </style>
 </style>

+ 2 - 2
pages/matters/matters.vue

@@ -122,7 +122,7 @@ export default {
 		},
 		},
 		fabClick(){
 		fabClick(){
 			uni.navigateTo({
 			uni.navigateTo({
-				url: `../mattersAdd/mattersAdd`
+				url: `/pages/handleAffairs/mattersAdd/mattersAdd`
 			})
 			})
 		},
 		},
 		search(){
 		search(){
@@ -195,6 +195,6 @@ export default {
 	}
 	}
 }
 }
 .not-favorite{
 .not-favorite{
-	
+
 }
 }
 </style>
 </style>

+ 4 - 4
pages/me/me.vue

@@ -30,7 +30,7 @@ export default {
 			},
 			},
 			list: [
 			list: [
 				{
 				{
-					id: 'me/meOperate',//id是文件路径
+					id: 'me/meOperate/meOperate',//id是文件路径
 					name: '我的积分流水',
 					name: '我的积分流水',
 					open: false,
 					open: false,
 				},
 				},
@@ -40,12 +40,12 @@ export default {
 					open: false,
 					open: false,
 				},
 				},
 				{
 				{
-					id: 'me/nameAuthentication',
+					id: 'me/nameAuthentication/nameAuthentication',
 					name: '实名认证',
 					name: '实名认证',
 					open: false,
 					open: false,
 				},
 				},
 				{
 				{
-					id: 'me/officialAuthentication',
+					id: 'me/officialAuthentication/officialAuthentication',
 					name: '官方认证',
 					name: '官方认证',
 					open: false,
 					open: false,
 				},
 				},
@@ -55,7 +55,7 @@ export default {
 					open: false,
 					open: false,
 				},
 				},
 				{
 				{
-					id: 'myPayKnow/myPayKnow',
+					id: 'me/myPayKnow/myPayKnow',
 					name: '我的付费知识',
 					name: '我的付费知识',
 					open: false,
 					open: false,
 				}
 				}

pages/me/meOperate.css → pages/me/meOperate/meOperate.css


+ 1 - 1
pages/me/meOperate.vue

@@ -86,5 +86,5 @@ export default {
 </script>
 </script>
 
 
 <style>
 <style>
-@import './meOperate.css';
+@import 'meOperate.css';
 </style>
 </style>

pages/myPayKnow/informationDetail.css → pages/me/myPayKnow/informationDetail.css


+ 1 - 1
pages/myPayKnow/informationDetail.vue

@@ -113,7 +113,7 @@ export default {
 };
 };
 </script>
 </script>
 <style lang="scss">
 <style lang="scss">
-@import './informationDetail.css';
+@import 'informationDetail.css';
 
 
 .collect{
 .collect{
 	.icon-shoucang:before{
 	.icon-shoucang:before{

pages/myPayKnow/myPayKnow.css → pages/me/myPayKnow/myPayKnow.css


+ 3 - 3
pages/myPayKnow/myPayKnow.vue

@@ -32,7 +32,7 @@
 
 
 <script>
 <script>
 	import {myPayKnow} from '@/api/me/me.js'
 	import {myPayKnow} from '@/api/me/me.js'
-	
+
 export default {
 export default {
     data() {
     data() {
         return {
         return {
@@ -98,12 +98,12 @@ export default {
         goDetails(item) {
         goDetails(item) {
 			if(item==null) return;
 			if(item==null) return;
             uni.navigateTo({
             uni.navigateTo({
-                url: '/pages/myPayKnow/informationDetail?obj='+ encodeURIComponent(JSON.stringify(item))
+                url: '/pages/me/myPayKnow/informationDetail?obj='+ encodeURIComponent(JSON.stringify(item))
             });
             });
         }
         }
     }
     }
 };
 };
 </script>
 </script>
 <style>
 <style>
-@import './myPayKnow.css';
+@import 'myPayKnow.css';
 </style>
 </style>

pages/me/nameAuthentication.css → pages/me/nameAuthentication/nameAuthentication.css


+ 23 - 5
pages/me/nameAuthentication.vue

@@ -12,19 +12,23 @@
                 <uni-forms-item label="身份证号" required name="idCard">
                 <uni-forms-item label="身份证号" required name="idCard">
                     <uni-easyinput v-model="form.idCard" placeholder="请输入身份证号" maxlength="18"/>
                     <uni-easyinput v-model="form.idCard" placeholder="请输入身份证号" maxlength="18"/>
                 </uni-forms-item>
                 </uni-forms-item>
-                <uni-forms-item label="身份证正反面" required name="path">
+				<uni-forms-item label="身份证正反面" required class="onePic" v-if="form.id != null">
+					<image :src="loadImgSrc(item)" v-for="(item, index1) in imageList" :key="index1">
+					</image>
+				</uni-forms-item>
+                <uni-forms-item label="身份证正反面" required name="path" v-if="form.id == null">
                     <upload :imgArr="imageList" name="path" v-model="form.path" :fileSize="1" :limit="2"
                     <upload :imgArr="imageList" name="path" v-model="form.path" :fileSize="1" :limit="2"
                             @updateImg="updateImg"></upload>
                             @updateImg="updateImg"></upload>
                 </uni-forms-item>
                 </uni-forms-item>
             </uni-forms>
             </uni-forms>
-            <button type="primary" @click="submitForm('customForm')">提交</button>
+            <button type="primary" @click="submitForm('customForm')" v-if="form.id==null">提交</button>
         </view>
         </view>
     </uni-section>
     </uni-section>
 </template>
 </template>
 
 
 <script>
 <script>
-    import upload from '../../components/upload/index.vue'
-    import {appletAdd} from '@/api/me/nameAuthentication.js'
+    import upload from '../../../components/upload/index.vue'
+    import {appletAdd,getUserInfo} from '@/api/me/nameAuthentication.js'
 
 
     export default {
     export default {
         components: {
         components: {
@@ -33,6 +37,8 @@
         onReady() {
         onReady() {
             // 设置自定义表单校验规则,必须在节点渲染完毕后执行
             // 设置自定义表单校验规则,必须在节点渲染完毕后执行
             this.$refs.customForm.setRules(this.customRules)
             this.$refs.customForm.setRules(this.customRules)
+			this.userId = getApp().globalData.userId
+			this.getUserInfoByUserId(this.userId)
         },
         },
         data() {
         data() {
             return {
             return {
@@ -97,10 +103,22 @@
 				})
 				})
             },
             },
 
 
+			//图片上传
             updateImg(imgList) {
             updateImg(imgList) {
                 this.imageList = imgList;
                 this.imageList = imgList;
                 this.form.path = this.imageList.join(',');
                 this.form.path = this.imageList.join(',');
-            }
+            },
+			
+			//按userId查询实名认证信息
+			getUserInfoByUserId(userId){
+				getUserInfo(userId).then(res =>{
+					if(res.data!=null){
+						this.form = res.data;
+						this.imageList = res.data.path.split(",")
+					}
+					
+				})
+			}
         }
         }
     };
     };
 </script>
 </script>

pages/me/officialAuthentication.css → pages/me/officialAuthentication/officialAuthentication.css


+ 23 - 7
pages/me/officialAuthentication.vue

@@ -12,19 +12,23 @@
                 <uni-forms-item label="联系电话" required name="phone">
                 <uni-forms-item label="联系电话" required name="phone">
                     <uni-easyinput v-model="form.phone" placeholder="请输入联系电话" maxlength="13"/>
                     <uni-easyinput v-model="form.phone" placeholder="请输入联系电话" maxlength="13"/>
                 </uni-forms-item>
                 </uni-forms-item>
-                <uni-forms-item label="证照信息" required name="path">
+				<uni-forms-item label="证照信息" required class="onePic" v-if="form.id != null">
+					<image :src="loadImgSrc(item)" v-for="(item, index1) in imageList" :key="index1">
+					</image>
+				</uni-forms-item>
+                <uni-forms-item label="证照信息" required name="path" v-if="form.id == null">
                     <upload :imgArr="imageList" name="path" v-model="form.path" :fileSize="1" :limit="2"
                     <upload :imgArr="imageList" name="path" v-model="form.path" :fileSize="1" :limit="2"
                             @updateImg="updateImg"></upload>
                             @updateImg="updateImg"></upload>
                 </uni-forms-item>
                 </uni-forms-item>
             </uni-forms>
             </uni-forms>
-            <button type="primary" @click="submitForm('customForm')">提交</button>
+            <button type="primary" @click="submitForm('customForm')" v-if="form.id==null">提交</button>
         </view>
         </view>
     </uni-section>
     </uni-section>
 </template>
 </template>
 
 
 <script>
 <script>
-    import upload from '../../components/upload/index.vue'
-    import {appletAdd} from '@/api/me/officialAuthentication.js'
+    import upload from '../../../components/upload/index.vue'
+    import {appletAdd,getUserInfo} from '@/api/me/officialAuthentication.js'
 
 
     export default {
     export default {
         components: {
         components: {
@@ -33,6 +37,8 @@
         onReady() {
         onReady() {
             // 设置自定义表单校验规则,必须在节点渲染完毕后执行
             // 设置自定义表单校验规则,必须在节点渲染完毕后执行
             this.$refs.customForm.setRules(this.customRules)
             this.$refs.customForm.setRules(this.customRules)
+			this.userId = getApp().globalData.userId
+			this.getUserInfoByUserId(this.userId)
         },
         },
         data() {
         data() {
             return {
             return {
@@ -87,18 +93,28 @@
 						})
 						})
 					}else{
 					}else{
 						appletAdd(this.form).then(res => {
 						appletAdd(this.form).then(res => {
-							console.log("1111111111")
 							uni.navigateBack();
 							uni.navigateBack();
-							console.log("2222222222222")
 						});
 						});
 					}
 					}
 				})
 				})
             },
             },
 			
 			
+			//图片上传
             updateImg(imgList) {
             updateImg(imgList) {
                 this.imageList = imgList;
                 this.imageList = imgList;
                 this.form.path = this.imageList.join(',');
                 this.form.path = this.imageList.join(',');
-            }
+            },
+			
+			//按userId查询实名认证信息
+			getUserInfoByUserId(userId){
+				getUserInfo(userId).then(res =>{
+					if(res.data!=null){
+						this.form = res.data;
+						this.imageList = res.data.path.split(",")
+					}
+					
+				})
+			}
         }
         }
     };
     };
 </script>
 </script>

+ 2 - 1
pages/quotations/quotations.vue

@@ -89,6 +89,7 @@ export default {
   onPullDownRefresh() {
   onPullDownRefresh() {
     this.queryParams.pageNum = 1;
     this.queryParams.pageNum = 1;
     this.quotationsList = [];
     this.quotationsList = [];
+    this.categories = [];
     this.getList()
     this.getList()
   },
   },
   //上拉加载
   //上拉加载
@@ -189,4 +190,4 @@ export default {
 }
 }
 
 
 
 
-</style>
+</style>

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

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

+ 50 - 2
pages/specialService/financialInfrastructure/financialInfrastructure.vue

@@ -12,14 +12,31 @@
             </view>
             </view>
             <em class="iconfont icon-xiangyoujiantou"></em>
             <em class="iconfont icon-xiangyoujiantou"></em>
         </view>
         </view>
+        <!-- 我是有底线的 -->
+        <uni-load-more :status="status" :content-text="contentText"/>
     </view>
     </view>
 </template>
 </template>
 
 
 <script>
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
 export default {
     data() {
     data() {
         return {
         return {
+            // 查询参数
+            queryParams: {
+                pageNum: 1,
+                pageSize: 15,
+                id: null,
+                status:"1",
+            },
+            // 加载更多
+            status: 'more',
+            contentText: {
+                contentdown: '查看更多',
+                contentrefresh: '加载中',
+                contentnomore: '------------------我是有底线的------------------'
+            },
+            // 列表数据
             list: [
             list: [
                 {
                 {
                     titleName:"-",
                     titleName:"-",
@@ -27,6 +44,27 @@ export default {
                 }
                 }
             ],
             ],
         };
         };
+    },
+    onPullDownRefresh() {
+        console.log("onPullDownRefresh  "+this.queryParams.pageNum)
+        this.queryParams.pageNum = 1;
+        this.list = [];
+        this.getList(9)
+    },
+    //上拉加载
+    onReachBottom(){
+        let pageNum = this.queryParams.pageNum;
+        let pageSize = this.queryParams.pageSize;
+        let total = this.total;
+        if(pageNum*pageSize >= total){
+            uni.showToast({
+                title:'暂无更多数据'
+            });
+            return;
+        } else {
+            this.queryParams.pageNum += 1;
+            this.getList(9)
+        }
     }
     }
     /**
     /**
      * 生命周期函数--监听页面加载
      * 生命周期函数--监听页面加载
@@ -39,7 +77,17 @@ export default {
         getList(type) {
         getList(type) {
             this.loading = true;
             this.loading = true;
             listServer({type: type}).then(response => {
             listServer({type: type}).then(response => {
-                this.list = response.rows;
+                if (this.queryParams.pageNum === 1) {
+                    this.list = response.rows;
+                } else {
+                    this.list = this.list.concat(response.rows);
+                }
+                // 判断是否还有更多数据
+                if (response.rows.length < this.queryParams.pageSize) {
+                    this.status = 'noMore'; // 没有更多数据
+                } else {
+                    this.status = 'more'; // 还有更多数据
+                }
             });
             });
         },
         },
         /** 查询详情 */
         /** 查询详情 */

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

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

+ 50 - 2
pages/specialService/legalService/legalService.vue

@@ -12,14 +12,31 @@
             </view>
             </view>
             <em class="iconfont icon-xiangyoujiantou"></em>
             <em class="iconfont icon-xiangyoujiantou"></em>
         </view>
         </view>
+        <!-- 我是有底线的 -->
+        <uni-load-more :status="status" :content-text="contentText"/>
     </view>
     </view>
 </template>
 </template>
 
 
 <script>
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
 export default {
     data() {
     data() {
         return {
         return {
+            // 查询参数
+            queryParams: {
+                pageNum: 1,
+                pageSize: 15,
+                id: null,
+                status:"1",
+            },
+            // 加载更多
+            status: 'more',
+            contentText: {
+                contentdown: '查看更多',
+                contentrefresh: '加载中',
+                contentnomore: '------------------我是有底线的------------------'
+            },
+            // 列表数据
             list: [
             list: [
                 {
                 {
                     titleName:"-",
                     titleName:"-",
@@ -27,6 +44,27 @@ export default {
                 }
                 }
             ],
             ],
         };
         };
+    },
+    onPullDownRefresh() {
+        console.log("onPullDownRefresh  "+this.queryParams.pageNum)
+        this.queryParams.pageNum = 1;
+        this.list = [];
+        this.getList(8)
+    },
+    //上拉加载
+    onReachBottom(){
+        let pageNum = this.queryParams.pageNum;
+        let pageSize = this.queryParams.pageSize;
+        let total = this.total;
+        if(pageNum*pageSize >= total){
+            uni.showToast({
+                title:'暂无更多数据'
+            });
+            return;
+        } else {
+            this.queryParams.pageNum += 1;
+            this.getList(8)
+        }
     }
     }
     /**
     /**
      * 生命周期函数--监听页面加载
      * 生命周期函数--监听页面加载
@@ -39,7 +77,17 @@ export default {
         getList(type) {
         getList(type) {
             this.loading = true;
             this.loading = true;
             listServer({type: type}).then(response => {
             listServer({type: type}).then(response => {
-                this.list = response.rows;
+                if (this.queryParams.pageNum === 1) {
+                    this.list = response.rows;
+                } else {
+                    this.list = this.list.concat(response.rows);
+                }
+                // 判断是否还有更多数据
+                if (response.rows.length < this.queryParams.pageSize) {
+                    this.status = 'noMore'; // 没有更多数据
+                } else {
+                    this.status = 'more'; // 还有更多数据
+                }
             });
             });
         },
         },
         /** 查询详情 */
         /** 查询详情 */

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

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

+ 50 - 2
pages/specialService/loveAtVillage/loveAtVillage.vue

@@ -12,14 +12,31 @@
             </view>
             </view>
             <em class="iconfont icon-xiangyoujiantou"></em>
             <em class="iconfont icon-xiangyoujiantou"></em>
         </view>
         </view>
+        <!-- 我是有底线的 -->
+        <uni-load-more :status="status" :content-text="contentText"/>
     </view>
     </view>
 </template>
 </template>
 
 
 <script>
 <script>
-import { listServer, getServer, delServer, addServer, updateServer } from '@/api/highFrequencyService/highFrequencyService';
+import { listServer, getServer, delServer, addServer, updateServer } from '@/api/specialService/specialService';
 export default {
 export default {
     data() {
     data() {
         return {
         return {
+            // 查询参数
+            queryParams: {
+                pageNum: 1,
+                pageSize: 15,
+                id: null,
+                status:"1",
+            },
+            // 加载更多
+            status: 'more',
+            contentText: {
+                contentdown: '查看更多',
+                contentrefresh: '加载中',
+                contentnomore: '------------------我是有底线的------------------'
+            },
+            // 列表数据
             list: [
             list: [
                 {
                 {
                     titleName:"-",
                     titleName:"-",
@@ -27,6 +44,27 @@ export default {
                 }
                 }
             ],
             ],
         };
         };
+    },
+    onPullDownRefresh() {
+        console.log("onPullDownRefresh  "+this.queryParams.pageNum)
+        this.queryParams.pageNum = 1;
+        this.list = [];
+        this.getList(7)
+    },
+    //上拉加载
+    onReachBottom(){
+        let pageNum = this.queryParams.pageNum;
+        let pageSize = this.queryParams.pageSize;
+        let total = this.total;
+        if(pageNum*pageSize >= total){
+            uni.showToast({
+                title:'暂无更多数据'
+            });
+            return;
+        } else {
+            this.queryParams.pageNum += 1;
+            this.getList(7)
+        }
     }
     }
     /**
     /**
      * 生命周期函数--监听页面加载
      * 生命周期函数--监听页面加载
@@ -39,7 +77,17 @@ export default {
         getList(type) {
         getList(type) {
             this.loading = true;
             this.loading = true;
             listServer({type: type}).then(response => {
             listServer({type: type}).then(response => {
-                this.list = response.rows;
+                if (this.queryParams.pageNum === 1) {
+                    this.list = response.rows;
+                } else {
+                    this.list = this.list.concat(response.rows);
+                }
+                // 判断是否还有更多数据
+                if (response.rows.length < this.queryParams.pageSize) {
+                    this.status = 'noMore'; // 没有更多数据
+                } else {
+                    this.status = 'more'; // 还有更多数据
+                }
             });
             });
         },
         },
         /** 查询详情 */
         /** 查询详情 */