权限相关

main
wangxiaoshuang 2024-04-08 13:49:47 +08:00
parent d24bb92c07
commit 17da9c23b0
4 changed files with 18 additions and 11 deletions

View File

@ -23,7 +23,11 @@
>搜索</el-button
>
<el-button type="primary" size="mini" @click="reset"></el-button>
<el-button type="primary" size="mini" @click="openDialog('add')"
<el-button
type="primary"
size="mini"
v-hasPermi="['system:dicom:add']"
@click="openDialog('add')"
>新增</el-button
>
</el-form-item>
@ -81,19 +85,18 @@
<el-button
size="mini"
type="text"
v-hasPermi="['system:dicom:edit']"
@click="openDialog('edit', scope.row)"
>编辑</el-button
>
<el-button
size="mini"
type="text"
v-hasPermi="['system:dicom:del']"
@click="delAE(scope.row)"
>删除</el-button
>
<el-button
size="mini"
type="text"
@click="test(scope.row)"
<el-button size="mini" type="text" @click="test(scope.row)"
>测试</el-button
>
</template>

View File

@ -35,11 +35,11 @@
height="30vh"
>
<!-- <el-table-column type="selection" align="center" width="45" /> -->
<!--检查编号-->
<!--患者编号-->
<el-table-column
align="center"
prop="PatientIdStr"
:label="$t('trials:audit:table:studyId')"
:label="$t('trials:uploadDicomList:table:pId')"
show-overflow-tooltip
></el-table-column>
<!--检查类型-->
@ -94,8 +94,8 @@
<p>{{ $t("trials:hirVisit:titleMessage:optionalStudy") }}</p>
<div class="form">
<el-form :inline="true" class="base-search-form">
<!-- 检查编号 -->
<el-form-item :label="$t('trials:uploadMonitor:table:studyId')">
<!-- 患者编号 -->
<el-form-item :label="$t('trials:uploadDicomList:table:pId')">
<el-input v-model="searchData.SubjectInfo" style="width: 100px" />
</el-form-item>
<!-- 检查日期 -->
@ -142,11 +142,11 @@
@selection-change="handleSelectChange"
>
<el-table-column type="selection" align="center" width="45" />
<!--检查编号-->
<!--患者编号-->
<el-table-column
align="center"
prop="PatientIdStr"
:label="$t('trials:audit:table:studyId')"
:label="$t('trials:uploadDicomList:table:pId')"
show-overflow-tooltip
></el-table-column>
<!--检查类型-->
@ -312,6 +312,7 @@ export default {
message = "common:message:removedSuccessfully";
}
this.$message.success(this.$t(message));
this.$emit("getList");
}
} catch (err) {
console.log(err);

View File

@ -271,6 +271,7 @@
:visible.sync="editStudyVisible"
:data="editStudyData"
v-if="editStudyVisible"
@getList="getList"
/>
</BaseContainer>
</template>

View File

@ -205,6 +205,7 @@
<el-button
type="text"
@click="handleViewStudy(scope.row)"
v-hasPermi="['trials:trials-panel:study:view']"
disabled
>{{ $t("trials:studyList:button:view") }}</el-button
>
@ -213,6 +214,7 @@
type="text"
@click="editVisitFn(scope.row)"
v-if="activeName === 'notSubmit'"
v-hasPermi="['trials:trials-panel:study:editVisit']"
>{{ $t("trials:study:button:editVisit") }}</el-button
>
</template>