对接待办中心

This commit is contained in:
sunFlower
2022-10-20 09:15:14 +08:00
parent f6d498e0bf
commit a9615d9d03
4 changed files with 100 additions and 36 deletions
@@ -12,6 +12,8 @@
> >
<!-- --> <!-- -->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation" v-if="record.flowType != '10'"
@click="monitoringProcessClick(record)">{{$t('monitoringProcess')}}</a>
<a class="text-operation" <a class="text-operation"
@click="viewClick(record)">{{$t('view')}}</a> @click="viewClick(record)">{{$t('view')}}</a>
</span> </span>
@@ -120,6 +122,17 @@
this.getList() this.getList()
}, },
methods: { methods: {
monitoringProcessClick(row) {
let newUrl = this.$router.resolve({
path: '/processDetails',
query: {
prcNum: row.prcNum,
prcType: row.flowType,
prcId: row.actiProcInstId
}
})
window.open(newUrl.href, '_blank')
},
RelatedItemsClick(item) { RelatedItemsClick(item) {
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/ProjectDetails', path: '/ProjectDetails',
@@ -332,4 +345,7 @@
margin-top: 20px; margin-top: 20px;
} }
.text-operation {
margin-right: 8px;
}
</style> </style>
@@ -12,6 +12,8 @@
> >
<!-- --> <!-- -->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation" v-if="record.flowType != '10'"
@click="monitoringProcessClick(record)">{{$t('monitoringProcess')}}</a>
<a class="text-operation" <a class="text-operation"
@click="viewClick(record)">{{$t('view')}}</a> @click="viewClick(record)">{{$t('view')}}</a>
</span> </span>
@@ -120,6 +122,17 @@
this.getList() this.getList()
}, },
methods: { methods: {
monitoringProcessClick(row){
let newUrl = this.$router.resolve({
path: '/processDetails',
query: {
prcNum: row.prcNum,
prcType:row.flowType,
prcId:row.actiProcInstId,
}
})
window.open(newUrl.href, '_blank')
},
RelatedItemsClick(item) { RelatedItemsClick(item) {
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/ProjectDetails', path: '/ProjectDetails',
@@ -331,5 +344,7 @@
text-align: right; text-align: right;
margin-top: 20px; margin-top: 20px;
} }
.text-operation{
margin-right: 8px;
}
</style> </style>
@@ -12,6 +12,8 @@
> >
<!-- --> <!-- -->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation"
@click="monitoringProcessClick(record)">{{$t('monitoringProcess')}}</a>
<a class="text-operation" <a class="text-operation"
@click="viewClick(record)">{{$t('view')}}</a> @click="viewClick(record)">{{$t('view')}}</a>
</span> </span>
@@ -106,6 +108,17 @@
} }
}, },
methods: { methods: {
monitoringProcessClick(row) {
let newUrl = this.$router.resolve({
path: '/processDetails',
query: {
prcNum: row.prcNum,
prcType: row.flowType,
prcId: row.actiProcInstId
}
})
window.open(newUrl.href, '_blank')
},
standardInformationClick(item) { standardInformationClick(item) {
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/docManage/library/detail', path: '/docManage/library/detail',
@@ -207,4 +220,7 @@
margin-top: 20px; margin-top: 20px;
} }
.text-operation {
margin-right: 8px;
}
</style> </style>
@@ -12,6 +12,8 @@
> >
<!-- --> <!-- -->
<span slot="operation" slot-scope="text,record"> <span slot="operation" slot-scope="text,record">
<a class="text-operation"
@click="monitoringProcessClick(record)">{{$t('monitoringProcess')}}</a>
<a class="text-operation" <a class="text-operation"
@click="viewClick(record)">{{$t('view')}}</a> @click="viewClick(record)">{{$t('view')}}</a>
</span> </span>
@@ -36,6 +38,7 @@
<script> <script>
import { getAction, postAction, deleteAction } from '@/api/manage' import { getAction, postAction, deleteAction } from '@/api/manage'
export default { export default {
name: 'doneList', name: 'doneList',
data() { data() {
@@ -100,16 +103,27 @@
total: 0, total: 0,
queryParam: {}, queryParam: {},
url: { url: {
list:'', list: ''
}, }
} }
}, },
methods: { methods: {
monitoringProcessClick(row) {
let newUrl = this.$router.resolve({
path: '/processDetails',
query: {
prcNum: row.prcNum,
prcType: row.flowType,
prcId: row.actiProcInstId
}
})
window.open(newUrl.href, '_blank')
},
standardInformationClick(item) { standardInformationClick(item) {
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/docManage/library/detail', path: '/docManage/library/detail',
query: { query: {
id: item.bussDocumentLibraryId, id: item.bussDocumentLibraryId
} }
}) })
window.open(newUrl.href, '_blank') window.open(newUrl.href, '_blank')
@@ -140,7 +154,7 @@
prcNum: row.prcNum, prcNum: row.prcNum,
prcId: row.actiProcInstId, prcId: row.actiProcInstId,
router: row.router, router: row.router,
isDisabled:true, isDisabled: true
} }
let newUrl = this.$router.resolve({ let newUrl = this.$router.resolve({
path: '/evaluationProcess', path: '/evaluationProcess',
@@ -195,7 +209,7 @@
this.loading = false this.loading = false
} }
}) })
}, }
} }
} }
</script> </script>
@@ -206,4 +220,7 @@
margin-top: 20px; margin-top: 20px;
} }
.text-operation {
margin-right: 8px;
}
</style> </style>