Merge branch 'gyj' of SH-Arbitrate/miniapp into dev
This commit was merged in pull request #58.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
export default {
|
export default {
|
||||||
globalData: {
|
globalData: {
|
||||||
// requestUrl: 'https://api.xayunmei.com/zhongcaiapi',
|
// requestUrl: 'https://api.xayunmei.com/zhongcaiapi',
|
||||||
requestUrl: 'http://121.40.189.20:9001',
|
requestUrl: 'http://121.40.189.20:8001',
|
||||||
},
|
},
|
||||||
onLaunch: function() {
|
onLaunch: function() {
|
||||||
this.initApp();
|
this.initApp();
|
||||||
|
|||||||
@@ -192,4 +192,12 @@ export function idType(data) {
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
//删除上传按钮
|
||||||
|
export function deleteFile(data) {
|
||||||
|
return request({
|
||||||
|
url: "/evidence/deleteFile",
|
||||||
|
method: "post",
|
||||||
|
data: data,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
|
||||||
// baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
|
// 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/zhongcaiapi',
|
||||||
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
// baseUrlZC: 'https://api.xayunmei.com/zhongcaiapitest',
|
||||||
// baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
// baseUrlTJ: 'https://api.xayunmei.com/tiaojieapitest',
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> -->
|
<button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="btn" v-if="sysType == 1">
|
<view class="btn" v-if="sysType == 1">
|
||||||
<button class="btnItem" type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
|
<button v-if="defalutVal.caseStatus==4" class="btnItem" type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -281,7 +281,9 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {}
|
created() {
|
||||||
|
console.log(this.defalutVal)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -56,10 +56,10 @@
|
|||||||
<uni-easyinput :inputBorder="false" :disabled='true'
|
<uni-easyinput :inputBorder="false" :disabled='true'
|
||||||
v-model="formData.claimLiquidDamag" placeholder="" />
|
v-model="formData.claimLiquidDamag" placeholder="" />
|
||||||
</uni-forms-item>
|
</uni-forms-item>
|
||||||
<!-- <uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
|
<uni-forms-item label="是否有异议需要举证" label-width="120px" name="objectionAddEviden" required>
|
||||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.objectionAddEviden"
|
||||||
:localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox>
|
:localdata="maintenancetypeArr" @change='uploadEvidenceChange'></uni-data-checkbox>
|
||||||
</uni-forms-item> -->
|
</uni-forms-item>
|
||||||
<!-- <uni-forms-item label="是否需要开庭审理" label-width="120px" name="openCourtHear" required>
|
<!-- <uni-forms-item label="是否需要开庭审理" label-width="120px" name="openCourtHear" required>
|
||||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.openCourtHear"
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.openCourtHear"
|
||||||
:localdata="arbitrationmethodArr" @change='arbitrationmethod'></uni-data-checkbox>
|
:localdata="arbitrationmethodArr" @change='arbitrationmethod'></uni-data-checkbox>
|
||||||
@@ -77,9 +77,9 @@
|
|||||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter"
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.adjudicaCounter"
|
||||||
:localdata="adjudicaCounterArr"></uni-data-checkbox>
|
:localdata="adjudicaCounterArr"></uni-data-checkbox>
|
||||||
</uni-forms-item> -->
|
</uni-forms-item> -->
|
||||||
<!-- <uni-forms-item label="上传证据" name="headImage" label-width="120px" v-if="caseFlag">
|
<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-file-picker ref="files" :auto-upload="false" @select="select" @delete="handleClose" :limit='1' />
|
||||||
</uni-forms-item> -->
|
</uni-forms-item>
|
||||||
<uni-forms-item label="是否书面审理" label-width="120px" name="respondentIsWrittenHear"
|
<uni-forms-item label="是否书面审理" label-width="120px" name="respondentIsWrittenHear"
|
||||||
required>
|
required>
|
||||||
<uni-data-checkbox class='checkbox' v-model="subnitForm.respondentIsWrittenHear"
|
<uni-data-checkbox class='checkbox' v-model="subnitForm.respondentIsWrittenHear"
|
||||||
@@ -259,7 +259,8 @@
|
|||||||
arbitratorList,
|
arbitratorList,
|
||||||
evidenceCrossexami,
|
evidenceCrossexami,
|
||||||
selectById,
|
selectById,
|
||||||
updateBooking
|
updateBooking,
|
||||||
|
deleteFile
|
||||||
} from '../../../api/handlecase/index.js'
|
} from '../../../api/handlecase/index.js'
|
||||||
import {
|
import {
|
||||||
uploadImage
|
uploadImage
|
||||||
@@ -269,6 +270,7 @@
|
|||||||
} from '@/utils/auth'
|
} from '@/utils/auth'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import config from '@/config'
|
import config from '@/config'
|
||||||
|
import constant from '../../../utils/constant.js'
|
||||||
const baseUrl = config.baseUrlZC
|
const baseUrl = config.baseUrlZC
|
||||||
const app = getApp()
|
const app = getApp()
|
||||||
export default {
|
export default {
|
||||||
@@ -395,6 +397,7 @@
|
|||||||
this.subnitForm.adjudicaCounterReason = this.reasontFormData.reasont
|
this.subnitForm.adjudicaCounterReason = this.reasontFormData.reasont
|
||||||
this.$refs.popup.close()
|
this.$refs.popup.close()
|
||||||
this.reasontFormData.reasont = ''
|
this.reasontFormData.reasont = ''
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.$modal.msgError("请输入反意理由")
|
this.$modal.msgError("请输入反意理由")
|
||||||
}
|
}
|
||||||
@@ -477,6 +480,7 @@
|
|||||||
},
|
},
|
||||||
// 文件上传
|
// 文件上传
|
||||||
select(e) {
|
select(e) {
|
||||||
|
console.log(e)
|
||||||
this.tempFilePaths = e.tempFilePaths;
|
this.tempFilePaths = e.tempFilePaths;
|
||||||
// loading
|
// loading
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
@@ -514,6 +518,14 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 上传删除
|
||||||
|
handleClose(filelds){
|
||||||
|
console.log("关闭",filelds)
|
||||||
|
deleteFile({fileIds:[filelds.tempFile.uuid]}).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
// 获取仲裁员列表
|
// 获取仲裁员列表
|
||||||
getArbitratorList(val) {
|
getArbitratorList(val) {
|
||||||
arbitratorList({caseAppliId: val}).then(res => {
|
arbitratorList({caseAppliId: val}).then(res => {
|
||||||
@@ -555,6 +567,7 @@
|
|||||||
}
|
}
|
||||||
if (this.sysType == 1) {
|
if (this.sysType == 1) {
|
||||||
this.$refs.form.validate().then(res => {
|
this.$refs.form.validate().then(res => {
|
||||||
|
console.log(this.subnitForm)
|
||||||
this.evidenceCrossexamiFn(this.subnitForm)
|
this.evidenceCrossexamiFn(this.subnitForm)
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log('表单错误信息:', err);
|
console.log('表单错误信息:', err);
|
||||||
@@ -596,8 +609,12 @@
|
|||||||
onLoad(data) {
|
onLoad(data) {
|
||||||
this.sysType = uni.getStorageSync('sysType')
|
this.sysType = uni.getStorageSync('sysType')
|
||||||
this.getData(data.id);
|
this.getData(data.id);
|
||||||
|
console.log(this.subnitForm)
|
||||||
this.subnitForm.caseId = Number(data.id);
|
this.subnitForm.caseId = Number(data.id);
|
||||||
this.getArbitratorList(data.id)
|
if(this.sysType==2){
|
||||||
|
this.getArbitratorList(data.id)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
item.caseStatusName = '待确认是否应诉'
|
item.caseStatusName = '待确认是否应诉'
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
item.caseStatusName = '待确认证据'
|
item.caseStatusName = '待案件质证'
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
item.caseStatusName = '待确定是否指派仲裁员'
|
item.caseStatusName = '待确定是否指派仲裁员'
|
||||||
|
|||||||
Reference in New Issue
Block a user