对接法规技术评估
This commit is contained in:
@@ -1134,4 +1134,6 @@ module.exports = {
|
|||||||
reviewComments:'Review comments',
|
reviewComments:'Review comments',
|
||||||
PleaseCompleteList:'Please complete the compliance results in the list',
|
PleaseCompleteList:'Please complete the compliance results in the list',
|
||||||
sponsorFeedback:'Sponsor feedback',
|
sponsorFeedback:'Sponsor feedback',
|
||||||
|
processNumber:'Process number',
|
||||||
|
processName:'Process Name',
|
||||||
}
|
}
|
||||||
@@ -1138,4 +1138,6 @@ module.exports = {
|
|||||||
reviewComments:'审核意见',
|
reviewComments:'审核意见',
|
||||||
PleaseCompleteList:'请补全列表中符合性结果',
|
PleaseCompleteList:'请补全列表中符合性结果',
|
||||||
sponsorFeedback:'发起人反馈',
|
sponsorFeedback:'发起人反馈',
|
||||||
|
processNumber:'流程编号',
|
||||||
|
processName:'流程名称',
|
||||||
}
|
}
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 170,
|
width: 170,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
dataIndex: 'technologyTerritory'
|
dataIndex: 'technologyTerritoryName'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('collectResults'),
|
title: this.$t('collectResults'),
|
||||||
|
|||||||
+141
@@ -0,0 +1,141 @@
|
|||||||
|
<template>
|
||||||
|
<a-modal
|
||||||
|
:title="$t('circulationHistory')"
|
||||||
|
:width="800"
|
||||||
|
:visible="visible"
|
||||||
|
:maskClosable="false"
|
||||||
|
@cancel="visible = false"
|
||||||
|
>
|
||||||
|
<template slot="footer">
|
||||||
|
<a-button key="back" @click="visible = false">
|
||||||
|
{{$t('cancel')}}
|
||||||
|
</a-button>
|
||||||
|
</template>
|
||||||
|
<a-table
|
||||||
|
class="table"
|
||||||
|
:columns="columns"
|
||||||
|
:pagination="false"
|
||||||
|
:scroll="{x:700,y: 400}"
|
||||||
|
:data-source="dataSource"
|
||||||
|
:loading="loading"
|
||||||
|
>
|
||||||
|
<span slot="fileOperation" slot-scope="record">
|
||||||
|
<a class="text" @click="preview(record)">
|
||||||
|
{{$t('See')}}
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</a-table>
|
||||||
|
<div class="page" v-if="dataSource && dataSource.length > 0">
|
||||||
|
<a-pagination
|
||||||
|
:show-total="total => $t('total')+` ${total} `+$t('strip')"
|
||||||
|
show-quick-jumper
|
||||||
|
show-size-changer
|
||||||
|
:page-size.sync="pageSize"
|
||||||
|
:total="total"
|
||||||
|
:current="pageNo"
|
||||||
|
@change="pageOnChange"
|
||||||
|
@showSizeChange="SizeChange"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { getAction, putAction, downloadFile } from '@/api/manage'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'processInformation',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
dataSource: [],
|
||||||
|
loading: false,
|
||||||
|
visible: false,
|
||||||
|
pageSize: 10,
|
||||||
|
total: 0,
|
||||||
|
pageNo: 1,
|
||||||
|
lawsTechnologyEvaluationId: '',
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
title: this.$t('processNumber'),
|
||||||
|
dataIndex: 'prcNum',
|
||||||
|
align: 'center',
|
||||||
|
width: 160,
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('processName'),
|
||||||
|
dataIndex: 'prcName',
|
||||||
|
align: 'center',
|
||||||
|
width: 160,
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('Assessor'),
|
||||||
|
dataIndex: 'evaluatorName',
|
||||||
|
align: 'center',
|
||||||
|
width: 160,
|
||||||
|
ellipsis: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('operation'),
|
||||||
|
align: 'center',
|
||||||
|
width: 130,
|
||||||
|
scopedSlots: { customRender: 'fileOperation' }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
preview(row) {
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/processDetails',
|
||||||
|
query: {
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcType: 6,
|
||||||
|
prcId: row.actiProcInstId
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
|
},
|
||||||
|
pageOnChange(page) {
|
||||||
|
this.pageNo = page
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
SizeChange(pageSize) {
|
||||||
|
this.pageNo = 1
|
||||||
|
this.pageSize = pageSize
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
getData(row) {
|
||||||
|
this.visible = true
|
||||||
|
this.lawsTechnologyEvaluationId = row.id
|
||||||
|
this.getList()
|
||||||
|
},
|
||||||
|
getList() {
|
||||||
|
let query = {
|
||||||
|
lawsTechnologyEvaluationId: this.lawsTechnologyEvaluationId,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
pageNo: this.pageNo
|
||||||
|
}
|
||||||
|
this.loading = true
|
||||||
|
getAction('/lawsTechnologyEvaluation/lawsTechnologyEvaluationFlowDetailEO/page', query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.dataSource = res.result.records || []
|
||||||
|
this.total = res.result.total
|
||||||
|
this.loading = false
|
||||||
|
} else {
|
||||||
|
this.loading = false
|
||||||
|
this.dataSource = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.page {
|
||||||
|
text-align: right;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -149,14 +149,18 @@
|
|||||||
</a-row>
|
</a-row>
|
||||||
</a-form-model>
|
</a-form-model>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
<processInformation ref="processInformationRef"/>
|
||||||
</a-card>
|
</a-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
|
import processInformation from './components/processInformation'
|
||||||
export default {
|
export default {
|
||||||
name: 'index',
|
name: 'index',
|
||||||
|
components:{
|
||||||
|
processInformation
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//url传参严格按照当前命名
|
//url传参严格按照当前命名
|
||||||
@@ -353,15 +357,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
viewProcessClick(row) {
|
viewProcessClick(row) {
|
||||||
let newUrl = this.$router.resolve({
|
this.$refs.processInformationRef.getData(JSON.parse(JSON.stringify(row)))
|
||||||
path: '/processDetails',
|
|
||||||
query: {
|
|
||||||
prcNum: row.prcNum,
|
|
||||||
prcType: 6,
|
|
||||||
prcId: row.actiProcInstId
|
|
||||||
}
|
|
||||||
})
|
|
||||||
window.open(newUrl.href, '_blank')
|
|
||||||
},
|
},
|
||||||
evaluationResultsClick(row) {
|
evaluationResultsClick(row) {
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
|
|||||||
Reference in New Issue
Block a user