Bladeren bron

签收,按钮权限

hanchaobo 2 jaren geleden
bovenliggende
commit
ab5047788c

+ 18
- 0
api/homePage/index.js Bestand weergeven

@@ -0,0 +1,18 @@
1
+import request from '@/utils/request'
2
+
3
+// 调解首页数据
4
+export function todoCount(data) {
5
+	return request({
6
+		'url': '/caseApplication/todoCount',
7
+		method: 'get',
8
+		params: data
9
+	})
10
+}
11
+// 仲裁调解首页数据
12
+export function toDoCountReferee(data) {
13
+	return request({
14
+		'url': '/caseApplication/toDoCount',
15
+		method: 'get',
16
+		params: data
17
+	})
18
+}

+ 81
- 81
pages.json Bestand weergeven

@@ -15,71 +15,71 @@
15 15
 				"navigationBarTitleText": "注册"
16 16
 			}
17 17
 		},
18
-		// {
19
-		// 	"path": "pages/index",
20
-		// 	"style": {
21
-		// 		"navigationBarTitleText": "首页",
22
-		// 		"navigationStyle": "custom"
23
-		// 	}
24
-		// }, 
18
+		{
19
+			"path": "pages/index",
20
+			"style": {
21
+				"navigationBarTitleText": "首页"
22
+				// "navigationStyle": "custom"
23
+			}
24
+		}, 
25 25
 		{
26 26
 			"path": "pages/work/index",
27 27
 			"style": {
28 28
 				"navigationBarTitleText": "工作台"
29 29
 			}
30 30
 		},
31
-		// {
32
-		// 	"path": "pages/mine/index",
33
-		// 	"style": {
34
-		// 		"navigationBarTitleText": "我的"
35
-		// 	}
36
-		// },
37
-		// {
38
-		// 	"path": "pages/mine/avatar/index",
39
-		// 	"style": {
40
-		// 		"navigationBarTitleText": "修改头像"
41
-		// 	}
42
-		// }, {
43
-		// 	"path": "pages/mine/info/index",
44
-		// 	"style": {
45
-		// 		"navigationBarTitleText": "个人信息"
46
-		// 	}
47
-		// }, {
48
-		// 	"path": "pages/mine/info/edit",
49
-		// 	"style": {
50
-		// 		"navigationBarTitleText": "编辑资料"
51
-		// 	}
52
-		// }, {
53
-		// 	"path": "pages/mine/pwd/index",
54
-		// 	"style": {
55
-		// 		"navigationBarTitleText": "修改密码"
56
-		// 	}
57
-		// }, {
58
-		// 	"path": "pages/mine/setting/index",
59
-		// 	"style": {
60
-		// 		"navigationBarTitleText": "应用设置"
61
-		// 	}
62
-		// }, {
63
-		// 	"path": "pages/mine/help/index",
64
-		// 	"style": {
65
-		// 		"navigationBarTitleText": "常见问题"
66
-		// 	}
67
-		// }, {
68
-		// 	"path": "pages/mine/about/index",
69
-		// 	"style": {
70
-		// 		"navigationBarTitleText": "关于我们"
71
-		// 	}
72
-		// }, {
73
-		// 	"path": "pages/common/webview/index",
74
-		// 	"style": {
75
-		// 		"navigationBarTitleText": "浏览网页"
76
-		// 	}
77
-		// }, {
78
-		// 	"path": "pages/common/textview/index",
79
-		// 	"style": {
80
-		// 		"navigationBarTitleText": "浏览文本"
81
-		// 	}
82
-		// },
31
+		{
32
+			"path": "pages/mine/index",
33
+			"style": {
34
+				"navigationBarTitleText": "我的"
35
+			}
36
+		},
37
+		{
38
+			"path": "pages/mine/avatar/index",
39
+			"style": {
40
+				"navigationBarTitleText": "修改头像"
41
+			}
42
+		}, {
43
+			"path": "pages/mine/info/index",
44
+			"style": {
45
+				"navigationBarTitleText": "个人信息"
46
+			}
47
+		}, {
48
+			"path": "pages/mine/info/edit",
49
+			"style": {
50
+				"navigationBarTitleText": "编辑资料"
51
+			}
52
+		}, {
53
+			"path": "pages/mine/pwd/index",
54
+			"style": {
55
+				"navigationBarTitleText": "修改密码"
56
+			}
57
+		}, {
58
+			"path": "pages/mine/setting/index",
59
+			"style": {
60
+				"navigationBarTitleText": "应用设置"
61
+			}
62
+		}, {
63
+			"path": "pages/mine/help/index",
64
+			"style": {
65
+				"navigationBarTitleText": "常见问题"
66
+			}
67
+		}, {
68
+			"path": "pages/mine/about/index",
69
+			"style": {
70
+				"navigationBarTitleText": "关于我们"
71
+			}
72
+		}, {
73
+			"path": "pages/common/webview/index",
74
+			"style": {
75
+				"navigationBarTitleText": "浏览网页"
76
+			}
77
+		}, {
78
+			"path": "pages/common/textview/index",
79
+			"style": {
80
+				"navigationBarTitleText": "浏览文本"
81
+			}
82
+		},
83 83
 		{
84 84
 			"path": "pages/handlecase/index",
85 85
 			"style": {
@@ -228,28 +228,28 @@
228 228
 		}
229 229
 
230 230
 	],
