项目库跳转vdr
This commit is contained in:
@@ -145,11 +145,11 @@
|
||||
{{ $t('submit') }}
|
||||
</div>
|
||||
<!-- manger导出-->
|
||||
<div v-if="vehicleTypeCode != '全部'" class="operator-text" @click="handleExportManage('manger')"
|
||||
v-has="'otaman:export'">
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
{{ $t('export') }}
|
||||
</div>
|
||||
<!-- <div v-if="vehicleTypeCode != '全部'" class="operator-text" @click="handleExportManage('manger')"-->
|
||||
<!-- v-has="'otaman:export'">-->
|
||||
<!-- <a-icon type="export" :rotate="-90"/>-->
|
||||
<!-- {{ $t('export') }}-->
|
||||
<!-- </div>-->
|
||||
<!-- manger确认-->
|
||||
<div v-if="vehicleTypeCode != '全部'" class="operator-text" @click="confirm"
|
||||
v-has="'otaman:confirm'">
|
||||
@@ -194,9 +194,15 @@
|
||||
</div>
|
||||
</a-popconfirm>
|
||||
</div>
|
||||
<a-table ref="table" size="middle" :components="drag(columnsAll, 'columnsAll')" :loading="loading" :pagination="false"
|
||||
:scroll="{ x: '100%', y: 'calc(100vh - 140px)' }" rowKey="id" :data-source="dataSource"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columnsAll">
|
||||
<a-table ref="table" size="middle"
|
||||
:components="drag(columnsAll, 'columnsAll')"
|
||||
:loading="loading" :pagination="false"
|
||||
:scroll="{ x: '100%', y: 'calc(100vh - 140px)' }"
|
||||
rowKey="id"
|
||||
@change="tableOnChange"
|
||||
:data-source="dataSource"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:columns="columnsAll">
|
||||
<!-- 历史记录-->
|
||||
<template slot="operation" slot-scope="text, record">
|
||||
<a-button class="action-dict" @click="UpdateLog(record)">{{$t('historicalrecord')}}</a-button>
|
||||
@@ -883,6 +889,8 @@ export default {
|
||||
},
|
||||
],
|
||||
userInfoQuery: {},
|
||||
orderBy: '1',
|
||||
orderByField: '',
|
||||
administrators: false
|
||||
}
|
||||
},
|
||||
@@ -937,6 +945,11 @@ export default {
|
||||
handleToggleSearch() {
|
||||
this.toggleSearchStatus = !this.toggleSearchStatus
|
||||
},
|
||||
tableOnChange(pagination, filters, sorter) {
|
||||
this.orderBy = sorter.order == 'ascend' ? '1' : '2'
|
||||
this.orderByField = sorter.columnKey
|
||||
this.getList()
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.getList()
|
||||
@@ -969,6 +982,8 @@ export default {
|
||||
let query = {
|
||||
pageNo: this.pageNo,
|
||||
pageSize: this.pageSize,
|
||||
orderBy: this.orderBy,
|
||||
orderByField: this.orderByField,
|
||||
...queryParam
|
||||
}
|
||||
this.loading = true
|
||||
|
||||
@@ -474,7 +474,7 @@
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
this.visible = false
|
||||
this.$emit('addModelList')
|
||||
this.vdrClick()
|
||||
// this.vdrClick()
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
this.confirmLoading = false
|
||||
@@ -484,18 +484,18 @@
|
||||
})
|
||||
},
|
||||
// 跳转vdr
|
||||
vdrClick(){
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
content: _this.$t('Rematchornot') + 'VDR',
|
||||
onOk() {
|
||||
let newUrl = _this.$router.resolve({
|
||||
path:'otaAuthentication',
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
}
|
||||
})
|
||||
},
|
||||
// vdrClick(){
|
||||
// let _this = this
|
||||
// this.$confirm({
|
||||
// content: _this.$t('Rematchornot') + 'VDR',
|
||||
// onOk() {
|
||||
// let newUrl = _this.$router.resolve({
|
||||
// path:'otaAuthentication',
|
||||
// })
|
||||
// window.open(newUrl.href, '_blank')
|
||||
// }
|
||||
// })
|
||||
// },
|
||||
handleInput(value) {
|
||||
this.$nextTick(() => {
|
||||
this.formInline = { ...this.formInline }
|
||||
|
||||
@@ -47,11 +47,11 @@
|
||||
<td width="150px" height="50px" align="center">{{$t('notInvolved')}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="80px" align="center"><span style='color: #5087EC'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #58A55C'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #F2BD42'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #BBBBBB'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #5087EC'>{{matchForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>{{matchForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #58A55C'>{{matchForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #F2BD42'>{{matchForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #BBBBBB'>{{matchForm.a}}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -72,13 +72,13 @@
|
||||
<td width="190px" height="50px" align="center">{{$t('componentReportHasBeenStored')}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="80px" align="center"><span style='color: #BBBBBB'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #D95040'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #BBBBBB'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #58A55C'>111</span></td>
|
||||
<td height="80px" align="center"><span style='color: #BBBBBB'>{{authenticationForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>{{authenticationForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>{{authenticationForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #D95040'>{{authenticationForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #BBBBBB'>{{authenticationForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #68BBC4'>{{authenticationForm.a}}</span></td>
|
||||
<td height="80px" align="center"><span style='color: #58A55C'>{{authenticationForm.a}}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -133,6 +133,8 @@
|
||||
vehicleTypeCode:'',
|
||||
softwareversion:'',
|
||||
releaseName:'',
|
||||
matchForm:{},
|
||||
authenticationForm:{},
|
||||
url: {
|
||||
getProjectDetailsStatistics: '/project/projectLibraryBase/getProjectDetailsStatistics'
|
||||
},
|
||||
@@ -158,10 +160,11 @@
|
||||
if (res.success) {
|
||||
if (res.result) {
|
||||
let mainTopDataSource = res.result.taskToConfirmMap ? res.result.taskToConfirmMap.taskToConfirmMapList : []
|
||||
let mainLeftDataSource = res.result.designComplianceMap ? res.result.designComplianceMap.designComplianceMapList : []
|
||||
// let mainRightDataSource = res.result.verifyComplianceMap ? res.result.verifyComplianceMap.verifyComplianceMapList : []
|
||||
let mainEndDataSource = res.result.designComplianceMap ? res.result.designComplianceMap.designComplianceMapList : []
|
||||
this.matchForm = res.result.matchForm
|
||||
this.authenticationForm = res.result.authenticationForm
|
||||
this.mainTopEcharts(mainTopDataSource)
|
||||
this.mainEndEcharts(mainLeftDataSource)
|
||||
this.mainEndEcharts(mainEndDataSource)
|
||||
// this.mainRightEcharts(mainRightDataSource)
|
||||
}
|
||||
}
|
||||
@@ -170,13 +173,8 @@
|
||||
|
||||
getoptions() {
|
||||
let id = ''
|
||||
if (this.idList && this.idList.length > 0) {
|
||||
id = this.idList.join(',')
|
||||
} else {
|
||||
id = this.$route.query.parentId ? this.$route.query.parentId : this.$route.query.id
|
||||
// id = this.$route.query.id
|
||||
}
|
||||
getAction('project/projectLibraryBase/getProjectDetailsStatisticsCollectManifestLabel', { id: id }).then((res) => {
|
||||
id = this.$route.query.id
|
||||
getAction('ota/otaManageApplyEO/getVdrListByProject', { projectId: id }).then((res) => {
|
||||
if (res.success) {
|
||||
this.options = res.result
|
||||
this.queryParam.ctype = this.options[0].value
|
||||
|
||||
@@ -515,6 +515,9 @@
|
||||
this.visible = false
|
||||
this.confirmLoading = false
|
||||
this.$emit('settingListForm')
|
||||
if(res.result.matchVdr == true){
|
||||
this.vdrClick()
|
||||
}
|
||||
} else {
|
||||
this.$message.warning(this.$t('operationFailed'))
|
||||
this.confirmLoading = false
|
||||
@@ -523,6 +526,19 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
// 跳转vdr
|
||||
vdrClick(){
|
||||
let _this = this
|
||||
this.$confirm({
|
||||
content: _this.$t('Rematchornot') + 'VDR',
|
||||
onOk() {
|
||||
let newUrl = _this.$router.resolve({
|
||||
path:'otaAuthentication',
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
}
|
||||
})
|
||||
},
|
||||
handleCancel() {
|
||||
this.formInline = {}
|
||||
this.visible = false
|
||||
|
||||
Reference in New Issue
Block a user