修复影像上传页面权限绑定错误问题
parent
6f0cfb0122
commit
c29b60cbbe
|
@ -64,7 +64,7 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:upload']) && allowAddOrEdit"
|
||||
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:edit']) && allowAddOrEdit"
|
||||
:label="$t('common:action:action')"
|
||||
min-width="120"
|
||||
>
|
||||
|
@ -81,7 +81,6 @@
|
|||
<!-- 移除 -->
|
||||
<el-button
|
||||
v-if="(data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
icon="el-icon-delete"
|
||||
circle
|
||||
:title="$t('common:button:delete')"
|
||||
|
@ -127,7 +126,7 @@
|
|||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:upload']) && allowAddOrEdit"
|
||||
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:edit']) && allowAddOrEdit"
|
||||
:label="$t('common:action:action')"
|
||||
min-width="200"
|
||||
>
|
||||
|
@ -144,7 +143,6 @@
|
|||
<!-- 移除 -->
|
||||
<el-button
|
||||
v-if="data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload)"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
icon="el-icon-delete"
|
||||
circle
|
||||
:title="$t('common:button:delete')"
|
||||
|
@ -200,7 +198,7 @@
|
|||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:upload']) && allowAddOrEdit"
|
||||
v-if="hasPermi(['trials:trials-panel:visit:crc-upload:edit']) && allowAddOrEdit"
|
||||
:label="$t('common:action:action')"
|
||||
min-width="200"
|
||||
>
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
>
|
||||
<el-option
|
||||
v-for="item of $d.Trial_Document"
|
||||
:key="item.value"
|
||||
:key="item.id"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
:value="item.id"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -238,6 +238,7 @@ export default {
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
console.log(this.$d.Trial_Document)
|
||||
this.trialId = this.$route.query.trialId
|
||||
this.getList()
|
||||
},
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<!-- 删除 -->
|
||||
<el-button
|
||||
v-if="(data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']"
|
||||
:disabled="deleteArr.length === 0"
|
||||
type="primary"
|
||||
size="small"
|
||||
|
@ -111,7 +111,7 @@
|
|||
<el-button
|
||||
icon="el-icon-edit-outline"
|
||||
v-if=" (data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']"
|
||||
title="编辑"
|
||||
circle
|
||||
:disabled="scope.row.IsDeleted"
|
||||
|
@ -120,7 +120,7 @@
|
|||
<!-- 删除 -->
|
||||
<el-button
|
||||
v-if=" (data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']"
|
||||
icon="el-icon-delete"
|
||||
:title="$t('trials:uploadedDicoms:action:delete')"
|
||||
circle
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
<!-- 编辑 -->
|
||||
<el-button
|
||||
icon="el-icon-edit-outline"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']"
|
||||
:title="$t('common:button:edit')"
|
||||
circle
|
||||
:disabled="scope.row.IsDeleted"
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
<!-- 编辑 -->
|
||||
<el-button
|
||||
icon="el-icon-edit-outline"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload2']"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']"
|
||||
:title="$t('common:button:edit')"
|
||||
circle
|
||||
:disabled="scope.row.IsDeleted"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div v-loading="loading" class="non-dicom-wrapper">
|
||||
<!-- <h4 class="box-title">既往放疗史</h4> -->
|
||||
<div style="text-align:right">
|
||||
<el-button v-if="(allowAddOrEdit)" icon="el-icon-plus" type="primary" size="small" @click.native.prevent="handleAdd">
|
||||
<el-button v-if="(allowAddOrEdit)" v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']" icon="el-icon-plus" type="primary" size="small" @click.native.prevent="handleAdd">
|
||||
{{ $t('common:button:new') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
|
@ -65,8 +65,8 @@
|
|||
/>
|
||||
<!-- 删除 -->
|
||||
<el-button
|
||||
v-if="(data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
v-if="allowAddOrEdit"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']"
|
||||
icon="el-icon-delete"
|
||||
circle
|
||||
:title="$t('trials:uploadNonDicoms:action:delete')"
|
||||
|
@ -135,6 +135,7 @@
|
|||
<!-- 编辑 -->
|
||||
<el-button
|
||||
v-if="(allowAddOrEdit)"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:edit']"
|
||||
icon="el-icon-edit-outline"
|
||||
circle
|
||||
:title="$t('trials:uploadNonDicoms:action:edit')"
|
||||
|
@ -142,8 +143,8 @@
|
|||
/>
|
||||
<!-- 删除 -->
|
||||
<el-button
|
||||
v-if="(data.SubmitState*1 < 2 || (data.SubmitState === 2 && data.IsQCConfirmedReupload))"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:upload']"
|
||||
v-if="allowAddOrEdit"
|
||||
v-hasPermi="['trials:trials-panel:visit:crc-upload:delete']"
|
||||
icon="el-icon-delete"
|
||||
circle
|
||||
:title="$t('trials:uploadNonDicoms:action:delete')"
|
||||
|
|
Loading…
Reference in New Issue