hanchaobo 2 anni fa
parent
commit
c1af7ab47b

+ 20
- 19
pages/handlecase/component/list.vue Vedi File

1
 <template>
1
 <template>
2
-	<view class="list">
2
+	<view class="list" @click="caseDetail()">
3
 		<view class="listItem">
3
 		<view class="listItem">
4
 			<view class="lable">
4
 			<view class="lable">
5
 				案件编号:
5
 				案件编号:
41
 			</view>
41
 			</view>
42
 		</view>
42
 		</view>
43
 		<view class="btn" v-if="sysType == 2">
43
 		<view class="btn" v-if="sysType == 2">
44
-			<button class="btnItem" type="primary" size="mini" @tap="modify" v-if="checkPermi(['caseManagement:list:edit'])">修改</button>
45
-			<button class="btnItem" type="primary" size="mini" @tap="deleteCase" v-if="checkPermi(['caseManagement:list:delete'])">删除</button>
44
+			<button class="btnItem" type="primary" size="mini" @tap="modify"
45
+				v-if="checkPermi(['caseManagement:list:edit'])">修改</button>
46
+			<button class="btnItem" type="primary" size="mini" @tap="deleteCase"
47
+				v-if="checkPermi(['caseManagement:list:delete'])">删除</button>
46
 			<!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</button>
48
 			<!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</button>
47
 			<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
49
 			<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
48
 			<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
50
 			<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
65
 	export default {
67
 	export default {
66
 		data() {
68
 		data() {
67
 			return {
69
 			return {
68
-				
70
+
69
 			}
71
 			}
70
 		},
72
 		},
71
 		props: {
73
 		props: {
141
 				})
143
 				})
142
 			},
144
 			},
143
 			// 确认缴费
145
 			// 确认缴费
144
-			confirmPayments(){
146
+			confirmPayments() {
145
 				uni.navigateTo({
147
 				uni.navigateTo({
146
 					url: `/pages/handlecase/component/confirmPayment?id=${this.defalutVal.id}&caseFlowId=${this.defalutVal.caseFlowId}`
148
 					url: `/pages/handlecase/component/confirmPayment?id=${this.defalutVal.id}&caseFlowId=${this.defalutVal.caseFlowId}`
147
 				})
149
 				})
148
 			},
150
 			},
149
 			/**提交案件*/
151
 			/**提交案件*/
150
 			onsubmitRow() {
152
 			onsubmitRow() {
151
-				let onsubmitVal ={
152
-					id : this.defalutVal.id,
153
-					batchNumber:"",
154
-					caseFlowId:this.defalutVal.caseFlowId
153
+				let onsubmitVal = {
154
+					id: this.defalutVal.id,
155
+					batchNumber: "",
156
+					caseFlowId: this.defalutVal.caseFlowId
155
 				}
157
 				}
156
 				caseAppSubmit(onsubmitVal).then(res => {
158
 				caseAppSubmit(onsubmitVal).then(res => {
157
 					uni.showToast({
159
 					uni.showToast({
160
 						duration: 1000
162
 						duration: 1000
161
 					})
163
 					})
162
 					uni.navigateTo({
164
 					uni.navigateTo({
163
-						url:'/pages/handlecase/index'
165
+						url: '/pages/handlecase/index'
164
 					})
166
 					})
165
 					//this.$emit("getList");
167
 					//this.$emit("getList");
166
 				})
168
 				})
173
 			},
175
 			},
174
 			/*删除*/
176
 			/*删除*/
175
 			deleteCase() {
177
 			deleteCase() {
176
-				let objValue ={
177
-					id : this.defalutVal.id,
178
-					batchNumber:"",
179
-					caseFlowId:this.defalutVal.caseFlowId
178
+				let objValue = {
179
+					id: this.defalutVal.id,
180
+					batchNumber: "",
181
+					caseFlowId: this.defalutVal.caseFlowId
180
 				}
182
 				}
181
-				caseDelete(objValue).then(res =>{
183
+				caseDelete(objValue).then(res => {
182
 					uni.showToast({
184
 					uni.showToast({
183
 						title: '删除成功',
185
 						title: '删除成功',
184
 						icon: 'none',
186
 						icon: 'none',
185
 						duration: 1000
187
 						duration: 1000
186
 					})
188
 					})
187
 					uni.navigateTo({
189
 					uni.navigateTo({
188
-						url:'/pages/handlecase/index'
190
+						url: '/pages/handlecase/index'
189
 					})
191
 					})
190
-				}) 
192
+				})
191
 			},
193
 			},