231
-	// "tabBar": {
232
-	// 	"color": "#000000",
233
-	// 	"selectedColor": "#000000",
234
-	// 	"borderStyle": "white",
235
-	// 	"backgroundColor": "#ffffff",
236
-	// 	"list": [{
237
-	// 		"pagePath": "pages/index",
238
-	// 		"iconPath": "static/images/tabbar/home.png",
239
-	// 		"selectedIconPath": "static/images/tabbar/home_.png",
240
-	// 		"text": "首页"
241
-	// 	}, {
242
-	// 		"pagePath": "pages/work/index",
243
-	// 		"iconPath": "static/images/tabbar/work.png",
244
-	// 		"selectedIconPath": "static/images/tabbar/work_.png",
245
-	// 		"text": "工作台"
246
-	// 	}, {
247
-	// 		"pagePath": "pages/mine/index",
248
-	// 		"iconPath": "static/images/tabbar/mine.png",
249
-	// 		"selectedIconPath": "static/images/tabbar/mine_.png",
250
-	// 		"text": "我的"
251
-	// 	}]
252
-	// },
231
+	"tabBar": {
232
+		"color": "#000000",
233
+		"selectedColor": "#000000",
234
+		"borderStyle": "white",
235
+		"backgroundColor": "#ffffff",
236
+		"list": [{
237
+			"pagePath": "pages/index",
238
+			"iconPath": "static/images/tabbar/home.png",
239
+			"selectedIconPath": "static/images/tabbar/home_.png",
240
+			"text": "首页"
241
+		}, {
242
+			"pagePath": "pages/work/index",
243
+			"iconPath": "static/images/tabbar/work.png",
244
+			"selectedIconPath": "static/images/tabbar/work_.png",
245
+			"text": "工作台"
246
+		}, {
247
+			"pagePath": "pages/mine/index",
248
+			"iconPath": "static/images/tabbar/mine.png",
249
+			"selectedIconPath": "static/images/tabbar/mine_.png",
250
+			"text": "我的"
251
+		}]
252
+	},
253 253
 	"globalStyle": {
254 254
 		"navigationBarTextStyle": "black",
255 255
 		"navigationBarTitleText": "RuoYi",

+ 9
- 0
pages/handlecase/component/list.vue Bestand weergeven

@@ -55,6 +55,9 @@
55 55
 			<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
56 56
 			<button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> -->
57 57
 		</view>
58
+		<view class="btn" v-if="sysType == 1">
59
+			<button class="btnItem" type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
60
+		</view>
58 61
 	</view>
59 62
 </template>
60 63
 
@@ -133,6 +136,12 @@
133 136
 					this.clickPay(9)
134 137
 				}
135 138
 			},
139
+			// 案件质证
140
+			caseCrossExamin(){
141
+				uni.navigateTo({
142
+					url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
143
+				})
144
+			},
136 145
 			// 案件详情以及操作
