裁决书上传无法更新问题 #141
@@ -164,3 +164,11 @@ export function caseApplicationList(data) {
|
|||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 根据案件id查询当前登陆人是否为仲裁员
|
||||||
|
export function secretaryRoleByUserId(data) {
|
||||||
|
return request({
|
||||||
|
url: '/video/secretaryRoleByUserId',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-input style="width:180px" v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
<el-input style="width:180px" v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="案件批号" prop="caseNum">
|
<el-form-item label="案件批号" prop="caseNum">
|
||||||
<el-input style="width:180px" v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable @keyup.enter.native="handleQuery" />
|
<el-input style="width:180px" @input="handleInput" v-model="queryParams.batchNumber" placeholder="请输入案件批号" clearable @keyup.enter.native="handleQuery" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="申请人" prop="applicantName"> -->
|
<!-- <el-form-item label="申请人" prop="applicantName"> -->
|
||||||
<!-- <el-input
|
<!-- <el-input
|
||||||
@@ -150,7 +150,9 @@
|
|||||||
<el-button size="mini" type="text" icon="el-icon-check" @click="courtreviewRow(scope.row)" v-if="scope.row.caseStatus == 5 &&
|
<el-button size="mini" type="text" icon="el-icon-check" @click="courtreviewRow(scope.row)" v-if="scope.row.caseStatus == 5 &&
|
||||||
checkPermi(['caseManagement:list:checkgroup']) && btnStatus
|
checkPermi(['caseManagement:list:checkgroup']) && btnStatus
|
||||||
">组庭审核</el-button>
|
">组庭审核</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-sort" @click="choosetrialmethodRow(scope.row)">审核仲裁方式</el-button>
|
<el-button size="mini" type="text" icon="el-icon-sort" @click="choosetrialmethodRow(scope.row)" v-if="scope.row.caseStatus == 7 &&
|
||||||
|
checkPermi(['caseManagement:list:checkarbitrationway']) && btnStatus
|
||||||
|
">审核仲裁方式</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)" v-if="scope.row.caseStatus == 9 &&
|
<el-button size="mini" type="text" icon="el-icon-edit-outline" @click="adjudicaterecordRow(scope.row)" v-if="scope.row.caseStatus == 9 &&
|
||||||
scope.row.arbitratMethod == 2 &&
|
scope.row.arbitratMethod == 2 &&
|
||||||
checkPermi(['caseManagement:list:hear']) && btnStatus
|
checkPermi(['caseManagement:list:hear']) && btnStatus
|
||||||
@@ -518,6 +520,10 @@ export default {
|
|||||||
this.getInstitution();
|
this.getInstitution();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handleInput(event) {
|
||||||
|
const value = event;
|
||||||
|
this.queryParams.batchNumber = value.replace(/[^\d]/g, ''); // 去除非数字字符
|
||||||
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -184,7 +184,7 @@
|
|||||||
<div>{{ startTime }}</div>
|
<div>{{ startTime }}</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24" v-if="submitFlag">
|
||||||
<el-form-item label="上传裁决书:">
|
<el-form-item label="上传裁决书:">
|
||||||
<el-upload
|
<el-upload
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
@@ -210,13 +210,13 @@
|
|||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24" v-if="submitFlag">
|
||||||
<el-form-item label="上传庭审笔录:">
|
<el-form-item label="上传庭审笔录:">
|
||||||
<el-upload
|
<el-upload
|
||||||
class="upload-demo"
|
class="upload-demo"
|
||||||
ref="fileupload"
|
ref="fileupload"
|
||||||
accept=".doc,.docx"
|
accept=".doc,.docx"
|
||||||
:action="UploadUrl()"
|
:action="UploadUrlsT()"
|
||||||
:on-success="handlSuccess"
|
:on-success="handlSuccess"
|
||||||
:on-remove="handleRemove"
|
:on-remove="handleRemove"
|
||||||
:on-preview="handlePreview"
|
:on-preview="handlePreview"
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
@click="openArbitrationresults"
|
@click="openArbitrationresults"
|
||||||
type="primary"
|
type="primary"
|
||||||
v-if="this.awardArr.length <= 0"
|
v-if="this.awardArr.length <= 0 && submitFlag"
|
||||||
>确认会议结果</el-button>
|
>确认会议结果</el-button>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -252,6 +252,7 @@
|
|||||||
"
|
"
|
||||||
@click="submitResults"
|
@click="submitResults"
|
||||||
:loading="loadingSub"
|
:loading="loadingSub"
|
||||||
|
v-if="submitFlag"
|
||||||
>提交</el-button
|
>提交</el-button
|
||||||
>
|
>
|
||||||
<el-button @click="cancel" class="endbutton1"
|
<el-button @click="cancel" class="endbutton1"
|
||||||
@@ -468,24 +469,27 @@ import {
|
|||||||
creatTrialRecord,
|
creatTrialRecord,
|
||||||
creatTrialRecordnew,
|
creatTrialRecordnew,
|
||||||
document,
|
document,
|
||||||
changeCaseStatus
|
changeCaseStatus,
|
||||||
|
secretaryRoleByUserId
|
||||||
} from "@/api/caseManagement/caseManagement.js";
|
} from "@/api/caseManagement/caseManagement.js";
|
||||||
import { reserveConferenceList } from "@/api/meeting/index.js";
|
import { reserveConferenceList } from "@/api/meeting/index.js";
|
||||||
export default {
|
export default {
|
||||||
props: ["showtrialincourt", "adjudicatename", "form", "queryParams"],
|
props: ["showtrialincourt", "adjudicatename", "form", "queryParams"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
submitFlag: false,
|
||||||
formData: {},
|
formData: {},
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: "Bearer " + getToken(),
|
Authorization: "Bearer " + getToken(),
|
||||||
},
|
},
|
||||||
filedata: {
|
filedata: {
|
||||||
annexType: 7,
|
annexType: 7,
|
||||||
id: 0,
|
id: null,
|
||||||
},
|
},
|
||||||
filedatas: {
|
filedatas: {
|
||||||
annexType: 3,
|
annexType: 3,
|
||||||
id:null
|
officeFlag:1,
|
||||||
|
caseId:null
|
||||||
},
|
},
|
||||||
upLife: "",
|
upLife: "",
|
||||||
user: "",
|
user: "",
|
||||||
@@ -560,6 +564,12 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {},
|
created() {},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 根据案件id和用户id查询当前登陆人是否为仲裁员
|
||||||
|
secretaryRoleByUserIdFn(data){
|
||||||
|
secretaryRoleByUserId(data).then(res=>{
|
||||||
|
this.submitFlag = res.data.isSecretaryRole;
|
||||||
|
})
|
||||||
|
},
|
||||||
// 根据案件id查询会议号
|
// 根据案件id查询会议号
|
||||||
reserveConferenceListFn(data) {
|
reserveConferenceListFn(data) {
|
||||||
reserveConferenceList(data).then((res) => {
|
reserveConferenceList(data).then((res) => {
|
||||||
@@ -583,7 +593,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//裁决书文件
|
//裁决书文件
|
||||||
awardToFile(item) {
|
awardToFile(item) {
|
||||||
console.log(item,"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
|
|
||||||
// window.open(
|
// window.open(
|
||||||
// window.location.origin + "/API" + this.awardArr[index].annexPath,
|
// window.location.origin + "/API" + this.awardArr[index].annexPath,
|
||||||
// "_black"
|
// "_black"
|
||||||
@@ -605,6 +614,7 @@ export default {
|
|||||||
getUserProfile().then((response) => {
|
getUserProfile().then((response) => {
|
||||||
this.user = response.data.userName;
|
this.user = response.data.userName;
|
||||||
this.userId = response.data.userId;
|
this.userId = response.data.userId;
|
||||||
|
this.secretaryRoleByUserIdFn({caseId:this.form.id,userId:this.userId})
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 打开会议
|
// 打开会议
|
||||||
@@ -714,10 +724,6 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 上传庭审笔录
|
|
||||||
UploadUrl() {
|
|
||||||
return window.location.origin + "/API/evidence/uploadRecord";
|
|
||||||
},
|
|
||||||
// 文件上传成功
|
// 文件上传成功
|
||||||
handlSuccess(res, file) {
|
handlSuccess(res, file) {
|
||||||
// this.fileList.push(file);
|
// this.fileList.push(file);
|
||||||
@@ -760,6 +766,9 @@ export default {
|
|||||||
},
|
},
|
||||||
// 上传裁决书
|
// 上传裁决书
|
||||||
UploadUrls() {
|
UploadUrls() {
|
||||||
|
return window.location.origin + "/API/video/upload";
|
||||||
|
},
|
||||||
|
UploadUrlsT() {
|
||||||
return window.location.origin + "/API/evidence/uploadRecord";
|
return window.location.origin + "/API/evidence/uploadRecord";
|
||||||
},
|
},
|
||||||
beforeRemoves(file,fileList){
|
beforeRemoves(file,fileList){
|
||||||
@@ -780,17 +789,14 @@ export default {
|
|||||||
this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
this.adjudicatename.caseAttachList = res.data.caseAttachList;
|
||||||
this.adjudicatename.caseAttachList.forEach(item=>{
|
this.adjudicatename.caseAttachList.forEach(item=>{
|
||||||
if(item.annexType==3){
|
if(item.annexType==3){
|
||||||
this.awardArr.push({
|
this.awardArr.push(item);
|
||||||
annexName: item.annexName,
|
|
||||||
annexPath: item.annexPath,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
beforeAvatarUploads(){
|
beforeAvatarUploads(){
|
||||||
this.filedatas.id = this.formData.id;
|
this.filedatas.caseId = this.formData.id;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
+2
-2
@@ -12,8 +12,8 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页
|
|||||||
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
const port = process.env.port || process.env.npm_config_port || 80 // 端口
|
||||||
|
|
||||||
// const API = 'http://121.40.189.20:9001' //生产
|
// const API = 'http://121.40.189.20:9001' //生产
|
||||||
// const API = 'http://121.40.189.20:8001' //测试
|
const API = 'http://121.40.189.20:8001' //测试
|
||||||
const API = 'http://172.16.1.26:8001' //Bs
|
// const API = 'http://172.16.1.26:8001' //Bs
|
||||||
// const API = 'http://192.168.3.77:9001' //Q
|
// const API = 'http://192.168.3.77:9001' //Q
|
||||||
// const API = 'http://172.16.1.26:8001' //W
|
// const API = 'http://172.16.1.26:8001' //W
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user