修改认证清单维护展示数据问题
This commit is contained in:
@@ -176,7 +176,15 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
formInline: {},
|
formInline: {},
|
||||||
rules: {},
|
rules: {
|
||||||
|
certificationProgressRemark:[
|
||||||
|
{
|
||||||
|
max: 500,
|
||||||
|
message: this.$t('remarks') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
},
|
||||||
title: this.$t('CertificationProgress'),
|
title: this.$t('CertificationProgress'),
|
||||||
visible: false,
|
visible: false,
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
|
|||||||
@@ -70,7 +70,8 @@
|
|||||||
|
|
||||||
<!-- 导出-->
|
<!-- 导出-->
|
||||||
<div @click="handleExport" v-if="roleSwitchingCode == 1 || roleSwitchingCode == 11 ||
|
<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">
|
class="operator-text">
|
||||||
<a-icon type="export" :rotate="-90"/>
|
<a-icon type="export" :rotate="-90"/>
|
||||||
{{ $t('export') }}
|
{{ $t('export') }}
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
|
|
||||||
<!-- 模板下载-->
|
<!-- 模板下载-->
|
||||||
<div @click="handleModule"
|
<div @click="handleModule"
|
||||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2 || roleSwitchingCode == 20 || roleSwitchingCode == 21"
|
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||||
class="operator-text-title">
|
class="operator-text-title">
|
||||||
<a-icon type="download"/>
|
<a-icon type="download"/>
|
||||||
{{ $t('templateDownload') }}
|
{{ $t('templateDownload') }}
|
||||||
@@ -144,7 +145,7 @@
|
|||||||
</div>
|
</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'"
|
<ImportFile :url="url" :projectLibraryId=$route.query.id :isTrue="true" :accept="'.zip'"
|
||||||
@getList="getPersonnelList"/>
|
@getList="getPersonnelList"/>
|
||||||
</div>
|
</div>
|
||||||
@@ -167,7 +168,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="operator-text" style="position: relative"
|
<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') }}
|
<span style="position: absolute;left: -13px;top: -4px">...</span>{{ $t('more') }}
|
||||||
</div>
|
</div>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
|
|||||||
@@ -409,7 +409,7 @@
|
|||||||
name: item.name,
|
name: item.name,
|
||||||
useExplain: item.useExplain,
|
useExplain: item.useExplain,
|
||||||
id: item.id,
|
id: item.id,
|
||||||
title: '虚拟认证清单详情'
|
title: '市场认证清单详情'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
+6
-6
@@ -292,7 +292,7 @@
|
|||||||
title: this.$t('category'),
|
title: this.$t('category'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'category',
|
dataIndex: 'category',
|
||||||
width: 150,
|
width: 200,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
@@ -300,7 +300,7 @@
|
|||||||
title: this.$t('inspectionItems'),
|
title: this.$t('inspectionItems'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'inspectionItem',
|
dataIndex: 'inspectionItem',
|
||||||
width: 150,
|
width: 200,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
fixed: 'left',
|
fixed: 'left',
|
||||||
scopedSlots: { customRender: 'inspectionItems' }
|
scopedSlots: { customRender: 'inspectionItems' }
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
title: this.$t('standard'),
|
title: this.$t('standard'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'serialNumber',
|
||||||
width: 150,
|
width: 210,
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -353,7 +353,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (this.$route.query.title == '虚拟认证清单详情') {
|
if (this.$route.query.title == '市场认证清单详情') {
|
||||||
document.title = this.$t('virtualAuthenticationListDetails')
|
document.title = this.$t('virtualAuthenticationListDetails')
|
||||||
this.columns.splice(7, 1)
|
this.columns.splice(7, 1)
|
||||||
} else {
|
} else {
|
||||||
@@ -362,8 +362,8 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.title = this.$route.query.title
|
this.title = this.$route.query.title
|
||||||
this.isTrue = this.$route.query.title == '虚拟认证清单详情' ? false : true
|
this.isTrue = this.$route.query.title == '市场认证清单详情' ? false : true
|
||||||
this.isFalse = this.$route.query.title == '虚拟认证清单详情' ? true : false
|
this.isFalse = this.$route.query.title == '市场认证清单详情' ? true : false
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user