diff --git a/App.vue b/App.vue
index 797f513..58fe7d2 100644
--- a/App.vue
+++ b/App.vue
@@ -4,6 +4,9 @@
import { getToken } from '@/utils/auth'
export default {
+ globalData:{
+ requestUrl:'http://121.40.189.20:9001',
+ },
onLaunch: function() {
this.initApp()
},
diff --git a/api/handlecase/index.js b/api/handlecase/index.js
index 82824d8..53cd43f 100644
--- a/api/handlecase/index.js
+++ b/api/handlecase/index.js
@@ -7,4 +7,11 @@ export function respondentList(data) {
method: 'get',
params: data
})
+}
+// 查询详情
+export function respondentDetail(data) {
+ return request({
+ 'url': `/evidence/${data}`,
+ method: 'get',
+ })
}
\ No newline at end of file
diff --git a/api/upload.js b/api/upload.js
index cc3e914..b3bec84 100644
--- a/api/upload.js
+++ b/api/upload.js
@@ -1,13 +1,3 @@
-import request from '@/utils/request'
-
-// 上传图片
-export function uploadImage(data) {
- return request({
- 'url': '/evidence/upload',
- // headers: {
- // isToken: false
- // },
- method: 'post',
- data: data
- })
-}
\ No newline at end of file
+module.exports = {
+ uploadImage:`/evidence/upload`, // 图片上传
+}
diff --git a/components/imgUpload.vue b/components/imgUpload.vue
deleted file mode 100644
index f11c7d6..0000000
--- a/components/imgUpload.vue
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/package.json b/package.json
index 283cb6d..c127d37 100644
--- a/package.json
+++ b/package.json
@@ -13,5 +13,8 @@
"前端组件",
"通用组件"
]
+ },
+ "dependencies": {
+ "moment": "^2.29.4"
}
-}
\ No newline at end of file
+}
diff --git a/pages/handlecase/component/assignrbitrators.vue b/pages/handlecase/component/assignrbitrators.vue
index 629a953..6456028 100644
--- a/pages/handlecase/component/assignrbitrators.vue
+++ b/pages/handlecase/component/assignrbitrators.vue
@@ -4,38 +4,32 @@
案件详情
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
+
+
@@ -45,7 +39,8 @@
diff --git a/pages/handlecase/component/confirmationEvidence.vue b/pages/handlecase/component/confirmationEvidence.vue
index 1bdfc65..6456028 100644
--- a/pages/handlecase/component/confirmationEvidence.vue
+++ b/pages/handlecase/component/confirmationEvidence.vue
@@ -4,35 +4,32 @@
案件详情
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
+
+
@@ -42,7 +39,8 @@
diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue
index b1d9683..e182df4 100644
--- a/pages/handlecase/component/list.vue
+++ b/pages/handlecase/component/list.vue
@@ -5,7 +5,7 @@
案件编号:
- 123
+ {{defalutVal.caseNum}}
@@ -13,7 +13,7 @@
申请人姓名:
- 张三
+ {{defalutVal.applicantName}}
@@ -21,7 +21,7 @@
被申请人姓名:
- 李四
+ {{defalutVal.respondentName}}
@@ -29,20 +29,13 @@
案件状态:
- 待确认是否应诉
-
-
-
-
- 申请人姓名:
-
-
- 张三
+ {{defalutVal.caseStatusName}}
-
-
+
+
+
@@ -56,22 +49,28 @@
}
},
+ props:{
+ defalutVal:{
+ type:Object,
+ default:() => {}
+ }
+ },
methods:{
isAssignrbitrators(){
uni.navigateTo({
- url:'/pages/handlecase/component/assignrbitrators'
+ url:`/pages/handlecase/component/assignrbitrators?id=${this.defalutVal.id}`
})
},
// 上传证据
uploadEvidence(){
uni.navigateTo({
- url:'/pages/handlecase/component/uploadEvidence'
+ url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
})
},
// 确认证据
confirmationEvidence(){
uni.navigateTo({
- url:'/pages/handlecase/component/confirmationEvidence'
+ url:`/pages/handlecase/component/confirmationEvidence?id=${this.defalutVal.id}`
})
},
// 选择仲裁方式
@@ -109,13 +108,14 @@
.btn{
margin-top: 20rpx;
width: 100%;
+ display: flex;
+ justify-content: space-between;
.btnItem{
height: 50rpx;
background-color: #5395ff;
border-radius: 10rpx;
text-align: center;
line-height: 50rpx;
- margin-right: 30rpx;
}
}
}
diff --git a/pages/handlecase/component/uploadEvidence.vue b/pages/handlecase/component/uploadEvidence.vue
index 1bdfc65..fe77cc0 100644
--- a/pages/handlecase/component/uploadEvidence.vue
+++ b/pages/handlecase/component/uploadEvidence.vue
@@ -4,49 +4,55 @@
案件详情
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
diff --git a/pages/handlecase/index.vue b/pages/handlecase/index.vue
index 3f74e91..8e7b915 100644
--- a/pages/handlecase/index.vue
+++ b/pages/handlecase/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -13,19 +13,74 @@
},
data() {
return {
- caseList:[1,2,3,4]
+ caseList:[]
}
},
methods: {
getList(parms){
respondentList(parms).then(res=>{
- console.log(res,"LLLLLLLLLLLLLLL");
+ this.caseList = res.rows;
+ this.caseList.forEach(item=>{
+ switch (item.caseStatus){
+ case 0:
+ item.caseStatusName = '立案申请'
+ break;
+ case 1:
+ item.caseStatusName = '待缴费'
+ break;
+ case 2:
+ item.caseStatusName = '待缴费确认'
+ break;
+ case 3:
+ item.caseStatusName = '待确认是否应诉'
+ break;
+ case 4:
+ item.caseStatusName = '待确认证据'
+ break;
+ case 5:
+ item.caseStatusName = '待确定是否指派仲裁员'
+ break;
+ case 6:
+ item.caseStatusName = '待组庭'
+ break;
+ case 7:
+ item.caseStatusName = '待组庭确定'
+ break;
+ case 8:
+ item.caseStatusName = '待组庭审核'
+ break;
+ case 9:
+ item.caseStatusName = '待选择仲裁方式'
+ break;
+ case 10:
+ item.caseStatusName = '待开庭'
+ break;
+ case 11:
+ item.caseStatusName = '待生成仲裁文书'
+ break;
+ case 12:
+ item.caseStatusName = '待确认仲裁文书'
+ break;
+ case 13:
+ item.caseStatusName = '待仲裁文书用印'
+ break;
+ case 14:
+ item.caseStatusName = '待仲裁文书用印审核'
+ break;
+ case 15:
+ item.caseStatusName = '待仲裁文书送达'
+ break;
+ case 16:
+ item.caseStatusName = '待案件归档'
+ break;
+ }
+ })
})
}
},
onLoad(){
let obj = {
- identityNum:"333",
+ identityNum:"3333",
pageNum:1,
pageSize:10
}