|
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
|
:align="item.align"
|
|
|
|
|
:formatter="item.formatter"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="操作" header-align="center" min-width="100" fixed="right">
|
|
|
|
|
<el-table-column label="操作" header-align="center" min-width="122" fixed="right">
|
|
|
|
|
<template #default="{ row }">
|
|
|
|
|
<el-button size="mini" style="padding: 5px 10px;" @click="show(row)">查看</el-button>
|
|
|
|
|
<el-button size="mini" type="primary" style="padding: 5px 10px;" @click="handle(row)">办理</el-button>
|
|
|
|
|
@ -53,6 +53,7 @@
|
|
|
|
|
v-model="isShowModal"
|
|
|
|
|
transfer
|
|
|
|
|
show-zoom
|
|
|
|
|
:fullscreen="$store.getters.device === 'mobile'"
|
|
|
|
|
title="办理"
|
|
|
|
|
width="86vw"
|
|
|
|
|
height="80vh"
|
|
|
|
|
@ -125,86 +126,6 @@ export default {
|
|
|
|
|
'show-overflow-tooltip': true,
|
|
|
|
|
minWidth: 200
|
|
|
|
|
}
|
|
|
|
|
// {
|
|
|
|
|
// title: '查看',
|
|
|
|
|
// key: 'show',
|
|
|
|
|
// width: 180,
|
|
|
|
|
// render: (h, { row }) => {
|
|
|
|
|
// return h('div', [
|
|
|
|
|
// h(
|
|
|
|
|
// 'Button',
|
|
|
|
|
// {
|
|
|
|
|
// props: {
|
|
|
|
|
// type: 'default',
|
|
|
|
|
// size: 'small'
|
|
|
|
|
// },
|
|
|
|
|
// style: {
|
|
|
|
|
// background: '#f0f3fa',
|
|
|
|
|
// color: '#333',
|
|
|
|
|
// border: '1px solid #dae1f0',
|
|
|
|
|
// fontSize: '13px'
|
|
|
|
|
// },
|
|
|
|
|
// 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'
|
|
|
|
|
// },
|
|
|
|
|
// style: {
|
|
|
|
|
// 'margin-left': '6px',
|
|
|
|
|
// fontSize: '13px'
|
|
|
|
|
// },
|
|
|
|
|
// on: {
|
|
|
|
|
// 'click': (_) => {
|
|
|
|
|
// if (row.from_type === 'contract') {
|
|
|
|
|
// const toUrl = this.$router.resolve({
|
|
|
|
|
// path: '/contract/contract/contractList',
|
|
|
|
|
// query: {
|
|
|
|
|
// keyword: /\[(.*?)\]/.exec(row.title) ? /\[(.*?)\]/.exec(row.title)[1] : ''
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
// window.open(
|
|
|
|
|
// toUrl.href,
|
|
|
|
|
// 'edit',
|
|
|
|
|
// `top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
|
|
|
|
|
// )
|
|
|
|
|
// } 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`
|
|
|
|
|
// )
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
// '办理'
|
|
|
|
|
// )
|
|
|
|
|
// ])
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|