192
 		},
194
 		},
193
-		created() {
194
-		}
195
+		created() {}
195
 	}
196
 	}
196
 </script>
197
 </script>
197
 
198
 

+ 3
- 2
pages/handlecase/index.vue Vedi File

1
 <template>
1
 <template>
2
 	<view class="handlecase">
2
 	<view class="handlecase">
3
 		<view class="" v-if="sysType == 2">
3
 		<view class="" v-if="sysType == 2">
4
-			<button type="primary" @tap="newlyAddedCases"  v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
4
+			<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
5
 		</view>
5
 		</view>
6
 		<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
6
 		<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
7
 			:buttonList='buttonList' :key="index" :sysType='sysType'>
7
 			:buttonList='buttonList' :key="index" :sysType='sysType'>
187
 					pageNum: this.pageNum,
187
 					pageNum: this.pageNum,
188
 					pageSize: this.pageSize,
188
 					pageSize: this.pageSize,
189
 				}
189
 				}
190
+				this.getButtonList();
190
 			}
191
 			}
191
 			this.getList(obj)
192
 			this.getList(obj)
192
-			this.getButtonList()
193
+			// this.getButtonList()
193
 		},
194
 		},
194
 		// onLoad() {
195
 		// onLoad() {
195
 		// 	let obj = {
196
 		// 	let obj = {

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
File diff suppressed because it is too large
Vedi File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
File diff suppressed because it is too large
Vedi File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
File diff suppressed because it is too large
Vedi File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
File diff suppressed because it is too large
Vedi File


+ 14
- 20
unpackage/dist/dev/mp-weixin/project.config.json Vedi File

1
 {
1
 {
2
   "description": "项目配置文件。",
2
   "description": "项目配置文件。",
3
   "packOptions": {
3
   "packOptions": {
4
-    "ignore": []
4
+    "ignore": [],
5
+    "include": []
5
   },
6
   },
6
   "setting": {
7
   "setting": {
7
     "urlCheck": false,
8
     "urlCheck": false,
9
     "postcss": true,
10
     "postcss": true,
10
     "minified": true,
11
     "minified": true,
11
     "newFeature": true,
12
     "newFeature": true,
12
-    "bigPackageSizeSupport": true
13
+    "bigPackageSizeSupport": true,
14
+    "babelSetting": {
15
+      "ignore": [],
16
+      "disablePlugins": [],
17
+      "outputPath": ""
18
+    },
19
+    "condition": false
13
   },
20
   },
14
   "compileType": "miniprogram",
21
   "compileType": "miniprogram",
15
-  "libVersion": "",
22
+  "libVersion": "3.1.1",
16
   "appid": "wx91cb8459dca561b4",
23
   "appid": "wx91cb8459dca561b4",
17
   "projectname": "智慧仲裁",
24
   "projectname": "智慧仲裁",
18
-  "condition": {
19
-    "search": {
20
-      "current": -1,
21
-      "list": []
22
-    },
23
-    "conversation": {
24
-      "current": -1,
25
-      "list": []
26
-    },
27
-    "game": {
28
-      "current": -1,
29
-      "list": []
30
-    },
31
-    "miniprogram": {
32
-      "current": -1,
33
-      "list": []
34
-    }
25
+  "condition": {},
26
+  "editorSetting": {
27
+    "tabIndent": "insertSpaces",
28
+    "tabSize": 2
35
   }
29
   }
36
 }
30
 }

+ 7
- 7
unpackage/dist/dev/mp-weixin/project.private.config.json Vedi File

1
-{
2
-  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
3
-  "projectname": "miniapp",
4
-  "setting": {
5
-    "compileHotReLoad": true,
6
-    "urlCheck": false
7
-  }
1
+{
2
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
3
+  "projectname": "miniapp",
4
+  "setting": {
5
+    "compileHotReLoad": true,
6
+    "urlCheck": false
7
+  }
8
 }
8
 }