|
|
|
|
@ -22,6 +22,7 @@
|
|
|
|
|
>查询</Button
|
|
|
|
|
>
|
|
|
|
|
<Button
|
|
|
|
|
v-if="type === 0"
|
|
|
|
|
type="primary"
|
|
|
|
|
style="margin-left: 10px"
|
|
|
|
|
@click="
|
|
|
|
|
@ -35,6 +36,7 @@
|
|
|
|
|
<xy-table
|
|
|
|
|
:list="list"
|
|
|
|
|
:table-item="table"
|
|
|
|
|
|
|
|
|
|
@editor="
|
|
|
|
|
(e) => {
|
|
|
|
|
$refs['addGovPlane'].setType('editor');
|
|
|
|
|
@ -43,7 +45,9 @@
|
|
|
|
|
}
|
|
|
|
|
"
|
|
|
|
|
@delete="destroy"
|
|
|
|
|
></xy-table>
|
|
|
|
|
>
|
|
|
|
|
<template v-if="type !== 0" #btns> </template>
|
|
|
|
|
</xy-table>
|
|
|
|
|
|
|
|
|
|
<div style="display: flex; justify-content: flex-end; margin-top: 10px">
|
|
|
|
|
<Page
|
|
|
|
|
@ -71,6 +75,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
type: 0,
|
|
|
|
|
select: {
|
|
|
|
|
page: 1,
|
|
|
|
|
page_size: 10,
|
|
|
|
|
@ -176,6 +181,12 @@ export default {
|
|
|
|
|
created() {
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
beforeRouteEnter (to, from , next) {
|
|
|
|
|
let type = to.path.split('_')[1]
|
|
|
|
|
next(vm => {
|
|
|
|
|
vm.type = type ? type : 0
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|