137 146
 			caseDetail() {
138 147
 				uni.navigateTo({

+ 13
- 11
pages/handlecase/index.vue Bestand weergeven

@@ -1,8 +1,8 @@
1 1
 <template>
2 2
 	<view class="handlecase">
3
-		<view class="" v-if="sysType == 2">
4
-			<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
5
-		</view>
3
+		<!-- <view class="" v-if="sysType == 2">
4
+			<button type="primary" @tap="newlyAddedCases"  v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
5
+		</view> -->
6 6
 		<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
7 7
 			:buttonList='buttonList' :key="index" :sysType='sysType'>
8 8
 		</List>
@@ -186,20 +186,22 @@
186 186
 				obj = {
187 187
 					pageNum: this.pageNum,
188 188
 					pageSize: this.pageSize,
189
+					caseFlowId:this.caseFlowId
189 190
 				}
190 191
 				this.getButtonList();
191 192
 			}
192 193
 			this.getList(obj)
193 194
 			// this.getButtonList()
194 195
 		},
195
-		// onLoad() {
196
-		// 	let obj = {
197
-		// 		pageNum: this.pageNum,
198
-		// 		pageSize: this.pageSize,
199
-		// 		caseStatus:4
200
-		// 	}
201
-		// 	this.getList(obj)
202
-		// }
196
+		onLoad(data) {
197
+			this.caseFlowId = data.caseFlowId
198
+			// let obj = {
199
+			// 	pageNum: this.pageNum,
200
+			// 	pageSize: this.pageSize,
201
+			// 	caseStatus:4
202
+			// }
203
+			// this.getList(obj)
204
+		}
203 205
 
204 206
 	}
205 207
 </script>

+ 263
- 33
pages/index.vue Bestand weergeven

@@ -1,43 +1,273 @@
1 1
 <template>
2 2
   <view class="content">
