Browse Source

addEditFromApiPop更新处理

noToken
安虹睿 1 year ago
parent
commit
e246b2ee40
  1. 6
      PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue
  2. 1
      PC/InterFace.Dash/src/views/demo/demo_api_handle.vue

6
PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue

@ -145,13 +145,11 @@
<script> <script>
import { ApiTypePost, ApiTypePut } from "@/api/wms-api" import { ApiTypePost, ApiTypePut } from "@/api/wms-api"
import { LoadingMixins } from "@/mixins/LoadingMixins"; import { LoadingMixins } from "@/mixins/LoadingMixins";
import { tableMixins } from "@/mixins/TableMixins"
import currenTableFlex from "@/components/currenTableFlex" import currenTableFlex from "@/components/currenTableFlex"
import * as allUrlOption from '@/utils/baseData/urlOption' import * as allUrlOption from '@/utils/baseData/urlOption'
import { timeAgo } from "@/filters";
export default { export default {
name:"addEditFromApiPop", name:"addEditFromApiPop",
mixins:[ LoadingMixins,tableMixins ], mixins:[ LoadingMixins ],
components: { currenTableFlex }, components: { currenTableFlex },
props: { props: {
// //
@ -315,7 +313,7 @@ export default {
this.close() this.close()
if(this.active == '1')this.oldSkipCount = 1; if(this.active == '1')this.oldSkipCount = 1;
this.show = false this.show = false
this.paging() this.$emit("exitAfterHandle")
this.$nextTick(()=>{ this.$nextTick(()=>{
this.active = 0 this.active = 0
}) })

1
PC/InterFace.Dash/src/views/demo/demo_api_handle.vue

@ -62,6 +62,7 @@
:handleType="addEditApiType" :handleType="addEditApiType"
:editRowData="editFromApiRowData" :editRowData="editFromApiRowData"
@closePop="closeAddEditApiPop" @closePop="closeAddEditApiPop"
@exitAfterHandle="paging"
></addEditFromApiPop> ></addEditFromApiPop>
</div> </div>
</template> </template>

Loading…
Cancel
Save