From c4d1e1cf96af991068b832707ed0c5db2abc5c13 Mon Sep 17 00:00:00 2001 From: gyj Date: Tue, 14 May 2024 15:47:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- api/handlecase/index.js | 8 +++++ config.js | 2 +- pages/handlecase/component/list.vue | 6 ++-- pages/handlecase/component/uploadEvidence.vue | 31 ++++++++++++++----- pages/handlecase/index.vue | 2 +- 6 files changed, 39 insertions(+), 12 deletions(-) diff --git a/App.vue b/App.vue index 8279497..0e1849c 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:9001', + requestUrl: 'http://121.40.189.20:8001', }, onLaunch: function() { this.initApp(); diff --git a/api/handlecase/index.js b/api/handlecase/index.js index 9006349..353ba14 100644 --- a/api/handlecase/index.js +++ b/api/handlecase/index.js @@ -192,4 +192,12 @@ export function idType(data) { method: 'get', params: data }) +} +//删除上传按钮 +export function deleteFile(data) { + return request({ + url: "/evidence/deleteFile", + method: "post", + data: data, + }) } \ No newline at end of file diff --git a/config.js b/config.js index 594de0f..84c8961 100644 --- a/config.js +++ b/config.js @@ -2,7 +2,7 @@ module.exports = { // baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi', // baseUrl: 'https://api.xayunmei.com/zhongcaiapitest', - // baseUrl: 'http://121.40.189.20:9001', + // baseUrlZC: 'http://172.16.1.26:8001', baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi', // baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest', // baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest', diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue index 608a252..0f4b1eb 100644 --- a/pages/handlecase/component/list.vue +++ b/pages/handlecase/component/list.vue @@ -60,7 +60,7 @@ --> - + @@ -281,7 +281,9 @@ }); }, }, - created() {} + created() { + console.log(this.defalutVal) + } } diff --git a/pages/handlecase/component/uploadEvidence.vue b/pages/handlecase/component/uploadEvidence.vue index a1313b1..5c83bb7 100644 --- a/pages/handlecase/component/uploadEvidence.vue +++ b/pages/handlecase/component/uploadEvidence.vue @@ -56,10 +56,10 @@ - + - + + + { + console.log(res) + }) + + }, // 获取仲裁员列表 getArbitratorList(val) { arbitratorList({caseAppliId: val}).then(res => { @@ -555,6 +567,7 @@ } if (this.sysType == 1) { this.$refs.form.validate().then(res => { + console.log(this.subnitForm) this.evidenceCrossexamiFn(this.subnitForm) }).catch(err => { console.log('表单错误信息:', err); @@ -596,8 +609,12 @@ onLoad(data) { this.sysType = uni.getStorageSync('sysType') this.getData(data.id); + console.log(this.subnitForm) this.subnitForm.caseId = Number(data.id); - this.getArbitratorList(data.id) + if(this.sysType==2){ + this.getArbitratorList(data.id) + } + } } diff --git a/pages/handlecase/index.vue b/pages/handlecase/index.vue index 74d25c5..1050357 100644 --- a/pages/handlecase/index.vue +++ b/pages/handlecase/index.vue @@ -76,7 +76,7 @@ item.caseStatusName = '待确认是否应诉' break; case 4: - item.caseStatusName = '待确认证据' + item.caseStatusName = '待案件质证' break; case 5: item.caseStatusName = '待确定是否指派仲裁员' -- 2.54.0