|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
<i class="el-icon-more" style="float: right; font-size: 20px"></i>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="position: relative">
|
|
|
|
|
<div style="position: relative;height: 100%;width: 100%;">
|
|
|
|
|
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
|
|
|
|
<Table
|
|
|
|
|
:height="tableHeight"
|
|
|
|
|
@ -89,37 +89,71 @@ export default {
|
|
|
|
|
{
|
|
|
|
|
title: "查看",
|
|
|
|
|
key: "show",
|
|
|
|
|
width: 120,
|
|
|
|
|
width: 180,
|
|
|
|
|
render: (h, { row }) => {
|
|
|
|
|
return h(
|
|
|
|
|
"Button",
|
|
|
|
|
{
|
|
|
|
|
props: {
|
|
|
|
|
type: "primary",
|
|
|
|
|
size: "small",
|
|
|
|
|
ghost: true,
|
|
|
|
|
return h('div',[
|
|
|
|
|
h(
|
|
|
|
|
"Button",
|
|
|
|
|
{
|
|
|
|
|
props: {
|
|
|
|
|
type: "primary",
|
|
|
|
|
size: "small",
|
|
|
|
|
ghost: true,
|
|
|
|
|
},
|
|
|
|
|
on: {
|
|
|
|
|
["click"]: (_) => {
|
|
|
|
|
if(row.from_type === 'contract') {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: '/contract/contract/contractList',
|
|
|
|
|
query: {
|
|
|
|
|
keyword:/\[(.*?)\]/.exec(row.title) ? /\[(.*?)\]/.exec(row.title)[1] : ''
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
window.open(
|
|
|
|
|
`${process.env.VUE_APP_OUT_OLD}/flow/view/${row.id}?auth_token=${this.$store.getters.oa_token}`,
|
|
|
|
|
"edit",
|
|
|
|
|
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
on: {
|
|
|
|
|
["click"]: (_) => {
|
|
|
|
|
if(row.from_type === 'contract') {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: '/contract/contract/contractList',
|
|
|
|
|
query: {
|
|
|
|
|
keyword:/\[(.*?)\]/.exec(row.title) ? /\[(.*?)\]/.exec(row.title)[1] : ''
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
window.open(
|
|
|
|
|
`${process.env.VUE_APP_OUT_OLD}/flow/view/${row.id}?auth_token=${this.$store.getters.oa_token}`,
|
|
|
|
|
"edit",
|
|
|
|
|
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
"查看"
|
|
|
|
|
),
|
|
|
|
|
h(
|
|
|
|
|
"Button",
|
|
|
|
|
{
|
|
|
|
|
props: {
|
|
|
|
|
type: "primary",
|
|
|
|
|
size: "small",
|
|
|
|
|
ghost: true,
|
|
|
|
|
},
|
|
|
|
|
style: {
|
|
|
|
|
"margin-left": "6px"
|
|
|
|
|
},
|
|
|
|
|
on: {
|
|
|
|
|
["click"]: (_) => {
|
|
|
|
|
if(row.from_type === 'contract') {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: '/contract/contract/contractList',
|
|
|
|
|
query: {
|
|
|
|
|
keyword:/\[(.*?)\]/.exec(row.title) ? /\[(.*?)\]/.exec(row.title)[1] : ''
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
window.open(
|
|
|
|
|
`${process.env.VUE_APP_OUT_OLD}/flow/deal/${row.id}?auth_token=${this.$store.getters.oa_token}`,
|
|
|
|
|
"edit",
|
|
|
|
|
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
"查看"
|
|
|
|
|
);
|
|
|
|
|
"办理"
|
|
|
|
|
)
|
|
|
|
|
]);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
@ -211,4 +245,9 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"></style>
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
::v-deep .el-card__body {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: calc(100% - 58px);
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|