hanchaobo il y a 2 ans
Parent
révision
c1af7ab47b

+ 20
- 19
pages/handlecase/component/list.vue Voir le fichier

@@ -1,5 +1,5 @@
1 1
 <template>
2
-	<view class="list">
2
+	<view class="list" @click="caseDetail()">
3 3
 		<view class="listItem">
4 4
 			<view class="lable">
5 5
 				案件编号:
@@ -41,8 +41,10 @@
41 41
 			</view>
42 42
 		</view>
43 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 48
 			<!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</button>
47 49
 			<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
48 50
 			<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
@@ -65,7 +67,7 @@
65 67
 	export default {
66 68
 		data() {
67 69
 			return {
68
-				
70
+
69 71
 			}
70 72
 		},
71 73
 		props: {
@@ -141,17 +143,17 @@
141 143
 				})
142 144
 			},
143 145
 			// 确认缴费
144
-			confirmPayments(){
146
+			confirmPayments() {
145 147
 				uni.navigateTo({
146 148
 					url: `/pages/handlecase/component/confirmPayment?id=${this.defalutVal.id}&caseFlowId=${this.defalutVal.caseFlowId}`
147 149
 				})
148 150
 			},
149 151
 			/**提交案件*/
150 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 158
 				caseAppSubmit(onsubmitVal).then(res => {
157 159
 					uni.showToast({
@@ -160,7 +162,7 @@
160 162
 						duration: 1000
161 163
 					})
162 164
 					uni.navigateTo({
163
-						url:'/pages/handlecase/index'
165
+						url: '/pages/handlecase/index'
164 166
 					})
165 167
 					//this.$emit("getList");
166 168
 				})
@@ -173,25 +175,24 @@
173 175
 			},
174 176
 			/*删除*/
175 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 184
 					uni.showToast({
183 185
 						title: '删除成功',
184 186
 						icon: 'none',
185 187
 						duration: 1000
186 188
 					})
187 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 197
 </script>
197 198
 

+ 3
- 2
pages/handlecase/index.vue Voir le fichier

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
 	<view class="handlecase">
3 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 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'>
@@ -187,9 +187,10 @@
187 187
 					pageNum: this.pageNum,
188 188
 					pageSize: this.pageSize,
189 189
 				}
190
+				this.getButtonList();
190 191
 			}
191 192
 			this.getList(obj)
192
-			this.getButtonList()
193
+			// this.getButtonList()
193 194
 		},
194 195
 		// onLoad() {
195 196
 		// 	let obj = {

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 14
- 20
unpackage/dist/dev/mp-weixin/project.config.json Voir le fichier

@@ -1,7 +1,8 @@
1 1
 {
2 2
   "description": "项目配置文件。",
3 3
   "packOptions": {
4
-    "ignore": []
4
+    "ignore": [],
5
+    "include": []
5 6
   },
6 7
   "setting": {
7 8
     "urlCheck": false,
@@ -9,28 +10,21 @@
9 10
     "postcss": true,
10 11
     "minified": true,
11 12
     "newFeature": true,
12
-    "bigPackageSizeSupport": true
13
+    "bigPackageSizeSupport": true,
14
+    "babelSetting": {
15
+      "ignore": [],
16
+      "disablePlugins": [],
17
+      "outputPath": ""
18
+    },
19
+    "condition": false
13 20
   },
14 21
   "compileType": "miniprogram",
15
-  "libVersion": "",
22
+  "libVersion": "3.1.1",
16 23
   "appid": "wx91cb8459dca561b4",
17 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 Voir le fichier

@@ -1,8 +1,8 @@
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
 }