对接握手流程

This commit is contained in:
qq787203167
2022-04-25 18:23:04 +08:00
parent d7f53e0939
commit fa648d9679
4 changed files with 25 additions and 6 deletions
@@ -20,6 +20,8 @@
</template>
<script>
import { getAction, postAction } from '@/api/manage'
export default {
name: 'circulationHistory',
data() {
@@ -59,6 +61,21 @@
}
]
}
},
mounted() {
this.getList()
},
methods: {
getList() {
let query = {
prcNum: this.$route.query.prcNum
}
getAction('/workFlow/get_list_by_instance', query).then((res) => {
if (res.success) {
}
})
}
}
}
</script>
@@ -159,7 +159,7 @@
},
mounted() {
if (this.$route.query.mes) {
this.queryBy = eval('(' + JSON.parse(this.$route.query.mes) + ')')
this.queryBy = JSON.parse(this.$route.query.mes)
}
this.queryProjectLawsInventoryInfo()
},
@@ -143,10 +143,11 @@
},
// 打开查看
classAdd(row) {
// this.$router.push({
// path: '/handshakeProcess',
// query: row
// })
let newUrl = this.$router.resolve({
path: '/handshakeProcess',
query: row
})
window.open(newUrl.href, '_blank')
}
},
mounted() {
@@ -133,10 +133,11 @@
let index = row.taskIds.lastIndexOf(',')
row.taskIds = row.taskIds.slice(0, index)
if (row.prcType == '1') {
this.$router.push({
let newUrl = this.$router.resolve({
path: '/handshakeProcess',
query: row
})
window.open(newUrl.href, '_blank')
}
},
onChange(page, pageSize) {