是否有调解编辑only office权限

This commit is contained in:
hanchaobo
2024-05-13 13:50:06 +08:00
parent afb49528c1
commit 0ebb84bab1
@@ -1,6 +1,7 @@
<template>
<div>
<el-dialog :title="title" :visible="mediationVisable" @close="cancel" center :distroy-on-close="true" width="1000px">
<el-dialog :title="title" :visible="mediationVisable" @close="cancel" center :distroy-on-close="true"
width="1000px">
<el-form ref="form" :model="formData" label-width="180px">
<div class="caseInfo">案件信息:</div>
<el-divider></el-divider>
@@ -118,8 +119,8 @@
<span>取 消</span>
</el-button>
<el-button v-if="isSecretaryRole" :loading="loadingSubmit" @click="submitMediation"
:disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1' && isSecretaryRole" class="endbutton1"
type="primary" round>
:disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1' && isSecretaryRole"
class="endbutton1" type="primary" round>
提 交
</el-button>
</div>
@@ -312,8 +313,12 @@ export default {
window.open(window.location.origin + "/API" + annexPath, "_black");
},
toFileMediate(val) {
// window.open(window.location.origin + "/API" + annexPath, "_black");
if (this.checkPermi(['caseManagement:list:editOffice'])) {
this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 1 } })
} else {
this.$router.push({ path: '/onlyoffice', query: { id: val, flag: 0 } })
}
// window.open(window.location.origin + "/API" + annexPath, "_black");
},
/** 生成调解书 */
mediationFn(data) {
@@ -376,6 +381,7 @@ export default {
display: flex;
flex-wrap: wrap;
}
::v-deep .el-input--medium .el-input__inner {
height: 40px;
line-height: 40px;