|
@@ -13,8 +13,8 @@
|
|
:replaceOrNotMap="false"
|
|
:replaceOrNotMap="false"
|
|
>
|
|
>
|
|
<EditDateDialog :is-show.sync="isShowEditDateDialog" :date-form.sync="dateForm" />
|
|
<EditDateDialog :is-show.sync="isShowEditDateDialog" :date-form.sync="dateForm" />
|
|
- <Popu v-if="!showPage">
|
|
|
|
- <el-page-header slot="head" :content="content" @back="handleClose" />
|
|
|
|
|
|
+ <Popu v-if="isShowDetail || isShowForm || isShowExamine">
|
|
|
|
+ <!-- <el-page-header slot="head" :content="content" @back="handleClose" /> -->
|
|
<EnginDetail v-if="isShowDetail" :list-item="queryItem" @backListFormDetail="backList" />
|
|
<EnginDetail v-if="isShowDetail" :list-item="queryItem" @backListFormDetail="backList" />
|
|
<EnginForm v-if="isShowForm" :list-item="queryItem" @backListFormDetail="backList" />
|
|
<EnginForm v-if="isShowForm" :list-item="queryItem" @backListFormDetail="backList" />
|
|
<EnginExamine v-if="isShowExamine" :list-item="queryItem" @backListFormDetail="backList" />
|
|
<EnginExamine v-if="isShowExamine" :list-item="queryItem" @backListFormDetail="backList" />
|
|
@@ -25,7 +25,7 @@
|
|
<script>
|
|
<script>
|
|
import TemplatePage from '@/components/template/template-page-1.vue'
|
|
import TemplatePage from '@/components/template/template-page-1.vue'
|
|
import Popu from '@/components/template/popu.vue'
|
|
import Popu from '@/components/template/popu.vue'
|
|
-import add_callback_mixin from '@/components/template/add_callback_mixin.js'
|
|
|
|
|
|
+// import add_callback_mixin from '@/components/template/add_callback_mixin.js'
|
|
|
|
|
|
import {
|
|
import {
|
|
getEnginList,
|
|
getEnginList,
|
|
@@ -46,15 +46,14 @@ import { getNoRebateWalletList } from '@/api/policy_list'
|
|
|
|
|
|
let that
|
|
let that
|
|
export default {
|
|
export default {
|
|
- mixins: [add_callback_mixin],
|
|
|
|
|
|
+ // mixins: [add_callback_mixin],
|
|
components: {
|
|
components: {
|
|
EnginDetail,
|
|
EnginDetail,
|
|
EnginForm,
|
|
EnginForm,
|
|
EnginExamine,
|
|
EnginExamine,
|
|
EditDateDialog,
|
|
EditDateDialog,
|
|
TemplatePage,
|
|
TemplatePage,
|
|
- Popu,
|
|
|
|
- add_callback_mixin
|
|
|
|
|
|
+ Popu
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
statusFilter(val) {
|
|
statusFilter(val) {
|
|
@@ -64,23 +63,23 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- showPage: true,
|
|
|
|
- content: '商用工程信息单',
|
|
|
|
- // 关闭新增弹窗
|
|
|
|
- handleClose: this.addOff(() => {
|
|
|
|
- this.showPage = true
|
|
|
|
- this.isShowForm = false
|
|
|
|
- this.$refs.pageRef.refreshList()
|
|
|
|
- }),
|
|
|
|
|
|
+ // showPage: true,
|
|
|
|
+ // content: '商用工程信息单',
|
|
|
|
+ // // 关闭新增弹窗
|
|
|
|
+ // handleClose: this.addOff(() => {
|
|
|
|
+ // this.showPage = true
|
|
|
|
+ // this.isShowForm = false
|
|
|
|
+ // this.$refs.pageRef.refreshList()
|
|
|
|
+ // }),
|
|
// 事件组合
|
|
// 事件组合
|
|
optionsEvensGroup: [
|
|
optionsEvensGroup: [
|
|
[
|
|
[
|
|
[
|
|
[
|
|
{
|
|
{
|
|
name: '新增',
|
|
name: '新增',
|
|
- click: this.addOn(() => {
|
|
|
|
|
|
+ click: () => {
|
|
this.toForm()
|
|
this.toForm()
|
|
- })
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
]
|
|
]
|