Merge branch 'hcb' of SH-Arbitrate/miniapp into dev
This commit was merged in pull request #11.
This commit is contained in:
+2
-1
@@ -51,7 +51,8 @@
|
||||
"optimization": {
|
||||
"subPackages": true
|
||||
},
|
||||
"usingComponents" : true
|
||||
"usingComponents": true,
|
||||
"permission": {}
|
||||
},
|
||||
"vueVersion": "2",
|
||||
"h5": {
|
||||
|
||||
@@ -1,35 +1,44 @@
|
||||
<template>
|
||||
<view class="assignrbitrators">
|
||||
<view class="from">
|
||||
<uni-forms ref="form" :modelValue="formData" :rules="rules">
|
||||
<uni-forms ref="form" :modelValue="subnitForm" :rules="rules">
|
||||
<view class="title">案件详情</view>
|
||||
<view class="box">
|
||||
<uni-forms-item label="案件编号:" name="caseNum" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseNum"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人:" name="applicantName" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.applicantName" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.applicantName"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="被申请人:" name="respondentName" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.respondentName" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.respondentName"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="借款开始日期:" name="loanStartDate" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanStartDate" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanStartDate"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="借款结束日期:" name="loanEndDate" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanEndDate" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.loanEndDate"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="案件标的:" name="caseSubjectAmount" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseSubjectAmount" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.caseSubjectAmount"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人主张欠本金:" name="claimPrinciOwed" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimPrinciOwed" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimPrinciOwed"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人主张欠利息:" name="claimInterestOwed" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimInterestOwed" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimInterestOwed"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="申请人主张违约金:" name="claimLiquidDamag" label-width="120px" required>
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimLiquidDamag" placeholder="" />
|
||||
<uni-easyinput :inputBorder="false" :disabled='true' v-model="formData.claimLiquidDamag"
|
||||
placeholder="" />
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
|
||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
|
||||
@@ -43,7 +52,7 @@
|
||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.pendingAppointArbotrar"
|
||||
:localdata="uploadEvidence" @change='maintenancetypeChange'></uni-data-checkbox>
|
||||
</uni-forms-item>
|
||||
<uni-forms-item label="上传证据" name="headImage" label-width="120px" required>
|
||||
<uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag">
|
||||
<uni-file-picker ref="files" :auto-upload="false" @select="select" :limit='1' />
|
||||
</uni-forms-item>
|
||||
</view>
|
||||
@@ -78,9 +87,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {respondentDetail,arbitratorList,evidenceCrossexami} from '../../../api/handlecase/index.js'
|
||||
import { uploadImage } from '../../../api/upload.js'
|
||||
import { getToken } from '@/utils/auth'
|
||||
import {
|
||||
respondentDetail,
|
||||
arbitratorList,
|
||||
evidenceCrossexami
|
||||
} from '../../../api/handlecase/index.js'
|
||||
import {
|
||||
uploadImage
|
||||
} from '../../../api/upload.js'
|
||||
import {
|
||||
getToken
|
||||
} from '@/utils/auth'
|
||||
import moment from 'moment'
|
||||
const app = getApp()
|
||||
export default {
|
||||
@@ -89,8 +106,31 @@
|
||||
formData: {},
|
||||
subnitForm: {},
|
||||
selectFlag: false,
|
||||
caseFlag: false,
|
||||
tempFilePaths: null,
|
||||
rules: {},
|
||||
rules: {
|
||||
// 是否有异议需要举证
|
||||
objectionAddEviden: {
|
||||
rules: [{
|
||||
required: true,
|
||||
errorMessage: '请选择'
|
||||
}]
|
||||
},
|
||||
// 是否需要开庭审理
|
||||
openCourtHear: {
|
||||
rules: [{
|
||||
required: true,
|
||||
errorMessage: '请选择'
|
||||
}]
|
||||
},
|
||||
// 是否指派仲裁员
|
||||
pendingAppointArbotrar: {
|
||||
rules: [{
|
||||
required: true,
|
||||
errorMessage: '请选择'
|
||||
}]
|
||||
},
|
||||
},
|
||||
maintenancetypeArr: [{
|
||||
text: '是',
|
||||
value: 1
|
||||
@@ -117,7 +157,14 @@
|
||||
},
|
||||
methods: {
|
||||
arbitrationmethod() {},
|
||||
uploadEvidenceChange(){},
|
||||
uploadEvidenceChange(val) {
|
||||
let flag = val.detail.value;
|
||||
if (flag == 1) {
|
||||
this.caseFlag = true;
|
||||
} else if (flag == 0) {
|
||||
this.caseFlag = false;
|
||||
}
|
||||
},
|
||||
maintenancetypeChange(val) {
|
||||
let flag = val.detail.value;
|
||||
if (flag == 1) {
|
||||
@@ -144,7 +191,8 @@
|
||||
respondentDetail(parms).then(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.loanStartDate = moment(this.formData.loanStartDate).format(
|
||||
'YYYY-MM-DD HH:mm:ss');
|
||||
this.formData.id = this.formData.id + ''
|
||||
})
|
||||
},
|
||||
@@ -162,21 +210,20 @@
|
||||
Authorization: getToken() || '',
|
||||
},
|
||||
formData: {
|
||||
annexType:2,
|
||||
annexType: 6,
|
||||
id: this.formData.id
|
||||
},
|
||||
name: 'file',
|
||||
success: (res) => {
|
||||
let { data } = res
|
||||
let {
|
||||
data
|
||||
} = res
|
||||
uni.showToast({
|
||||
title: '上传成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.hideLoading();
|
||||
uni.navigateTo({
|
||||
url:'/pages/handlecase/index'
|
||||
})
|
||||
},
|
||||
fail: (err) => {
|
||||
uni.showToast({
|
||||
@@ -202,11 +249,17 @@
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateBack({delta: 1})
|
||||
uni.navigateTo({
|
||||
url: '/pages/handlecase/index'
|
||||
})
|
||||
})
|
||||
},
|
||||
submitImg() {
|
||||
this.$refs.form.validate().then(res => {
|
||||
this.evidenceCrossexamiFn(this.subnitForm)
|
||||
}).catch(err => {
|
||||
console.log('表单错误信息:', err);
|
||||
})
|
||||
}
|
||||
},
|
||||
onLoad(data) {
|
||||
@@ -304,9 +357,11 @@
|
||||
font-size: 24rpx;
|
||||
// @include text-overflow($width: 100%)
|
||||
}
|
||||
|
||||
.uni-list {
|
||||
width: 100%;
|
||||
margin-top: 20rpx;
|
||||
|
||||
.uni-list-cell {
|
||||
border-radius: 30rpx;
|
||||
margin-bottom: 10rpx;
|
||||
@@ -314,6 +369,7 @@
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
background-color: #fff;
|
||||
|
||||
.main {
|
||||
height: 100%;
|
||||
margin-left: 20rpx;
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
|
||||
<script>
|
||||
import List from './component/list.vue'
|
||||
import {respondentList} from '../../api/handlecase/index.js'
|
||||
import {
|
||||
respondentList
|
||||
} from '../../api/handlecase/index.js'
|
||||
import LuanqingEmpty from "@/components/luanqing-empty.vue"
|
||||
export default {
|
||||
components: {
|
||||
@@ -90,18 +92,17 @@
|
||||
return
|
||||
}
|
||||
let obj = {
|
||||
identityNum:"610425199505171615",
|
||||
identityNum: "610528199802285713",
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize
|
||||
}
|
||||
console.log(obj,"PPPPPPPPPPPPPPPPPP");
|
||||
obj.pageNum = obj.pageNum + 1
|
||||
this.getList(obj)
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
let obj = {
|
||||
identityNum:"610425199505171615",
|
||||
identityNum: "610528199802285713",
|
||||
pageNum: this.pageNum,
|
||||
pageSize: this.pageSize
|
||||
}
|
||||
|
||||
+3
-3
@@ -8,12 +8,12 @@
|
||||
data() {
|
||||
return {
|
||||
name: "",
|
||||
sendImg: "http://192.168.3.63:8081"
|
||||
sendImg: ""
|
||||
}
|
||||
},
|
||||
onLoad: function() {
|
||||
this.name = this.$store.state.user.name;
|
||||
this.sendImg = `https://txroom.xayunmei.com/`
|
||||
// this.name = this.$store.state.user.name;
|
||||
this.sendImg = `https://txroom.xayunmei.com`
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-3
@@ -16,10 +16,7 @@
|
||||
"pages/common/textview/index",
|
||||
"pages/certification/index",
|
||||
"pages/handlecase/index",
|
||||
"pages/handlecase/component/assignrbitrators",
|
||||
"pages/handlecase/component/uploadEvidence",
|
||||
"pages/handlecase/component/confirmationEvidence",
|
||||
"pages/handlecase/component/chooseMethod",
|
||||
"mp_ecard_sdk/index/index",
|
||||
"mp_ecard_sdk/protocol/eid/eid",
|
||||
"mp_ecard_sdk/protocol/privacy/privacy",
|
||||
@@ -59,5 +56,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"permission": {},
|
||||
"usingComponents": {}
|
||||
}
|
||||
+3
-2
@@ -15,10 +15,11 @@
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
}
|
||||
},
|
||||
"condition": false
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.0.1",
|
||||
"libVersion": "3.1.1",
|
||||
"appid": "wx91cb8459dca561b4",
|
||||
"projectname": "智慧仲裁",
|
||||
"condition": {},
|
||||
|
||||
Reference in New Issue
Block a user