修改认证清单维护展示数据问题

This commit is contained in:
范强强
2023-03-24 11:36:08 +08:00
parent d097e13a2a
commit b0574de10e
4 changed files with 21 additions and 12 deletions
@@ -176,7 +176,15 @@
data() {
return {
formInline: {},
rules: {},
rules: {
certificationProgressRemark:[
{
max: 500,
message: this.$t('remarks') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger: 'blur'
}
],
},
title: this.$t('CertificationProgress'),
visible: false,
confirmLoading: false,
@@ -70,7 +70,8 @@
<!-- 导出-->
<div @click="handleExport" v-if="roleSwitchingCode == 1 || roleSwitchingCode == 11 ||
roleSwitchingCode == 12 || roleSwitchingCode == 13 || roleSwitchingCode == 14"
roleSwitchingCode == 12 || roleSwitchingCode == 13 || roleSwitchingCode == 14 ||
roleSwitchingCode == 20 || roleSwitchingCode == 21"
class="operator-text">
<a-icon type="export" :rotate="-90"/>
{{ $t('export') }}
@@ -129,7 +130,7 @@
<!-- 模板下载-->
<div @click="handleModule"
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2 || roleSwitchingCode == 20 || roleSwitchingCode == 21"
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
class="operator-text-title">
<a-icon type="download"/>
{{ $t('templateDownload') }}
@@ -144,7 +145,7 @@
</div>
<!-- 导入-->
<div class="operator-text-title" v-if="roleSwitchingCode != 1">
<div class="operator-text-title" v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2">
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
@getList="getPersonnelList"/>
</div>
@@ -167,7 +168,7 @@
</div>
</template>
<div class="operator-text" style="position: relative"
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2 || roleSwitchingCode == 20 || roleSwitchingCode == 21">
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2">
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
</div>
</a-popconfirm>