对接待办中心
This commit is contained in:
@@ -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,9 +12,11 @@
|
|||||||
>
|
>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<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>
|
||||||
<span slot="RelatedItems" slot-scope="text,record">
|
<span slot="RelatedItems" slot-scope="text,record">
|
||||||
<a @click="RelatedItemsClick(record)" :title="text">{{text}}</a>
|
<a @click="RelatedItemsClick(record)" :title="text">{{text}}</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,13 +38,14 @@
|
|||||||
|
|
||||||
<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() {
|
||||||
return{
|
return {
|
||||||
dataSource:[],
|
dataSource: [],
|
||||||
loading:false,
|
loading: false,
|
||||||
columns:[
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -94,38 +97,49 @@
|
|||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
selectedRowKeys:[],
|
selectedRowKeys: [],
|
||||||
pageSize:10,
|
pageSize: 10,
|
||||||
pageNo:1,
|
pageNo: 1,
|
||||||
total:0,
|
total: 0,
|
||||||
queryParam:{},
|
queryParam: {},
|
||||||
url:{
|
url: {
|
||||||
list:'',
|
list: ''
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods: {
|
||||||
standardInformationClick(item){
|
monitoringProcessClick(row) {
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/docManage/library/detail',
|
path: '/processDetails',
|
||||||
query: {
|
query: {
|
||||||
id: item.bussDocumentLibraryId,
|
prcNum: row.prcNum,
|
||||||
|
prcType: row.flowType,
|
||||||
|
prcId: row.actiProcInstId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
viewClick(row){
|
standardInformationClick(item) {
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/docManage/library/detail',
|
||||||
|
query: {
|
||||||
|
id: item.bussDocumentLibraryId
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
|
},
|
||||||
|
viewClick(row) {
|
||||||
row.router = this.$route.path
|
row.router = this.$route.path
|
||||||
let query = {}
|
let query = {}
|
||||||
if (row.flowType == '5') {
|
if (row.flowType == '5') {
|
||||||
query = {
|
query = {
|
||||||
prcId:row.actiProcInstId,
|
prcId: row.actiProcInstId,
|
||||||
taskIds:row.taskId,
|
taskIds: row.taskId,
|
||||||
prcType:row.flowType,
|
prcType: row.flowType,
|
||||||
router:row.router,
|
router: row.router,
|
||||||
prcNum:row.prcNum,
|
prcNum: row.prcNum,
|
||||||
taskDefinitionKey:row.taskDefinitionKey,
|
taskDefinitionKey: row.taskDefinitionKey,
|
||||||
isDisabled:true
|
isDisabled: true
|
||||||
}
|
}
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/regulatoryProcessReview',
|
path: '/regulatoryProcessReview',
|
||||||
@@ -134,13 +148,13 @@
|
|||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
} else if (row.flowType == '6') {
|
} else if (row.flowType == '6') {
|
||||||
query = {
|
query = {
|
||||||
taskDefinitionKey:row.taskDefinitionKey,
|
taskDefinitionKey: row.taskDefinitionKey,
|
||||||
taskIds:row.taskId,
|
taskIds: row.taskId,
|
||||||
prcType:row.flowType,
|
prcType: row.flowType,
|
||||||
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',
|
||||||
@@ -168,7 +182,7 @@
|
|||||||
this.pageSize = pageSize
|
this.pageSize = pageSize
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList(){
|
getList() {
|
||||||
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
let queryParam = JSON.parse(JSON.stringify(this.queryParam))
|
||||||
Object.keys(queryParam).forEach(val => {
|
Object.keys(queryParam).forEach(val => {
|
||||||
if (queryParam[val] instanceof Array) {
|
if (queryParam[val] instanceof Array) {
|
||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user