修改认证清单-studio和认证工程师点击更多,底部空白较大
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
<a-row :gutter="24">
|
||||
<a-row :gutter="24" v-if="this.code == '0'">
|
||||
<a-col :span="12">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
|
||||
@@ -266,6 +266,11 @@
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:columns="columns"
|
||||
>
|
||||
<span slot="serialNumber" slot-scope="text,record">
|
||||
<a class="textName" @click="standardClick(record)">
|
||||
{{ text }}
|
||||
</a>
|
||||
</span>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<a class="text-operation"
|
||||
v-if="roleSwitchingCode == 0 || roleSwitchingCode == 2"
|
||||
@@ -563,7 +568,7 @@
|
||||
type: 'date',
|
||||
value: 'endTime',
|
||||
text: this.$t('closingDate')
|
||||
}
|
||||
},
|
||||
],
|
||||
disabled: false,
|
||||
queryParamQuery: {},
|
||||
@@ -648,7 +653,8 @@
|
||||
align: 'left',
|
||||
dataIndex: 'serialNumber',
|
||||
width: 180,
|
||||
ellipsis: true
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'serialNumber' }
|
||||
},
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
@@ -753,7 +759,8 @@
|
||||
long: '',
|
||||
toDoIds: [],
|
||||
toDoNotConditions: [],
|
||||
userInfoQuery: {}
|
||||
userInfoQuery: {},
|
||||
DeliverableTreeList:[],
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -762,6 +769,7 @@
|
||||
this.loading = true
|
||||
this.userInfoQuery = this.userInfo()
|
||||
this.getProcessStatus()
|
||||
this.getDeliverableTree()
|
||||
this.getRoleByUserId(() => {
|
||||
this.getAndUserId()
|
||||
})
|
||||
@@ -804,6 +812,21 @@
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
getDeliverableTree() {
|
||||
getAction('/sys/category/getCertificationDeliverableTree', {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.DeliverableTreeList = res.result
|
||||
this.fieldList.push({
|
||||
type: 'treeChoice',
|
||||
value: 'deliverableType',
|
||||
text: this.$t('typeOfDeliverables'),
|
||||
tree:this.DeliverableTreeList
|
||||
})
|
||||
} else {
|
||||
this.DeliverableTreeList = []
|
||||
}
|
||||
})
|
||||
},
|
||||
getProcessStatus() {
|
||||
getAction('/project/projectCertificationInventoryEO/getFlowStatusList', {}).then((res) => {
|
||||
if (res.success) {
|
||||
@@ -1804,7 +1827,16 @@
|
||||
|
||||
viewFileClick(item) {
|
||||
this.$refs.viewFileModelRef.clickButtonToUpload(item)
|
||||
}
|
||||
},
|
||||
standardClick(row) {
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/docManage/library/detail',
|
||||
query: {
|
||||
id: row.bussDocumentLibraryId
|
||||
}
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -1115,7 +1115,109 @@
|
||||
value: 'engineeringInterfacePerson',
|
||||
valueName: 'engineeringInterfacePersonName',
|
||||
text: this.$t('engineeringInterfacePerson')
|
||||
}
|
||||
},
|
||||
{
|
||||
value: 'designFlowStatus',
|
||||
text: this.$t('designComplianceReview')+this.$t('ProcessStatus'),
|
||||
options:[
|
||||
{
|
||||
value: 'List to be released',
|
||||
key: 'List to be released',
|
||||
label: this.$t('listToBeReleased')
|
||||
},
|
||||
{
|
||||
value: 'List to be checked',
|
||||
key: 'List to be checked',
|
||||
label: this.$t('listToBeChecked')
|
||||
},
|
||||
{
|
||||
value: 'Task to be confirmed',
|
||||
key: 'Task to be confirmed',
|
||||
label: this.$t('taskToBeConfirmed')
|
||||
},
|
||||
{
|
||||
value: 'Results to be submitted',
|
||||
key: 'Results to be submitted',
|
||||
label: this.$t('resultsToBeSubmitted')
|
||||
},
|
||||
{
|
||||
value: 'Results to be reviewed',
|
||||
key: 'Results to be reviewed',
|
||||
label: this.$t('resultsToBeReviewed')
|
||||
},
|
||||
{
|
||||
value: 'Compliance',
|
||||
key: 'Compliance',
|
||||
label: this.$t('compliance')
|
||||
},
|
||||
{
|
||||
value: 'Non-Compliance',
|
||||
key: 'Non-Compliance',
|
||||
label: this.$t('nonCompliance')
|
||||
},
|
||||
{
|
||||
value: 'To be tracked',
|
||||
key: 'To be tracked',
|
||||
label: this.$t('toBeTracked')
|
||||
},
|
||||
{
|
||||
value: 'NA',
|
||||
key: 'NA',
|
||||
label: this.$t('NA')
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
value: 'verifyFlowStatus',
|
||||
text: this.$t('verificationAndConformityconfirmation')+this.$t('ProcessStatus'),
|
||||
options:[
|
||||
{
|
||||
value: 'List to be released',
|
||||
key: 'List to be released',
|
||||
label: this.$t('listToBeReleased')
|
||||
},
|
||||
{
|
||||
value: 'List to be checked',
|
||||
key: 'List to be checked',
|
||||
label: this.$t('listToBeChecked')
|
||||
},
|
||||
{
|
||||
value: 'Task to be confirmed',
|
||||
key: 'Task to be confirmed',
|
||||
label: this.$t('taskToBeConfirmed')
|
||||
},
|
||||
{
|
||||
value: 'Results to be submitted',
|
||||
key: 'Results to be submitted',
|
||||
label: this.$t('resultsToBeSubmitted')
|
||||
},
|
||||
{
|
||||
value: 'Results to be reviewed',
|
||||
key: 'Results to be reviewed',
|
||||
label: this.$t('resultsToBeReviewed')
|
||||
},
|
||||
{
|
||||
value: 'Compliance',
|
||||
key: 'Compliance',
|
||||
label: this.$t('compliance')
|
||||
},
|
||||
{
|
||||
value: 'Non-Compliance',
|
||||
key: 'Non-Compliance',
|
||||
label: this.$t('nonCompliance')
|
||||
},
|
||||
{
|
||||
value: 'To be tracked',
|
||||
key: 'To be tracked',
|
||||
label: this.$t('toBeTracked')
|
||||
},
|
||||
{
|
||||
value: 'NA',
|
||||
key: 'NA',
|
||||
label: this.$t('NA')
|
||||
}
|
||||
],
|
||||
},
|
||||
],
|
||||
listOptions: [
|
||||
{
|
||||
@@ -1931,6 +2033,7 @@
|
||||
getList() {
|
||||
let roleCode = this.roleSwitchingCode
|
||||
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
||||
this.getRoleByUserId()
|
||||
Object.keys(queryParam).forEach(val => {
|
||||
if (queryParam[val] instanceof Array) {
|
||||
queryParam[val] = queryParam[val].join(',')
|
||||
@@ -1949,7 +2052,6 @@
|
||||
}
|
||||
this.loading = true
|
||||
getAction(this.url.list, query).then((res) => {
|
||||
this.getRoleByUserId()
|
||||
if (res.success) {
|
||||
this.dataSource = res.result || []
|
||||
this.loading = false
|
||||
@@ -2399,8 +2501,11 @@
|
||||
|
||||
}
|
||||
if (this.requestsNum == 0) {
|
||||
this.$message.warning(_this.$t('theDataYouInitiate'))
|
||||
// _this.promptInformation(_this.detailedWarningList)
|
||||
if (_this.detailedWarningList && _this.detailedWarningList.length > 0){
|
||||
_this.promptInformation(_this.detailedWarningList)
|
||||
}else{
|
||||
this.$message.warning(_this.$t('theDataYouInitiate'))
|
||||
}
|
||||
this.JTextLoading = false
|
||||
}
|
||||
},
|
||||
|
||||
+14
-14
@@ -155,14 +155,11 @@
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('OperationTime'),
|
||||
dataIndex: 'createTime',
|
||||
title: this.$t('feedback'),
|
||||
dataIndex: 'approvalOpinion',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
customRender: function(t, r, index) {
|
||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
||||
}
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('resultofhandling'),
|
||||
@@ -172,13 +169,6 @@
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'resultofhandling' }
|
||||
},
|
||||
{
|
||||
title: this.$t('feedback'),
|
||||
dataIndex: 'approvalOpinion',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('enclosure'),
|
||||
dataIndex: 'approvalFile',
|
||||
@@ -186,7 +176,17 @@
|
||||
width: 100,
|
||||
ellipsis: true,
|
||||
scopedSlots: { customRender: 'approvalFile' }
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('OperationTime'),
|
||||
dataIndex: 'createTime',
|
||||
align: 'left',
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
customRender: function(t, r, index) {
|
||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user