diff --git a/App.vue b/App.vue
index 0e1849c..fb60f98 100644
--- a/App.vue
+++ b/App.vue
@@ -10,7 +10,7 @@
export default {
globalData: {
// requestUrl: 'https://api.xayunmei.com/zhongcaiapi',
- requestUrl: 'http://121.40.189.20:8001',
+ requestUrl: 'https://api.xayunmei.com/zhongcaiapitest',
},
onLaunch: function() {
this.initApp();
diff --git a/api/handlecase/index.js b/api/handlecase/index.js
index 353ba14..3205dfd 100644
--- a/api/handlecase/index.js
+++ b/api/handlecase/index.js
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询被申请人案件列表
export function respondentList(data) {
return request({
- 'url': '/evidence/all',
+ 'url': '/caseApplication/list',
method: 'get',
params: data
})
@@ -200,4 +200,12 @@ export function deleteFile(data) {
method: "post",
data: data,
})
-}
\ No newline at end of file
+}
+// 仲裁案件详情
+export function selectCaseApplication(data) {
+ return request({
+ url: "/caseApplication/selectCaseApplication",
+ method: "post",
+ data: data,
+ })
+}
diff --git a/pages.json b/pages.json
index 56f9159..8b08a48 100644
--- a/pages.json
+++ b/pages.json
@@ -99,6 +99,12 @@
"navigationBarTitleText": "案件信息"
}
},
+ {
+ "path": "pages/handlecase/component/caseDetails",
+ "style": {
+ "navigationBarTitleText": "案件详情"
+ }
+ },
{
"path": "pages/handlecase/component/confirmPayment",
"style": {
diff --git a/pages/handlecase/component/caseDetails.vue b/pages/handlecase/component/caseDetails.vue
new file mode 100644
index 0000000..698fc64
--- /dev/null
+++ b/pages/handlecase/component/caseDetails.vue
@@ -0,0 +1,385 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 申请人
+
+
+
+ 被申请人
+
+
+
+
+
+ 仲裁申请书
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue
index c857999..493ba3d 100644
--- a/pages/handlecase/component/list.vue
+++ b/pages/handlecase/component/list.vue
@@ -40,7 +40,7 @@
案件状态:
-
+
{{defalutVal.caseStatusName}}
@@ -60,6 +60,7 @@
-->
+
@@ -152,6 +153,12 @@
url: `/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
})
},
+ // 仲裁案件详情
+ caseDetails(){
+ uni.navigateTo({
+ url:`/pages/handlecase/component/caseDetails?id=${this.defalutVal.id}`
+ })
+ },
// 缴费
clickPay(type) {
uni.navigateTo({
diff --git a/pages/handlecase/component/newlyAddedCase.vue b/pages/handlecase/component/newlyAddedCase.vue
index 672e496..549b1e6 100644
--- a/pages/handlecase/component/newlyAddedCase.vue
+++ b/pages/handlecase/component/newlyAddedCase.vue
@@ -44,7 +44,7 @@
-
-
申请人
-
+
被申请人
-
+
仲裁申请书
-
+
@@ -260,7 +260,8 @@
evidenceCrossexami,
selectById,
updateBooking,
- deleteFile
+ deleteFile,
+ selectCaseApplication
} from '../../../api/handlecase/index.js'
import {
uploadImage
@@ -452,20 +453,23 @@ import constant from '../../../utils/constant.js'
},
getData(parms) {
if (this.sysType == 1) {
- respondentDetail(parms).then(res => {
- if (res.data.evidenceMaterialList.length > 0) {
- res.data.evidenceMaterialList.forEach(item => {
- let names = item.annexPath.split('_')
- item['fileName'] = names[names.length - 1]
- item.annexPath = baseUrl + item.annexPath
- })
- }
+
+ selectCaseApplication({id:parms}).then(res => {
+ console.log(res)
this.formData = res.data
this.formData.loanEndDate = moment(this.formData.loanEndDate).format(
'YYYY-MM-DD HH:mm:ss');
this.formData.loanStartDate = moment(this.formData.loanStartDate).format(
'YYYY-MM-DD HH:mm:ss');
this.formData.id = this.formData.id + ''
+ if (res.data.caseAttachList.length > 0) {
+ res.data.caseAttachList.forEach(item => {
+ let names = item.annexPath.split('_')
+ item['fileName'] = names[names.length - 1]
+ item.annexPath = baseUrl + item.annexPath
+ })
+ }
+
})
} else if (this.sysType == 2) {
selectById({
@@ -602,7 +606,7 @@ import constant from '../../../utils/constant.js'
evidenceList() {
console.log(this.formData.evidenceMaterialList)
this.$tab.navigateTo(
- `/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.evidenceMaterialList))}`
+ `/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.caseAttachList))}`
)
},
},
diff --git a/pages/handlecase/index.vue b/pages/handlecase/index.vue
index 9d3f5a2..9a0085f 100644
--- a/pages/handlecase/index.vue
+++ b/pages/handlecase/index.vue
@@ -55,13 +55,13 @@
if (this.sysType == 1) {
respondentList(parms).then(res => {
// this.caseList = res.rows;
- if (res.data) {
- this.caseList = [...this.caseList, ...res.data];
+ if (res.rows) {
+ this.caseList = [...this.caseList, ...res.rows];
} else {
this.caseList = []
}
-
+ console.log(res.rows,this.caseList)
})
} else if (this.sysType == 2) {
@@ -109,7 +109,6 @@
obj = {
pageNum: this.pageNum,
pageSize: this.pageSize,
- caseStatus: 4
}
} else if (this.sysType == 2) {
obj = {
@@ -128,7 +127,6 @@
obj = {
pageNum: this.pageNum,
pageSize: this.pageSize,
- caseStatus: 4
}
} else if (this.sysType == 2) {
obj = {