|
|
@@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<div class="box"> |
|
|
|
<div class="title">kr-print-designer 打印模板设计器</div> |
|
|
|
<div class="title">打印模板设计器 {{ currentID }}</div> |
|
|
|
<section> |
|
|
|
<div class="section">模板管理</div> |
|
|
|
<el-table :data="tempList" style="width: 100%" size="mini" border> |
|
|
@@ -121,6 +121,7 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
visible: false, |
|
|
|
currentID: "", |
|
|
|
value: {}, |
|
|
|
tempList: [], |
|
|
|
form: defaultTemp(), |
|
|
@@ -233,6 +234,12 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
const id = this.$route.query.id |
|
|
|
if (id) { |
|
|
|
this.currentID = id |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style scoped> |
|
|
|