修改认证清单维护展示数据问题
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -409,7 +409,7 @@
|
||||
name: item.name,
|
||||
useExplain: item.useExplain,
|
||||
id: item.id,
|
||||
title: '虚拟认证清单详情'
|
||||
title: '市场认证清单详情'
|
||||
}
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
|
||||
+6
-6
@@ -292,7 +292,7 @@
|
||||
title: this.$t('category'),
|
||||
align: 'left',
|
||||
dataIndex: 'category',
|
||||
width: 150,
|
||||
width: 200,
|
||||
fixed: 'left',
|
||||
ellipsis: true
|
||||
},
|
||||
@@ -300,7 +300,7 @@
|
||||
title: this.$t('inspectionItems'),
|
||||
align: 'left',
|
||||
dataIndex: 'inspectionItem',
|
||||
width: 150,
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
fixed: 'left',
|
||||
scopedSlots: { customRender: 'inspectionItems' }
|
||||
@@ -323,7 +323,7 @@
|
||||
title: this.$t('standard'),
|
||||
align: 'left',
|
||||
dataIndex: 'serialNumber',
|
||||
width: 150,
|
||||
width: 210,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
@@ -353,7 +353,7 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if (this.$route.query.title == '虚拟认证清单详情') {
|
||||
if (this.$route.query.title == '市场认证清单详情') {
|
||||
document.title = this.$t('virtualAuthenticationListDetails')
|
||||
this.columns.splice(7, 1)
|
||||
} else {
|
||||
@@ -362,8 +362,8 @@
|
||||
},
|
||||
mounted() {
|
||||
this.title = this.$route.query.title
|
||||
this.isTrue = this.$route.query.title == '虚拟认证清单详情' ? false : true
|
||||
this.isFalse = this.$route.query.title == '虚拟认证清单详情' ? true : false
|
||||
this.isTrue = this.$route.query.title == '市场认证清单详情' ? false : true
|
||||
this.isFalse = this.$route.query.title == '市场认证清单详情' ? true : false
|
||||
this.getList()
|
||||
},
|
||||
computed: {},
|
||||
|
||||
Reference in New Issue
Block a user