3
-    <image class="logo" src="@/static/chuizi.png"></image>
4
-    <view class="text-area">
5
-      <text class="title">仲裁系统</text>
6
-    </view>
3
+	<view class="header">
4
+		<uni-section title="我的代办事项" type="line" padding></uni-section>
5
+	</view>
6
+	<view class="homeMain" v-if="sysType == 2">
7
+		<view class="cardList" @tap="handlingCases(item.caseFlowId)" v-for="item in homePageList" :key="item.caseFlowId">
8
+		    <view class="badge">{{item.caseCount}}</view>
9
+		    <view class="cardMain">
10
+		      <!-- <img class="iconImg" src="@/assets/images/daishencha.png" alt=""> -->
11
+		    </view>
12
+		    <view class="cardMain">
13
+		      <view class="imgTitle">{{item.caseStatusName}}</view>
14
+		    </view>    
15
+		</view>
16
+		<view class="emptyBox" style="margin: 0 auto;" v-if="homePageList.length == 0">
17
+			<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
18
+		</view>
19
+	</view>
20
+	<view class="homeMain" v-if="sysType == 1">
21
+<!-- 		<view class="cardList" @tap="refereeCase()">
22
+		    <view class="badge">{{dataCount.caseApply}}</view>
23
+		    <view class="cardMain">
24
+		    </view>
25
+		    <view class="cardMain">
26
+		      <view class="imgTitle">待立案申请</view>
27
+		    </view>    
28
+		</view>
29
+		<view class="cardList" @tap="refereeCase()">
30
+		    <view class="badge">{{dataCount.caseApplyCheck}}</view>
31
+		    <view class="cardMain">
32
+		    </view>
33
+		    <view class="cardMain">
34
+		      <view class="imgTitle">待立案审查</view>
35
+		    </view>    
36
+		</view>
37
+		<view class="cardList" @tap="refereeCase()">
38
+		    <view class="badge">{{dataCount.caseApplyPay}}</view>
39
+		    <view class="cardMain">
40
+		    </view>
41
+		    <view class="cardMain">
42
+		      <view class="imgTitle">待缴费</view>
43
+		    </view>    
44
+		</view>
45
+		<view class="cardList" @tap="refereeCase()">
46
+		    <view class="badge">{{dataCount.caseApplyPayCheck}}</view>
47
+		    <view class="cardMain">
48
+		    </view>
49
+		    <view class="cardMain">
50
+		      <view class="imgTitle">待缴费确认</view>
51
+		    </view>    
52
+		</view> -->
53
+		<view class="cardList" @tap="refereeCase()">
54
+		    <view class="badge">{{dataCount.caseApplyEvidence}}</view>
55
+		    <view class="cardMain">
56
+		    </view>
57
+		    <view class="cardMain">
58
+		      <view class="imgTitle">待案件质证</view>
59
+		    </view>    
60
+		</view>
61
+<!-- 		<view class="cardList" @tap="refereeCase()">
62
+		    <view class="badge">{{dataCount.caseApplyGroupCheck}}</view>
63
+		    <view class="cardMain">
64
+		    </view>
65
+		    <view class="cardMain">
66
+		      <view class="imgTitle">待组庭审核</view>
67
+		    </view>    
68
+		</view>
69
+		<view class="cardList" @tap="refereeCase()">
70
+		    <view class="badge">{{dataCount.caseApplyGroupConfirm}}</view>
71
+		    <view class="cardMain">
72
+		    </view>
73
+		    <view class="cardMain">
74
+		      <view class="imgTitle">待组庭确定</view>
75
+		    </view>    
76
+		</view>
77
+		<view class="cardList" @tap="refereeCase()">
78
+		    <view class="badge">{{dataCount.caseApplyArbitrateWay}}</view>
79
+		    <view class="cardMain">
80
+		    </view>
81
+		    <view class="cardMain">
82
+		      <view class="imgTitle">待审核仲裁方式</view>
83
+		    </view>    
84
+		</view>
85
+		<view class="cardList" @tap="refereeCase()">
86
+		    <view class="badge">{{ dataCount.updateOnlineHearDate}}</view>
87
+		    <view class="cardMain">
88
+		    </view>
89
+		    <view class="cardMain">
90
+		      <view class="imgTitle">待确认开庭时间</view>
91
+		    </view>    
92
+		</view>
93
+		<view class="cardList" @tap="refereeCase()">
94
+		    <view class="badge">{{dataCount.caseApplyGroupOnline}}</view>
95
+		    <view class="cardMain">
96
+		    </view>
97
+		    <view class="cardMain">
98
+		      <view class="imgTitle">待开庭审理</view>
99
+		    </view>    
100
+		</view>
101
+		<view class="cardList" @tap="refereeCase()">
102
+		    <view class="badge">{{dataCount.caseApplyGroupOffline}}</view>
103
+		    <view class="cardMain">
104
+		    </view>
105
+		    <view class="cardMain">
106
+		      <view class="imgTitle">待书面审理</view>
107
+		    </view>    
108
+		</view>
109
+		<view class="cardList" @tap="refereeCase()">
110
+		    <view class="badge">{{dataCount.caseApplyAwardCheck}}</view>
111
+		    <view class="cardMain">
112
+		    </view>
113
+		    <view class="cardMain">
114
+		      <view class="imgTitle">待核验仲裁文书</view>
115
+		    </view>    
116
+		</view>
117
+		<view class="cardList" @tap="refereeCase()">
118
+		    <view class="badge">{{dataCount.arbitratorApplyAwardConfirm }}</view>
119
+		    <view class="cardMain">
120
+		    </view>
121
+		    <view class="cardMain">
122
+		      <view class="imgTitle">待仲裁员核验仲裁文书</view>
123
+		    </view>    
124
+		</view>
125
+		<view class="cardList" @tap="refereeCase()">
126
+		    <view class="badge">{{dataCount.caseApplyAwardConfirm}}</view>
127
+		    <view class="cardMain">
128
+		    </view>
129
+		    <view class="cardMain">
130
+		      <view class="imgTitle">待审核仲裁文书</view>
131
+		    </view>    
132
+		</view>
133
+		<view class="cardList" @tap="refereeCase()">
134
+		    <view class="badge">{{dataCount.caseApplyAwardSign}}</view>
135
+		    <view class="cardMain">
136
+		    </view>
137
+		    <view class="cardMain">
138
+		      <view class="imgTitle">待仲裁文书签名</view>
139
+		    </view>    
140
+		</view>
141
+		<view class="cardList" @tap="refereeCase()">
142
+		    <view class="badge">{{dataCount.caseApplyAwardSeal}}</view>
143
+		    <view class="cardMain">
144
+		    </view>
145
+		    <view class="cardMain">
146
+		      <view class="imgTitle">待仲裁文书用印</view>
147
+		    </view>    
148
+		</view>
149
+		<view class="cardList" @tap="refereeCase()">
150
+		    <view class="badge">{{dataCount.caseApplyAwardSend}}</view>
151
+		    <view class="cardMain">
152
+		    </view>
153
+		    <view class="cardMain">
154
+		      <view class="imgTitle">待仲裁文书送达</view>
155
+		    </view>    
156
+		</view>
157
+		<view class="cardList" @tap="refereeCase()">
158
+		    <view class="badge">{{dataCount.caseApplyStored}}</view>
159
+		    <view class="cardMain">
160
+		    </view>
161
+		    <view class="cardMain">
162
+		      <view class="imgTitle">待案件归档</view>
163
+		    </view>    
164
+		</view> -->
165
+	</view>
7 166
   </view>
