@@ -120,14 +120,11 @@ export default {
}
},
created() {
- // 获取详情
- if (this.type !== 0) {
- policyOrderDetail({
- id: this.item.id
- }).then(res => {
- this.formData = { ...res.data, fileUrl: res.data.fileUrl ? [{ url: res.data.fileUrl }] : [] }
- })
- }
+ policyOrderDetail({
+ id: this.item.id
+ }).then(res => {
+ this.formData = { ...res.data, fileUrl: res.data.fileUrl ? [{ url: res.data.fileUrl }] : [] }
+ })
methods: {
submit() {
@@ -8,7 +8,7 @@
:options-evens-group="optionsEvensGroup"
:moreParameters="moreParameters"
:column-parsing="columnParsing"
- :operation="operation"
+ :operation="operation()"
>
<Popu v-if="visible">
<el-page-header slot="head" content="" @back="handleClose" />