对接握手流程

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> </template>
<script> <script>
import { getAction, postAction } from '@/api/manage'
export default { export default {
name: 'circulationHistory', name: 'circulationHistory',
data() { 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> </script>
@@ -159,7 +159,7 @@
}, },
mounted() { mounted() {
if (this.$route.query.mes) { if (this.$route.query.mes) {
this.queryBy = eval('(' + JSON.parse(this.$route.query.mes) + ')') this.queryBy = JSON.parse(this.$route.query.mes)
} }
this.queryProjectLawsInventoryInfo() this.queryProjectLawsInventoryInfo()
}, },
@@ -143,10 +143,11 @@
}, },
// 打开查看 // 打开查看
classAdd(row) { classAdd(row) {
// this.$router.push({ let newUrl = this.$router.resolve({
// path: '/handshakeProcess', path: '/handshakeProcess',
// query: row query: row
// }) })
window.open(newUrl.href, '_blank')
} }
}, },
mounted() { mounted() {
@@ -133,10 +133,11 @@
let index = row.taskIds.lastIndexOf(',') let index = row.taskIds.lastIndexOf(',')
row.taskIds = row.taskIds.slice(0, index) row.taskIds = row.taskIds.slice(0, index)
if (row.prcType == '1') { if (row.prcType == '1') {
this.$router.push({ let newUrl = this.$router.resolve({
path: '/handshakeProcess', path: '/handshakeProcess',
query: row query: row
}) })
window.open(newUrl.href, '_blank')
} }
}, },
onChange(page, pageSize) { onChange(page, pageSize) {