8 167
 </template>
9 168
 
10
-<script>
11
-  export default {
12
-    onLoad: function() {
169
+<script>
170
+	import {todoCount,toDoCountReferee} from '@/api/homePage/index.js'
171
+	import LuanqingEmpty from "@/components/luanqing-empty.vue"
172
+  export default {
173
+	components: {
174
+		'luanqing-empty': LuanqingEmpty,
175
+	},
176
+	data(){
177
+		return {
178
+			homePageList:[],
179
+			sysType:null,
180
+			dataCount:{}
181
+		}
182
+	},
183
+	methods:{
184
+		getHomePage(){
185
+			if(this.sysType==2){
186
+				todoCount().then(res =>{
187
+					this.homePageList = res.data.toDoCountList
188
+					console.log(res)
189
+				})
190
+			}else if(this.sysType==1){
191
+				toDoCountReferee().then(res =>{
192
+					this.dataCount = res.data;
193
+				})
194
+			}
195
+		},
196
+		// 调解跳转
197
+		handlingCases(caseFlowId){
198
+			uni.navigateTo({
199
+				url:`../pages/handlecase/index?caseFlowId=${caseFlowId}`
200
+			})
201
+		},
202
+		// 仲裁跳转
203
+		refereeCase(){
204
+			uni.navigateTo({
205
+				url:'../pages/handlecase/index'
206
+			})
207
+		}
208
+	},
209
+	onShow() {
210
+		this.getHomePage()
211
+	},
212
+    onLoad: function() {
213
+		this.sysType = uni.getStorageSync('sysType');
214
+		console.log(this.sysType)
215
+		
13 216
     }
14 217
   }
15 218
 </script>
16 219
 
17
-<style>
18
-  .content {
19
-    display: flex;
20
-    flex-direction: column;
21
-    align-items: center;
22
-    justify-content: center;
23
-  }
24
-
25
-  .logo {
26
-    height: 200rpx;
27
-    width: 200rpx;
28
-    margin-top: 200rpx;
29
-    margin-left: auto;
30
-    margin-right: auto;
31
-    margin-bottom: 50rpx;
32
-  }
33
-
34
-  .text-area {
35
-    display: flex;
36
-    justify-content: center;
37
-  }
38
-
39
-  .title {
40
-    font-size: 36rpx;
41
-    color: #8f8f94;
42
-  }
220
+<style lang="scss">
221
+	page {
222
+		background-color: #ffffff;
223
+	}
224
+	.homeMain {
225
+	    width: 100%;
226
+	    display: flex;
227
+	    flex-wrap: wrap;
228
+		margin-left:27rpx;
229
+	    // justify-content: space-between;
230
+	    .cardList {
231
+	      width: 28%;
232
+	      height:200rpx;
233
+	      border-radius: 48rpx;
234
+	      background-color:#ffffff;
235
+	      position: relative;
236
+	      margin-right: 30rpx;
237
+	      margin-bottom: 30rpx;
238
+		  border:1rpx solid #05baf1;
239
+	
240
+	      .badge {
241
+	        width: 80rpx;
242
+	        height: 50rpx;
243
+	        text-align: center;
244
+	        line-height: 50rpx;
245
+	        font-size: 35rpx;
246
+	        font-weight: 500;
247
+	        color: #e32a4f;
248
+	        border-radius: 10rpx 30rpx 10rpx 30rpx;
249
+	        background-color: #05baf1;
250
+	        position: absolute;
251
+	        right: 0;
252
+	      }
253
+	
254
+	      .cardMain {
255
+	        width: 100%;
256
+	        display: flex;
257
+			text-align: center;
258
+	        justify-content: center;
259
+	        margin-top: 40rpx;
260
+			padding
261
+	        .iconImg {
262
+	          width: 100rpx;
263
+	          height: 110rpx;
264
+	        }
265
+	
266
+	        .imgTitle {
267
+	          font-size: 28rpx;
268
+	          font-weight: 600;
269
+	        }
270
+	      }
271
+	    }
272
+	  }
43 273
 </style>

+ 1
- 1
pages/login.vue Bestand weergeven

@@ -6,7 +6,7 @@
6 6
 			<text class="title">仲裁平台</text>
7 7
 		</view>
8 8
 		<view class="logo-content align-center justify-center flex" v-if="logSyste==2">
9
-			<image style="width: 100rpx;height: 100rpx;" :src="globalConfig.appInfo.logo" mode="widthFix">
9
+			<image style="width: 100rpx;height: 100rpx;" src="../static/refree.png" mode="widthFix">
10 10
 			</image>
11 11
 			<text class="title">调解平台</text>
12 12
 		</view>

+ 4
- 4
pages/mine/index.vue Bestand weergeven

@@ -26,11 +26,11 @@
26 26
     </view>
27 27
 
28 28
     <view class="content-section">
29
-      <view class="mine-actions grid col-4 text-center">
30
-       <!-- <view class="action-item" @click="handleJiaoLiuQun">
29
+      <!-- <view class="mine-actions grid col-4 text-center">
30
+       <view class="action-item" @click="handleJiaoLiuQun">
31 31
           <view class="iconfont icon-friendfill text-pink icon"></view>
32 32
           <text class="text">交流群</text>
33
-        </view> -->
33
+        </view>
34 34
         <view class="action-item" @click="handleBuilding">
35 35
           <view class="iconfont icon-service text-blue icon"></view>
36 36
           <text class="text">在线客服</text>
@@ -43,7 +43,7 @@
43 43
           <view class="iconfont icon-dianzan text-green icon"></view>
44 44
           <text class="text">点赞我们</text>
45 45
         </view>
46
-      </view>
46
+      </view -->
47 47
 
48 48
       <view class="menu-list">
49 49
         <view class="list-cell list-cell-arrow" @click="handleToEditInfo">

+ 1
- 1
pages/mine/info/index.vue Bestand weergeven

@@ -4,7 +4,7 @@
4 4
       <uni-list-item showExtraIcon="true" :extraIcon="{type: 'person-filled'}" title="昵称" :rightText="user.nickName" />
5 5
       <uni-list-item showExtraIcon="true" :extraIcon="{type: 'phone-filled'}" title="手机号码" :rightText="user.phonenumber" />
6 6
       <uni-list-item showExtraIcon="true" :extraIcon="{type: 'email-filled'}" title="邮箱" :rightText="user.email" />
7
-      <uni-list-item showExtraIcon="true" :extraIcon="{type: 'auth-filled'}" title="岗位" :rightText="postGroup" />
7
+      <!-- <uni-list-item showExtraIcon="true" :extraIcon="{type: 'auth-filled'}" title="岗位" :rightText="postGroup" /> -->
8 8
       <uni-list-item showExtraIcon="true" :extraIcon="{type: 'staff-filled'}" title="角色" :rightText="roleGroup" />
9 9
       <uni-list-item showExtraIcon="true" :extraIcon="{type: 'calendar-filled'}" title="创建日期" :rightText="user.createTime" />
10 10
     </uni-list>

+ 2
- 2
pages/mine/setting/index.vue Bestand weergeven

@@ -7,7 +7,7 @@
7 7
           <view>修改密码</view>
8 8
         </view>
9 9
       </view>
10
-      <view class="list-cell list-cell-arrow" @click="handleToUpgrade">
10
+     <!-- <view class="list-cell list-cell-arrow" @click="handleToUpgrade">
11 11
         <view class="menu-item-box">
12 12
           <view class="iconfont icon-refresh menu-icon"></view>
13 13
           <view>检查更新</view>
@@ -18,7 +18,7 @@
18 18
           <view class="iconfont icon-clean menu-icon"></view>
19 19
           <view>清理缓存</view>
20 20
         </view>
21
-      </view>
21
+      </view> -->
22 22
     </view>
23 23
     <view class="cu-list menu">
24 24
       <view class="cu-item item-box">

+ 23
- 13
pages/work/index.vue Bestand weergeven

@@ -28,28 +28,29 @@
28 28
 				<uni-grid-item>
29 29
 					<view class="grid-item-box" @tap="changeGrid(0)">
30 30
 						<uni-icons type="calendar-filled" size="30" color="#327DD7"></uni-icons>
31
-						<text class="text">待办案件</text>
31
+						<text class="text" v-if="sysType == 1">待办案件</text>
32
+						<text class="text" v-if="sysType == 2">我的申请</text>
32 33
 					</view>
33 34
 				</uni-grid-item>
34
-				<!-- <uni-grid-item>
35
+				<uni-grid-item v-if="sysType == 2 && checkPermi(['caseManagement:list:add'])">
35 36
 					<view class="grid-item-box" @tap="changeGrid(1)">
36 37
 						<uni-icons type="staff-filled" size="30" color="#327DD7"></uni-icons>
37
-						<text class="text">代办案件</text>
38
+						<text class="text">立案申请</text>
38 39
 					</view>
39 40
 				</uni-grid-item>
40
-				<uni-grid-item>
41
+				<!-- <uni-grid-item v-if="sysType == 2">
41 42
 					<view class="grid-item-box" @tap="changeGrid(2)">
42 43
 						<uni-icons type="color" size="30" color="#327DD7"></uni-icons>
43
-						<text class="text">代理立案</text>
44
+						<text class="text">线上调解</text>
44 45
 					</view>
45 46
 				</uni-grid-item>
46
-				<uni-grid-item>
47
+				<uni-grid-item v-if="sysType == 2">
47 48
 					<view class="grid-item-box" @tap="changeGrid(3)">
48
-						<uni-icons type="settings-filled" size="30" color="#327DD7"></uni-icons>
49
-						<text class="text">代理案件进展</text>
49
+						<uni-icons type="compose" size="30" color="#327DD7"></uni-icons>
50
+						<text class="text">我的申请</text>
50 51
 					</view>
51
-				</uni-grid-item>
52
-				<uni-grid-item>
52
+				</uni-grid-item> -->
53
+				<!-- <uni-grid-item>
53 54
 					<view class="grid-item-box" @tap="changeGrid(4)">
54 55
 						<uni-icons type="heart-filled" size="30" color="#327DD7"></uni-icons>
55 56
 						<text class="text">证据交换</text>
@@ -58,7 +59,8 @@
58 59
 				<uni-grid-item>
59 60
 					<view class="grid-item-box" @tap="changeGrid(5)">
60 61
 						<uni-icons type="bars" size="30" color="#327DD7"></uni-icons>
61
-						<text class="text">视频审理</text>
62
+						<text class="text" v-if="sysType == 1">视频审理</text>
63
+						<text class="text" v-if="sysType == 2">线上调解</text>
62 64
 					</view>
63 65
 				</uni-grid-item>
64 66
 				<!-- <uni-grid-item>
@@ -114,7 +116,8 @@
114 116
 					}
115 117
 				],
116 118
 				certificationStatus: "",
117
-				eidToken: ""
119
+				eidToken: "",
120
+				sysType:null
118 121
 			}
119 122
 		},
120 123
 		methods: {
@@ -154,6 +157,11 @@
154 157
 						uni.navigateTo({
155 158
 							url: ('/pages/signature/index')
156 159
 						})
160
+						break;
161
+					case 1:
162
+						uni.navigateTo({
163
+							url: (`/pages/handlecase/component/newlyAddedCase?title=新增案件`)
164
+						})
157 165
 						break;
158 166
 					default:
159 167
 						break;
@@ -193,7 +201,9 @@
193 201
 				});
194 202
 			}
195 203
 		},
196
-		onLoad() {
204
+		onLoad() {
205
+			this.sysType = uni.getStorageSync('sysType');
206
+			console.log(this.sysType)
197 207
 			// sendEidtoken({
198 208
 			// 	"eidToken": 'C0339AE1-7B30-4DB9-B1E4-35A10F45249B'
199 209
 			// }).then(res => {

BIN
static/refree.png Bestand weergeven


+ 5
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 5
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 5
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 5
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven